lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.4.0 vs lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.5.0

- old
+ new

@@ -153,14 +153,15 @@ super end # @!group API Operations - # Adds metadata tags to a DMS resource, including replication instance, - # endpoint, security group, and migration task. These tags can also be - # used with cost allocation reporting to track cost associated with DMS - # resources, or used in a Condition statement in an IAM policy for DMS. + # Adds metadata tags to an AWS DMS resource, including replication + # instance, endpoint, security group, and migration task. These tags can + # also be used with cost allocation reporting to track cost associated + # with DMS resources, or used in a Condition statement in an IAM policy + # for DMS. # # @option params [required, String] :resource_arn # The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to # be added to. AWS DMS resources include a replication instance, # endpoint, and a replication task. @@ -223,11 +224,12 @@ # The type of endpoint. # # @option params [required, String] :engine_name # The type of engine for the endpoint. Valid values, depending on the # EndPointType, include mysql, oracle, postgres, mariadb, aurora, - # redshift, S3, sybase, dynamodb, mongodb, and sqlserver. + # aurora-postgresql, redshift, s3, db2, azuredb, sybase, dynamodb, + # mongodb, and sqlserver. # # @option params [String] :username # The user name to be used to login to the endpoint database. # # @option params [String] :password @@ -264,10 +266,17 @@ # SSL mode can be one of four values: none, require, verify-ca, # verify-full. # # The default value is none. # + # @option params [String] :service_access_role_arn + # The Amazon Resource Name (ARN) for the service access role you want to + # use to create the endpoint. + # + # @option params [String] :external_table_definition + # The external table definition. + # # @option params [Types::DynamoDbSettings] :dynamo_db_settings # Settings in JSON format for the target Amazon DynamoDB endpoint. For # more information about the available settings, see the **Using Object # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon # DynamoDB Database as a Target for AWS Database Migration Service][1]. @@ -275,11 +284,11 @@ # # # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html # # @option params [Types::S3Settings] :s3_settings - # Settings in JSON format for the target S3 endpoint. For more + # Settings in JSON format for the target Amazon S3 endpoint. For more # information about the available settings, see the **Extra Connection # Attributes** section at [ Using Amazon S3 as a Target for AWS Database # Migration Service][1]. # # @@ -361,10 +370,12 @@ # value: "String", # }, # ], # certificate_arn: "String", # ssl_mode: "none", # accepts none, require, verify-ca, verify-full + # service_access_role_arn: "String", + # external_table_definition: "String", # dynamo_db_settings: { # service_access_role_arn: "String", # required # }, # s3_settings: { # service_access_role_arn: "String", @@ -385,28 +396,32 @@ # auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1 # nesting_level: "none", # accepts none, one # extract_doc_id: "String", # docs_to_investigate: "String", # auth_source: "String", + # kms_key_id: "String", # }, # }) # # @example Response structure # # resp.endpoint.endpoint_identifier #=> String # resp.endpoint.endpoint_type #=> String, one of "source", "target" # resp.endpoint.engine_name #=> String + # resp.endpoint.engine_display_name #=> String # resp.endpoint.username #=> String # resp.endpoint.server_name #=> String # resp.endpoint.port #=> Integer # resp.endpoint.database_name #=> String # resp.endpoint.extra_connection_attributes #=> String # resp.endpoint.status #=> String # resp.endpoint.kms_key_id #=> String # resp.endpoint.endpoint_arn #=> String # resp.endpoint.certificate_arn #=> String # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full" + # resp.endpoint.service_access_role_arn #=> String + # resp.endpoint.external_table_definition #=> String # resp.endpoint.external_id #=> String # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.external_table_definition #=> String # resp.endpoint.s3_settings.csv_row_delimiter #=> String @@ -423,10 +438,11 @@ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1" # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one" # resp.endpoint.mongo_db_settings.extract_doc_id #=> String # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String # resp.endpoint.mongo_db_settings.auth_source #=> String + # resp.endpoint.mongo_db_settings.kms_key_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation # # @overload create_endpoint(params = {}) # @param [Hash] params ({}) @@ -457,11 +473,11 @@ # # # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html # # @option params [required, String] :subscription_name - # The name of the DMS event notification subscription. + # The name of the AWS DMS event notification subscription. # # Constraints: The name must be less than 255 characters. # # @option params [required, String] :sns_topic_arn # The Amazon Resource Name (ARN) of the Amazon SNS topic created for @@ -776,10 +792,11 @@ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String # resp.replication_instance.replication_instance_private_ip_addresses #=> Array # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String # resp.replication_instance.publicly_accessible #=> Boolean # resp.replication_instance.secondary_availability_zone #=> String + # resp.replication_instance.free_until #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance AWS API Documentation # # @overload create_replication_instance(params = {}) # @param [Hash] params ({}) @@ -916,12 +933,39 @@ # # # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html # # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time - # The start time for the Change Data Capture (CDC) operation. + # 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. # + # @option params [String] :cdc_start_position + # 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:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93" + # + # LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373” + # + # @option params [String] :cdc_stop_position + # 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:3018-02-09T12:12:12” + # + # Commit time example: --cdc-stop-position “commit\_time: + # 3018-02-09T12:12:12 “ + # # @option params [Array<Types::Tag>] :tags # Tags to be added to the replication instance. # # @return [Types::CreateReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -974,10 +1018,12 @@ # replication_instance_arn: "String", # required # migration_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc # table_mappings: "String", # required # replication_task_settings: "String", # cdc_start_time: Time.now, + # cdc_start_position: "String", + # cdc_stop_position: "String", # tags: [ # { # key: "String", # value: "String", # }, @@ -996,10 +1042,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -1116,20 +1165,23 @@ # @example Response structure # # resp.endpoint.endpoint_identifier #=> String # resp.endpoint.endpoint_type #=> String, one of "source", "target" # resp.endpoint.engine_name #=> String + # resp.endpoint.engine_display_name #=> String # resp.endpoint.username #=> String # resp.endpoint.server_name #=> String # resp.endpoint.port #=> Integer # resp.endpoint.database_name #=> String # resp.endpoint.extra_connection_attributes #=> String # resp.endpoint.status #=> String # resp.endpoint.kms_key_id #=> String # resp.endpoint.endpoint_arn #=> String # resp.endpoint.certificate_arn #=> String # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full" + # resp.endpoint.service_access_role_arn #=> String + # resp.endpoint.external_table_definition #=> String # resp.endpoint.external_id #=> String # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.external_table_definition #=> String # resp.endpoint.s3_settings.csv_row_delimiter #=> String @@ -1146,10 +1198,11 @@ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1" # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one" # resp.endpoint.mongo_db_settings.extract_doc_id #=> String # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String # resp.endpoint.mongo_db_settings.auth_source #=> String + # resp.endpoint.mongo_db_settings.kms_key_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation # # @overload delete_endpoint(params = {}) # @param [Hash] params ({}) @@ -1316,10 +1369,11 @@ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String # resp.replication_instance.replication_instance_private_ip_addresses #=> Array # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String # resp.replication_instance.publicly_accessible #=> Boolean # resp.replication_instance.secondary_availability_zone #=> String + # resp.replication_instance.free_until #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance AWS API Documentation # # @overload delete_replication_instance(params = {}) # @param [Hash] params ({}) @@ -1415,10 +1469,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -1747,10 +1804,11 @@ # resp.marker #=> String # resp.supported_endpoint_types #=> Array # resp.supported_endpoint_types[0].engine_name #=> String # resp.supported_endpoint_types[0].supports_cdc #=> Boolean # resp.supported_endpoint_types[0].endpoint_type #=> String, one of "source", "target" + # resp.supported_endpoint_types[0].engine_display_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes AWS API Documentation # # @overload describe_endpoint_types(params = {}) # @param [Hash] params ({}) @@ -1832,20 +1890,23 @@ # resp.marker #=> String # resp.endpoints #=> Array # resp.endpoints[0].endpoint_identifier #=> String # resp.endpoints[0].endpoint_type #=> String, one of "source", "target" # resp.endpoints[0].engine_name #=> String + # resp.endpoints[0].engine_display_name #=> String # resp.endpoints[0].username #=> String # resp.endpoints[0].server_name #=> String # resp.endpoints[0].port #=> Integer # resp.endpoints[0].database_name #=> String # resp.endpoints[0].extra_connection_attributes #=> String # resp.endpoints[0].status #=> String # resp.endpoints[0].kms_key_id #=> String # resp.endpoints[0].endpoint_arn #=> String # resp.endpoints[0].certificate_arn #=> String # resp.endpoints[0].ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full" + # resp.endpoints[0].service_access_role_arn #=> String + # resp.endpoints[0].external_table_definition #=> String # resp.endpoints[0].external_id #=> String # resp.endpoints[0].dynamo_db_settings.service_access_role_arn #=> String # resp.endpoints[0].s3_settings.service_access_role_arn #=> String # resp.endpoints[0].s3_settings.external_table_definition #=> String # resp.endpoints[0].s3_settings.csv_row_delimiter #=> String @@ -1862,10 +1923,11 @@ # resp.endpoints[0].mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1" # resp.endpoints[0].mongo_db_settings.nesting_level #=> String, one of "none", "one" # resp.endpoints[0].mongo_db_settings.extract_doc_id #=> String # resp.endpoints[0].mongo_db_settings.docs_to_investigate #=> String # resp.endpoints[0].mongo_db_settings.auth_source #=> String + # resp.endpoints[0].mongo_db_settings.kms_key_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints AWS API Documentation # # @overload describe_endpoints(params = {}) # @param [Hash] params ({}) @@ -2363,10 +2425,11 @@ # resp.replication_instances[0].replication_instance_public_ip_addresses[0] #=> String # resp.replication_instances[0].replication_instance_private_ip_addresses #=> Array # resp.replication_instances[0].replication_instance_private_ip_addresses[0] #=> String # resp.replication_instances[0].publicly_accessible #=> Boolean # resp.replication_instances[0].secondary_availability_zone #=> String + # resp.replication_instances[0].free_until #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances AWS API Documentation # # @overload describe_replication_instances(params = {}) # @param [Hash] params ({}) @@ -2603,10 +2666,13 @@ # resp.replication_tasks[0].status #=> String # resp.replication_tasks[0].last_failure_message #=> String # resp.replication_tasks[0].stop_reason #=> String # resp.replication_tasks[0].replication_task_creation_date #=> Time # resp.replication_tasks[0].replication_task_start_date #=> Time + # resp.replication_tasks[0].cdc_start_position #=> String + # resp.replication_tasks[0].cdc_stop_position #=> String + # resp.replication_tasks[0].recovery_checkpoint #=> String # resp.replication_tasks[0].replication_task_arn #=> String # resp.replication_tasks[0].replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_tasks[0].replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_tasks[0].replication_task_stats.tables_loaded #=> Integer # resp.replication_tasks[0].replication_task_stats.tables_loading #=> Integer @@ -2925,11 +2991,12 @@ # The type of endpoint. # # @option params [String] :engine_name # The type of engine for the endpoint. Valid values, depending on the # EndPointType, include mysql, oracle, postgres, mariadb, aurora, - # redshift, S3, sybase, dynamodb, mongodb, and sqlserver. + # aurora-postgresql, redshift, s3, db2, azuredb, sybase, sybase, + # dynamodb, mongodb, and sqlserver. # # @option params [String] :username # The user name to be used to login to the endpoint database. # # @option params [String] :password @@ -2958,10 +3025,17 @@ # SSL mode can be one of four values: none, require, verify-ca, # verify-full. # # The default value is none. # + # @option params [String] :service_access_role_arn + # The Amazon Resource Name (ARN) for the service access role you want to + # use to modify the endpoint. + # + # @option params [String] :external_table_definition + # The external table definition. + # # @option params [Types::DynamoDbSettings] :dynamo_db_settings # Settings in JSON format for the target Amazon DynamoDB endpoint. For # more information about the available settings, see the **Using Object # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon # DynamoDB Database as a Target for AWS Database Migration Service][1]. @@ -3034,10 +3108,12 @@ # port: 1, # database_name: "String", # extra_connection_attributes: "String", # certificate_arn: "String", # ssl_mode: "none", # accepts none, require, verify-ca, verify-full + # service_access_role_arn: "String", + # external_table_definition: "String", # dynamo_db_settings: { # service_access_role_arn: "String", # required # }, # s3_settings: { # service_access_role_arn: "String", @@ -3058,28 +3134,32 @@ # auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1 # nesting_level: "none", # accepts none, one # extract_doc_id: "String", # docs_to_investigate: "String", # auth_source: "String", + # kms_key_id: "String", # }, # }) # # @example Response structure # # resp.endpoint.endpoint_identifier #=> String # resp.endpoint.endpoint_type #=> String, one of "source", "target" # resp.endpoint.engine_name #=> String + # resp.endpoint.engine_display_name #=> String # resp.endpoint.username #=> String # resp.endpoint.server_name #=> String # resp.endpoint.port #=> Integer # resp.endpoint.database_name #=> String # resp.endpoint.extra_connection_attributes #=> String # resp.endpoint.status #=> String # resp.endpoint.kms_key_id #=> String # resp.endpoint.endpoint_arn #=> String # resp.endpoint.certificate_arn #=> String # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full" + # resp.endpoint.service_access_role_arn #=> String + # resp.endpoint.external_table_definition #=> String # resp.endpoint.external_id #=> String # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.service_access_role_arn #=> String # resp.endpoint.s3_settings.external_table_definition #=> String # resp.endpoint.s3_settings.csv_row_delimiter #=> String @@ -3096,10 +3176,11 @@ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1" # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one" # resp.endpoint.mongo_db_settings.extract_doc_id #=> String # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String # resp.endpoint.mongo_db_settings.auth_source #=> String + # resp.endpoint.mongo_db_settings.kms_key_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation # # @overload modify_endpoint(params = {}) # @param [Hash] params ({}) @@ -3376,10 +3457,11 @@ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String # resp.replication_instance.replication_instance_private_ip_addresses #=> Array # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String # resp.replication_instance.publicly_accessible #=> Boolean # resp.replication_instance.secondary_availability_zone #=> String + # resp.replication_instance.free_until #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance AWS API Documentation # # @overload modify_replication_instance(params = {}) # @param [Hash] params ({}) @@ -3491,12 +3573,39 @@ # @option params [String] :replication_task_settings # JSON file that contains settings for the task, such as target metadata # settings. # # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time - # The start time for the Change Data Capture (CDC) operation. + # 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. # + # @option params [String] :cdc_start_position + # 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:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93" + # + # LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373” + # + # @option params [String] :cdc_stop_position + # 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:3018-02-09T12:12:12” + # + # Commit time example: --cdc-stop-position “commit\_time: + # 3018-02-09T12:12:12 “ + # # @return [Types::ModifyReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ModifyReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask # # @example Request syntax with placeholder values @@ -3506,10 +3615,12 @@ # replication_task_identifier: "String", # migration_type: "full-load", # accepts full-load, cdc, full-load-and-cdc # table_mappings: "String", # replication_task_settings: "String", # cdc_start_time: Time.now, + # cdc_start_position: "String", + # cdc_stop_position: "String", # }) # # @example Response structure # # resp.replication_task.replication_task_identifier #=> String @@ -3522,10 +3633,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -3598,10 +3712,11 @@ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String # resp.replication_instance.replication_instance_private_ip_addresses #=> Array # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String # resp.replication_instance.publicly_accessible #=> Boolean # resp.replication_instance.secondary_availability_zone #=> String + # resp.replication_instance.free_until #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance AWS API Documentation # # @overload reboot_replication_instance(params = {}) # @param [Hash] params ({}) @@ -3760,12 +3875,39 @@ # # @option params [required, String] :start_replication_task_type # The type of replication task. # # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time - # The start time for the Change Data Capture (CDC) operation. + # 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. # + # @option params [String] :cdc_start_position + # 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:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93" + # + # LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373” + # + # @option params [String] :cdc_stop_position + # 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:3018-02-09T12:12:12” + # + # Commit time example: --cdc-stop-position “commit\_time: + # 3018-02-09T12:12:12 “ + # # @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::StartReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask # # @@ -3799,10 +3941,12 @@ # # resp = client.start_replication_task({ # replication_task_arn: "String", # required # start_replication_task_type: "start-replication", # required, accepts start-replication, resume-processing, reload-target # cdc_start_time: Time.now, + # cdc_start_position: "String", + # cdc_stop_position: "String", # }) # # @example Response structure # # resp.replication_task.replication_task_identifier #=> String @@ -3815,10 +3959,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -3862,10 +4009,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -3933,10 +4083,13 @@ # resp.replication_task.status #=> String # resp.replication_task.last_failure_message #=> String # resp.replication_task.stop_reason #=> String # resp.replication_task.replication_task_creation_date #=> Time # resp.replication_task.replication_task_start_date #=> Time + # resp.replication_task.cdc_start_position #=> String + # resp.replication_task.cdc_stop_position #=> String + # resp.replication_task.recovery_checkpoint #=> String # resp.replication_task.replication_task_arn #=> String # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer # resp.replication_task.replication_task_stats.tables_loaded #=> Integer # resp.replication_task.replication_task_stats.tables_loading #=> Integer @@ -4018,10 +4171,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-databasemigrationservice' - context[:gem_version] = '1.4.0' + context[:gem_version] = '1.5.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated