libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.ListOrganizationAdminAccounts

Description

Lists the accounts configured as GuardDuty delegated administrators.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOrganizationAdminAccounts Source #

See: newListOrganizationAdminAccounts smart constructor.

Constructors

ListOrganizationAdminAccounts' 

Fields

  • nextToken :: Maybe Text

    A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

Instances

Instances details
Eq ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Associated Types

type Rep ListOrganizationAdminAccounts :: Type -> Type #

NFData ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Hashable ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

AWSPager ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

AWSRequest ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

ToHeaders ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

ToPath ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

ToQuery ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccounts = D1 ('MetaData "ListOrganizationAdminAccounts" "Amazonka.GuardDuty.ListOrganizationAdminAccounts" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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.GuardDuty.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 - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

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

Request Lenses

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

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

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

The maximum number of results 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.GuardDuty.ListOrganizationAdminAccounts

Read ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Show ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

Generic ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

NFData ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListOrganizationAdminAccounts

type Rep ListOrganizationAdminAccountsResponse = D1 ('MetaData "ListOrganizationAdminAccountsResponse" "Amazonka.GuardDuty.ListOrganizationAdminAccounts" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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 - A list of accounts configured as GuardDuty delegated administrators.

$sel:nextToken:ListOrganizationAdminAccounts', listOrganizationAdminAccountsResponse_nextToken - The pagination parameter to be used on the next list operation to retrieve more items.

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

Response Lenses

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

A list of accounts configured as GuardDuty delegated administrators.

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

The pagination parameter to be used on the next list operation to retrieve more items.