mgn / Client / get_replication_configuration

get_replication_configuration#

mgn.Client.get_replication_configuration(**kwargs)#

Lists all ReplicationConfigurations, filtered by Source Server ID.

See also: AWS API Documentation

Request Syntax

response = client.get_replication_configuration(
    accountID='string',
    sourceServerID='string'
)
Parameters:
  • accountID (string) – Request to get Replication Configuration by Account ID.

  • sourceServerID (string) –

    [REQUIRED]

    Request to get Replication Configuration by Source Server ID.

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,
    'useFipsEndpoint': 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.

    • useFipsEndpoint (boolean) –

      Replication Configuration use Fips Endpoint.

Exceptions

  • mgn.Client.exceptions.UninitializedAccountException

  • mgn.Client.exceptions.ResourceNotFoundException