libZSservicesZSamazonka-dmsZSamazonka-dms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DMS.Lens

Contents

Description

 
Synopsis

Operations

DeleteReplicationInstance

deleteReplicationInstance_replicationInstanceArn :: Lens' DeleteReplicationInstance Text Source #

The Amazon Resource Name (ARN) of the replication instance to be deleted.

RebootReplicationInstance

rebootReplicationInstance_forcePlannedFailover :: Lens' RebootReplicationInstance (Maybe Bool) Source #

If this parameter is true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)

rebootReplicationInstance_forceFailover :: Lens' RebootReplicationInstance (Maybe Bool) Source #

If this parameter is true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)

rebootReplicationInstance_replicationInstanceArn :: Lens' RebootReplicationInstance Text Source #

The Amazon Resource Name (ARN) of the replication instance.

ReloadTables

reloadTables_reloadOption :: Lens' ReloadTables (Maybe ReloadOptionValue) Source #

Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-only to re-validate the table. This option applies only when validation is enabled for the task.

Valid values: data-reload, validate-only

Default value is data-reload.

reloadTables_replicationTaskArn :: Lens' ReloadTables Text Source #

The Amazon Resource Name (ARN) of the replication task.

reloadTables_tablesToReload :: Lens' ReloadTables [TableToReload] Source #

The name and schema of the table to be reloaded.

reloadTablesResponse_replicationTaskArn :: Lens' ReloadTablesResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the replication task.

StartReplicationTaskAssessment

DeleteReplicationTaskAssessmentRun

deleteReplicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: Lens' DeleteReplicationTaskAssessmentRun Text Source #

Amazon Resource Name (ARN) of the premigration assessment run to be deleted.

CreateEndpoint

createEndpoint_dmsTransferSettings :: Lens' CreateEndpoint (Maybe DmsTransferSettings) Source #

The settings in JSON format for the DMS transfer type of source endpoint.

Possible settings include the following:

  • ServiceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.
  • BucketName - The name of the S3 bucket to use.

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string

JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", }

createEndpoint_mySQLSettings :: Lens' CreateEndpoint (Maybe MySQLSettings) Source #

Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.

createEndpoint_serverName :: Lens' CreateEndpoint (Maybe Text) Source #

The name of the server where the endpoint database resides.

createEndpoint_microsoftSQLServerSettings :: Lens' CreateEndpoint (Maybe MicrosoftSQLServerSettings) Source #

Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.

createEndpoint_certificateArn :: Lens' CreateEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) for the certificate.

createEndpoint_serviceAccessRoleArn :: Lens' CreateEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the iam:PassRole action.

createEndpoint_postgreSQLSettings :: Lens' CreateEndpoint (Maybe PostgreSQLSettings) Source #

Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.

createEndpoint_extraConnectionAttributes :: Lens' CreateEndpoint (Maybe Text) Source #

Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with DMS Endpoints in the Database Migration Service User Guide.

createEndpoint_kafkaSettings :: Lens' CreateEndpoint (Maybe KafkaSettings) Source #

Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.

createEndpoint_oracleSettings :: Lens' CreateEndpoint (Maybe OracleSettings) Source #

Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.

createEndpoint_elasticsearchSettings :: Lens' CreateEndpoint (Maybe ElasticsearchSettings) Source #

Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in the Database Migration Service User Guide.

createEndpoint_username :: Lens' CreateEndpoint (Maybe Text) Source #

The user name to be used to log in to the endpoint database.

createEndpoint_redisSettings :: Lens' CreateEndpoint (Maybe RedisSettings) Source #

Settings in JSON format for the target Redis endpoint.

createEndpoint_neptuneSettings :: Lens' CreateEndpoint (Maybe NeptuneSettings) Source #

Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.

createEndpoint_iBMDb2Settings :: Lens' CreateEndpoint (Maybe IBMDb2Settings) Source #

Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.

createEndpoint_kmsKeyId :: Lens' CreateEndpoint (Maybe Text) Source #

An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

If you don't specify a value for the KmsKeyId parameter, then 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.

createEndpoint_mongoDbSettings :: Lens' CreateEndpoint (Maybe MongoDbSettings) Source #

Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.

createEndpoint_sslMode :: Lens' CreateEndpoint (Maybe DmsSslModeValue) Source #

The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none

createEndpoint_password :: Lens' CreateEndpoint (Maybe Text) Source #

The password to be used to log in to the endpoint database.

createEndpoint_sybaseSettings :: Lens' CreateEndpoint (Maybe SybaseSettings) Source #

Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.

createEndpoint_databaseName :: Lens' CreateEndpoint (Maybe Text) Source #

The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

createEndpoint_s3Settings :: Lens' CreateEndpoint (Maybe S3Settings) Source #

Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.

createEndpoint_kinesisSettings :: Lens' CreateEndpoint (Maybe KinesisSettings) Source #

Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.

createEndpoint_dynamoDbSettings :: Lens' CreateEndpoint (Maybe DynamoDbSettings) Source #

Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.

createEndpoint_resourceIdentifier :: Lens' CreateEndpoint (Maybe Text) Source #

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

createEndpoint_tags :: Lens' CreateEndpoint (Maybe [Tag]) Source #

One or more tags to be assigned to the endpoint.

createEndpoint_port :: Lens' CreateEndpoint (Maybe Int) Source #

The port used by the endpoint database.

createEndpoint_endpointIdentifier :: Lens' CreateEndpoint Text Source #

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

createEndpoint_endpointType :: Lens' CreateEndpoint ReplicationEndpointTypeValue Source #

The type of endpoint. Valid values are source and target.

createEndpoint_engineName :: Lens' CreateEndpoint Text Source #

The type of engine for the endpoint. Valid values, depending on the EndpointType value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune".

DescribeSchemas

describeSchemas_marker :: Lens' DescribeSchemas (Maybe Text) Source #

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.

describeSchemas_maxRecords :: Lens' DescribeSchemas (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeSchemas_endpointArn :: Lens' DescribeSchemas Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

describeSchemasResponse_marker :: Lens' DescribeSchemasResponse (Maybe Text) Source #

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.

DeleteConnection

deleteConnection_endpointArn :: Lens' DeleteConnection Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

deleteConnection_replicationInstanceArn :: Lens' DeleteConnection Text Source #

The Amazon Resource Name (ARN) of the replication instance.

ModifyEventSubscription

modifyEventSubscription_snsTopicArn :: Lens' ModifyEventSubscription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

modifyEventSubscription_enabled :: Lens' ModifyEventSubscription (Maybe Bool) Source #

A Boolean value; set to true to activate the subscription.

modifyEventSubscription_sourceType :: Lens' ModifyEventSubscription (Maybe Text) Source #

The type of DMS resource that generates the events you want to subscribe to.

Valid values: replication-instance | replication-task

modifyEventSubscription_eventCategories :: Lens' ModifyEventSubscription (Maybe [Text]) Source #

A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.

modifyEventSubscription_subscriptionName :: Lens' ModifyEventSubscription Text Source #

The name of the DMS event notification subscription to be modified.

DescribeReplicationInstanceTaskLogs

describeReplicationInstanceTaskLogs_marker :: Lens' DescribeReplicationInstanceTaskLogs (Maybe Text) Source #

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.

describeReplicationInstanceTaskLogs_maxRecords :: Lens' DescribeReplicationInstanceTaskLogs (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeReplicationInstanceTaskLogsResponse_replicationInstanceTaskLogs :: Lens' DescribeReplicationInstanceTaskLogsResponse (Maybe [ReplicationInstanceTaskLog]) Source #

An array of replication task log metadata. Each member of the array contains the replication task name, ARN, and task log size (in bytes).

describeReplicationInstanceTaskLogsResponse_marker :: Lens' DescribeReplicationInstanceTaskLogsResponse (Maybe Text) Source #

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.

DescribeEvents

describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

The start time for the events to be listed.

describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | replication-task

describeEvents_sourceIdentifier :: Lens' DescribeEvents (Maybe Text) Source #

The identifier of an event source.

describeEvents_eventCategories :: Lens' DescribeEvents (Maybe [Text]) Source #

A list of event categories for the source type that you've chosen.

describeEvents_marker :: Lens' DescribeEvents (Maybe Text) Source #

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.

describeEvents_maxRecords :: Lens' DescribeEvents (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

The end time for the events to be listed.

describeEvents_duration :: Lens' DescribeEvents (Maybe Int) Source #

The duration of the events to be listed.

describeEventsResponse_marker :: Lens' DescribeEventsResponse (Maybe Text) Source #

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.

DeleteEndpoint

deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource (Maybe Text) Source #

The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.

listTagsForResource_resourceArnList :: Lens' ListTagsForResource (Maybe [Text]) Source #

List of ARNs that identify multiple DMS resources that you want to list tags for. This returns a list of keys (tag names) and their associated tag values. It also returns each tag's associated ResourceArn value, which is the ARN of the resource for which each listed tag is created.

DescribeEndpointTypes

describeEndpointTypes_filters :: Lens' DescribeEndpointTypes (Maybe [Filter]) Source #

Filters applied to the endpoint types.

Valid filter names: engine-name | endpoint-type

describeEndpointTypes_marker :: Lens' DescribeEndpointTypes (Maybe Text) Source #

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.

describeEndpointTypes_maxRecords :: Lens' DescribeEndpointTypes (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeEndpointTypesResponse_marker :: Lens' DescribeEndpointTypesResponse (Maybe Text) Source #

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.

DeleteReplicationTask

deleteReplicationTask_replicationTaskArn :: Lens' DeleteReplicationTask Text Source #

The Amazon Resource Name (ARN) of the replication task to be deleted.

DescribeReplicationTaskAssessmentRuns

describeReplicationTaskAssessmentRuns_filters :: Lens' DescribeReplicationTaskAssessmentRuns (Maybe [Filter]) Source #

Filters applied to the premigration assessment runs described in the form of key-value pairs.

Valid filter names: replication-task-assessment-run-arn, replication-task-arn, replication-instance-arn, status

describeReplicationTaskAssessmentRuns_marker :: Lens' DescribeReplicationTaskAssessmentRuns (Maybe Text) Source #

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.

describeReplicationTaskAssessmentRuns_maxRecords :: Lens' DescribeReplicationTaskAssessmentRuns (Maybe Int) Source #

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.

describeReplicationTaskAssessmentRunsResponse_marker :: Lens' DescribeReplicationTaskAssessmentRunsResponse (Maybe Text) Source #

A pagination token returned for you to pass to a subsequent request. If you pass this token as the Marker value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by MaxRecords.

DescribeReplicationTaskAssessmentResults

describeReplicationTaskAssessmentResults_replicationTaskArn :: Lens' DescribeReplicationTaskAssessmentResults (Maybe Text) Source #

The Amazon Resource Name (ARN) string that uniquely identifies the task. When this input parameter is specified, the API returns only one result and ignore the values of the MaxRecords and Marker parameters.

describeReplicationTaskAssessmentResults_marker :: Lens' DescribeReplicationTaskAssessmentResults (Maybe Text) Source #

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.

describeReplicationTaskAssessmentResults_maxRecords :: Lens' DescribeReplicationTaskAssessmentResults (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeReplicationTaskAssessmentResultsResponse_marker :: Lens' DescribeReplicationTaskAssessmentResultsResponse (Maybe Text) Source #

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.

TestConnection

testConnection_replicationInstanceArn :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) of the replication instance.

testConnection_endpointArn :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

DescribeConnections

describeConnections_filters :: Lens' DescribeConnections (Maybe [Filter]) Source #

The filters applied to the connection.

Valid filter names: endpoint-arn | replication-instance-arn

describeConnections_marker :: Lens' DescribeConnections (Maybe Text) Source #

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.

describeConnections_maxRecords :: Lens' DescribeConnections (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeConnectionsResponse_marker :: Lens' DescribeConnectionsResponse (Maybe Text) Source #

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.

MoveReplicationTask

moveReplicationTask_replicationTaskArn :: Lens' MoveReplicationTask Text Source #

The Amazon Resource Name (ARN) of the task that you want to move.

moveReplicationTask_targetReplicationInstanceArn :: Lens' MoveReplicationTask Text Source #

The ARN of the replication instance where you want to move the task to.

RemoveTagsFromResource

removeTagsFromResource_resourceArn :: Lens' RemoveTagsFromResource Text Source #

An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text] Source #

The tag key (name) of the tag to be removed.

ModifyEndpoint

modifyEndpoint_dmsTransferSettings :: Lens' ModifyEndpoint (Maybe DmsTransferSettings) Source #

The settings in JSON format for the DMS transfer type of source endpoint.

Attributes include the following:

  • serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.
  • BucketName - The name of the S3 bucket to use.

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string

JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}

modifyEndpoint_mySQLSettings :: Lens' ModifyEndpoint (Maybe MySQLSettings) Source #

Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.

modifyEndpoint_serverName :: Lens' ModifyEndpoint (Maybe Text) Source #

The name of the server where the endpoint database resides.

modifyEndpoint_microsoftSQLServerSettings :: Lens' ModifyEndpoint (Maybe MicrosoftSQLServerSettings) Source #

Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.

modifyEndpoint_certificateArn :: Lens' ModifyEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) of the certificate used for SSL connection.

