Copyright | (c) 2013-2021 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 |
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
This operation returns paginated results.
Synopsis
- data DescribeBuckets = DescribeBuckets' {}
- newDescribeBuckets :: DescribeBuckets
- describeBuckets_sortCriteria :: Lens' DescribeBuckets (Maybe BucketSortCriteria)
- describeBuckets_nextToken :: Lens' DescribeBuckets (Maybe Text)
- describeBuckets_criteria :: Lens' DescribeBuckets (Maybe (HashMap Text BucketCriteriaAdditionalProperties))
- describeBuckets_maxResults :: Lens' DescribeBuckets (Maybe Int)
- data DescribeBucketsResponse = DescribeBucketsResponse' {
- buckets :: Maybe [BucketMetadata]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeBucketsResponse :: Int -> DescribeBucketsResponse
- describeBucketsResponse_buckets :: Lens' DescribeBucketsResponse (Maybe [BucketMetadata])
- describeBucketsResponse_nextToken :: Lens' DescribeBucketsResponse (Maybe Text)
- describeBucketsResponse_httpStatus :: Lens' DescribeBucketsResponse Int
Creating a Request
data DescribeBuckets Source #
See: newDescribeBuckets
smart constructor.
DescribeBuckets' | |
|
Instances
newDescribeBuckets :: DescribeBuckets Source #
Create a value of DescribeBuckets
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:sortCriteria:DescribeBuckets'
, describeBuckets_sortCriteria
- The criteria to use to sort the query results.
$sel:nextToken:DescribeBuckets'
, describeBuckets_nextToken
- The nextToken string that specifies which page of results to return in a
paginated response.
$sel:criteria:DescribeBuckets'
, describeBuckets_criteria
- The criteria to use to filter the query results.
$sel:maxResults:DescribeBuckets'
, describeBuckets_maxResults
- The maximum number of items to include in each page of the response. The
default value is 50.
Request Lenses
describeBuckets_sortCriteria :: Lens' DescribeBuckets (Maybe BucketSortCriteria) Source #
The criteria to use to sort the query results.
describeBuckets_nextToken :: Lens' DescribeBuckets (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
describeBuckets_criteria :: Lens' DescribeBuckets (Maybe (HashMap Text BucketCriteriaAdditionalProperties)) Source #
The criteria to use to filter the query results.
describeBuckets_maxResults :: Lens' DescribeBuckets (Maybe Int) Source #
The maximum number of items to include in each page of the response. The default value is 50.
Destructuring the Response
data DescribeBucketsResponse Source #
See: newDescribeBucketsResponse
smart constructor.
DescribeBucketsResponse' | |
|
Instances
newDescribeBucketsResponse Source #
Create a value of DescribeBucketsResponse
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:DescribeBucketsResponse'
, describeBucketsResponse_buckets
- An array of objects, one for each bucket that meets the filter criteria
specified in the request.
$sel:nextToken:DescribeBuckets'
, describeBucketsResponse_nextToken
- The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:DescribeBucketsResponse'
, describeBucketsResponse_httpStatus
- The response's http status code.
Response Lenses
describeBucketsResponse_buckets :: Lens' DescribeBucketsResponse (Maybe [BucketMetadata]) Source #
An array of objects, one for each bucket that meets the filter criteria specified in the request.
describeBucketsResponse_nextToken :: Lens' DescribeBucketsResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
describeBucketsResponse_httpStatus :: Lens' DescribeBucketsResponse Int Source #
The response's http status code.