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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.ListParts

Contents

Description

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

http://docs.aws.amazon.com/AmazonS3/latest/API/ListParts.html

Synopsis

Request

Request constructor

listParts Source

ListParts constructor.

The fields accessible through corresponding lenses are:

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.

lpUploadId :: Lens' ListParts Text Source

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

Response

Response constructor

Response lenses

lprBucket :: Lens' ListPartsResponse (Maybe Text) Source

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

lprInitiator :: Lens' ListPartsResponse (Maybe Initiator) Source

Identifies who initiated the multipart upload.

lprIsTruncated :: Lens' ListPartsResponse (Maybe Bool) Source

Indicates whether the returned list of parts is truncated.

lprKey :: Lens' ListPartsResponse (Maybe Text) Source

Object key for which the multipart upload was initiated.

lprMaxParts :: Lens' ListPartsResponse (Maybe Int) Source

Maximum number of parts that were allowed in the response.

lprNextPartNumberMarker :: 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.

lprPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) Source

Part number after which listing begins.

lprStorageClass :: Lens' ListPartsResponse (Maybe StorageClass) Source

The class of storage used to store the object.

lprUploadId :: Lens' ListPartsResponse (Maybe Text) Source

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