modifyEndpoint_serviceAccessRoleArn :: Lens' ModifyEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint. The role must allow the iam:PassRole action.

modifyEndpoint_docDbSettings :: Lens' ModifyEndpoint (Maybe DocDbSettings) Source #

Settings in JSON format for the source DocumentDB endpoint. For more information about the available settings, see the configuration properties section in Using DocumentDB as a Target for Database Migration Service in the Database Migration Service User Guide.

modifyEndpoint_postgreSQLSettings :: Lens' ModifyEndpoint (Maybe PostgreSQLSettings) Source #

Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.

modifyEndpoint_extraConnectionAttributes :: Lens' ModifyEndpoint (Maybe Text) Source #

Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.

modifyEndpoint_kafkaSettings :: Lens' ModifyEndpoint (Maybe KafkaSettings) Source #

Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.

modifyEndpoint_oracleSettings :: Lens' ModifyEndpoint (Maybe OracleSettings) Source #

Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.

modifyEndpoint_endpointType :: Lens' ModifyEndpoint (Maybe ReplicationEndpointTypeValue) Source #

The type of endpoint. Valid values are source and target.

modifyEndpoint_elasticsearchSettings :: Lens' ModifyEndpoint (Maybe ElasticsearchSettings) Source #

Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in the Database Migration Service User Guide.

modifyEndpoint_exactSettings :: Lens' ModifyEndpoint (Maybe Bool) Source #

If this attribute is Y, the current call to ModifyEndpoint replaces all existing endpoint settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyEndpoint does two things:

  • It replaces any endpoint settings that already exist with new values, for settings with the same names.
  • It creates new endpoint settings that you specify in the call, for settings with different names.

For example, if you call create-endpoint ... --endpoint-settings '{"a":1}' ..., the endpoint has the following endpoint settings: '{"a":1}'. If you then call modify-endpoint ... --endpoint-settings '{"b":2}' ... for the same endpoint, the endpoint has the following settings: '{"a":1,"b":2}'.

However, suppose that you follow this with a call to modify-endpoint ... --endpoint-settings '{"b":2}' --exact-settings ... for that same endpoint again. Then the endpoint has the following settings: '{"b":2}'. All existing settings are replaced with the exact settings that you specify.

modifyEndpoint_username :: Lens' ModifyEndpoint (Maybe Text) Source #

The user name to be used to login to the endpoint database.

modifyEndpoint_engineName :: Lens' ModifyEndpoint (Maybe Text) Source #

The type of engine for the endpoint. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".

modifyEndpoint_redisSettings :: Lens' ModifyEndpoint (Maybe RedisSettings) Source #

Settings in JSON format for the Redis target endpoint.

modifyEndpoint_neptuneSettings :: Lens' ModifyEndpoint (Maybe NeptuneSettings) Source #

Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.

modifyEndpoint_iBMDb2Settings :: Lens' ModifyEndpoint (Maybe IBMDb2Settings) Source #

Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.

modifyEndpoint_mongoDbSettings :: Lens' ModifyEndpoint (Maybe MongoDbSettings) Source #

Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.

modifyEndpoint_sslMode :: Lens' ModifyEndpoint (Maybe DmsSslModeValue) Source #

The SSL mode used to connect to the endpoint. The default value is none.

modifyEndpoint_password :: Lens' ModifyEndpoint (Maybe Text) Source #

The password to be used to login to the endpoint database.

modifyEndpoint_sybaseSettings :: Lens' ModifyEndpoint (Maybe SybaseSettings) Source #

Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.

modifyEndpoint_databaseName :: Lens' ModifyEndpoint (Maybe Text) Source #

The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

modifyEndpoint_s3Settings :: Lens' ModifyEndpoint (Maybe S3Settings) Source #

Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.

modifyEndpoint_kinesisSettings :: Lens' ModifyEndpoint (Maybe KinesisSettings) Source #

Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.

modifyEndpoint_endpointIdentifier :: Lens' ModifyEndpoint (Maybe Text) Source #

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

modifyEndpoint_dynamoDbSettings :: Lens' ModifyEndpoint (Maybe DynamoDbSettings) Source #

Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.

modifyEndpoint_port :: Lens' ModifyEndpoint (Maybe Int) Source #

The port used by the endpoint database.

modifyEndpoint_endpointArn :: Lens' ModifyEndpoint Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

CreateEventSubscription

createEventSubscription_enabled :: Lens' CreateEventSubscription (Maybe Bool) Source #

A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.

createEventSubscription_sourceType :: Lens' CreateEventSubscription (Maybe Text) Source #

The type of DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.

Valid values: replication-instance | replication-task

createEventSubscription_eventCategories :: Lens' CreateEventSubscription (Maybe [Text]) Source #

A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.

createEventSubscription_sourceIds :: Lens' CreateEventSubscription (Maybe [Text]) Source #

A list of identifiers for which DMS provides notification events.

If you don't specify a value, notifications are provided for all sources.

If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.

createEventSubscription_tags :: Lens' CreateEventSubscription (Maybe [Tag]) Source #

One or more tags to be assigned to the event subscription.

createEventSubscription_subscriptionName :: Lens' CreateEventSubscription Text Source #

The name of the DMS event notification subscription. This name must be less than 255 characters.

createEventSubscription_snsTopicArn :: Lens' CreateEventSubscription Text Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

DescribeEndpointSettings

describeEndpointSettings_marker :: Lens' DescribeEndpointSettings (Maybe Text) Source #

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.

describeEndpointSettings_maxRecords :: Lens' DescribeEndpointSettings (Maybe Int) Source #

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.

describeEndpointSettings_engineName :: Lens' DescribeEndpointSettings Text Source #

The databse engine used for your source or target endpoint.

describeEndpointSettingsResponse_endpointSettings :: Lens' DescribeEndpointSettingsResponse (Maybe [EndpointSetting]) Source #

Descriptions of the endpoint settings available for your source or target database engine.

describeEndpointSettingsResponse_marker :: Lens' DescribeEndpointSettingsResponse (Maybe Text) Source #

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.

DescribeCertificates

describeCertificates_filters :: Lens' DescribeCertificates (Maybe [Filter]) Source #

Filters applied to the certificates described in the form of key-value pairs.

describeCertificates_marker :: Lens' DescribeCertificates (Maybe Text) Source #

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.

describeCertificates_maxRecords :: Lens' DescribeCertificates (Maybe Int) Source #

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.

Default: 10

describeCertificatesResponse_certificates :: Lens' DescribeCertificatesResponse (Maybe [Certificate]) Source #

The Secure Sockets Layer (SSL) certificates associated with the replication instance.

StartReplicationTaskAssessmentRun

startReplicationTaskAssessmentRun_includeOnly :: Lens' StartReplicationTaskAssessmentRun (Maybe [Text]) Source #

Space-separated list of names for specific individual assessments that you want to include. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn.

You can't set a value for IncludeOnly if you also set a value for Exclude in the API operation.

To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter.

startReplicationTaskAssessmentRun_resultKmsKeyArn :: Lens' StartReplicationTaskAssessmentRun (Maybe Text) Source #

ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to "SSE_KMS".

startReplicationTaskAssessmentRun_resultLocationFolder :: Lens' StartReplicationTaskAssessmentRun (Maybe Text) Source #

Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.

startReplicationTaskAssessmentRun_resultEncryptionMode :: Lens' StartReplicationTaskAssessmentRun (Maybe Text) Source #

Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, DMS stores the assessment run results without encryption. You can specify one of the options following:

  • "SSE_S3" – The server-side encryption provided as a default by Amazon S3.
  • "SSE_KMS" – Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.

startReplicationTaskAssessmentRun_exclude :: Lens' StartReplicationTaskAssessmentRun (Maybe [Text]) Source #

Space-separated list of names for specific individual assessments that you want to exclude. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn.

You can't set a value for Exclude if you also set a value for IncludeOnly in the API operation.

To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter.

startReplicationTaskAssessmentRun_replicationTaskArn :: Lens' StartReplicationTaskAssessmentRun Text Source #

Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.

startReplicationTaskAssessmentRun_serviceAccessRoleArn :: Lens' StartReplicationTaskAssessmentRun Text Source #

ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action.

startReplicationTaskAssessmentRun_resultLocationBucket :: Lens' StartReplicationTaskAssessmentRun Text Source #

Amazon S3 bucket where you want DMS to store the results of this assessment run.

DeleteEventSubscription

deleteEventSubscription_subscriptionName :: Lens' DeleteEventSubscription Text Source #

The name of the DMS event notification subscription to be deleted.

DescribeTableStatistics

describeTableStatistics_filters :: Lens' DescribeTableStatistics (Maybe [Filter]) Source #

Filters applied to table statistics.

Valid filter names: schema-name | table-name | table-state

A combination of filters creates an AND condition where each record matches all specified filters.

describeTableStatistics_marker :: Lens' DescribeTableStatistics (Maybe Text) Source #

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.

describeTableStatistics_maxRecords :: Lens' DescribeTableStatistics (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 500.

describeTableStatistics_replicationTaskArn :: Lens' DescribeTableStatistics Text Source #

The Amazon Resource Name (ARN) of the replication task.

describeTableStatisticsResponse_marker :: Lens' DescribeTableStatisticsResponse (Maybe Text) Source #

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.

DescribeReplicationSubnetGroups

describeReplicationSubnetGroups_filters :: Lens' DescribeReplicationSubnetGroups (Maybe [Filter]) Source #

Filters applied to replication subnet groups.

Valid filter names: replication-subnet-group-id

describeReplicationSubnetGroups_marker :: Lens' DescribeReplicationSubnetGroups (Maybe Text) Source #

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.

describeReplicationSubnetGroups_maxRecords :: Lens' DescribeReplicationSubnetGroups (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeReplicationSubnetGroupsResponse_marker :: Lens' DescribeReplicationSubnetGroupsResponse (Maybe Text) Source #

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.

StartReplicationTask

startReplicationTask_cdcStartPosition :: Lens' StartReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS.

startReplicationTask_cdcStopPosition :: Lens' StartReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

startReplicationTask_cdcStartTime :: Lens' StartReplicationTask (Maybe UTCTime) Source #

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”

startReplicationTask_replicationTaskArn :: Lens' StartReplicationTask Text Source #

The Amazon Resource Name (ARN) of the replication task to be started.

DescribeEventSubscriptions

describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

The name of the DMS event subscription to be described.

describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

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.

describeEventSubscriptions_maxRecords :: Lens' DescribeEventSubscriptions (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) Source #

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.

AddTagsToResource

addTagsToResource_resourceArn :: Lens' AddTagsToResource Text Source #

Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

For DMS, you can tag a replication instance, an endpoint, or a replication task.

addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #

One or more tags to be assigned to the resource.

CreateReplicationSubnetGroup

createReplicationSubnetGroup_tags :: Lens' CreateReplicationSubnetGroup (Maybe [Tag]) Source #

One or more tags to be assigned to the subnet group.

createReplicationSubnetGroup_replicationSubnetGroupIdentifier :: Lens' CreateReplicationSubnetGroup Text Source #

The name for the replication subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

Example: mySubnetgroup

createReplicationSubnetGroup_subnetIds :: Lens' CreateReplicationSubnetGroup [Text] Source #

One or more subnet IDs to be assigned to the subnet group.

DescribeApplicableIndividualAssessments

describeApplicableIndividualAssessments_migrationType :: Lens' DescribeApplicableIndividualAssessments (Maybe MigrationTypeValue) Source #

Name of the migration type that each provided individual assessment must support.

describeApplicableIndividualAssessments_sourceEngineName :: Lens' DescribeApplicableIndividualAssessments (Maybe Text) Source #

Name of a database engine that the specified replication instance supports as a source.

describeApplicableIndividualAssessments_replicationTaskArn :: Lens' DescribeApplicableIndividualAssessments (Maybe Text) Source #

Amazon Resource Name (ARN) of a migration task on which you want to base the default list of individual assessments.

describeApplicableIndividualAssessments_marker :: Lens' DescribeApplicableIndividualAssessments (Maybe Text) Source #

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.

describeApplicableIndividualAssessments_maxRecords :: Lens' DescribeApplicableIndividualAssessments (Maybe Int) Source #

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.

describeApplicableIndividualAssessments_targetEngineName :: Lens' DescribeApplicableIndividualAssessments (Maybe Text) Source #

Name of a database engine that the specified replication instance supports as a target.

describeApplicableIndividualAssessments_replicationInstanceArn :: Lens' DescribeApplicableIndividualAssessments (Maybe Text) Source #

ARN of a replication instance on which you want to base the default list of individual assessments.

describeApplicableIndividualAssessmentsResponse_marker :: Lens' DescribeApplicableIndividualAssessmentsResponse (Maybe Text) Source #

Pagination token returned for you to pass to a subsequent request. If you pass this token as the Marker value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by MaxRecords.

describeApplicableIndividualAssessmentsResponse_individualAssessmentNames :: Lens' DescribeApplicableIndividualAssessmentsResponse (Maybe [Text]) Source #

List of names for the individual assessments supported by the premigration assessment run that you start based on the specified request parameters. For more information on the available individual assessments, including compatibility with different migration task configurations, see Working with premigration assessment runs in the Database Migration Service User Guide.

