DatabaseMigrationService / Client / describe_replication_configs

describe_replication_configs#

DatabaseMigrationService.Client.describe_replication_configs(**kwargs)#

Returns one or more existing DMS Serverless replication configurations as a list of structures.

See also: AWS API Documentation

Request Syntax

response = client.describe_replication_configs(
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxRecords=123,
    Marker='string'
)
Parameters:
  • Filters (list) –

    Filters applied to the replication configs.

    • (dict) –

      Identifies the name and value of a filter object. This filter is used to limit the number and type of DMS objects that are returned for a particular Describe* call or similar operation. Filters are used as an optional parameter for certain API operations.

      • Name (string) – [REQUIRED]

        The name of the filter as specified for a Describe* or similar operation.

      • Values (list) – [REQUIRED]

        The filter value, which can specify one or more values used to narrow the returned results.

        • (string) –

  • MaxRecords (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

  • Marker (string) – An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Return type:

dict

Returns:

Response Syntax

{
    'Marker': 'string',
    'ReplicationConfigs': [
        {
            'ReplicationConfigIdentifier': 'string',
            'ReplicationConfigArn': 'string',
            'SourceEndpointArn': 'string',
            'TargetEndpointArn': 'string',
            'ReplicationType': 'full-load'|'cdc'|'full-load-and-cdc',
            'ComputeConfig': {
                'AvailabilityZone': 'string',
                'DnsNameServers': 'string',
                'KmsKeyId': 'string',
                'MaxCapacityUnits': 123,
                'MinCapacityUnits': 123,
                'MultiAZ': True|False,
                'PreferredMaintenanceWindow': 'string',
                'ReplicationSubnetGroupId': 'string',
                'VpcSecurityGroupIds': [
                    'string',
                ]
            },
            'ReplicationSettings': 'string',
            'SupplementalSettings': 'string',
            'TableMappings': 'string',
            'ReplicationConfigCreateTime': datetime(2015, 1, 1),
            'ReplicationConfigUpdateTime': datetime(2015, 1, 1)
        },
    ]
}

Response Structure

  • (dict) –

    • Marker (string) –

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

    • ReplicationConfigs (list) –

      Returned configuration parameters that describe each provisioned DMS Serverless replication.

      • (dict) –

        This object provides configuration information about a serverless replication.

        • ReplicationConfigIdentifier (string) –

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn (string) –

          The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.

        • SourceEndpointArn (string) –

          The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

        • TargetEndpointArn (string) –

          The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

        • ReplicationType (string) –

          The type of the replication.

        • ComputeConfig (dict) –

          Configuration parameters for provisioning an DMS serverless replication.

          • AvailabilityZone (string) –

            The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration’s Amazon Web Services Region, for example, "us-west-2". You can’t set this parameter if the MultiAZ parameter is set to true.

          • DnsNameServers (string) –

            A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

          • KmsKeyId (string) –

            An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

            If you don’t specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

            KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

          • MaxCapacityUnits (integer) –

            Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

          • MinCapacityUnits (integer) –

            Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 2. You don’t have to specify a value for the MinCapacityUnits parameter. If you don’t set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can’t otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 2.

          • MultiAZ (boolean) –

            Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can’t set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

          • PreferredMaintenanceWindow (string) –

            The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

            The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

            Constraints include a minimum 30-minute window.

          • ReplicationSubnetGroupId (string) –

            Specifies a subnet group identifier to associate with the DMS Serverless replication.

          • VpcSecurityGroupIds (list) –

            Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

            • (string) –

        • ReplicationSettings (string) –

          Configuration parameters for an DMS serverless replication.

        • SupplementalSettings (string) –

          Additional parameters for an DMS serverless replication.

        • TableMappings (string) –

          Table mappings specified in the replication.

        • ReplicationConfigCreateTime (datetime) –

          The time the serverless replication config was created.

        • ReplicationConfigUpdateTime (datetime) –

          The time the serverless replication config was updated.

Exceptions

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault