Description Usage Arguments References Examples
Test if a file exists in the specified bucket
1 2 3 |
bucket |
name of the bucket to download from. |
key |
name of the key (file). |
aws_access_key_id |
AWS access key id |
aws_secret_access_key |
AWS secret access key |
aws_session_token |
AWS session token |
region_name |
region name |
profile_name |
profile name |
https://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Client.download_file
1 2 3 4 | ## Not run:
file_exists("mybucket", "hello.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.