Safe Haskell | None |
---|---|
Language | Haskell2010 |
Lists the parts that have been uploaded for a specific multipart upload.
http://docs.aws.amazon.com/AmazonS3/latest/API/ListParts.html
- data ListParts
- listParts :: Text -> Text -> Text -> ListParts
- lpBucket :: Lens' ListParts Text
- lpKey :: Lens' ListParts Text
- lpMaxParts :: Lens' ListParts (Maybe Int)
- lpPartNumberMarker :: Lens' ListParts (Maybe Int)
- lpUploadId :: Lens' ListParts Text
- data ListPartsResponse
- listPartsResponse :: ListPartsResponse
- lprBucket :: Lens' ListPartsResponse (Maybe Text)
- lprInitiator :: Lens' ListPartsResponse (Maybe Initiator)
- lprIsTruncated :: Lens' ListPartsResponse (Maybe Bool)
- lprKey :: Lens' ListPartsResponse (Maybe Text)
- lprMaxParts :: Lens' ListPartsResponse (Maybe Int)
- lprNextPartNumberMarker :: Lens' ListPartsResponse (Maybe Int)
- lprOwner :: Lens' ListPartsResponse (Maybe Owner)
- lprPartNumberMarker :: Lens' ListPartsResponse (Maybe Int)
- lprParts :: Lens' ListPartsResponse [Part]
- lprStorageClass :: Lens' ListPartsResponse (Maybe StorageClass)
- lprUploadId :: Lens' ListPartsResponse (Maybe Text)
Request
Request constructor
ListParts
constructor.
The fields accessible through corresponding lenses are:
lpBucket
::
Text
lpKey
::
Text
lpMaxParts
::
Maybe
Int
lpPartNumberMarker
::
Maybe
Int
lpUploadId
::
Text
Request lenses
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
listPartsResponse :: ListPartsResponse Source
ListPartsResponse
constructor.
The fields accessible through corresponding lenses are:
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.