DeleteCertificate

deleteCertificate_certificateArn :: Lens' DeleteCertificate Text Source #

The Amazon Resource Name (ARN) of the deleted certificate.

RefreshSchemas

refreshSchemas_endpointArn :: Lens' RefreshSchemas Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

refreshSchemas_replicationInstanceArn :: Lens' RefreshSchemas Text Source #

The Amazon Resource Name (ARN) of the replication instance.

DescribeReplicationTasks

describeReplicationTasks_filters :: Lens' DescribeReplicationTasks (Maybe [Filter]) Source #

Filters applied to replication tasks.

Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

describeReplicationTasks_withoutSettings :: Lens' DescribeReplicationTasks (Maybe Bool) Source #

An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose true; otherwise, choose false (the default).

describeReplicationTasks_marker :: Lens' DescribeReplicationTasks (Maybe Text) Source #

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.

describeReplicationTasks_maxRecords :: Lens' DescribeReplicationTasks (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeReplicationTasksResponse_marker :: Lens' DescribeReplicationTasksResponse (Maybe Text) Source #

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.

DescribeEventCategories

describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | replication-task

describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter]) Source #

Filters applied to the event categories.

DescribeOrderableReplicationInstances

describeOrderableReplicationInstances_marker :: Lens' DescribeOrderableReplicationInstances (Maybe Text) Source #

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.

describeOrderableReplicationInstances_maxRecords :: Lens' DescribeOrderableReplicationInstances (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeOrderableReplicationInstancesResponse_marker :: Lens' DescribeOrderableReplicationInstancesResponse (Maybe Text) Source #

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.

DescribePendingMaintenanceActions

describePendingMaintenanceActions_marker :: Lens' DescribePendingMaintenanceActions (Maybe Text) Source #

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.

describePendingMaintenanceActions_maxRecords :: Lens' DescribePendingMaintenanceActions (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describePendingMaintenanceActionsResponse_marker :: Lens' DescribePendingMaintenanceActionsResponse (Maybe Text) Source #

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.

CreateReplicationTask

createReplicationTask_replicationTaskSettings :: Lens' CreateReplicationTask (Maybe Text) Source #

Overall settings for the task, in JSON format. For more information, see Specifying Task Settings for Database Migration Service Tasks in the Database Migration Service User Guide.

createReplicationTask_cdcStartPosition :: Lens' CreateReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS.

createReplicationTask_taskData :: Lens' CreateReplicationTask (Maybe Text) Source #

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.

createReplicationTask_cdcStopPosition :: Lens' CreateReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

createReplicationTask_resourceIdentifier :: Lens' CreateReplicationTask (Maybe Text) Source #

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

createReplicationTask_tags :: Lens' CreateReplicationTask (Maybe [Tag]) Source #

One or more tags to be assigned to the replication task.

createReplicationTask_cdcStartTime :: Lens' CreateReplicationTask (Maybe UTCTime) Source #

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”

createReplicationTask_replicationTaskIdentifier :: Lens' CreateReplicationTask Text Source #

An identifier for the replication task.

Constraints:

  • Must contain 1-255 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.

createReplicationTask_sourceEndpointArn :: Lens' CreateReplicationTask Text Source #

An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

createReplicationTask_targetEndpointArn :: Lens' CreateReplicationTask Text Source #

An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

createReplicationTask_replicationInstanceArn :: Lens' CreateReplicationTask Text Source #

The Amazon Resource Name (ARN) of a replication instance.

createReplicationTask_migrationType :: Lens' CreateReplicationTask MigrationTypeValue Source #

The migration type. Valid values: full-load | cdc | full-load-and-cdc

createReplicationTask_tableMappings :: Lens' CreateReplicationTask Text Source #

The table mappings for the task, in JSON format. For more information, see Using Table Mapping to Specify Task Settings in the Database Migration Service User Guide.

DescribeEndpoints

describeEndpoints_filters :: Lens' DescribeEndpoints (Maybe [Filter]) Source #

Filters applied to the endpoints.

Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name

describeEndpoints_marker :: Lens' DescribeEndpoints (Maybe Text) Source #

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.

describeEndpoints_maxRecords :: Lens' DescribeEndpoints (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeEndpointsResponse_marker :: Lens' DescribeEndpointsResponse (Maybe Text) Source #

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.

ModifyReplicationInstance

modifyReplicationInstance_engineVersion :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The engine version number of the replication instance.

When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to true.

modifyReplicationInstance_autoMinorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.

An outage does result if these factors apply:

  • This parameter is set to true during the maintenance window.
  • A newer minor version is available.
  • DMS has enabled automatic patching for the given engine version.

modifyReplicationInstance_allowMajorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible.

This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version.

modifyReplicationInstance_preferredMaintenanceWindow :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.

Default: Uses existing setting

Format: ddd:hh24:mi-ddd:hh24:mi

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 minutes

modifyReplicationInstance_vpcSecurityGroupIds :: Lens' ModifyReplicationInstance (Maybe [Text]) Source #

Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.

modifyReplicationInstance_multiAZ :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

modifyReplicationInstance_allocatedStorage :: Lens' ModifyReplicationInstance (Maybe Int) Source #

The amount of storage (in gigabytes) to be allocated for the replication instance.

modifyReplicationInstance_applyImmediately :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Indicates whether the changes should be applied immediately or during the next maintenance window.

modifyReplicationInstance_replicationInstanceClass :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.

modifyReplicationInstance_replicationInstanceIdentifier :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The replication instance identifier. This parameter is stored as a lowercase string.

modifyReplicationInstance_replicationInstanceArn :: Lens' ModifyReplicationInstance Text Source #

The Amazon Resource Name (ARN) of the replication instance.

ImportCertificate

importCertificate_certificatePem :: Lens' ImportCertificate (Maybe Text) Source #

The contents of a .pem file, which contains an X.509 certificate.

importCertificate_certificateWallet :: Lens' ImportCertificate (Maybe ByteString) Source #

The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

importCertificate_tags :: Lens' ImportCertificate (Maybe [Tag]) Source #

The tags associated with the certificate.

importCertificate_certificateIdentifier :: Lens' ImportCertificate Text Source #

A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

CancelReplicationTaskAssessmentRun

cancelReplicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: Lens' CancelReplicationTaskAssessmentRun Text Source #

Amazon Resource Name (ARN) of the premigration assessment run to be canceled.

ModifyReplicationSubnetGroup

DescribeReplicationTaskIndividualAssessments

describeReplicationTaskIndividualAssessments_filters :: Lens' DescribeReplicationTaskIndividualAssessments (Maybe [Filter]) Source #

Filters applied to the individual assessments described in the form of key-value pairs.

Valid filter names: replication-task-assessment-run-arn, replication-task-arn, status

describeReplicationTaskIndividualAssessments_marker :: Lens' DescribeReplicationTaskIndividualAssessments (Maybe Text) Source #

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.

describeReplicationTaskIndividualAssessments_maxRecords :: Lens' DescribeReplicationTaskIndividualAssessments (Maybe Int) Source #

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.

describeReplicationTaskIndividualAssessmentsResponse_marker :: Lens' DescribeReplicationTaskIndividualAssessmentsResponse (Maybe Text) Source #

A pagination token returned for you to pass to a subsequent request. If you pass this token as the Marker value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by MaxRecords.

ApplyPendingMaintenanceAction

applyPendingMaintenanceAction_replicationInstanceArn :: Lens' ApplyPendingMaintenanceAction Text Source #

The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

applyPendingMaintenanceAction_applyAction :: Lens' ApplyPendingMaintenanceAction Text Source #

The pending maintenance action to apply to this resource.

Valid values: os-upgrade, system-update, db-upgrade

applyPendingMaintenanceAction_optInType :: Lens' ApplyPendingMaintenanceAction Text Source #

A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of type immediate.

Valid values:

  • immediate - Apply the maintenance action immediately.
  • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.
  • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

DescribeAccountAttributes

describeAccountAttributesResponse_uniqueAccountIdentifier :: Lens' DescribeAccountAttributesResponse (Maybe Text) Source #

A unique DMS identifier for an account in a particular Amazon Web Services Region. The value of this identifier has the following format: c99999999999. DMS uses this identifier to name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket for storing task assessment reports in a given Amazon Web Services Region. The format of this S3 bucket name is the following: dms-AccountNumber-UniqueAccountIdentifier. Here is an example name for this default S3 bucket: dms-111122223333-c44445555666.

DMS supports the UniqueAccountIdentifier parameter in versions 3.1.4 and later.

DescribeReplicationInstances

describeReplicationInstances_filters :: Lens' DescribeReplicationInstances (Maybe [Filter]) Source #

Filters applied to replication instances.

Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version

describeReplicationInstances_marker :: Lens' DescribeReplicationInstances (Maybe Text) Source #

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.

describeReplicationInstances_maxRecords :: Lens' DescribeReplicationInstances (Maybe Int) Source #

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.

Default: 100

Constraints: Minimum 20, maximum 100.

describeReplicationInstancesResponse_marker :: Lens' DescribeReplicationInstancesResponse (Maybe Text) Source #

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.

DescribeRefreshSchemasStatus

describeRefreshSchemasStatus_endpointArn :: Lens' DescribeRefreshSchemasStatus Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

StopReplicationTask

stopReplicationTask_replicationTaskArn :: Lens' StopReplicationTask Text Source #

The Amazon Resource Name(ARN) of the replication task to be stopped.

ModifyReplicationTask

modifyReplicationTask_replicationTaskSettings :: Lens' ModifyReplicationTask (Maybe Text) Source #

JSON file that contains settings for the task, such as task metadata settings.

modifyReplicationTask_replicationTaskIdentifier :: Lens' ModifyReplicationTask (Maybe Text) Source #

The replication task identifier.

Constraints:

  • Must contain 1-255 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.

modifyReplicationTask_cdcStartPosition :: Lens' ModifyReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS.

modifyReplicationTask_tableMappings :: Lens' ModifyReplicationTask (Maybe Text) Source #

When using the CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with file://. For example, --table-mappings file://mappingfile.json. When working with the DMS API, provide the JSON as the parameter value.

modifyReplicationTask_migrationType :: Lens' ModifyReplicationTask (Maybe MigrationTypeValue) Source #

The migration type. Valid values: full-load | cdc | full-load-and-cdc

modifyReplicationTask_taskData :: Lens' ModifyReplicationTask (Maybe Text) Source #

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.

modifyReplicationTask_cdcStopPosition :: Lens' ModifyReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

modifyReplicationTask_cdcStartTime :: Lens' ModifyReplicationTask (Maybe UTCTime) Source #

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”

modifyReplicationTask_replicationTaskArn :: Lens' ModifyReplicationTask Text Source #

The Amazon Resource Name (ARN) of the replication task.

CreateReplicationInstance

createReplicationInstance_engineVersion :: Lens' CreateReplicationInstance (Maybe Text) Source #

The engine version number of the replication instance.

If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.

createReplicationInstance_publiclyAccessible :: Lens' CreateReplicationInstance (Maybe Bool) Source #

Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

createReplicationInstance_autoMinorVersionUpgrade :: Lens' CreateReplicationInstance (Maybe Bool) Source #

A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. This parameter defaults to true.

Default: true

createReplicationInstance_preferredMaintenanceWindow :: Lens' CreateReplicationInstance (Maybe Text) Source #

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region, occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

createReplicationInstance_kmsKeyId :: Lens' CreateReplicationInstance (Maybe Text) Source #

An KMS key identifier that is used to encrypt the data on the replication instance.

If you don't specify a value for the KmsKeyId parameter, then 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.

createReplicationInstance_availabilityZone :: Lens' CreateReplicationInstance (Maybe Text) Source #

The Availability Zone where the replication instance will be created. The default value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, for example: us-east-1d

createReplicationInstance_vpcSecurityGroupIds :: Lens' CreateReplicationInstance (Maybe [Text]) Source #

Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.

createReplicationInstance_multiAZ :: Lens' CreateReplicationInstance (Maybe Bool) Source #

Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

createReplicationInstance_allocatedStorage :: Lens' CreateReplicationInstance (Maybe Int) Source #

The amount of storage (in gigabytes) to be initially allocated for the replication instance.

createReplicationInstance_dnsNameServers :: Lens' CreateReplicationInstance (Maybe Text) Source #

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

createReplicationInstance_resourceIdentifier :: Lens' CreateReplicationInstance (Maybe Text) Source #

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

createReplicationInstance_tags :: Lens' CreateReplicationInstance (Maybe [Tag]) Source #

One or more tags to be assigned to the replication instance.

createReplicationInstance_replicationInstanceIdentifier :: Lens' CreateReplicationInstance Text Source #

The replication instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain 1-63 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Can't end with a hyphen or contain two consecutive hyphens.

Example: myrepinstance

createReplicationInstance_replicationInstanceClass :: Lens' CreateReplicationInstance Text Source #

The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.

DeleteReplicationSubnetGroup

Types

AccountQuota

accountQuota_max :: Lens' AccountQuota (Maybe Integer) Source #

The maximum allowed value for the quota.

accountQuota_used :: Lens' AccountQuota (Maybe Integer) Source #

