UpdateReplicationConfiguration - Application Migration Service

UpdateReplicationConfiguration

Allows you to update multiple ReplicationConfigurations by Source Server ID.

Request Syntax

POST /UpdateReplicationConfiguration HTTP/1.1 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" } ], "replicationServerInstanceType": "string", "replicationServersSecurityGroupsIDs": [ "string" ], "sourceServerID": "string", "stagingAreaSubnetId": "string", "stagingAreaTags": { "string" : "string" }, "useDedicatedReplicationServer": boolean }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

associateDefaultSecurityGroup

Update replication configuration associate default Application Migration Service Security group request.

Type: Boolean

Required: No

bandwidthThrottling

Update replication configuration bandwidth throttling request.

Type: Long

Valid Range: Minimum value of 0.

Required: No

createPublicIP

Update replication configuration create Public IP request.

Type: Boolean

Required: No

dataPlaneRouting

Update replication configuration data plane routing request.

Type: String

Valid Values: PRIVATE_IP | PUBLIC_IP

Required: No

defaultLargeStagingDiskType

Update replication configuration use default large Staging Disk type request.

Type: String

Valid Values: GP2 | ST1

Required: No

ebsEncryption

Update replication configuration EBS encryption request.

Type: String

Valid Values: DEFAULT | CUSTOM

Required: No

ebsEncryptionKeyArn

Update replication configuration EBS encryption key ARN request.

Type: String

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

Required: No

name

Update replication configuration name request.

Type: String

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

Required: No

replicatedDisks

Update replication configuration replicated disks request.

Type: Array of ReplicationConfigurationReplicatedDisk objects

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

Required: No

replicationServerInstanceType

Update replication configuration Replication Server instance type request.

Type: String

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

Required: No

replicationServersSecurityGroupsIDs

Update replication configuration Replication Server Security Groups IDs request.

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,}$

Required: No

sourceServerID

Update replication configuration Source Server ID request.

Type: String

Length Constraints: Fixed length of 19.

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

Required: Yes

stagingAreaSubnetId

Update replication configuration Staging Area subnet request.

Type: String

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

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

Required: No

stagingAreaTags

Update replication configuration Staging Area Tags request.

Type: String to string map

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

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

Required: No

useDedicatedReplicationServer

Update replication configuration use dedicated Replication Server request.

Type: Boolean

Required: No

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" } ], "replicationServerInstanceType": "string", "replicationServersSecurityGroupsIDs": [ "string" ], "sourceServerID": "string", "stagingAreaSubnetId": "string", "stagingAreaTags": { "string" : "string" }, "useDedicatedReplicationServer": 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.

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

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

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

Errors

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

AccessDeniedException

Operating denied due to a file permission or access check error.

HTTP Status Code: 403

ConflictException

The request could not be completed due to a conflict with the current state of the target resource.

HTTP Status Code: 409

ResourceNotFoundException

Resource not found exception.

HTTP Status Code: 404

UninitializedAccountException

Unitialized account exception.

HTTP Status Code: 400

ValidationException

Validate 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: