amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.ListDelegatedAdminAccounts

Description

Lists information about the Amazon Inspector delegated administrator of your organization.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDelegatedAdminAccounts Source #

See: newListDelegatedAdminAccounts smart constructor.

Constructors

ListDelegatedAdminAccounts' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

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

Instances

Instances details
ToJSON ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

ToHeaders ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

ToPath ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

ToQuery ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

AWSPager ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

AWSRequest ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Generic ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Associated Types

type Rep ListDelegatedAdminAccounts :: Type -> Type #

Read ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Show ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

NFData ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Eq ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Hashable ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

type AWSResponse ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

type Rep ListDelegatedAdminAccounts Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

type Rep ListDelegatedAdminAccounts = D1 ('MetaData "ListDelegatedAdminAccounts" "Amazonka.Inspector2.ListDelegatedAdminAccounts" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "ListDelegatedAdminAccounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListDelegatedAdminAccounts :: ListDelegatedAdminAccounts Source #

Create a value of ListDelegatedAdminAccounts 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:ListDelegatedAdminAccounts', listDelegatedAdminAccounts_maxResults - The maximum number of results to return in the response.

ListDelegatedAdminAccounts, listDelegatedAdminAccounts_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.

Request Lenses

listDelegatedAdminAccounts_maxResults :: Lens' ListDelegatedAdminAccounts (Maybe Natural) Source #

The maximum number of results to return in the response.

listDelegatedAdminAccounts_nextToken :: Lens' ListDelegatedAdminAccounts (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.

Destructuring the Response

data ListDelegatedAdminAccountsResponse Source #

Constructors

ListDelegatedAdminAccountsResponse' 

Fields

  • delegatedAdminAccounts :: Maybe [DelegatedAdminAccount]

    Details of the Amazon Inspector delegated administrator of your organization.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Associated Types

type Rep ListDelegatedAdminAccountsResponse :: Type -> Type #

Read ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Show ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

NFData ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

Eq ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

type Rep ListDelegatedAdminAccountsResponse Source # 
Instance details

Defined in Amazonka.Inspector2.ListDelegatedAdminAccounts

type Rep ListDelegatedAdminAccountsResponse = D1 ('MetaData "ListDelegatedAdminAccountsResponse" "Amazonka.Inspector2.ListDelegatedAdminAccounts" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "ListDelegatedAdminAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delegatedAdminAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DelegatedAdminAccount])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDelegatedAdminAccountsResponse Source #

Create a value of ListDelegatedAdminAccountsResponse 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:delegatedAdminAccounts:ListDelegatedAdminAccountsResponse', listDelegatedAdminAccountsResponse_delegatedAdminAccounts - Details of the Amazon Inspector delegated administrator of your organization.

ListDelegatedAdminAccounts, listDelegatedAdminAccountsResponse_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:httpStatus:ListDelegatedAdminAccountsResponse', listDelegatedAdminAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listDelegatedAdminAccountsResponse_delegatedAdminAccounts :: Lens' ListDelegatedAdminAccountsResponse (Maybe [DelegatedAdminAccount]) Source #

Details of the Amazon Inspector delegated administrator of your organization.

listDelegatedAdminAccountsResponse_nextToken :: Lens' ListDelegatedAdminAccountsResponse (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.