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

Description

Retrieves a subset of information about the classification scope for an account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListClassificationScopes Source #

See: newListClassificationScopes smart constructor.

Constructors

ListClassificationScopes' 

Fields

  • name :: Maybe Text

    The name of the classification scope to retrieve the unique identifier for.

  • nextToken :: Maybe Text

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

Instances

Instances details
ToHeaders ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

ToPath ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

ToQuery ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

AWSPager ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

AWSRequest ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Generic ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Associated Types

type Rep ListClassificationScopes :: Type -> Type #

Read ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Show ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

NFData ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Eq ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Hashable ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

type AWSResponse ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

type Rep ListClassificationScopes Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

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

newListClassificationScopes :: ListClassificationScopes Source #

Create a value of ListClassificationScopes 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:

ListClassificationScopes, listClassificationScopes_name - The name of the classification scope to retrieve the unique identifier for.

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

Request Lenses

listClassificationScopes_name :: Lens' ListClassificationScopes (Maybe Text) Source #

The name of the classification scope to retrieve the unique identifier for.

listClassificationScopes_nextToken :: Lens' ListClassificationScopes (Maybe Text) Source #

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

Destructuring the Response

data ListClassificationScopesResponse Source #

See: newListClassificationScopesResponse smart constructor.

Constructors

ListClassificationScopesResponse' 

Fields

Instances

Instances details
Generic ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Associated Types

type Rep ListClassificationScopesResponse :: Type -> Type #

Read ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Show ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

NFData ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

Eq ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

type Rep ListClassificationScopesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListClassificationScopes

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

newListClassificationScopesResponse Source #

Create a value of ListClassificationScopesResponse 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:classificationScopes:ListClassificationScopesResponse', listClassificationScopesResponse_classificationScopes - An array that specifies the unique identifier and name of the classification scope for the account.

ListClassificationScopes, listClassificationScopesResponse_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:ListClassificationScopesResponse', listClassificationScopesResponse_httpStatus - The response's http status code.

Response Lenses

listClassificationScopesResponse_classificationScopes :: Lens' ListClassificationScopesResponse (Maybe [ClassificationScopeSummary]) Source #

An array that specifies the unique identifier and name of the classification scope for the account.

listClassificationScopesResponse_nextToken :: Lens' ListClassificationScopesResponse (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.