The amount currently used toward the quota maximum.

accountQuota_accountQuotaName :: Lens' AccountQuota (Maybe Text) Source #

The name of the DMS quota for this Amazon Web Services account.

AvailabilityZone

availabilityZone_name :: Lens' AvailabilityZone (Maybe Text) Source #

The name of the Availability Zone.

Certificate

certificate_certificateOwner :: Lens' Certificate (Maybe Text) Source #

The owner of the certificate.

certificate_signingAlgorithm :: Lens' Certificate (Maybe Text) Source #

The signing algorithm for the certificate.

certificate_validFromDate :: Lens' Certificate (Maybe UTCTime) Source #

The beginning date that the certificate is valid.

certificate_certificatePem :: Lens' Certificate (Maybe Text) Source #

The contents of a .pem file, which contains an X.509 certificate.

certificate_certificateArn :: Lens' Certificate (Maybe Text) Source #

The Amazon Resource Name (ARN) for the certificate.

certificate_certificateCreationDate :: Lens' Certificate (Maybe UTCTime) Source #

The date that the certificate was created.

certificate_certificateIdentifier :: Lens' Certificate (Maybe Text) Source #

A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

certificate_certificateWallet :: Lens' Certificate (Maybe ByteString) Source #

The location of an imported Oracle Wallet certificate for use with SSL.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

certificate_keyLength :: Lens' Certificate (Maybe Int) Source #

The key length of the cryptographic algorithm being used.

certificate_validToDate :: Lens' Certificate (Maybe UTCTime) Source #

The final date that the certificate is valid.

Connection

connection_status :: Lens' Connection (Maybe Text) Source #

The connection status. This parameter can return one of the following values:

  • "successful"
  • "testing"
  • "failed"
  • "deleting"

connection_replicationInstanceArn :: Lens' Connection (Maybe Text) Source #

The ARN of the replication instance.

connection_endpointIdentifier :: Lens' Connection (Maybe Text) Source #

The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

connection_replicationInstanceIdentifier :: Lens' Connection (Maybe Text) Source #

The replication instance identifier. This parameter is stored as a lowercase string.

connection_endpointArn :: Lens' Connection (Maybe Text) Source #

The ARN string that uniquely identifies the endpoint.

connection_lastFailureMessage :: Lens' Connection (Maybe Text) Source #

The error message when the connection last failed.

DmsTransferSettings

dmsTransferSettings_serviceAccessRoleArn :: Lens' DmsTransferSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

DocDbSettings

docDbSettings_serverName :: Lens' DocDbSettings (Maybe Text) Source #

The name of the server on the DocumentDB source endpoint.

docDbSettings_secretsManagerAccessRoleArn :: Lens' DocDbSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

docDbSettings_username :: Lens' DocDbSettings (Maybe Text) Source #

The user name you use to access the DocumentDB source endpoint.

docDbSettings_kmsKeyId :: Lens' DocDbSettings (Maybe Text) Source #

The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the KmsKeyId parameter, then 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.

docDbSettings_password :: Lens' DocDbSettings (Maybe Text) Source #

The password for the user account you use to access the DocumentDB source endpoint.

docDbSettings_nestingLevel :: Lens' DocDbSettings (Maybe NestingLevelValue) Source #

Specifies either document or table mode.

Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

docDbSettings_databaseName :: Lens' DocDbSettings (Maybe Text) Source #

The database name on the DocumentDB source endpoint.

docDbSettings_docsToInvestigate :: Lens' DocDbSettings (Maybe Int) Source #

Indicates the number of documents to preview to determine the document organization. Use this setting when NestingLevel is set to "one".

Must be a positive value greater than 0. Default value is 1000.

docDbSettings_secretsManagerSecretId :: Lens' DocDbSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

docDbSettings_extractDocId :: Lens' DocDbSettings (Maybe Bool) Source #

Specifies the document ID. Use this setting when NestingLevel is set to "none".

Default value is "false".

docDbSettings_port :: Lens' DocDbSettings (Maybe Int) Source #

The port value for the DocumentDB source endpoint.

DynamoDbSettings

dynamoDbSettings_serviceAccessRoleArn :: Lens' DynamoDbSettings Text Source #

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

ElasticsearchSettings

elasticsearchSettings_fullLoadErrorPercentage :: Lens' ElasticsearchSettings (Maybe Int) Source #

The maximum percentage of records that can fail to be written before a full load operation stops.

To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

elasticsearchSettings_errorRetryDuration :: Lens' ElasticsearchSettings (Maybe Int) Source #

The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.

elasticsearchSettings_serviceAccessRoleArn :: Lens' ElasticsearchSettings Text Source #

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

elasticsearchSettings_endpointUri :: Lens' ElasticsearchSettings Text Source #

The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

Endpoint

endpoint_status :: Lens' Endpoint (Maybe Text) Source #

The status of the endpoint.

endpoint_dmsTransferSettings :: Lens' Endpoint (Maybe DmsTransferSettings) Source #

The settings in JSON format for the DMS transfer type of source endpoint.

Possible settings include the following:

  • ServiceAccessRoleArn - - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.
  • BucketName - The name of the S3 bucket to use.

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string,

JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}

endpoint_mySQLSettings :: Lens' Endpoint (Maybe MySQLSettings) Source #

The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

endpoint_serverName :: Lens' Endpoint (Maybe Text) Source #

The name of the server at the endpoint.

endpoint_microsoftSQLServerSettings :: Lens' Endpoint (Maybe MicrosoftSQLServerSettings) Source #

The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

endpoint_certificateArn :: Lens' Endpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

endpoint_serviceAccessRoleArn :: Lens' Endpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

endpoint_engineDisplayName :: Lens' Endpoint (Maybe Text) Source #

The expanded name for the engine name. For example, if the EngineName parameter is "aurora," this value would be "Amazon Aurora MySQL."

endpoint_postgreSQLSettings :: Lens' Endpoint (Maybe PostgreSQLSettings) Source #

The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

endpoint_extraConnectionAttributes :: Lens' Endpoint (Maybe Text) Source #

Additional connection attributes used to connect to the endpoint.

endpoint_kafkaSettings :: Lens' Endpoint (Maybe KafkaSettings) Source #

The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

endpoint_oracleSettings :: Lens' Endpoint (Maybe OracleSettings) Source #

The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

endpoint_endpointType :: Lens' Endpoint (Maybe ReplicationEndpointTypeValue) Source #

The type of endpoint. Valid values are source and target.

endpoint_redshiftSettings :: Lens' Endpoint (Maybe RedshiftSettings) Source #

Settings for the Amazon Redshift endpoint.

endpoint_elasticsearchSettings :: Lens' Endpoint (Maybe ElasticsearchSettings) Source #

The settings for the Elasticsearch source endpoint. For more information, see the ElasticsearchSettings structure.

endpoint_username :: Lens' Endpoint (Maybe Text) Source #

The user name used to connect to the endpoint.

endpoint_externalTableDefinition :: Lens' Endpoint (Maybe Text) Source #

The external table definition.

endpoint_engineName :: Lens' Endpoint (Maybe Text) Source #

The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".

endpoint_redisSettings :: Lens' Endpoint (Maybe RedisSettings) Source #

The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

endpoint_neptuneSettings :: Lens' Endpoint (Maybe NeptuneSettings) Source #

The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

endpoint_iBMDb2Settings :: Lens' Endpoint (Maybe IBMDb2Settings) Source #

The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

endpoint_kmsKeyId :: Lens' Endpoint (Maybe Text) Source #

An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

If you don't specify a value for the KmsKeyId parameter, then 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.

endpoint_mongoDbSettings :: Lens' Endpoint (Maybe MongoDbSettings) Source #

The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

endpoint_sslMode :: Lens' Endpoint (Maybe DmsSslModeValue) Source #

The SSL mode used to connect to the endpoint. The default value is none.

endpoint_sybaseSettings :: Lens' Endpoint (Maybe SybaseSettings) Source #

The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

endpoint_databaseName :: Lens' Endpoint (Maybe Text) Source #

The name of the database at the endpoint.

endpoint_s3Settings :: Lens' Endpoint (Maybe S3Settings) Source #

The settings for the S3 target endpoint. For more information, see the S3Settings structure.

endpoint_kinesisSettings :: Lens' Endpoint (Maybe KinesisSettings) Source #

The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

endpoint_endpointIdentifier :: Lens' Endpoint (Maybe Text) Source #

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

endpoint_externalId :: Lens' Endpoint (Maybe Text) Source #

Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.

endpoint_dynamoDbSettings :: Lens' Endpoint (Maybe DynamoDbSettings) Source #

The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

endpoint_endpointArn :: Lens' Endpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

endpoint_port :: Lens' Endpoint (Maybe Int) Source #

The port value used to access the endpoint.

EndpointSetting

endpointSetting_sensitive :: Lens' EndpointSetting (Maybe Bool) Source #

A value that marks this endpoint setting as sensitive.

endpointSetting_intValueMax :: Lens' EndpointSetting (Maybe Int) Source #

The maximum value of an endpoint setting that is of type int.

endpointSetting_applicability :: Lens' EndpointSetting (Maybe Text) Source #

The relevance or validity of an endpoint setting for an engine name and its endpoint type.

endpointSetting_name :: Lens' EndpointSetting (Maybe Text) Source #

The name that you want to give the endpoint settings.

endpointSetting_intValueMin :: Lens' EndpointSetting (Maybe Int) Source #

The minimum value of an endpoint setting that is of type int.

endpointSetting_units :: Lens' EndpointSetting (Maybe Text) Source #

The unit of measure for this endpoint setting.

endpointSetting_defaultValue :: Lens' EndpointSetting (Maybe Text) Source #

The default value of the endpoint setting if no value is specified using CreateEndpoint or ModifyEndpoint.

endpointSetting_type :: Lens' EndpointSetting (Maybe EndpointSettingTypeValue) Source #

The type of endpoint. Valid values are source and target.

endpointSetting_enumValues :: Lens' EndpointSetting (Maybe [Text]) Source #

Enumerated values to use for this endpoint.

Event

event_sourceType :: Lens' Event (Maybe SourceType) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | endpoint | replication-task

event_sourceIdentifier :: Lens' Event (Maybe Text) Source #

The identifier of an event source.

event_date :: Lens' Event (Maybe UTCTime) Source #

The date of the event.

event_eventCategories :: Lens' Event (Maybe [Text]) Source #

The event categories available for the specified source type.

event_message :: Lens' Event (Maybe Text) Source #

The event message.

EventCategoryGroup

eventCategoryGroup_sourceType :: Lens' EventCategoryGroup (Maybe Text) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | replication-server | security-group | replication-task

eventCategoryGroup_eventCategories :: Lens' EventCategoryGroup (Maybe [Text]) Source #

A list of event categories from a source type that you've chosen.

EventSubscription

eventSubscription_status :: Lens' EventSubscription (Maybe Text) Source #

The status of the DMS event notification subscription.

Constraints:

Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

The status "no-permission" indicates that DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text) Source #

The Amazon Web Services customer account associated with the DMS event notification subscription.

eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text) Source #

The DMS event notification subscription Id.

eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text) Source #

The topic ARN of the DMS event notification subscription.

eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool) Source #

Boolean value that indicates if the event subscription is enabled.

eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | replication-server | security-group | replication-task

eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe Text) Source #

The time the DMS event notification subscription was created.

eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text]) Source #

A list of source Ids for the event subscription.

Filter

filter_name :: Lens' Filter Text Source #

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

filter_values :: Lens' Filter [Text] Source #

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

IBMDb2Settings

iBMDb2Settings_serverName :: Lens' IBMDb2Settings (Maybe Text) Source #

Fully qualified domain name of the endpoint.

iBMDb2Settings_currentLsn :: Lens' IBMDb2Settings (Maybe Text) Source #

For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

iBMDb2Settings_setDataCaptureChanges :: Lens' IBMDb2Settings (Maybe Bool) Source #

Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

iBMDb2Settings_secretsManagerAccessRoleArn :: Lens' IBMDb2Settings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

iBMDb2Settings_username :: Lens' IBMDb2Settings (Maybe Text) Source #

Endpoint connection user name.

iBMDb2Settings_password :: Lens' IBMDb2Settings (Maybe Text) Source #

Endpoint connection password.

iBMDb2Settings_databaseName :: Lens' IBMDb2Settings (Maybe Text) Source #

Database name for the endpoint.

iBMDb2Settings_secretsManagerSecretId :: Lens' IBMDb2Settings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

iBMDb2Settings_maxKBytesPerRead :: Lens' IBMDb2Settings (Maybe Int) Source #

Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

iBMDb2Settings_port :: Lens' IBMDb2Settings (Maybe Int) Source #

Endpoint TCP port. The default value is 50000.

KafkaSettings

kafkaSettings_sslClientKeyArn :: Lens' KafkaSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

kafkaSettings_includeTransactionDetails :: Lens' KafkaSettings (Maybe Bool) Source #

Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

kafkaSettings_includeTableAlterOperations :: Lens' KafkaSettings (Maybe Bool) Source #

Includes any data definition language (DDL) operations that change the table in the control data, such as rename-table, drop-table, add-column, drop-column, and rename-column. The default is false.

