Method: Aws::Drs::Client#list_staging_accounts

Defined in:
lib/aws-sdk-drs/client.rb

#list_staging_accounts(params = {}) ⇒ Types::ListStagingAccountsResponse

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

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_staging_accounts({
  max_results: 1,
  next_token: "PaginationToken",
})

Response structure


resp.accounts #=> Array
resp.accounts[0]. #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of staging Accounts to retrieve.

  • :next_token (String)

    The token of the next staging Account to retrieve.

Returns:

See Also:



2128
2129
2130
2131
# File 'lib/aws-sdk-drs/client.rb', line 2128

def list_staging_accounts(params = {}, options = {})
  req = build_request(:list_staging_accounts, params)
  req.send_request(options)
end