Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns metadata about all of the versions of objects in a bucket.
http://docs.aws.amazon.com/AmazonS3/latest/API/ListObjectVersions.html
- data ListObjectVersions
- listObjectVersions :: Text -> ListObjectVersions
- lovBucket :: Lens' ListObjectVersions Text
- lovDelimiter :: Lens' ListObjectVersions (Maybe Text)
- lovEncodingType :: Lens' ListObjectVersions (Maybe EncodingType)
- lovKeyMarker :: Lens' ListObjectVersions (Maybe Text)
- lovMaxKeys :: Lens' ListObjectVersions (Maybe Int)
- lovPrefix :: Lens' ListObjectVersions (Maybe Text)
- lovVersionIdMarker :: Lens' ListObjectVersions (Maybe Text)
- data ListObjectVersionsResponse
- listObjectVersionsResponse :: ListObjectVersionsResponse
- lovrCommonPrefixes :: Lens' ListObjectVersionsResponse [CommonPrefix]
- lovrDeleteMarkers :: Lens' ListObjectVersionsResponse [DeleteMarkerEntry]
- lovrDelimiter :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrEncodingType :: Lens' ListObjectVersionsResponse (Maybe EncodingType)
- lovrIsTruncated :: Lens' ListObjectVersionsResponse (Maybe Bool)
- lovrKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrMaxKeys :: Lens' ListObjectVersionsResponse (Maybe Int)
- lovrName :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrNextKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrNextVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrPrefix :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lovrVersions :: Lens' ListObjectVersionsResponse [ObjectVersion]
Request
data ListObjectVersions Source
Request constructor
ListObjectVersions
constructor.
The fields accessible through corresponding lenses are:
Request lenses
lovDelimiter :: Lens' ListObjectVersions (Maybe Text) Source
A delimiter is a character you use to group keys.
lovKeyMarker :: Lens' ListObjectVersions (Maybe Text) Source
Specifies the key to start with when listing objects in a bucket.
lovMaxKeys :: Lens' ListObjectVersions (Maybe Int) Source
Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.
lovPrefix :: Lens' ListObjectVersions (Maybe Text) Source
Limits the response to keys that begin with the specified prefix.
lovVersionIdMarker :: Lens' ListObjectVersions (Maybe Text) Source
Specifies the object version you want to start listing from.
Response
Response constructor
listObjectVersionsResponse :: ListObjectVersionsResponse Source
ListObjectVersionsResponse
constructor.
The fields accessible through corresponding lenses are:
lovrCommonPrefixes
::
[CommonPrefix
]lovrDeleteMarkers
::
[DeleteMarkerEntry
]lovrDelimiter
::
Maybe
Text
lovrEncodingType
::
Maybe
EncodingType
lovrIsTruncated
::
Maybe
Bool
lovrKeyMarker
::
Maybe
Text
lovrMaxKeys
::
Maybe
Int
lovrName
::
Maybe
Text
lovrNextKeyMarker
::
Maybe
Text
lovrNextVersionIdMarker
::
Maybe
Text
lovrPrefix
::
Maybe
Text
lovrVersionIdMarker
::
Maybe
Text
lovrVersions
::
[ObjectVersion
]
Response lenses
lovrEncodingType :: Lens' ListObjectVersionsResponse (Maybe EncodingType) Source
Encoding type used by Amazon S3 to encode object keys in the response.
lovrIsTruncated :: Lens' ListObjectVersionsResponse (Maybe Bool) Source
A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.
lovrKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source
Marks the last Key returned in a truncated response.
lovrNextKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source
Use this value for the key marker request parameter in a subsequent request.
lovrNextVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source
Use this value for the next version id marker parameter in a subsequent request.