GetReplicationConfiguration - ApplicationMigrationService

GetReplicationConfiguration

Lists all ReplicationConfigurations, filtered by Source Server ID.

Request Syntax

POST /GetReplicationConfiguration HTTP/1.1 Content-type: application/json { "accountID": "string", "sourceServerID": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

accountID

Request to get Replication Configuration by Account ID.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12,}

Required: No

sourceServerID

Request to get Replication Configuration by Source Server ID.

Type: String

Length Constraints: Fixed length of 19.

Pattern: ^s-[0-9a-zA-Z]{17}$

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "associateDefaultSecurityGroup": boolean, "bandwidthThrottling": number, "createPublicIP": boolean, "dataPlaneRouting": "string", "defaultLargeStagingDiskType": "string", "ebsEncryption": "string", "ebsEncryptionKeyArn": "string", "name": "string", "replicatedDisks": [ { "deviceName": "string", "iops": number, "isBootDisk": boolean, "stagingDiskType": "string", "throughput": number } ], "replicationServerInstanceType": "string", "replicationServersSecurityGroupsIDs": [ "string" ], "sourceServerID": "string", "stagingAreaSubnetId": "string", "stagingAreaTags": { "string" : "string" }, "useDedicatedReplicationServer": boolean, "useFipsEndpoint": boolean }

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.

associateDefaultSecurityGroup

Replication Configuration associate default Application Migration Service Security Group.

Type: Boolean

bandwidthThrottling

Replication Configuration set bandwidth throttling.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 10000.

createPublicIP

Replication Configuration create Public IP.

Type: Boolean

dataPlaneRouting

Replication Configuration data plane routing.

Type: String

Valid Values: PRIVATE_IP | PUBLIC_IP

defaultLargeStagingDiskType

Replication Configuration use default large Staging Disks.

Type: String

Valid Values: GP2 | ST1 | GP3

ebsEncryption

Replication Configuration EBS encryption.

Type: String

Valid Values: DEFAULT | CUSTOM

ebsEncryptionKeyArn

Replication Configuration EBS encryption key ARN.

Type: String

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

name

Replication Configuration name.

Type: String

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

replicatedDisks

Replication Configuration replicated disks.

Type: Array of ReplicationConfigurationReplicatedDisk objects

Array Members: Minimum number of 0 items. Maximum number of 60 items.

replicationServerInstanceType

Replication Configuration Replication Server instance type.

Type: String

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

replicationServersSecurityGroupsIDs

Replication Configuration Replication Server Security Group IDs.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 32 items.

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

Pattern: ^sg-[0-9a-fA-F]{8,}$

sourceServerID

Replication Configuration Source Server ID.

Type: String

Length Constraints: Fixed length of 19.

Pattern: ^s-[0-9a-zA-Z]{17}$

stagingAreaSubnetId

Replication Configuration Staging Area subnet ID.

Type: String

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

Pattern: ^subnet-[0-9a-fA-F]{8,}$

stagingAreaTags

Replication Configuration Staging Area tags.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 0. Maximum length of 256.

Value Length Constraints: Minimum length of 0. Maximum length of 256.

useDedicatedReplicationServer

Replication Configuration use Dedicated Replication Server.

Type: Boolean

useFipsEndpoint

Replication Configuration use Fips Endpoint.

Type: Boolean

Errors

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

ResourceNotFoundException

Resource not found exception.

HTTP Status Code: 404

UninitializedAccountException

Uninitialized account exception.

HTTP Status Code: 400

See Also

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