Abort Multipart Upload (DELETE uploadID)
This multipart upload operation aborts a multipart upload identified by the upload ID.
After the Abort Multipart Upload request succeeds, you cannot use the upload ID to upload any more parts or perform any other operations. Aborting a completed multipart upload fails. However, aborting an already-aborted upload will succeed, for a short time.
This operation is idempotent.
For information about multipart upload, see Uploading Large Archives in Parts (Multipart Upload).
To abort a multipart upload, send an HTTP
DELETE request to the URI of the
multipart-uploads subresource of the vault and identify the specific
multipart upload ID as part of the URI.
uploadIDHTTP/1.1 Host: glacier.
AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a
-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request.
If you use an account ID, do not include any hyphens ('-') in the ID.
This operation does not use request parameters.
This operation uses only request headers that are common to all operations. For information about common request headers, see Common Request Headers.
This operation does not have a request body.
HTTP/1.1 204 No Content x-amzn-RequestId: x-amzn-RequestId Date: Date
This operation uses only response headers that are common to most responses. For information about common response headers, see Common Response Headers.
This operation does not return a response body.
For information about Amazon Glacier exceptions and error messages, see Error Responses.
In the following example, a
DELETE request is sent to the URI of a multipart
upload ID resource.
DELETE /-/vaults/examplevault/multipart-uploads/OW2fM5iVylEpFEMM9_HpKowRapC3vn5sSL39_396UW9zLFUWVrnRHaPjUJddQ5OxSHVXjYtrN47NBZ-khxOjyEXAMPLE HTTP/1.1 Host: glacier.us-west-2.amazonaws.com x-amz-Date: 20141123T120000Z x-amz-glacier-version: 2012-06-01 Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20141123/us-west-2/glacier/aws4_request,SignedHeaders=host;x-amz-date;x-amz-glacier-version,Signature=9257c16da6b25a715ce900a5b45b03da0447acf430195dcb540091b12966f2a2
HTTP/1.1 204 No Content x-amzn-RequestId: AAABZpJrTyioDC_HsOmHae8EZp_uBSJr6cnGOLKp_XJCl-Q Date: Sun, 23 Nov 2014 12:00:00 GMT