libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.DescribeBuckets

Description

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

Creating a Request

data DescribeBuckets Source #

See: newDescribeBuckets smart constructor.

Constructors

DescribeBuckets' 

Fields

Instances

Instances details
Eq DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Read DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Show DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Generic DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Associated Types

type Rep DescribeBuckets :: Type -> Type #

NFData DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Methods

rnf :: DescribeBuckets -> () #

Hashable DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

ToJSON DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

AWSPager DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

AWSRequest DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Associated Types

type AWSResponse DescribeBuckets #

ToHeaders DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

ToPath DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

ToQuery DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

type Rep DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

type Rep DescribeBuckets = D1 ('MetaData "DescribeBuckets" "Amazonka.MacieV2.DescribeBuckets" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "DescribeBuckets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketSortCriteria)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "criteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text BucketCriteriaAdditionalProperties))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeBuckets Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

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_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.

Constructors

DescribeBucketsResponse' 

Fields

  • buckets :: Maybe [BucketMetadata]

    An array of objects, one for each bucket that meets the filter criteria specified in the request.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Read DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Show DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Generic DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Associated Types

type Rep DescribeBucketsResponse :: Type -> Type #

NFData DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

Methods

rnf :: DescribeBucketsResponse -> () #

type Rep DescribeBucketsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DescribeBuckets

type Rep DescribeBucketsResponse = D1 ('MetaData "DescribeBucketsResponse" "Amazonka.MacieV2.DescribeBuckets" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "DescribeBucketsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "buckets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BucketMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.