kafkaSettings_sslClientCertificateArn :: Lens' KafkaSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

kafkaSettings_sslCaCertificateArn :: Lens' KafkaSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

kafkaSettings_partitionIncludeSchemaTable :: Lens' KafkaSettings (Maybe Bool) Source #

Prefixes schema and table names to partition values, when the partition type is primary-key-type. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. The default is false.

kafkaSettings_topic :: Lens' KafkaSettings (Maybe Text) Source #

The topic to which you migrate the data. If you don't specify a topic, DMS specifies "kafka-default-topic" as the migration topic.

kafkaSettings_includeControlDetails :: Lens' KafkaSettings (Maybe Bool) Source #

Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

kafkaSettings_noHexPrefix :: Lens' KafkaSettings (Maybe Bool) Source #

Set this optional parameter to true to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

kafkaSettings_saslPassword :: Lens' KafkaSettings (Maybe Text) Source #

The secure password you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.

kafkaSettings_sslClientKeyPassword :: Lens' KafkaSettings (Maybe Text) Source #

The password for the client private key used to securely connect to a Kafka target endpoint.

kafkaSettings_includePartitionValue :: Lens' KafkaSettings (Maybe Bool) Source #

Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

kafkaSettings_messageFormat :: Lens' KafkaSettings (Maybe MessageFormatValue) Source #

The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

kafkaSettings_securityProtocol :: Lens' KafkaSettings (Maybe KafkaSecurityProtocol) Source #

Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

kafkaSettings_saslUsername :: Lens' KafkaSettings (Maybe Text) Source #

The secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.

kafkaSettings_broker :: Lens' KafkaSettings (Maybe Text) Source #

A comma-separated list of one or more broker locations in your Kafka cluster that host your Kafka instance. Specify each broker location in the form broker-hostname-or-ip:port . For example, "ec2-12-345-678-901.compute-1.amazonaws.com:2345". For more information and examples of specifying a list of broker locations, see Using Apache Kafka as a target for Database Migration Service in the Database Migration Service User Guide.

kafkaSettings_messageMaxBytes :: Lens' KafkaSettings (Maybe Int) Source #

The maximum size in bytes for records created on the endpoint The default is 1,000,000.

kafkaSettings_includeNullAndEmpty :: Lens' KafkaSettings (Maybe Bool) Source #

Include NULL and empty columns for records migrated to the endpoint. The default is false.

KinesisSettings

kinesisSettings_includeTransactionDetails :: Lens' KinesisSettings (Maybe Bool) Source #

Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

kinesisSettings_includeTableAlterOperations :: Lens' KinesisSettings (Maybe Bool) Source #

Includes any data definition language (DDL) operations that change the table in the control data, such as rename-table, drop-table, add-column, drop-column, and rename-column. The default is false.

kinesisSettings_serviceAccessRoleArn :: Lens' KinesisSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis data stream. The role must allow the iam:PassRole action.

kinesisSettings_partitionIncludeSchemaTable :: Lens' KinesisSettings (Maybe Bool) Source #

Prefixes schema and table names to partition values, when the partition type is primary-key-type. Doing this increases data distribution among Kinesis shards. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same shard, which causes throttling. The default is false.

kinesisSettings_streamArn :: Lens' KinesisSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

kinesisSettings_includeControlDetails :: Lens' KinesisSettings (Maybe Bool) Source #

Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. The default is false.

kinesisSettings_noHexPrefix :: Lens' KinesisSettings (Maybe Bool) Source #

Set this optional parameter to true to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to an Amazon Kinesis target. Use the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

kinesisSettings_includePartitionValue :: Lens' KinesisSettings (Maybe Bool) Source #

Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

kinesisSettings_messageFormat :: Lens' KinesisSettings (Maybe MessageFormatValue) Source #

The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

kinesisSettings_includeNullAndEmpty :: Lens' KinesisSettings (Maybe Bool) Source #

Include NULL and empty columns for records migrated to the endpoint. The default is false.

MicrosoftSQLServerSettings

microsoftSQLServerSettings_bcpPacketSize :: Lens' MicrosoftSQLServerSettings (Maybe Int) Source #

The maximum size of the packets (in bytes) used to transfer data using BCP.

microsoftSQLServerSettings_useBcpFullLoad :: Lens' MicrosoftSQLServerSettings (Maybe Bool) Source #

Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.

microsoftSQLServerSettings_querySingleAlwaysOnNode :: Lens' MicrosoftSQLServerSettings (Maybe Bool) Source #

Cleans and recreates table metadata information on the replication instance when a mismatch occurs. An example is a situation where running an alter DDL statement on a table might result in different information about the table cached in the replication instance.

microsoftSQLServerSettings_secretsManagerAccessRoleArn :: Lens' MicrosoftSQLServerSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

microsoftSQLServerSettings_safeguardPolicy :: Lens' MicrosoftSQLServerSettings (Maybe SafeguardPolicy) Source #

Use this attribute to minimize the need to access the backup log and enable DMS to prevent truncation using one of the following two methods.

Start transactions in the database: This is the default method. When this method is used, DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.

Exclusively use sp_repldone within a single task: When this method is used, DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one DMS task can access the database at any given time. Therefore, if you need to run parallel DMS tasks against the same database, use the default method.

microsoftSQLServerSettings_secretsManagerSecretId :: Lens' MicrosoftSQLServerSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

microsoftSQLServerSettings_readBackupOnly :: Lens' MicrosoftSQLServerSettings (Maybe Bool) Source #

When this attribute is set to Y, DMS only reads changes from transaction log backups and doesn't read from the active transaction log file during ongoing replication. Setting this parameter to Y enables you to control active transaction log file growth during full load and ongoing replication tasks. However, it can add some source latency to ongoing replication.

microsoftSQLServerSettings_useThirdPartyBackupDevice :: Lens' MicrosoftSQLServerSettings (Maybe Bool) Source #

When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

microsoftSQLServerSettings_controlTablesFileGroup :: Lens' MicrosoftSQLServerSettings (Maybe Text) Source #

Specifies a file group for the DMS internal tables. When the replication task starts, all the internal DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created for the specified file group.

MongoDbSettings

mongoDbSettings_serverName :: Lens' MongoDbSettings (Maybe Text) Source #

The name of the server on the MongoDB source endpoint.

mongoDbSettings_secretsManagerAccessRoleArn :: Lens' MongoDbSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

mongoDbSettings_authMechanism :: Lens' MongoDbSettings (Maybe AuthMechanismValue) Source #

The authentication mechanism you use to access the MongoDB source endpoint.

For the default value, in MongoDB version 2.x, "default" is "mongodb_cr". For MongoDB version 3.x or later, "default" is "scram_sha_1". This setting isn't used when AuthType is set to "no".

mongoDbSettings_username :: Lens' MongoDbSettings (Maybe Text) Source #

The user name you use to access the MongoDB source endpoint.

mongoDbSettings_kmsKeyId :: Lens' MongoDbSettings (Maybe Text) Source #

The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the KmsKeyId parameter, then 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.

mongoDbSettings_password :: Lens' MongoDbSettings (Maybe Text) Source #

The password for the user account you use to access the MongoDB source endpoint.

mongoDbSettings_nestingLevel :: Lens' MongoDbSettings (Maybe NestingLevelValue) Source #

Specifies either document or table mode.

Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

mongoDbSettings_databaseName :: Lens' MongoDbSettings (Maybe Text) Source #

The database name on the MongoDB source endpoint.

mongoDbSettings_docsToInvestigate :: Lens' MongoDbSettings (Maybe Text) Source #

Indicates the number of documents to preview to determine the document organization. Use this setting when NestingLevel is set to "one".

Must be a positive value greater than 0. Default value is 1000.

mongoDbSettings_authSource :: Lens' MongoDbSettings (Maybe Text) Source #

The MongoDB database name. This setting isn't used when AuthType is set to "no".

The default is "admin".

mongoDbSettings_secretsManagerSecretId :: Lens' MongoDbSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

mongoDbSettings_extractDocId :: Lens' MongoDbSettings (Maybe Text) Source #

Specifies the document ID. Use this setting when NestingLevel is set to "none".

Default value is "false".

mongoDbSettings_authType :: Lens' MongoDbSettings (Maybe AuthTypeValue) Source #

The authentication type you use to access the MongoDB source endpoint.

When when set to "no", user name and password parameters are not used and can be empty.

mongoDbSettings_port :: Lens' MongoDbSettings (Maybe Int) Source #

The port value for the MongoDB source endpoint.

MySQLSettings

mySQLSettings_maxFileSize :: Lens' MySQLSettings (Maybe Int) Source #

Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

Example: maxFileSize=512

mySQLSettings_targetDbType :: Lens' MySQLSettings (Maybe TargetDbType) Source #

Specifies where to migrate source tables on the target, either to a single database or multiple databases.

Example: targetDbType=MULTIPLE_DATABASES

mySQLSettings_serverName :: Lens' MySQLSettings (Maybe Text) Source #

Fully qualified domain name of the endpoint.

mySQLSettings_cleanSourceMetadataOnMismatch :: Lens' MySQLSettings (Maybe Bool) Source #

Adjusts the behavior of DMS when migrating from an SQL Server source database that is hosted as part of an Always On availability group cluster. If you need DMS to poll all the nodes in the Always On cluster for transaction backups, set this attribute to false.

mySQLSettings_parallelLoadThreads :: Lens' MySQLSettings (Maybe Int) Source #

Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread.

Example: parallelLoadThreads=1

mySQLSettings_secretsManagerAccessRoleArn :: Lens' MySQLSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

mySQLSettings_username :: Lens' MySQLSettings (Maybe Text) Source #

Endpoint connection user name.

mySQLSettings_password :: Lens' MySQLSettings (Maybe Text) Source #

Endpoint connection password.

mySQLSettings_eventsPollInterval :: Lens' MySQLSettings (Maybe Int) Source #

Specifies how often to check the binary log for new changes/events when the database is idle.

Example: eventsPollInterval=5;

In the example, DMS checks for changes in the binary logs every five seconds.

mySQLSettings_databaseName :: Lens' MySQLSettings (Maybe Text) Source #

Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on either the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName when you create or modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.

mySQLSettings_afterConnectScript :: Lens' MySQLSettings (Maybe Text) Source #

Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.

For this parameter, provide the code of the script itself, not the name of a file containing the script.

mySQLSettings_secretsManagerSecretId :: Lens' MySQLSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

mySQLSettings_serverTimezone :: Lens' MySQLSettings (Maybe Text) Source #

Specifies the time zone for the source MySQL database.

Example: serverTimezone=US/Pacific;

Note: Do not enclose time zones in single quotes.

NeptuneSettings

neptuneSettings_maxFileSize :: Lens' NeptuneSettings (Maybe Int) Source #

The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.

neptuneSettings_maxRetryCount :: Lens' NeptuneSettings (Maybe Int) Source #

The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.

neptuneSettings_serviceAccessRoleArn :: Lens' NeptuneSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the iam:PassRole action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.

neptuneSettings_iamAuthEnabled :: Lens' NeptuneSettings (Maybe Bool) Source #

If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to true. Then attach the appropriate IAM policy document to your service role specified by ServiceAccessRoleArn. The default is false.

neptuneSettings_errorRetryDuration :: Lens' NeptuneSettings (Maybe Int) Source #

The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.

neptuneSettings_s3BucketName :: Lens' NeptuneSettings Text Source #

The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.

neptuneSettings_s3BucketFolder :: Lens' NeptuneSettings Text Source #

A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

OracleSettings

oracleSettings_useBFile :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to Y to capture change data using the Binary Reader utility. Set UseLogminerReader to N to set this attribute to Y. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or DMS Binary Reader for CDC.

oracleSettings_standbyDelayTime :: Lens' OracleSettings (Maybe Int) Source #

Use this attribute to specify a time in minutes for the delay in standby sync. If the source is an Oracle Active Data Guard standby database, use this attribute to specify the time lag between primary and standby databases.

In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.

oracleSettings_failTasksOnLobTruncation :: Lens' OracleSettings (Maybe Bool) Source #

When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

If a task is set to limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.

oracleSettings_serverName :: Lens' OracleSettings (Maybe Text) Source #

Fully qualified domain name of the endpoint.

oracleSettings_directPathNoLog :: Lens' OracleSettings (Maybe Bool) Source #

When set to true, this attribute helps to increase the commit rate on the Oracle target database by writing directly to tables and not writing a trail to database logs.

oracleSettings_extraArchivedLogDestIds :: Lens' OracleSettings (Maybe [Int]) Source #

Specifies the IDs of one more destinations for one or more archived redo logs. These IDs are the values of the dest_id column in the v$archived_log view. Use this setting with the archivedLogDestId extra connection attribute in a primary-to-single setup or a primary-to-multiple-standby setup.

This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, DMS needs information about what destination to get archive redo logs from to read changes. DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.

archivedLogDestId=1; ExtraArchivedLogDestIds=[2]

In a primary-to-multiple-standby setup, you might apply the following settings.

archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]

Although DMS supports the use of the Oracle RESETLOGS option to open the database, never use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

oracleSettings_securityDbEncryptionName :: Lens' OracleSettings (Maybe Text) Source #

