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

Description

Retrieves information about the delegated Amazon Macie administrator account for an Amazon Web Services organization.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOrganizationAdminAccounts Source #

See: newListOrganizationAdminAccounts smart constructor.

Constructors

ListOrganizationAdminAccounts' 

Fields

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

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

Instances

Instances details
Eq ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Show 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 #

NFData ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

Hashable 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

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

type Rep ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

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

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

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:nextToken:ListOrganizationAdminAccounts', listOrganizationAdminAccounts_nextToken - The nextToken string that specifies which page of results to return in a paginated response.

$sel:maxResults:ListOrganizationAdminAccounts', listOrganizationAdminAccounts_maxResults - The maximum number of items to include in each page of a paginated response.

Request Lenses

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

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

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

The maximum number of items to include in each page of 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
Eq 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

Generic ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListOrganizationAdminAccounts

NFData 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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.

$sel:nextToken: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.