mgn.Client.
update_replication_configuration
(**kwargs)¶Allows you to update multiple ReplicationConfigurations by Source Server ID.
See also: AWS API Documentation
Request Syntax
response = client.update_replication_configuration(
associateDefaultSecurityGroup=True|False,
bandwidthThrottling=123,
createPublicIP=True|False,
dataPlaneRouting='PRIVATE_IP'|'PUBLIC_IP',
defaultLargeStagingDiskType='GP2'|'ST1'|'GP3',
ebsEncryption='DEFAULT'|'CUSTOM',
ebsEncryptionKeyArn='string',
name='string',
replicatedDisks=[
{
'deviceName': 'string',
'iops': 123,
'isBootDisk': True|False,
'stagingDiskType': 'AUTO'|'GP2'|'IO1'|'SC1'|'ST1'|'STANDARD'|'GP3'|'IO2',
'throughput': 123
},
],
replicationServerInstanceType='string',
replicationServersSecurityGroupsIDs=[
'string',
],
sourceServerID='string',
stagingAreaSubnetId='string',
stagingAreaTags={
'string': 'string'
},
useDedicatedReplicationServer=True|False
)
Update replication configuration replicated disks request.
Replication Configuration replicated disk.
Replication Configuration replicated disk device name.
Replication Configuration replicated disk IOPs.
Replication Configuration replicated disk boot disk.
Replication Configuration replicated disk staging disk type.
Replication Configuration replicated disk throughput.
Update replication configuration Replication Server Security Groups IDs request.
[REQUIRED]
Update replication configuration Source Server ID request.
Update replication configuration Staging Area Tags request.
dict
Response Syntax
{
'associateDefaultSecurityGroup': True|False,
'bandwidthThrottling': 123,
'createPublicIP': True|False,
'dataPlaneRouting': 'PRIVATE_IP'|'PUBLIC_IP',
'defaultLargeStagingDiskType': 'GP2'|'ST1'|'GP3',
'ebsEncryption': 'DEFAULT'|'CUSTOM',
'ebsEncryptionKeyArn': 'string',
'name': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'iops': 123,
'isBootDisk': True|False,
'stagingDiskType': 'AUTO'|'GP2'|'IO1'|'SC1'|'ST1'|'STANDARD'|'GP3'|'IO2',
'throughput': 123
},
],
'replicationServerInstanceType': 'string',
'replicationServersSecurityGroupsIDs': [
'string',
],
'sourceServerID': 'string',
'stagingAreaSubnetId': 'string',
'stagingAreaTags': {
'string': 'string'
},
'useDedicatedReplicationServer': True|False
}
Response Structure
(dict) --
associateDefaultSecurityGroup (boolean) --
Replication Configuration associate default Application Migration Service Security Group.
bandwidthThrottling (integer) --
Replication Configuration set bandwidth throttling.
createPublicIP (boolean) --
Replication Configuration create Public IP.
dataPlaneRouting (string) --
Replication Configuration data plane routing.
defaultLargeStagingDiskType (string) --
Replication Configuration use default large Staging Disks.
ebsEncryption (string) --
Replication Configuration EBS encryption.
ebsEncryptionKeyArn (string) --
Replication Configuration EBS encryption key ARN.
name (string) --
Replication Configuration name.
replicatedDisks (list) --
Replication Configuration replicated disks.
(dict) --
Replication Configuration replicated disk.
deviceName (string) --
Replication Configuration replicated disk device name.
iops (integer) --
Replication Configuration replicated disk IOPs.
isBootDisk (boolean) --
Replication Configuration replicated disk boot disk.
stagingDiskType (string) --
Replication Configuration replicated disk staging disk type.
throughput (integer) --
Replication Configuration replicated disk throughput.
replicationServerInstanceType (string) --
Replication Configuration Replication Server instance type.
replicationServersSecurityGroupsIDs (list) --
Replication Configuration Replication Server Security Group IDs.
sourceServerID (string) --
Replication Configuration Source Server ID.
stagingAreaSubnetId (string) --
Replication Configuration Staging Area subnet ID.
stagingAreaTags (dict) --
Replication Configuration Staging Area tags.
useDedicatedReplicationServer (boolean) --
Replication Configuration use Dedicated Replication Server.
Exceptions
mgn.Client.exceptions.UninitializedAccountException
mgn.Client.exceptions.ResourceNotFoundException
mgn.Client.exceptions.ValidationException
mgn.Client.exceptions.AccessDeniedException
mgn.Client.exceptions.ConflictException