For an Oracle source endpoint, the name of a key used for the transparent data encryption (TDE) of the columns and tablespaces in an Oracle source database that is encrypted using TDE. The key value is the value of the SecurityDbEncryption setting. For more information on setting the key name value of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

oracleSettings_oraclePathPrefix :: Lens' OracleSettings (Maybe Text) Source #

Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the default Oracle root used to access the redo logs.

oracleSettings_secretsManagerAccessRoleArn :: Lens' OracleSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

oracleSettings_useDirectPathFullLoad :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to Y to have DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.

oracleSettings_username :: Lens' OracleSettings (Maybe Text) Source #

Endpoint connection user name.

oracleSettings_allowSelectNestedTables :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

oracleSettings_readAheadBlocks :: Lens' OracleSettings (Maybe Int) Source #

Set this attribute to change the number of read-ahead blocks that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the maximum).

oracleSettings_archivedLogDestId :: Lens' OracleSettings (Maybe Int) Source #

Specifies the ID of the destination for the archived redo logs. This value should be the same as a number in the dest_id column of the v$archived_log view. If you work with an additional redo log destination, use the AdditionalArchivedLogDestId option to specify the additional destination ID. Doing this improves performance by ensuring that the correct logs are accessed from the outset.

oracleSettings_replacePathPrefix :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace the default Oracle root with the specified usePathPrefix setting to access the redo logs.

oracleSettings_accessAlternateDirectly :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to false in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to not access redo logs through any specified path prefix replacement using direct file access.

oracleSettings_secretsManagerOracleAsmSecretId :: Lens' OracleSettings (Maybe Text) Source #

Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN, partial ARN, or friendly name of the SecretsManagerOracleAsmSecret that contains the Oracle ASM connection details for the Oracle endpoint.

oracleSettings_securityDbEncryption :: Lens' OracleSettings (Maybe Text) Source #

For an Oracle source endpoint, the transparent data encryption (TDE) password required by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the TDE_Password part of the comma-separated value you set to the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

oracleSettings_useLogminerReader :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to Y to capture change data using the Oracle LogMiner utility (the default). Set this attribute to N if you want to access the redo logs as a binary file. When you set UseLogminerReader to N, also set UseBfile to Y. For more information on this setting and using Oracle ASM, see Using Oracle LogMiner or DMS Binary Reader for CDC in the DMS User Guide.

oracleSettings_readTableSpaceName :: Lens' OracleSettings (Maybe Bool) Source #

When set to true, this attribute supports tablespace replication.

oracleSettings_retryInterval :: Lens' OracleSettings (Maybe Int) Source #

Specifies the number of seconds that the system waits before resending a query.

Example: retryInterval=6;

oracleSettings_password :: Lens' OracleSettings (Maybe Text) Source #

Endpoint connection password.

oracleSettings_spatialDataOptionToGeoJsonFunctionName :: Lens' OracleSettings (Maybe Text) Source #

Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

oracleSettings_databaseName :: Lens' OracleSettings (Maybe Text) Source #

Database name for the endpoint.

oracleSettings_addSupplementalLogging :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task.

If you use this option, you still need to enable database-level supplemental logging.

oracleSettings_secretsManagerOracleAsmAccessRoleArn :: Lens' OracleSettings (Maybe Text) Source #

Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the SecretsManagerOracleAsmSecret. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerOracleAsmSecretId. Or you can specify clear-text values for AsmUserName, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

oracleSettings_asmServer :: Lens' OracleSettings (Maybe Text) Source #

For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_server as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database.

oracleSettings_charLengthSemantics :: Lens' OracleSettings (Maybe CharLengthSemantics) Source #

Specifies whether the length of a character column is in bytes or in characters. To indicate that the character column length is in characters, set this attribute to CHAR. Otherwise, the character column length is in bytes.

Example: charLengthSemantics=CHAR;

oracleSettings_archivedLogsOnly :: Lens' OracleSettings (Maybe Bool) Source #

When this field is set to Y, DMS only accesses the archived redo logs. If the archived redo logs are stored on Oracle ASM only, the DMS user account needs to be granted ASM privileges.

oracleSettings_directPathParallelLoad :: Lens' OracleSettings (Maybe Bool) Source #

When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

oracleSettings_secretsManagerSecretId :: Lens' OracleSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

oracleSettings_additionalArchivedLogDestId :: Lens' OracleSettings (Maybe Int) Source #

Set this attribute with ArchivedLogDestId in a primary/ standby setup. This attribute is useful in the case of a switchover. In this case, DMS needs to know which destination to get archive redo logs from to read changes. This need arises because the previous primary instance is now a standby instance after switchover.

Although DMS supports the use of the Oracle RESETLOGS option to open the database, never use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

oracleSettings_asmPassword :: Lens' OracleSettings (Maybe Text) Source #

For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password. You can set this value from the asm_user_password value. You set this value as part of the comma-separated value that you set to the Password request parameter when you create the endpoint to access transaction logs using Binary Reader. For more information, see Configuration for change data capture (CDC) on an Oracle source database.

oracleSettings_enableHomogenousTablespace :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

oracleSettings_parallelAsmReadThreads :: Lens' OracleSettings (Maybe Int) Source #

Set this attribute to change the number of threads that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute together with the readAheadBlocks attribute.

oracleSettings_numberDatatypeScale :: Lens' OracleSettings (Maybe Int) Source #

Specifies the number scale. You can select a scale up to 38, or you can select FLOAT. By default, the NUMBER data type is converted to precision 38, scale 10.

Example: numberDataTypeScale=12

oracleSettings_usePathPrefix :: Lens' OracleSettings (Maybe Text) Source #

Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.

oracleSettings_asmUser :: Lens' OracleSettings (Maybe Text) Source #

For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_user as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database.

oracleSettings_useAlternateFolderForOnline :: Lens' OracleSettings (Maybe Bool) Source #

Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs.

OrderableReplicationInstance

orderableReplicationInstance_minAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int) Source #

The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.

orderableReplicationInstance_releaseStatus :: Lens' OrderableReplicationInstance (Maybe ReleaseStatusValues) Source #

The value returned when the specified EngineVersion of the replication instance is in Beta or test mode. This indicates some features might not work as expected.

DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.

orderableReplicationInstance_includedAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int) Source #

The amount of storage (in gigabytes) that is allocated for the replication instance.

orderableReplicationInstance_availabilityZones :: Lens' OrderableReplicationInstance (Maybe [Text]) Source #

List of Availability Zones for this replication instance.

orderableReplicationInstance_maxAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int) Source #

The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.

orderableReplicationInstance_replicationInstanceClass :: Lens' OrderableReplicationInstance (Maybe Text) Source #

The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.

orderableReplicationInstance_defaultAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int) Source #

The default amount of storage (in gigabytes) that is allocated for the replication instance.

orderableReplicationInstance_storageType :: Lens' OrderableReplicationInstance (Maybe Text) Source #

The type of storage used by the replication instance.

PendingMaintenanceAction

pendingMaintenanceAction_autoAppliedAfterDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The date of the maintenance window when the action is to be applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

pendingMaintenanceAction_action :: Lens' PendingMaintenanceAction (Maybe Text) Source #

The type of pending maintenance action that is available for the resource.

pendingMaintenanceAction_optInStatus :: Lens' PendingMaintenanceAction (Maybe Text) Source #

The type of opt-in request that has been received for the resource.

pendingMaintenanceAction_description :: Lens' PendingMaintenanceAction (Maybe Text) Source #

A description providing more detail about the maintenance action.

pendingMaintenanceAction_forcedApplyDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The date when the maintenance action will be automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

pendingMaintenanceAction_currentApplyDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API operation, and also the AutoAppliedAfterDate and ForcedApplyDate parameter values. This value is blank if an opt-in request has not been received and nothing has been specified for AutoAppliedAfterDate or ForcedApplyDate.

PostgreSQLSettings

postgreSQLSettings_executeTimeout :: Lens' PostgreSQLSettings (Maybe Int) Source #

Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

Example: executeTimeout=100;

postgreSQLSettings_maxFileSize :: Lens' PostgreSQLSettings (Maybe Int) Source #

Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

Example: maxFileSize=512

postgreSQLSettings_failTasksOnLobTruncation :: Lens' PostgreSQLSettings (Maybe Bool) Source #

When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.

postgreSQLSettings_serverName :: Lens' PostgreSQLSettings (Maybe Text) Source #

Fully qualified domain name of the endpoint.

postgreSQLSettings_ddlArtifactsSchema :: Lens' PostgreSQLSettings (Maybe Text) Source #

The schema in which the operational DDL database artifacts are created.

Example: ddlArtifactsSchema=xyzddlschema;

postgreSQLSettings_slotName :: Lens' PostgreSQLSettings (Maybe Text) Source #

Sets the name of a previously created logical replication slot for a change data capture (CDC) load of the PostgreSQL source instance.

When used with the CdcStartPosition request parameter for the DMS API , this attribute also makes it possible to use native CDC start points. DMS verifies that the specified logical replication slot exists before starting the CDC load task. It also verifies that the task was created with a valid setting of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition setting, DMS raises an error.

For more information about setting the CdcStartPosition request parameter, see Determining a CDC native start point in the Database Migration Service User Guide. For more information about using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

postgreSQLSettings_secretsManagerAccessRoleArn :: Lens' PostgreSQLSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

postgreSQLSettings_heartbeatFrequency :: Lens' PostgreSQLSettings (Maybe Int) Source #

Sets the WAL heartbeat frequency (in minutes).

postgreSQLSettings_afterConnectScript :: Lens' PostgreSQLSettings (Maybe Text) Source #

For use with change data capture (CDC) only, this attribute has DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data.

Example: afterConnectScript=SET session_replication_role='replica'

postgreSQLSettings_secretsManagerSecretId :: Lens' PostgreSQLSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

postgreSQLSettings_captureDdls :: Lens' PostgreSQLSettings (Maybe Bool) Source #

To capture DDL events, DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts.

If this value is set to N, you don't have to create tables or triggers on the source database.

postgreSQLSettings_pluginName :: Lens' PostgreSQLSettings (Maybe PluginNameValue) Source #

Specifies the plugin to use to create a replication slot.

postgreSQLSettings_heartbeatSchema :: Lens' PostgreSQLSettings (Maybe Text) Source #

Sets the schema in which the heartbeat artifacts are created.

postgreSQLSettings_heartbeatEnable :: Lens' PostgreSQLSettings (Maybe Bool) Source #

The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source. This heartbeat keeps restart_lsn moving and prevents storage full scenarios.

RedisSettings

redisSettings_sslSecurityProtocol :: Lens' RedisSettings (Maybe SslSecurityProtocolValue) Source #

The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.

The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database.

redisSettings_authUserName :: Lens' RedisSettings (Maybe Text) Source #

The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

redisSettings_sslCaCertificateArn :: Lens' RedisSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

redisSettings_authPassword :: Lens' RedisSettings (Maybe Text) Source #

The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

redisSettings_authType :: Lens' RedisSettings (Maybe RedisAuthTypeValue) Source #

The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

redisSettings_serverName :: Lens' RedisSettings Text Source #

Fully qualified domain name of the endpoint.

redisSettings_port :: Lens' RedisSettings Int Source #

Transmission Control Protocol (TCP) port for the endpoint.

RedshiftSettings

redshiftSettings_emptyAsNull :: Lens' RedshiftSettings (Maybe Bool) Source #

A value that specifies whether DMS should migrate empty CHAR and VARCHAR fields as NULL. A value of true sets empty CHAR and VARCHAR fields to null. The default is false.

redshiftSettings_caseSensitiveNames :: Lens' RedshiftSettings (Maybe Bool) Source #

If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

redshiftSettings_maxFileSize :: Lens' RedshiftSettings (Maybe Int) Source #

The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift. It defaults to 1048576KB (1 GB).

redshiftSettings_replaceChars :: Lens' RedshiftSettings (Maybe Text) Source #

A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

redshiftSettings_serverName :: Lens' RedshiftSettings (Maybe Text) Source #

The name of the Amazon Redshift cluster you are using.

redshiftSettings_connectionTimeout :: Lens' RedshiftSettings (Maybe Int) Source #

A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

redshiftSettings_loadTimeout :: Lens' RedshiftSettings (Maybe Int) Source #

The amount of time to wait (in milliseconds) before timing out of operations performed by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

redshiftSettings_serviceAccessRoleArn :: Lens' RedshiftSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift service. The role must allow the iam:PassRole action.

redshiftSettings_explicitIds :: Lens' RedshiftSettings (Maybe Bool) Source #

This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

redshiftSettings_bucketFolder :: Lens' RedshiftSettings (Maybe Text) Source #

An S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift cluster.

For full load mode, DMS converts source records into .csv files and loads them to the BucketFolder/TableID path. DMS uses the Redshift COPY command to upload the .csv files to the target table. The files are deleted once the COPY operation has finished. For more information, see COPY in the Amazon Redshift Database Developer Guide.

For change-data-capture (CDC) mode, DMS creates a NetChanges table, and loads the .csv files to this BucketFolder/NetChangesTableID path.

redshiftSettings_truncateColumns :: Lens' RedshiftSettings (Maybe Bool) Source #

