Bucket / Collection / multipart_uploads
multipart_uploads#
- S3.Bucket.multipart_uploads#
- A collection of MultipartUpload resources.A MultipartUpload 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 MultipartUpload resources in the collection. - See also: AWS API Documentation - Request Syntax - multipart_upload_iterator = bucket.multipart_uploads.all() - Return type:
- list( - s3.MultipartUpload)
- Returns:
- A list of MultipartUpload resources 
 
 - filter(**kwargs)#
- Creates an iterable of all MultipartUpload resources in the collection filtered by kwargs passed to method. A MultipartUpload 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_iterator = bucket.multipart_uploads.filter( Delimiter='string', EncodingType='url', KeyMarker='string', MaxUploads=123, Prefix='string', UploadIdMarker='string', ExpectedBucketOwner='string' ) - Parameters:
- Delimiter (string) – - Character you use to group keys. - All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element, - CommonPrefixes. If you don’t specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped under- CommonPrefixesresult element are not returned elsewhere in the response.
- EncodingType (string) – Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response. 
- KeyMarker (string) – - Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin. - If - upload-id-markeris not specified, only the keys lexicographically greater than the specified- key-markerwill be included in the list.- If - upload-id-markeris specified, any multipart uploads for a key equal to the- key-markermight also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified- upload-id-marker.
- MaxUploads (integer) – Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response. 
- Prefix (string) – Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different grouping of keys. (You can think of using prefix to make groups in the same way you’d use a folder in a file system.) 
- UploadIdMarker (string) – Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key equal to the key-marker might be included in the list only if they have an upload ID lexicographically greater than the specified - upload-id-marker.
- ExpectedBucketOwner (string) – The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code - 403 Forbidden(access denied).
 
- Return type:
- list( - s3.MultipartUpload)
- Returns:
- A list of MultipartUpload resources 
 
 - limit(**kwargs)#
- Creates an iterable up to a specified amount of MultipartUpload resources in the collection. - See also: AWS API Documentation - Request Syntax - multipart_upload_iterator = bucket.multipart_uploads.limit( count=123 ) - Parameters:
- count (integer) – The limit to the number of resources in the iterable. 
- Return type:
- list( - s3.MultipartUpload)
- Returns:
- A list of MultipartUpload resources 
 
 - page_size(**kwargs)#
- Creates an iterable of all MultipartUpload 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_iterator = bucket.multipart_uploads.page_size( count=123 ) - Parameters:
- count (integer) – The number of items returned by each service call 
- Return type:
- list( - s3.MultipartUpload)
- Returns:
- A list of MultipartUpload resources