PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
s3api
The following example uses the ``get-object`` command to download an object from Amazon S3:: aws s3api get-object --bucket text-content --key dir/my_images.tar.bz2 my_images.tar.bz2 Note that the outfile parameter is specified without an option name such as "--outfile". The name of the output file must be the last parameter in the command. The example below demonstrates the use of ``--range`` to download a specific byte range from an object. Note the byte ranges needs to be prefixed with "bytes=":: aws s3api get-object --bucket text-content --key dir/my_data --range bytes=8888-9999 my_data_range For more information about retrieving objects, see `Getting Objects`_ in the *Amazon S3 Developer Guide*. .. _`Getting Objects`: http://docs.aws.amazon.com/AmazonS3/latest/dev/GettingObjectsUsingAPIs.html
[-] put-bucket-policy.rst
[edit]
[-] delete-bucket.rst
[edit]
[-] put-bucket-notification-configuration.rst
[edit]
[-] delete-bucket-website.rst
[edit]
[-] put-bucket-logging.rst
[edit]
[+]
..
[-] list-buckets.rst
[edit]
[-] delete-objects.rst
[edit]
[-] list-object-versions.rst
[edit]
[-] delete-bucket-lifecycle.rst
[edit]
[-] complete-multipart-upload.rst
[edit]
[-] list-parts.rst
[edit]
[-] get-bucket-website.rst
[edit]
[-] put-bucket-lifecycle.rst
[edit]
[-] get-bucket-tagging.rst
[edit]
[-] list-multipart-uploads.rst
[edit]
[-] get-bucket-location.rst
[edit]
[-] get-bucket-cors.rst
[edit]
[-] delete-object.rst
[edit]
[-] put-object-acl.rst
[edit]
[-] copy-object.rst
[edit]
[-] upload-part.rst
[edit]
[-] put-bucket-replication.rst
[edit]
[-] create-bucket.rst
[edit]
[-] put-bucket-cors.rst
[edit]
[-] get-object.rst
[edit]
[-] abort-multipart-upload.rst
[edit]
[-] put-bucket-website.rst
[edit]
[-] get-object-torrent.rst
[edit]
[-] delete-bucket-replication.rst
[edit]
[-] delete-bucket-cors.rst
[edit]
[-] get-bucket-acl.rst
[edit]
[-] head-object.rst
[edit]
[-] head-bucket.rst
[edit]
[-] get-bucket-lifecycle.rst
[edit]
[-] get-bucket-policy.rst
[edit]
[-] delete-bucket-tagging.rst
[edit]
[-] put-object.rst
[edit]
[-] get-bucket-notification-configuration.rst
[edit]
[-] put-bucket-notification.rst
[edit]
[-] delete-bucket-policy.rst
[edit]
[-] put-bucket-lifecycle-configuration.rst
[edit]
[-] put-bucket-versioning.rst
[edit]
[-] put-bucket-tagging.rst
[edit]
[-] get-bucket-versioning.rst
[edit]
[-] create-multipart-upload.rst
[edit]
[-] get-bucket-notification.rst
[edit]
[-] put-bucket-acl.rst
[edit]
[-] get-object-acl.rst
[edit]
[-] list-objects.rst
[edit]
[-] get-bucket-replication.rst
[edit]
[-] get-bucket-lifecycle-configuration.rst
[edit]