A value that specifies to truncate data in columns to the appropriate number of characters, so that the data fits in the column. This parameter applies only to columns with a VARCHAR or CHAR data type, and rows with a size of 4 MB or less. Choose true to truncate data. The default is false.

redshiftSettings_secretsManagerAccessRoleArn :: Lens' RedshiftSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

redshiftSettings_replaceInvalidChars :: Lens' RedshiftSettings (Maybe Text) Source #

A list of characters that you want to replace. Use with ReplaceChars.

redshiftSettings_username :: Lens' RedshiftSettings (Maybe Text) Source #

An Amazon Redshift user name for a registered user.

redshiftSettings_bucketName :: Lens' RedshiftSettings (Maybe Text) Source #

The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

redshiftSettings_encryptionMode :: Lens' RedshiftSettings (Maybe EncryptionModeValue) Source #

The type of server-side encryption that you want to use for your data. This encryption type is part of the endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3 (the default) or SSE_KMS.

For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

To use SSE_S3, create an Identity and Access Management (IAM) role with a policy that allows "arn:aws:s3:::*" to use the following actions: "s3:PutObject", "s3:ListBucket"

redshiftSettings_dateFormat :: Lens' RedshiftSettings (Maybe Text) Source #

The date format that you are using. Valid values are auto (case-sensitive), your date format string enclosed in quotes, or NULL. If this parameter is left unset (NULL), it defaults to a format of 'YYYY-MM-DD'. Using auto recognizes most strings, even some that aren't supported when you use a date format string.

If your date and time values use formats different from each other, set this to auto.

redshiftSettings_removeQuotes :: Lens' RedshiftSettings (Maybe Bool) Source #

A value that specifies to remove surrounding quotation marks from strings in the incoming data. All characters within the quotation marks, including delimiters, are retained. Choose true to remove quotation marks. The default is false.

redshiftSettings_password :: Lens' RedshiftSettings (Maybe Text) Source #

The password for the user named in the username property.

redshiftSettings_databaseName :: Lens' RedshiftSettings (Maybe Text) Source #

The name of the Amazon Redshift data warehouse (service) that you are working with.

redshiftSettings_acceptAnyDate :: Lens' RedshiftSettings (Maybe Bool) Source #

A value that indicates to allow any date format, including invalid formats such as 00/00/00 00:00:00, to be loaded without generating an error. You can choose true or false (the default).

This parameter applies only to TIMESTAMP and DATE columns. Always use ACCEPTANYDATE with the DATEFORMAT parameter. If the date format for the data doesn't match the DATEFORMAT specification, Amazon Redshift inserts a NULL value into that field.

redshiftSettings_afterConnectScript :: Lens' RedshiftSettings (Maybe Text) Source #

Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

redshiftSettings_secretsManagerSecretId :: Lens' RedshiftSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

redshiftSettings_writeBufferSize :: Lens' RedshiftSettings (Maybe Int) Source #

The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS replication instance. The default value is 1000 (buffer size is 1000KB).

redshiftSettings_compUpdate :: Lens' RedshiftSettings (Maybe Bool) Source #

If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

redshiftSettings_trimBlanks :: Lens' RedshiftSettings (Maybe Bool) Source #

A value that specifies to remove the trailing white space characters from a VARCHAR string. This parameter applies only to columns with a VARCHAR data type. Choose true to remove unneeded white space. The default is false.

redshiftSettings_timeFormat :: Lens' RedshiftSettings (Maybe Text) Source #

The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto recognizes most strings, even some that aren't supported when you use a time format string.

If your date and time values use formats different from each other, set this parameter to auto.

redshiftSettings_serverSideEncryptionKmsKeyId :: Lens' RedshiftSettings (Maybe Text) Source #

The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

redshiftSettings_port :: Lens' RedshiftSettings (Maybe Int) Source #

The port number for Amazon Redshift. The default value is 5439.

redshiftSettings_fileTransferUploadStreams :: Lens' RedshiftSettings (Maybe Int) Source #

The number of threads used to upload a single file. This parameter accepts a value from 1 through 64. It defaults to 10.

The number of parallel streams used to upload a single .csv file to an S3 bucket using S3 Multipart Upload. For more information, see Multipart upload overview.

FileTransferUploadStreams accepts a value from 1 through 64. It defaults to 10.

RefreshSchemasStatus

refreshSchemasStatus_replicationInstanceArn :: Lens' RefreshSchemasStatus (Maybe Text) Source #

The Amazon Resource Name (ARN) of the replication instance.

refreshSchemasStatus_endpointArn :: Lens' RefreshSchemasStatus (Maybe Text) Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

ReplicationInstance

replicationInstance_engineVersion :: Lens' ReplicationInstance (Maybe Text) Source #

The engine version number of the replication instance.

If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.

When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to true.

replicationInstance_publiclyAccessible :: Lens' ReplicationInstance (Maybe Bool) Source #

Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

replicationInstance_autoMinorVersionUpgrade :: Lens' ReplicationInstance (Maybe Bool) Source #

Boolean value indicating if minor version upgrades will be automatically applied to the instance.

replicationInstance_replicationInstancePublicIpAddresses :: Lens' ReplicationInstance (Maybe [Text]) Source #

One or more public IP addresses for the replication instance.

replicationInstance_instanceCreateTime :: Lens' ReplicationInstance (Maybe UTCTime) Source #

The time the replication instance was created.

replicationInstance_freeUntil :: Lens' ReplicationInstance (Maybe UTCTime) Source #

The expiration date of the free replication instance that is part of the Free DMS program.

replicationInstance_replicationInstanceStatus :: Lens' ReplicationInstance (Maybe Text) Source #

The status of the replication instance. The possible return values include:

  • "available"
  • "creating"
  • "deleted"
  • "deleting"
  • "failed"
  • "modifying"
  • "upgrading"
  • "rebooting"
  • "resetting-master-credentials"
  • "storage-full"
  • "incompatible-credentials"
  • "incompatible-network"
  • "maintenance"

replicationInstance_replicationInstancePrivateIpAddresses :: Lens' ReplicationInstance (Maybe [Text]) Source #

One or more private IP addresses for the replication instance.

replicationInstance_preferredMaintenanceWindow :: Lens' ReplicationInstance (Maybe Text) Source #

The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

replicationInstance_kmsKeyId :: Lens' ReplicationInstance (Maybe Text) Source #

An KMS key identifier that is used to encrypt the data on the replication instance.

If you don't specify a value for the KmsKeyId parameter, then 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.

replicationInstance_multiAZ :: Lens' ReplicationInstance (Maybe Bool) Source #

Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

replicationInstance_secondaryAvailabilityZone :: Lens' ReplicationInstance (Maybe Text) Source #

The Availability Zone of the standby replication instance in a Multi-AZ deployment.

replicationInstance_replicationInstanceArn :: Lens' ReplicationInstance (Maybe Text) Source #

The Amazon Resource Name (ARN) of the replication instance.

replicationInstance_allocatedStorage :: Lens' ReplicationInstance (Maybe Int) Source #

The amount of storage (in gigabytes) that is allocated for the replication instance.

replicationInstance_dnsNameServers :: Lens' ReplicationInstance (Maybe Text) Source #

The DNS name servers supported for the replication instance to access your on-premise source or target database.

replicationInstance_replicationInstanceClass :: Lens' ReplicationInstance (Maybe Text) Source #

The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.

For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.

replicationInstance_replicationInstanceIdentifier :: Lens' ReplicationInstance (Maybe Text) Source #

The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.

Constraints:

  • Must contain 1-63 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: myrepinstance

ReplicationInstanceTaskLog

replicationInstanceTaskLog_replicationTaskArn :: Lens' ReplicationInstanceTaskLog (Maybe Text) Source #

The Amazon Resource Name (ARN) of the replication task.

ReplicationPendingModifiedValues

replicationPendingModifiedValues_multiAZ :: Lens' ReplicationPendingModifiedValues (Maybe Bool) Source #

Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

replicationPendingModifiedValues_allocatedStorage :: Lens' ReplicationPendingModifiedValues (Maybe Int) Source #

The amount of storage (in gigabytes) that is allocated for the replication instance.

replicationPendingModifiedValues_replicationInstanceClass :: Lens' ReplicationPendingModifiedValues (Maybe Text) Source #

The compute and memory capacity of the replication instance as defined for the specified replication instance class.

For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.

ReplicationSubnetGroup

replicationSubnetGroup_subnets :: Lens' ReplicationSubnetGroup (Maybe [Subnet]) Source #

The subnets that are in the subnet group.

replicationSubnetGroup_replicationSubnetGroupIdentifier :: Lens' ReplicationSubnetGroup (Maybe Text) Source #

The identifier of the replication instance subnet group.

ReplicationTask

replicationTask_status :: Lens' ReplicationTask (Maybe Text) Source #

The status of the replication task. This response parameter can return one of the following values:

replicationTask_stopReason :: Lens' ReplicationTask (Maybe Text) Source #

The reason the replication task was stopped. This response parameter can return one of the following values:

  • "STOP_REASON_FULL_LOAD_COMPLETED" – Full-load migration completed.
  • "STOP_REASON_CACHED_CHANGES_APPLIED" – Change data capture (CDC) load completed.
  • "STOP_REASON_CACHED_CHANGES_NOT_APPLIED" – In a full-load and CDC migration, the full load stopped as specified before starting the CDC migration.
  • "STOP_REASON_SERVER_TIME" – The migration stopped at the specified server time.

replicationTask_targetEndpointArn :: Lens' ReplicationTask (Maybe Text) Source #

The ARN that uniquely identifies the endpoint.

replicationTask_replicationTaskIdentifier :: Lens' ReplicationTask (Maybe Text) Source #

The user-assigned replication task identifier or name.

Constraints:

  • Must contain 1-255 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.

replicationTask_cdcStartPosition :: Lens' ReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want the CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

replicationTask_replicationTaskStartDate :: Lens' ReplicationTask (Maybe UTCTime) Source #

The date the replication task is scheduled to start.

replicationTask_sourceEndpointArn :: Lens' ReplicationTask (Maybe Text) Source #

The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

replicationTask_recoveryCheckpoint :: Lens' ReplicationTask (Maybe Text) Source #

Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the CdcStartPosition parameter to start a CDC operation that begins at that checkpoint.

replicationTask_tableMappings :: Lens' ReplicationTask (Maybe Text) Source #

Table mappings specified in the task.

replicationTask_targetReplicationInstanceArn :: Lens' ReplicationTask (Maybe Text) Source #

The ARN of the replication instance to which this task is moved in response to running the MoveReplicationTask operation. Otherwise, this response parameter isn't a member of the ReplicationTask object.

replicationTask_replicationTaskArn :: Lens' ReplicationTask (Maybe Text) Source #

The Amazon Resource Name (ARN) of the replication task.

replicationTask_taskData :: Lens' ReplicationTask (Maybe Text) Source #

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.

replicationTask_cdcStopPosition :: Lens' ReplicationTask (Maybe Text) Source #

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

replicationTask_replicationTaskStats :: Lens' ReplicationTask (Maybe ReplicationTaskStats) Source #

The statistics for the task, including elapsed time, tables loaded, and table errors.

replicationTask_lastFailureMessage :: Lens' ReplicationTask (Maybe Text) Source #

The last error (failure) message generated for the replication task.

ReplicationTaskAssessmentResult

replicationTaskAssessmentResult_assessmentResults :: Lens' ReplicationTaskAssessmentResult (Maybe Text) Source #

The task assessment results in JSON format.

The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the request.

replicationTaskAssessmentResult_replicationTaskIdentifier :: Lens' ReplicationTaskAssessmentResult (Maybe Text) Source #

The replication task identifier of the task on which the task assessment was run.

replicationTaskAssessmentResult_s3ObjectUrl :: Lens' ReplicationTaskAssessmentResult (Maybe Text) Source #

The URL of the S3 object containing the task assessment results.

The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the request.

ReplicationTaskAssessmentRun

replicationTaskAssessmentRun_status :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

Assessment run status.

This status can have one of the following values:

  • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.
  • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.
  • "failed" – At least one individual assessment completed with a failed status.
  • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).
  • "error-executing" – An internal error occurred while individual assessments ran (during running status).
  • "invalid state" – The assessment run is in an unknown state.
  • "passed" – All individual assessments have completed, and none has a failed status.
  • "provisioning" – Resources required to run individual assessments are being provisioned.
  • "running" – Individual assessments are being run.
  • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

replicationTaskAssessmentRun_serviceAccessRoleArn :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

replicationTaskAssessmentRun_replicationTaskAssessmentRunCreationDate :: Lens' ReplicationTaskAssessmentRun (Maybe UTCTime) Source #

Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

replicationTaskAssessmentRun_assessmentProgress :: Lens' ReplicationTaskAssessmentRun (Maybe ReplicationTaskAssessmentRunProgress) Source #

Indication of the completion progress for the individual assessments specified to run.

replicationTaskAssessmentRun_resultKmsKeyArn :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

ARN of the KMS encryption key used to encrypt the assessment run results.

replicationTaskAssessmentRun_replicationTaskArn :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

ARN of the migration task associated with this premigration assessment run.

replicationTaskAssessmentRun_resultLocationBucket :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

