ListExtensibleSourceServers - AWS Elastic Disaster Recovery

ListExtensibleSourceServers

Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.

Request Syntax

POST /ListExtensibleSourceServers HTTP/1.1 Content-type: application/json { "maxResults": number, "nextToken": "string", "stagingAccountID": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

maxResults

The maximum number of extensible source servers to retrieve.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 300.

Required: No

nextToken

The token of the next extensible source server to retrieve.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: No

stagingAccountID

The Id of the staging Account to retrieve extensible source servers from.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12,}

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "items": [ { "arn": "string", "hostname": "string", "tags": { "string" : "string" } } ], "nextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

items

A list of source servers on a staging Account that are extensible.

Type: Array of StagingSourceServer objects

nextToken

The token of the next extensible source server to retrieve.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

UninitializedAccountException

The account performing the request has not been initialized.

HTTP Status Code: 400

ValidationException

The input fails to satisfy the constraints specified by the AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: