Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns metadata about all of the versions of objects in a bucket.
This operation returns paginated results.
Synopsis
- listObjectVersions :: BucketName -> ListObjectVersions
- data ListObjectVersions
- lKeyMarker :: Lens' ListObjectVersions (Maybe Text)
- lPrefix :: Lens' ListObjectVersions (Maybe Text)
- lEncodingType :: Lens' ListObjectVersions (Maybe EncodingType)
- lVersionIdMarker :: Lens' ListObjectVersions (Maybe Text)
- lMaxKeys :: Lens' ListObjectVersions (Maybe Int)
- lDelimiter :: Lens' ListObjectVersions (Maybe Delimiter)
- lBucket :: Lens' ListObjectVersions BucketName
- listObjectVersionsResponse :: Int -> ListObjectVersionsResponse
- data ListObjectVersionsResponse
- lrsNextVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lrsKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lrsDeleteMarkers :: Lens' ListObjectVersionsResponse [DeleteMarkerEntry]
- lrsPrefix :: Lens' ListObjectVersionsResponse (Maybe Text)
- lrsCommonPrefixes :: Lens' ListObjectVersionsResponse [CommonPrefix]
- lrsEncodingType :: Lens' ListObjectVersionsResponse (Maybe EncodingType)
- lrsVersions :: Lens' ListObjectVersionsResponse [ObjectVersion]
- lrsName :: Lens' ListObjectVersionsResponse (Maybe BucketName)
- lrsNextKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lrsVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text)
- lrsMaxKeys :: Lens' ListObjectVersionsResponse (Maybe Int)
- lrsIsTruncated :: Lens' ListObjectVersionsResponse (Maybe Bool)
- lrsDelimiter :: Lens' ListObjectVersionsResponse (Maybe Delimiter)
- lrsResponseStatus :: Lens' ListObjectVersionsResponse Int
Creating a Request
Creates a value of ListObjectVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lKeyMarker
- Specifies the key to start with when listing objects in a bucket.lPrefix
- Limits the response to keys that begin with the specified prefix.lEncodingType
- Undocumented member.lVersionIdMarker
- Specifies the object version you want to start listing from.lMaxKeys
- Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.lDelimiter
- A delimiter is a character you use to group keys.lBucket
- Undocumented member.
data ListObjectVersions Source #
See: listObjectVersions
smart constructor.
Instances
Request Lenses
lKeyMarker :: Lens' ListObjectVersions (Maybe Text) Source #
Specifies the key to start with when listing objects in a bucket.
lPrefix :: Lens' ListObjectVersions (Maybe Text) Source #
Limits the response to keys that begin with the specified prefix.
lEncodingType :: Lens' ListObjectVersions (Maybe EncodingType) Source #
Undocumented member.
lVersionIdMarker :: Lens' ListObjectVersions (Maybe Text) Source #
Specifies the object version you want to start listing from.
lMaxKeys :: 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.
lDelimiter :: Lens' ListObjectVersions (Maybe Delimiter) Source #
A delimiter is a character you use to group keys.
lBucket :: Lens' ListObjectVersions BucketName Source #
Undocumented member.
Destructuring the Response
listObjectVersionsResponse Source #
Creates a value of ListObjectVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrsNextVersionIdMarker
- Use this value for the next version id marker parameter in a subsequent request.lrsKeyMarker
- Marks the last Key returned in a truncated response.lrsDeleteMarkers
- Undocumented member.lrsPrefix
- Undocumented member.lrsCommonPrefixes
- Undocumented member.lrsEncodingType
- Encoding type used by Amazon S3 to encode object keys in the response.lrsVersions
- Undocumented member.lrsName
- Undocumented member.lrsNextKeyMarker
- Use this value for the key marker request parameter in a subsequent request.lrsVersionIdMarker
- Undocumented member.lrsMaxKeys
- Undocumented member.lrsIsTruncated
- 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.lrsDelimiter
- Undocumented member.lrsResponseStatus
- -- | The response status code.
data ListObjectVersionsResponse Source #
See: listObjectVersionsResponse
smart constructor.
Instances
Response Lenses
lrsNextVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source #
Use this value for the next version id marker parameter in a subsequent request.
lrsKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source #
Marks the last Key returned in a truncated response.
lrsDeleteMarkers :: Lens' ListObjectVersionsResponse [DeleteMarkerEntry] Source #
Undocumented member.
lrsCommonPrefixes :: Lens' ListObjectVersionsResponse [CommonPrefix] Source #
Undocumented member.
lrsEncodingType :: Lens' ListObjectVersionsResponse (Maybe EncodingType) Source #
Encoding type used by Amazon S3 to encode object keys in the response.
lrsVersions :: Lens' ListObjectVersionsResponse [ObjectVersion] Source #
Undocumented member.
lrsName :: Lens' ListObjectVersionsResponse (Maybe BucketName) Source #
Undocumented member.
lrsNextKeyMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source #
Use this value for the key marker request parameter in a subsequent request.
lrsVersionIdMarker :: Lens' ListObjectVersionsResponse (Maybe Text) Source #
Undocumented member.
lrsMaxKeys :: Lens' ListObjectVersionsResponse (Maybe Int) Source #
Undocumented member.
lrsIsTruncated :: 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.
lrsDelimiter :: Lens' ListObjectVersionsResponse (Maybe Delimiter) Source #
Undocumented member.
lrsResponseStatus :: Lens' ListObjectVersionsResponse Int Source #
- - | The response status code.