Amazon S3 bucket where DMS stores the results of this assessment run.

replicationTaskAssessmentRun_resultLocationFolder :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

replicationTaskAssessmentRun_resultEncryptionMode :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

Encryption mode used to encrypt the assessment run results.

replicationTaskAssessmentRun_lastFailureMessage :: Lens' ReplicationTaskAssessmentRun (Maybe Text) Source #

Last message generated by an individual assessment failure.

ReplicationTaskAssessmentRunProgress

replicationTaskAssessmentRunProgress_individualAssessmentCompletedCount :: Lens' ReplicationTaskAssessmentRunProgress (Maybe Int) Source #

The number of individual assessments that have completed, successfully or not.

ReplicationTaskIndividualAssessment

replicationTaskIndividualAssessment_status :: Lens' ReplicationTaskIndividualAssessment (Maybe Text) Source #

Individual assessment status.

This status can have one of the following values:

  • "cancelled"
  • "error"
  • "failed"
  • "passed"
  • "pending"
  • "running"

replicationTaskIndividualAssessment_replicationTaskIndividualAssessmentStartDate :: Lens' ReplicationTaskIndividualAssessment (Maybe UTCTime) Source #

Date when this individual assessment was started as part of running the StartReplicationTaskAssessmentRun operation.

replicationTaskIndividualAssessment_replicationTaskAssessmentRunArn :: Lens' ReplicationTaskIndividualAssessment (Maybe Text) Source #

ARN of the premigration assessment run that is created to run this individual assessment.

ReplicationTaskStats

replicationTaskStats_stopDate :: Lens' ReplicationTaskStats (Maybe UTCTime) Source #

The date the replication task was stopped.

replicationTaskStats_fullLoadProgressPercent :: Lens' ReplicationTaskStats (Maybe Int) Source #

The percent complete for the full load migration task.

replicationTaskStats_fullLoadStartDate :: Lens' ReplicationTaskStats (Maybe UTCTime) Source #

The date the replication task full load was started.

replicationTaskStats_elapsedTimeMillis :: Lens' ReplicationTaskStats (Maybe Integer) Source #

The elapsed time of the task, in milliseconds.

replicationTaskStats_startDate :: Lens' ReplicationTaskStats (Maybe UTCTime) Source #

The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

replicationTaskStats_tablesErrored :: Lens' ReplicationTaskStats (Maybe Int) Source #

The number of errors that have occurred during this task.

replicationTaskStats_fullLoadFinishDate :: Lens' ReplicationTaskStats (Maybe UTCTime) Source #

The date the replication task full load was completed.

replicationTaskStats_tablesLoaded :: Lens' ReplicationTaskStats (Maybe Int) Source #

The number of tables loaded for this task.

replicationTaskStats_tablesQueued :: Lens' ReplicationTaskStats (Maybe Int) Source #

The number of tables queued for this task.

replicationTaskStats_tablesLoading :: Lens' ReplicationTaskStats (Maybe Int) Source #

The number of tables currently loading for this task.

replicationTaskStats_freshStartDate :: Lens' ReplicationTaskStats (Maybe UTCTime) Source #

The date the replication task was started either with a fresh start or a target reload.

ResourcePendingMaintenanceActions

resourcePendingMaintenanceActions_resourceIdentifier :: Lens' ResourcePendingMaintenanceActions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN) for DMS in the DMS documentation.

S3Settings

s3Settings_parquetVersion :: Lens' S3Settings (Maybe ParquetVersionValue) Source #

The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

s3Settings_preserveTransactions :: Lens' S3Settings (Maybe Bool) Source #

If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

This setting is supported in DMS versions 3.4.2 and later.

s3Settings_maxFileSize :: Lens' S3Settings (Maybe Int) Source #

A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

s3Settings_csvNoSupValue :: Lens' S3Settings (Maybe Text) Source #

This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

This setting is supported in DMS versions 3.4.1 and later.

s3Settings_rfc4180 :: Lens' S3Settings (Maybe Bool) Source #

For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

The default value is true. Valid values include true, false, y, and n.

s3Settings_parquetTimestampInMillisecond :: Lens' S3Settings (Maybe Bool) Source #

A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision.

Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.

s3Settings_includeOpForFullLoad :: Lens' S3Settings (Maybe Bool) Source #

A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only to indicate how the rows were added to the source database.

DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later.

For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

s3Settings_cdcMinFileSize :: Lens' S3Settings (Maybe Int) Source #

Minimum file size, defined in megabytes, to reach for a file output to Amazon S3.

When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

The default value is 32 MB.

s3Settings_csvDelimiter :: Lens' S3Settings (Maybe Text) Source #

The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

s3Settings_serviceAccessRoleArn :: Lens' S3Settings (Maybe Text) Source #

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

s3Settings_bucketFolder :: Lens' S3Settings (Maybe Text) Source #

An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

s3Settings_dataFormat :: Lens' S3Settings (Maybe DataFormatValue) Source #

The format of the data that you want to use for output. You can choose one of the following:

  • csv : This is a row-based file format with comma-separated values (.csv).
  • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

s3Settings_datePartitionEnabled :: Lens' S3Settings (Maybe Bool) Source #

When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

s3Settings_encodingType :: Lens' S3Settings (Maybe EncodingTypeValue) Source #

The type of encoding you are using:

  • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.
  • PLAIN doesn't use encoding at all. Values are stored as they are.
  • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

s3Settings_cdcMaxBatchInterval :: Lens' S3Settings (Maybe Int) Source #

Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

The default value is 60 seconds.

s3Settings_ignoreHeaderRows :: Lens' S3Settings (Maybe Int) Source #

When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

The default is 0.

s3Settings_externalTableDefinition :: Lens' S3Settings (Maybe Text) Source #

Specifies how tables are defined in the S3 source files only.

s3Settings_dictPageSizeLimit :: Lens' S3Settings (Maybe Int) Source #

The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

s3Settings_bucketName :: Lens' S3Settings (Maybe Text) Source #

The name of the S3 bucket.

s3Settings_encryptionMode :: Lens' S3Settings (Maybe EncryptionModeValue) Source #

The type of server-side encryption that you want to use for your data. This encryption type is part of the endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3 (the default) or SSE_KMS.

For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

  • s3:CreateBucket
  • s3:ListBucket
  • s3:DeleteBucket
  • s3:GetBucketLocation
  • s3:GetObject
  • s3:PutObject
  • s3:DeleteObject
  • s3:GetObjectVersion
  • s3:GetBucketPolicy
  • s3:PutBucketPolicy
  • s3:DeleteBucketPolicy

s3Settings_enableStatistics :: Lens' S3Settings (Maybe Bool) Source #

A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

s3Settings_cdcInsertsOnly :: Lens' S3Settings (Maybe Bool) Source #

A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later.

CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.

s3Settings_timestampColumnName :: Lens' S3Settings (Maybe Text) Source #

A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

s3Settings_csvRowDelimiter :: Lens' S3Settings (Maybe Text) Source #

The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

s3Settings_datePartitionDelimiter :: Lens' S3Settings (Maybe DatePartitionDelimiterValue) Source #

Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

s3Settings_addColumnName :: Lens' S3Settings (Maybe Bool) Source #

An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

The default value is false. Valid values are true, false, y, and n.

s3Settings_cannedAclForObjects :: Lens' S3Settings (Maybe CannedAclForObjectsValue) Source #

A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

s3Settings_compressionType :: Lens' S3Settings (Maybe CompressionTypeValue) Source #

An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

s3Settings_csvNullValue :: Lens' S3Settings (Maybe Text) Source #

An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are not nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

The default value is NULL. Valid values include any valid string.

s3Settings_serverSideEncryptionKmsKeyId :: Lens' S3Settings (Maybe Text) Source #

If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

s3Settings_dataPageSize :: Lens' S3Settings (Maybe Int) Source #

The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

s3Settings_useCsvNoSupValue :: Lens' S3Settings (Maybe Bool) Source #

This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

This setting is supported in DMS versions 3.4.1 and later.

s3Settings_cdcInsertsAndUpdates :: Lens' S3Settings (Maybe Bool) Source #

A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later.

CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.

s3Settings_datePartitionSequence :: Lens' S3Settings (Maybe DatePartitionSequenceValue) Source #

Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

s3Settings_rowGroupLength :: Lens' S3Settings (Maybe Int) Source #

The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

s3Settings_cdcPath :: Lens' S3Settings (Maybe Text) Source #

Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

This setting is supported in DMS versions 3.4.2 and later.

Subnet

subnet_subnetStatus :: Lens' Subnet (Maybe Text) Source #

The status of the subnet.

subnet_subnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone) Source #

The Availability Zone of the subnet.

SupportedEndpointType

supportedEndpointType_engineDisplayName :: Lens' SupportedEndpointType (Maybe Text) Source #

The expanded name for the engine name. For example, if the EngineName parameter is "aurora," this value would be "Amazon Aurora MySQL."

supportedEndpointType_endpointType :: Lens' SupportedEndpointType (Maybe ReplicationEndpointTypeValue) Source #

The type of endpoint. Valid values are source and target.

supportedEndpointType_engineName :: Lens' SupportedEndpointType (Maybe Text) Source #

The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".

supportedEndpointType_replicationInstanceEngineMinimumVersion :: Lens' SupportedEndpointType (Maybe Text) Source #

The earliest DMS engine version that supports this endpoint engine. Note that endpoint engines released with DMS versions earlier than 3.1.1 do not return a value for this parameter.

supportedEndpointType_supportsCDC :: Lens' SupportedEndpointType (Maybe Bool) Source #

Indicates if change data capture (CDC) is supported.

SybaseSettings

sybaseSettings_serverName :: Lens' SybaseSettings (Maybe Text) Source #

Fully qualified domain name of the endpoint.

sybaseSettings_secretsManagerAccessRoleArn :: Lens' SybaseSettings (Maybe Text) Source #

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

sybaseSettings_username :: Lens' SybaseSettings (Maybe Text) Source #

Endpoint connection user name.

sybaseSettings_password :: Lens' SybaseSettings (Maybe Text) Source #

Endpoint connection password.

sybaseSettings_databaseName :: Lens' SybaseSettings (Maybe Text) Source #

Database name for the endpoint.

sybaseSettings_secretsManagerSecretId :: Lens' SybaseSettings (Maybe Text) Source #

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

TableStatistics

tableStatistics_validationState :: Lens' TableStatistics (Maybe Text) Source #

The validation state of the table.

This parameter can have the following values:

  • Not enabled – Validation isn't enabled for the table in the migration task.
  • Pending records – Some records in the table are waiting for validation.
  • Mismatched records – Some records in the table don't match between the source and target.
  • Suspended records – Some records in the table couldn't be validated.
  • No primary key –The table couldn't be validated because it has no primary key.
  • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
  • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
  • Error – The table couldn't be validated because of an unexpected error.
  • Pending validation – The table is waiting validation.
  • Preparing table – Preparing the table enabled in the migration task for validation.
  • Pending revalidation – All rows in the table are pending validation after the table was updated.

tableStatistics_fullLoadRows :: Lens' TableStatistics (Maybe Integer) Source #

The number of rows added during the full load operation.

tableStatistics_inserts :: Lens' TableStatistics (Maybe Integer) Source #

The number of insert actions performed on a table.

tableStatistics_fullLoadEndTime :: Lens' TableStatistics (Maybe UTCTime) Source #

The time when the full load operation completed.

tableStatistics_fullLoadCondtnlChkFailedRows :: Lens' TableStatistics (Maybe Integer) Source #

The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

tableStatistics_fullLoadReloaded :: Lens' TableStatistics (Maybe Bool) Source #

A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

tableStatistics_validationFailedRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that failed validation.

tableStatistics_validationSuspendedRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that couldn't be validated.

tableStatistics_validationStateDetails :: Lens' TableStatistics (Maybe Text) Source #

Additional details about the state of validation.

tableStatistics_tableState :: Lens' TableStatistics (Maybe Text) Source #

The state of the tables described.

Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table all | Table updates | Table is being reloaded

tableStatistics_fullLoadErrorRows :: Lens' TableStatistics (Maybe Integer) Source #

The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

tableStatistics_ddls :: Lens' TableStatistics (Maybe Integer) Source #

The data definition language (DDL) used to build and modify the structure of your tables.

tableStatistics_deletes :: Lens' TableStatistics (Maybe Integer) Source #

The number of delete actions performed on a table.

tableStatistics_updates :: Lens' TableStatistics (Maybe Integer) Source #

The number of update actions performed on a table.

tableStatistics_validationPendingRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that have yet to be validated.

tableStatistics_fullLoadStartTime :: Lens' TableStatistics (Maybe UTCTime) Source #

The time when the full load operation started.

TableToReload

tableToReload_schemaName :: Lens' TableToReload Text Source #

The schema name of the table to be reloaded.

tableToReload_tableName :: Lens' TableToReload Text Source #

The table name of the table to be reloaded.

Tag

tag_value :: Lens' Tag (Maybe Text) Source #

A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

tag_resourceArn :: Lens' Tag (Maybe Text) Source #

The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

tag_key :: Lens' Tag (Maybe Text) Source #

A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

VpcSecurityGroupMembership