amazonka-detective-2.0: Amazon Detective 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.Detective.ListOrganizationAdminAccounts

Description

Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.

Synopsis

Creating a Request

data ListOrganizationAdminAccounts Source #

See: newListOrganizationAdminAccounts smart constructor.

Constructors

ListOrganizationAdminAccounts' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • nextToken :: Maybe Text

    For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

Instances

Instances details
ToJSON ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

ToHeaders ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

ToPath ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

ToQuery ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

AWSRequest ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Associated Types

type Rep ListOrganizationAdminAccounts :: Type -> Type #

Read ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Eq ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Hashable ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

type AWSResponse ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts = D1 ('MetaData "ListOrganizationAdminAccounts" "Amazonka.Detective.ListOrganizationAdminAccounts" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" '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 results to return.

ListOrganizationAdminAccounts, listOrganizationAdminAccounts_nextToken - For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

Request Lenses

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

For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

Destructuring the Response

data ListOrganizationAdminAccountsResponse Source #

Constructors

ListOrganizationAdminAccountsResponse' 

Fields

Instances

Instances details
Generic ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

Eq ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Detective.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse = D1 ('MetaData "ListOrganizationAdminAccountsResponse" "Amazonka.Detective.ListOrganizationAdminAccounts" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "ListOrganizationAdminAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "administrators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Administrator])) :*: (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:administrators:ListOrganizationAdminAccountsResponse', listOrganizationAdminAccountsResponse_administrators - The list of Detective administrator accounts.

ListOrganizationAdminAccounts, listOrganizationAdminAccountsResponse_nextToken - If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.

$sel:httpStatus:ListOrganizationAdminAccountsResponse', listOrganizationAdminAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listOrganizationAdminAccountsResponse_nextToken :: Lens' ListOrganizationAdminAccountsResponse (Maybe Text) Source #

If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.