UpdateReplicationConfiguration - ApplicationMigrationService

UpdateReplicationConfiguration

Allows you to update multiple ReplicationConfigurations by Source Server ID.

Request Syntax

POST /UpdateReplicationConfiguration HTTP/1.1 Content-type: application/json { "accountID": "string", "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 }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

accountID

Update replication configuration Account ID request.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12,}

Required: No

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. Maximum value of 10000.

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 | GP3

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

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.

Required: No

useDedicatedReplicationServer

Update replication configuration use dedicated Replication Server request.

Type: Boolean

Required: No

useFipsEndpoint

Update replication configuration use Fips Endpoint.

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", "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.

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

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