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

Description

Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOrganizationAdminAccounts Source #

See: newListOrganizationAdminAccounts smart constructor.

Constructors

ListOrganizationAdminAccounts' 

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 ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

ToPath ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

ToQuery ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

AWSPager ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

AWSRequest ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Associated Types

type Rep ListOrganizationAdminAccounts :: Type -> Type #

Read ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Eq ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Hashable ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

type AWSResponse ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

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

newListOrganizationAdminAccounts :: ListOrganizationAdminAccounts Source #

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

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

Request Lenses

listOrganizationAdminAccounts_maxResults :: Lens' ListOrganizationAdminAccounts (Maybe Natural) Source #

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

listOrganizationAdminAccounts_nextToken :: Lens' ListOrganizationAdminAccounts (Maybe Text) Source #

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

Destructuring the Response

data ListOrganizationAdminAccountsResponse Source #

Constructors

ListOrganizationAdminAccountsResponse' 

Fields

  • adminAccounts :: Maybe [AdminAccount]

    An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

  • 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
Generic ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Eq ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

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

newListOrganizationAdminAccountsResponse Source #

Create a value of ListOrganizationAdminAccountsResponse 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:adminAccounts:ListOrganizationAdminAccountsResponse', listOrganizationAdminAccountsResponse_adminAccounts - An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

ListOrganizationAdminAccounts, listOrganizationAdminAccountsResponse_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:ListOrganizationAdminAccountsResponse', listOrganizationAdminAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listOrganizationAdminAccountsResponse_adminAccounts :: Lens' ListOrganizationAdminAccountsResponse (Maybe [AdminAccount]) Source #

An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

listOrganizationAdminAccountsResponse_nextToken :: Lens' ListOrganizationAdminAccountsResponse (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.