Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The list of S3 buckets in your account.
Synopsis
- data ListS3Buckets = ListS3Buckets' {}
- newListS3Buckets :: ListS3Buckets
- listS3Buckets_nextToken :: Lens' ListS3Buckets (Maybe Text)
- data ListS3BucketsResponse = ListS3BucketsResponse' {
- buckets :: Maybe [S3BucketInfo]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListS3BucketsResponse :: Int -> ListS3BucketsResponse
- listS3BucketsResponse_buckets :: Lens' ListS3BucketsResponse (Maybe [S3BucketInfo])
- listS3BucketsResponse_nextToken :: Lens' ListS3BucketsResponse (Maybe Text)
- listS3BucketsResponse_httpStatus :: Lens' ListS3BucketsResponse Int
Creating a Request
data ListS3Buckets Source #
The request body for S3Buckets.
See: newListS3Buckets
smart constructor.
Instances
newListS3Buckets :: ListS3Buckets Source #
Create a value of ListS3Buckets
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListS3Buckets
, listS3Buckets_nextToken
- Reserved for future use.
Request Lenses
listS3Buckets_nextToken :: Lens' ListS3Buckets (Maybe Text) Source #
Reserved for future use.
Destructuring the Response
data ListS3BucketsResponse Source #
See: newListS3BucketsResponse
smart constructor.
ListS3BucketsResponse' | |
|
Instances
newListS3BucketsResponse Source #
Create a value of ListS3BucketsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:buckets:ListS3BucketsResponse'
, listS3BucketsResponse_buckets
- The list of S3 buckets.
ListS3Buckets
, listS3BucketsResponse_nextToken
- Reserved for future use.
$sel:httpStatus:ListS3BucketsResponse'
, listS3BucketsResponse_httpStatus
- The response's http status code.
Response Lenses
listS3BucketsResponse_buckets :: Lens' ListS3BucketsResponse (Maybe [S3BucketInfo]) Source #
The list of S3 buckets.
listS3BucketsResponse_nextToken :: Lens' ListS3BucketsResponse (Maybe Text) Source #
Reserved for future use.
listS3BucketsResponse_httpStatus :: Lens' ListS3BucketsResponse Int Source #
The response's http status code.