libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.ListOrganizationAdminAccounts

Description

Lists the Security Hub administrator accounts. Can only be called by the organization management account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOrganizationAdminAccounts Source #

See: newListOrganizationAdminAccounts smart constructor.

Constructors

ListOrganizationAdminAccounts' 

Fields

  • nextToken :: Maybe Text

    The token that is required for pagination. On your first call to the ListOrganizationAdminAccounts operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

  • maxResults :: Maybe Natural

    The maximum number of items to return in the response.

Instances

Instances details
Eq ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Associated Types

type Rep ListOrganizationAdminAccounts :: Type -> Type #

NFData ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Hashable ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

AWSPager ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

AWSRequest ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

ToHeaders ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

ToPath ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

ToQuery ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts = D1 ('MetaData "ListOrganizationAdminAccounts" "Amazonka.SecurityHub.ListOrganizationAdminAccounts" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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.SecurityHub.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 token that is required for pagination. On your first call to the ListOrganizationAdminAccounts operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

$sel:maxResults:ListOrganizationAdminAccounts', listOrganizationAdminAccounts_maxResults - The maximum number of items to return in the response.

Request Lenses

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

The token that is required for pagination. On your first call to the ListOrganizationAdminAccounts operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

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

The maximum number of items to return in the response.

Destructuring the Response

data ListOrganizationAdminAccountsResponse Source #

Constructors

ListOrganizationAdminAccountsResponse' 

Fields

Instances

Instances details
Eq ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse = D1 ('MetaData "ListOrganizationAdminAccountsResponse" "Amazonka.SecurityHub.ListOrganizationAdminAccounts" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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 - The list of Security Hub administrator accounts.

$sel:nextToken:ListOrganizationAdminAccounts', listOrganizationAdminAccountsResponse_nextToken - The pagination token to use to request the next page of results.

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

Response Lenses

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

The pagination token to use to request the next page of results.