amazonka-s3-1.3.4: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.ListParts

Contents

Description

Lists the parts that have been uploaded for a specific multipart upload.

See: AWS API Reference for ListParts.

This operation returns paginated results.

Synopsis

Creating a Request

listParts Source

Creates a value of ListParts with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

lpMaxParts :: Lens' ListParts (Maybe Int) Source

Sets the maximum number of parts to return.

lpPartNumberMarker :: Lens' ListParts (Maybe Int) Source

Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.

lpBucket :: Lens' ListParts BucketName Source

Undocumented member.

lpKey :: Lens' ListParts ObjectKey Source

Undocumented member.

lpUploadId :: Lens' ListParts Text Source

Upload ID identifying the multipart upload whose parts are being listed.

Destructuring the Response

Response Lenses

lprsParts :: Lens' ListPartsResponse [Part] Source

Undocumented member.

lprsMaxParts :: Lens' ListPartsResponse (Maybe Int) Source

Maximum number of parts that were allowed in the response.

lprsInitiator :: Lens' ListPartsResponse (Maybe Initiator) Source

Identifies who initiated the multipart upload.

lprsBucket :: Lens' ListPartsResponse (Maybe BucketName) Source

Name of the bucket to which the multipart upload was initiated.

lprsNextPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) Source

When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

lprsKey :: Lens' ListPartsResponse (Maybe ObjectKey) Source

Object key for which the multipart upload was initiated.

lprsStorageClass :: Lens' ListPartsResponse (Maybe StorageClass) Source

The class of storage used to store the object.

lprsIsTruncated :: Lens' ListPartsResponse (Maybe Bool) Source

Indicates whether the returned list of parts is truncated.

lprsPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) Source

Part number after which listing begins.

lprsUploadId :: Lens' ListPartsResponse (Maybe Text) Source

Upload ID identifying the multipart upload whose parts are being listed.