Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
s3api
/
File Content:
complete-multipart-upload.rst
The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``:: aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket my-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R The upload ID required by this command is output by ``create-multipart-upload`` and can also be retrieved with ``list-multipart-uploads``. The multipart upload option in the above command takes a JSON structure that describes the parts of the multipart upload that should be reassembled into the complete file. In this example, the ``file://`` prefix is used to load the JSON structure from a file in the local folder named ``mpustruct``. mpustruct:: { "Parts": [ { "ETag": "e868e0f4719e394144ef36531ee6824c", "PartNumber": 1 }, { "ETag": "6bb2b12753d66fe86da4998aa33fffb0", "PartNumber": 2 }, { "ETag": "d0a0112e841abec9c9ec83406f0159c8", "PartNumber": 3 } ] } The ETag value for each part is upload is output each time you upload a part using the ``upload-part`` command and can also be retrieved by calling ``list-parts`` or calculated by taking the MD5 checksum of each part. Output:: { "ETag": "\"3944a9f7a4faab7f78788ff6210f63f0-3\"", "Bucket": "my-bucket", "Location": "https://my-bucket.s3.amazonaws.com/multipart%2F01", "Key": "multipart/01" }
Submit
FILE
FOLDER
Name
Size
Permission
Action
abort-multipart-upload.rst
463 bytes
0644
complete-multipart-upload.rst
1550 bytes
0644
copy-object.rst
386 bytes
0644
create-bucket.rst
626 bytes
0644
create-multipart-upload.rst
596 bytes
0644
delete-bucket-cors.rst
163 bytes
0644
delete-bucket-lifecycle.rst
148 bytes
0644
delete-bucket-policy.rst
135 bytes
0644
delete-bucket-replication.rst
152 bytes
0644
delete-bucket-tagging.rst
144 bytes
0644
delete-bucket-website.rst
144 bytes
0644
delete-bucket.rst
126 bytes
0644
delete-object.rst
538 bytes
0644
delete-objects.rst
558 bytes
0644
get-bucket-acl.rst
582 bytes
0644
get-bucket-cors.rst
960 bytes
0644
get-bucket-lifecycle-configuration.rst
880 bytes
0644
get-bucket-lifecycle.rst
631 bytes
0644
get-bucket-location.rst
225 bytes
0644
get-bucket-notification-configuration.rst
489 bytes
0644
get-bucket-notification.rst
468 bytes
0644
get-bucket-policy.rst
1075 bytes
0644
get-bucket-replication.rst
667 bytes
0644
get-bucket-tagging.rst
285 bytes
0644
get-bucket-versioning.rst
195 bytes
0644
get-bucket-website.rst
300 bytes
0644
get-object-acl.rst
790 bytes
0644
get-object-torrent.rst
391 bytes
0644
get-object.rst
553 bytes
0644
head-bucket.rst
326 bytes
0644
head-object.rst
417 bytes
0644
list-buckets.rst
483 bytes
0644
list-multipart-uploads.rst
1035 bytes
0644
list-object-versions.rst
2584 bytes
0644
list-objects.rst
560 bytes
0644
list-parts.rst
1327 bytes
0644
put-bucket-acl.rst
531 bytes
0644
put-bucket-cors.rst
701 bytes
0644
put-bucket-lifecycle-configuration.rst
1405 bytes
0644
put-bucket-lifecycle.rst
1598 bytes
0644
put-bucket-logging.rst
1318 bytes
0644
put-bucket-notification-configuration.rst
1109 bytes
0644
put-bucket-notification.rst
1019 bytes
0644
put-bucket-policy.rst
1007 bytes
0644
put-bucket-replication.rst
1247 bytes
0644
put-bucket-tagging.rst
563 bytes
0644
put-bucket-versioning.rst
356 bytes
0644
put-bucket-website.rst
434 bytes
0644
put-object-acl.rst
554 bytes
0644
put-object.rst
647 bytes
0644
upload-part.rst
845 bytes
0644
N4ST4R_ID | Naxtarrr