drs / Client / list_staging_accounts

list_staging_accounts#

drs.Client.list_staging_accounts(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.list_staging_accounts(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of staging Accounts to retrieve.

  • nextToken (string) – The token of the next staging Account to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'accounts': [
        {
            'accountID': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • accounts (list) –

      An array of staging AWS Accounts.

      • (dict) –

        AWS account.

        • accountID (string) –

          Account ID of AWS account.

    • nextToken (string) –

      The token of the next staging Account to retrieve.

Exceptions