abort-multipart-upload
The aws s3api abort-multipart-upload
command is used to abort a multipart upload in progress in an Astran S3 bucket. This is useful when the upload is interrupted or no longer needed.
aws s3api abort-multipart-upload --bucket BUCKET_NAME --key OBJECT_KEY --upload-id UPLOAD_ID
This command will abort the specified multipart upload.
Syntax
aws s3api abort-multipart-upload \
--bucket BUCKET_NAME \
--key OBJECT_KEY \
--upload-id UPLOAD_ID
Options
--bucket
: Specifies the name of the Astran S3 bucket.--key
: Identifies the object key.--upload-id
: The upload ID of the multipart upload to abort.
See also the original AWS documentation.