parts
(**kwargs)This operation lists the parts of an archive that have been uploaded in a specific multipart upload. You can make this request at any time during an in-progress multipart upload before you complete the upload (see CompleteMultipartUpload. List Parts returns an error for completed uploads. The list returned in the List Parts response is sorted by part range.
The List Parts operation supports pagination. By default, this operation returns up to 50 uploaded parts in the response. You should always check the response for a marker
at which to continue the list; if there are no more items the marker
is null
. To return a list of parts that begins at a specific part, set the marker
request parameter to the value you obtained from a previous List Parts request. You can also limit the number of parts returned in the response by specifying the limit
parameter in the request.
An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM).
For conceptual information and the underlying REST API, see Working with Archives in Amazon S3 Glacier and List Parts in the Amazon Glacier Developer Guide .
See also: AWS API Documentation
Request Syntax
response = multipart_upload.parts(
marker='string',
limit='string'
)
dict
Response Syntax
{
'MultipartUploadId': 'string',
'VaultARN': 'string',
'ArchiveDescription': 'string',
'PartSizeInBytes': 123,
'CreationDate': 'string',
'Parts': [
{
'RangeInBytes': 'string',
'SHA256TreeHash': 'string'
},
],
'Marker': 'string'
}
Response Structure
(dict) --
Contains the Amazon S3 Glacier response to your request.
MultipartUploadId (string) --
The ID of the upload to which the parts are associated.
VaultARN (string) --
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
ArchiveDescription (string) --
The description of the archive that was specified in the Initiate Multipart Upload request.
PartSizeInBytes (integer) --
The part size in bytes. This is the same value that you specified in the Initiate Multipart Upload request.
CreationDate (string) --
The UTC time at which the multipart upload was initiated.
Parts (list) --
A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes
and sha256-tree-hash
name/value pair.
(dict) --
A list of the part sizes of the multipart upload.
RangeInBytes (string) --
The byte range of a part, inclusive of the upper value of the range.
SHA256TreeHash (string) --
The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null
.
Marker (string) --
An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null
.