amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service 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.DrS.ListStagingAccounts

Description

Returns an array of staging accounts for existing extended source servers.

This operation returns paginated results.

Synopsis

Creating a Request

data ListStagingAccounts Source #

See: newListStagingAccounts smart constructor.

Constructors

ListStagingAccounts' 

Fields

Instances

Instances details
ToHeaders ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

ToPath ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

ToQuery ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

AWSPager ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

AWSRequest ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Associated Types

type AWSResponse ListStagingAccounts #

Generic ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Associated Types

type Rep ListStagingAccounts :: Type -> Type #

Read ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Show ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

NFData ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Methods

rnf :: ListStagingAccounts -> () #

Eq ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Hashable ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

type AWSResponse ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

type Rep ListStagingAccounts Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

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

newListStagingAccounts :: ListStagingAccounts Source #

Create a value of ListStagingAccounts 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:ListStagingAccounts', listStagingAccounts_maxResults - The maximum number of staging Accounts to retrieve.

ListStagingAccounts, listStagingAccounts_nextToken - The token of the next staging Account to retrieve.

Request Lenses

listStagingAccounts_maxResults :: Lens' ListStagingAccounts (Maybe Natural) Source #

The maximum number of staging Accounts to retrieve.

listStagingAccounts_nextToken :: Lens' ListStagingAccounts (Maybe Text) Source #

The token of the next staging Account to retrieve.

Destructuring the Response

data ListStagingAccountsResponse Source #

See: newListStagingAccountsResponse smart constructor.

Constructors

ListStagingAccountsResponse' 

Fields

Instances

Instances details
Generic ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Associated Types

type Rep ListStagingAccountsResponse :: Type -> Type #

Read ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Show ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

NFData ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

Eq ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

type Rep ListStagingAccountsResponse Source # 
Instance details

Defined in Amazonka.DrS.ListStagingAccounts

type Rep ListStagingAccountsResponse = D1 ('MetaData "ListStagingAccountsResponse" "Amazonka.DrS.ListStagingAccounts" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "ListStagingAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Account])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListStagingAccountsResponse Source #

Create a value of ListStagingAccountsResponse 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:accounts:ListStagingAccountsResponse', listStagingAccountsResponse_accounts - An array of staging AWS Accounts.

ListStagingAccounts, listStagingAccountsResponse_nextToken - The token of the next staging Account to retrieve.

$sel:httpStatus:ListStagingAccountsResponse', listStagingAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listStagingAccountsResponse_nextToken :: Lens' ListStagingAccountsResponse (Maybe Text) Source #

The token of the next staging Account to retrieve.