amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.ListAllowLists

Description

Retrieves a subset of information about all the allow lists for an account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAllowLists Source #

See: newListAllowLists smart constructor.

Constructors

ListAllowLists' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items to include in each page of a paginated response.

  • nextToken :: Maybe Text

    The nextToken string that specifies which page of results to return in a paginated response.

Instances

Instances details
ToHeaders ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

ToPath ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

ToQuery ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

AWSPager ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

AWSRequest ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Associated Types

type AWSResponse ListAllowLists #

Generic ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Associated Types

type Rep ListAllowLists :: Type -> Type #

Read ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Show ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

NFData ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Methods

rnf :: ListAllowLists -> () #

Eq ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Hashable ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

type AWSResponse ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

type Rep ListAllowLists Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

type Rep ListAllowLists = D1 ('MetaData "ListAllowLists" "Amazonka.MacieV2.ListAllowLists" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ListAllowLists'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListAllowLists :: ListAllowLists Source #

Create a value of ListAllowLists 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:maxResults:ListAllowLists', listAllowLists_maxResults - The maximum number of items to include in each page of a paginated response.

ListAllowLists, listAllowLists_nextToken - The nextToken string that specifies which page of results to return in a paginated response.

Request Lenses

listAllowLists_maxResults :: Lens' ListAllowLists (Maybe Natural) Source #

The maximum number of items to include in each page of a paginated response.

listAllowLists_nextToken :: Lens' ListAllowLists (Maybe Text) Source #

The nextToken string that specifies which page of results to return in a paginated response.

Destructuring the Response

data ListAllowListsResponse Source #

See: newListAllowListsResponse smart constructor.

Constructors

ListAllowListsResponse' 

Fields

Instances

Instances details
Generic ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Associated Types

type Rep ListAllowListsResponse :: Type -> Type #

Read ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Show ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

NFData ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

Methods

rnf :: ListAllowListsResponse -> () #

Eq ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

type Rep ListAllowListsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListAllowLists

type Rep ListAllowListsResponse = D1 ('MetaData "ListAllowListsResponse" "Amazonka.MacieV2.ListAllowLists" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ListAllowListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowLists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AllowListSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAllowListsResponse Source #

Create a value of ListAllowListsResponse 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:allowLists:ListAllowListsResponse', listAllowListsResponse_allowLists - An array of objects, one for each allow list.

ListAllowLists, listAllowListsResponse_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:ListAllowListsResponse', listAllowListsResponse_httpStatus - The response's http status code.

Response Lenses

listAllowListsResponse_nextToken :: Lens' ListAllowListsResponse (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.