mgn / Client / update_replication_configuration

update_replication_configuration#

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
)
Parameters:
  • associateDefaultSecurityGroup (boolean) – Update replication configuration associate default Application Migration Service Security group request.

  • bandwidthThrottling (integer) – Update replication configuration bandwidth throttling request.

  • createPublicIP (boolean) – Update replication configuration create Public IP request.

  • dataPlaneRouting (string) – Update replication configuration data plane routing request.

  • defaultLargeStagingDiskType (string) – Update replication configuration use default large Staging Disk type request.

  • ebsEncryption (string) – Update replication configuration EBS encryption request.

  • ebsEncryptionKeyArn (string) – Update replication configuration EBS encryption key ARN request.

  • name (string) – Update replication configuration name request.

  • replicatedDisks (list) –

    Update replication configuration replicated disks request.

    • (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) – Update replication configuration Replication Server instance type request.

  • replicationServersSecurityGroupsIDs (list) –

    Update replication configuration Replication Server Security Groups IDs request.

    • (string) –

  • sourceServerID (string) –

    [REQUIRED]

    Update replication configuration Source Server ID request.

  • stagingAreaSubnetId (string) – Update replication configuration Staging Area subnet request.

  • stagingAreaTags (dict) –

    Update replication configuration Staging Area Tags request.

    • (string) –

      • (string) –

  • useDedicatedReplicationServer (boolean) – Update replication configuration use dedicated Replication Server request.

Return type:

dict

Returns:

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.

      • (string) –

    • sourceServerID (string) –

      Replication Configuration Source Server ID.

    • stagingAreaSubnetId (string) –

      Replication Configuration Staging Area subnet ID.

    • stagingAreaTags (dict) –

      Replication Configuration Staging Area tags.

      • (string) –

        • (string) –

    • 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