MultipartUpload / Collection / parts
parts#
- S3.MultipartUpload.parts#
A collection of MultipartUploadPart resources.A MultipartUploadPart Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
- all()#
Creates an iterable of all MultipartUploadPart resources in the collection.
See also: AWS API Documentation
Request Syntax
multipart_upload_part_iterator = multipart_upload.parts.all()
- Return type:
list(
s3.MultipartUploadPart
)- Returns:
A list of MultipartUploadPart resources
- filter(**kwargs)#
Creates an iterable of all MultipartUploadPart resources in the collection filtered by kwargs passed to method. A MultipartUploadPart collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
multipart_upload_part_iterator = multipart_upload.parts.filter( MaxParts=123, MirrorDestination='string', PartNumberMarker=123, RequestPayer='requester', ExpectedBucketOwner='string' )
- Parameters:
MaxParts (integer) – Sets the maximum number of parts to return.
MirrorDestination (string) – Mirror source for object reads.
PartNumberMarker (integer) – Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.
RequestPayer (string) – Ignored by COS if present.
ExpectedBucketOwner (string) – The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden
(access denied).
- Return type:
list(
s3.MultipartUploadPart
)- Returns:
A list of MultipartUploadPart resources
- limit(**kwargs)#
Creates an iterable up to a specified amount of MultipartUploadPart resources in the collection.
See also: AWS API Documentation
Request Syntax
multipart_upload_part_iterator = multipart_upload.parts.limit( count=123 )
- Parameters:
count (integer) – The limit to the number of resources in the iterable.
- Return type:
list(
s3.MultipartUploadPart
)- Returns:
A list of MultipartUploadPart resources
- page_size(**kwargs)#
Creates an iterable of all MultipartUploadPart resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
multipart_upload_part_iterator = multipart_upload.parts.page_size( count=123 )
- Parameters:
count (integer) – The number of items returned by each service call
- Return type:
list(
s3.MultipartUploadPart
)- Returns:
A list of MultipartUploadPart resources