aws-sdk-databasemigrationservice 1.105.0 → 1.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7940e312ad375242de9ab4ab2fa2c0c07ee67cb7b841ef7fa01f2b7b24cddccb
4
- data.tar.gz: c16a48a07253e4c73e9c78ea2a366e598a2af07729746d3d045ea95b01edab97
3
+ metadata.gz: 7dc7ca742fb77736327e0780f4d10abb155f02ad252a98ee7e6abb26e379da44
4
+ data.tar.gz: '0956e649f75557b7739dd5512e7f880872652d0c6ce451cc8a064260e6609df6'
5
5
  SHA512:
6
- metadata.gz: 1d6e8f7424b66406881bc8dcd493879e2b9e4667fed4b3fee8e9f3bc844b858db8a5118952a09f212ad24c19e10bad1bce10789a4fc413befac687a6b1b2256c
7
- data.tar.gz: 55d9d92db16217ec2a4b4198ba6142a69a0017e5a4607cf13472b0979ea45cf93b869fa2cf3c017373429ade287885a202ef2da5a6519b54cd5b9fdd82539389
6
+ metadata.gz: 494ef9d3a1a3fe6a11a33044969086ec9d74920fa56d5496b0c968dead72f122802996c08b38941ac766f6396a7f3e672fb66c75725f4054c6b14c0ea1aabb4e
7
+ data.tar.gz: 851bf656d6cbc5c3a2f28247ebb042505db76a0282ac8409add140b92a89a2060068f2b1f8a5130b69583ec55a6e9379c13e3035f22df68603a84d7927c8d4e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.107.0 (2024-10-10)
5
+ ------------------
6
+
7
+ * Feature - Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message.
8
+
9
+ 1.106.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.105.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.107.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:databasemigrationservice)
40
-
41
39
  module Aws::DatabaseMigrationService
42
40
  # An API client for DatabaseMigrationService. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -677,6 +675,120 @@ module Aws::DatabaseMigrationService
677
675
  req.send_request(options)
678
676
  end
679
677
 
678
+ # Creates a data migration using the provided settings.
679
+ #
680
+ # @option params [String] :data_migration_name
681
+ # A user-friendly name for the data migration. Data migration names have
682
+ # the following constraints:
683
+ #
684
+ # * Must begin with a letter, and can only contain ASCII letters,
685
+ # digits, and hyphens.
686
+ #
687
+ # * Can't end with a hyphen or contain two consecutive hyphens.
688
+ #
689
+ # * Length must be from 1 to 255 characters.
690
+ #
691
+ # @option params [required, String] :migration_project_identifier
692
+ # An identifier for the migration project.
693
+ #
694
+ # @option params [required, String] :data_migration_type
695
+ # Specifies if the data migration is full-load only, change data capture
696
+ # (CDC) only, or full-load and CDC.
697
+ #
698
+ # @option params [required, String] :service_access_role_arn
699
+ # The Amazon Resource Name (ARN) for the service access role that you
700
+ # want to use to create the data migration.
701
+ #
702
+ # @option params [Boolean] :enable_cloudwatch_logs
703
+ # Specifies whether to enable CloudWatch logs for the data migration.
704
+ #
705
+ # @option params [Array<Types::SourceDataSetting>] :source_data_settings
706
+ # Specifies information about the source data provider.
707
+ #
708
+ # @option params [Integer] :number_of_jobs
709
+ # The number of parallel jobs that trigger parallel threads to unload
710
+ # the tables from the source, and then load them to the target.
711
+ #
712
+ # @option params [Array<Types::Tag>] :tags
713
+ # One or more tags to be assigned to the data migration.
714
+ #
715
+ # @option params [String] :selection_rules
716
+ # An optional JSON string specifying what tables, views, and schemas to
717
+ # include or exclude from the migration.
718
+ #
719
+ # @return [Types::CreateDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
720
+ #
721
+ # * {Types::CreateDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
722
+ #
723
+ # @example Request syntax with placeholder values
724
+ #
725
+ # resp = client.create_data_migration({
726
+ # data_migration_name: "String",
727
+ # migration_project_identifier: "String", # required
728
+ # data_migration_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc
729
+ # service_access_role_arn: "String", # required
730
+ # enable_cloudwatch_logs: false,
731
+ # source_data_settings: [
732
+ # {
733
+ # cdc_start_position: "String",
734
+ # cdc_start_time: Time.now,
735
+ # cdc_stop_time: Time.now,
736
+ # slot_name: "String",
737
+ # },
738
+ # ],
739
+ # number_of_jobs: 1,
740
+ # tags: [
741
+ # {
742
+ # key: "String",
743
+ # value: "String",
744
+ # resource_arn: "String",
745
+ # },
746
+ # ],
747
+ # selection_rules: "SecretString",
748
+ # })
749
+ #
750
+ # @example Response structure
751
+ #
752
+ # resp.data_migration.data_migration_name #=> String
753
+ # resp.data_migration.data_migration_arn #=> String
754
+ # resp.data_migration.data_migration_create_time #=> Time
755
+ # resp.data_migration.data_migration_start_time #=> Time
756
+ # resp.data_migration.data_migration_end_time #=> Time
757
+ # resp.data_migration.service_access_role_arn #=> String
758
+ # resp.data_migration.migration_project_arn #=> String
759
+ # resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
760
+ # resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
761
+ # resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
762
+ # resp.data_migration.data_migration_settings.selection_rules #=> String
763
+ # resp.data_migration.source_data_settings #=> Array
764
+ # resp.data_migration.source_data_settings[0].cdc_start_position #=> String
765
+ # resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
766
+ # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
767
+ # resp.data_migration.source_data_settings[0].slot_name #=> String
768
+ # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
769
+ # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
770
+ # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
771
+ # resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
772
+ # resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
773
+ # resp.data_migration.data_migration_statistics.tables_queued #=> Integer
774
+ # resp.data_migration.data_migration_statistics.tables_errored #=> Integer
775
+ # resp.data_migration.data_migration_statistics.start_time #=> Time
776
+ # resp.data_migration.data_migration_statistics.stop_time #=> Time
777
+ # resp.data_migration.data_migration_status #=> String
778
+ # resp.data_migration.public_ip_addresses #=> Array
779
+ # resp.data_migration.public_ip_addresses[0] #=> String
780
+ # resp.data_migration.last_failure_message #=> String
781
+ # resp.data_migration.stop_reason #=> String
782
+ #
783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateDataMigration AWS API Documentation
784
+ #
785
+ # @overload create_data_migration(params = {})
786
+ # @param [Hash] params ({})
787
+ def create_data_migration(params = {}, options = {})
788
+ req = build_request(:create_data_migration, params)
789
+ req.send_request(options)
790
+ end
791
+
680
792
  # Creates a data provider using the provided settings. A data provider
681
793
  # stores a data store type and location information about your database.
682
794
  #
@@ -909,7 +1021,10 @@ module Aws::DatabaseMigrationService
909
1021
  # `"mariadb"`, `"aurora"`, `"aurora-postgresql"`, `"opensearch"`,
910
1022
  # `"redshift"`, `"s3"`, `"db2"`, `"db2-zos"`, `"azuredb"`, `"sybase"`,
911
1023
  # `"dynamodb"`, `"mongodb"`, `"kinesis"`, `"kafka"`, `"elasticsearch"`,
912
- # `"docdb"`, `"sqlserver"`, `"neptune"`, and `"babelfish"`.
1024
+ # `"docdb"`, `"sqlserver"`, `"neptune"`, `"babelfish"`,
1025
+ # `redshift-serverless`, `aurora-serverless`,
1026
+ # `aurora-postgresql-serverless`, `gcp-mysql`,
1027
+ # `azure-sql-managed-instance`, `redis`, `dms-transfer`.
913
1028
  #
914
1029
  # @option params [String] :username
915
1030
  # The user name to be used to log in to the endpoint database.
@@ -2805,7 +2920,7 @@ module Aws::DatabaseMigrationService
2805
2920
  # lowercase string.
2806
2921
  #
2807
2922
  # Constraints: Must contain no more than 255 alphanumeric characters,
2808
- # periods, spaces, underscores, or hyphens. Must not be "default".
2923
+ # periods, underscores, or hyphens. Must not be "default".
2809
2924
  #
2810
2925
  # Example: `mySubnetgroup`
2811
2926
  #
@@ -3214,6 +3329,63 @@ module Aws::DatabaseMigrationService
3214
3329
  req.send_request(options)
3215
3330
  end
3216
3331
 
3332
+ # Deletes the specified data migration.
3333
+ #
3334
+ # @option params [required, String] :data_migration_identifier
3335
+ # The identifier (name or ARN) of the data migration to delete.
3336
+ #
3337
+ # @return [Types::DeleteDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3338
+ #
3339
+ # * {Types::DeleteDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
3340
+ #
3341
+ # @example Request syntax with placeholder values
3342
+ #
3343
+ # resp = client.delete_data_migration({
3344
+ # data_migration_identifier: "String", # required
3345
+ # })
3346
+ #
3347
+ # @example Response structure
3348
+ #
3349
+ # resp.data_migration.data_migration_name #=> String
3350
+ # resp.data_migration.data_migration_arn #=> String
3351
+ # resp.data_migration.data_migration_create_time #=> Time
3352
+ # resp.data_migration.data_migration_start_time #=> Time
3353
+ # resp.data_migration.data_migration_end_time #=> Time
3354
+ # resp.data_migration.service_access_role_arn #=> String
3355
+ # resp.data_migration.migration_project_arn #=> String
3356
+ # resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
3357
+ # resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
3358
+ # resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
3359
+ # resp.data_migration.data_migration_settings.selection_rules #=> String
3360
+ # resp.data_migration.source_data_settings #=> Array
3361
+ # resp.data_migration.source_data_settings[0].cdc_start_position #=> String
3362
+ # resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
3363
+ # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
3364
+ # resp.data_migration.source_data_settings[0].slot_name #=> String
3365
+ # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
3366
+ # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
3367
+ # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
3368
+ # resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
3369
+ # resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
3370
+ # resp.data_migration.data_migration_statistics.tables_queued #=> Integer
3371
+ # resp.data_migration.data_migration_statistics.tables_errored #=> Integer
3372
+ # resp.data_migration.data_migration_statistics.start_time #=> Time
3373
+ # resp.data_migration.data_migration_statistics.stop_time #=> Time
3374
+ # resp.data_migration.data_migration_status #=> String
3375
+ # resp.data_migration.public_ip_addresses #=> Array
3376
+ # resp.data_migration.public_ip_addresses[0] #=> String
3377
+ # resp.data_migration.last_failure_message #=> String
3378
+ # resp.data_migration.stop_reason #=> String
3379
+ #
3380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteDataMigration AWS API Documentation
3381
+ #
3382
+ # @overload delete_data_migration(params = {})
3383
+ # @param [Hash] params ({})
3384
+ def delete_data_migration(params = {}, options = {})
3385
+ req = build_request(:delete_data_migration, params)
3386
+ req.send_request(options)
3387
+ end
3388
+
3217
3389
  # Deletes the specified data provider.
3218
3390
  #
3219
3391
  # <note markdown="1"> All migration projects associated with the data provider must be
@@ -4656,6 +4828,99 @@ module Aws::DatabaseMigrationService
4656
4828
  req.send_request(options)
4657
4829
  end
4658
4830
 
4831
+ # Returns information about data migrations.
4832
+ #
4833
+ # @option params [Array<Types::Filter>] :filters
4834
+ # Filters applied to the data migrations.
4835
+ #
4836
+ # @option params [Integer] :max_records
4837
+ # The maximum number of records to include in the response. If more
4838
+ # records exist than the specified `MaxRecords` value, a pagination
4839
+ # token called a marker is included in the response so that the
4840
+ # remaining results can be retrieved.
4841
+ #
4842
+ # @option params [String] :marker
4843
+ # An optional pagination token provided by a previous request. If this
4844
+ # parameter is specified, the response includes only records beyond the
4845
+ # marker, up to the value specified by `MaxRecords`.
4846
+ #
4847
+ # @option params [Boolean] :without_settings
4848
+ # An option to set to avoid returning information about settings. Use
4849
+ # this to reduce overhead when setting information is too large. To use
4850
+ # this option, choose `true`; otherwise, choose `false` (the default).
4851
+ #
4852
+ # @option params [Boolean] :without_statistics
4853
+ # An option to set to avoid returning information about statistics. Use
4854
+ # this to reduce overhead when statistics information is too large. To
4855
+ # use this option, choose `true`; otherwise, choose `false` (the
4856
+ # default).
4857
+ #
4858
+ # @return [Types::DescribeDataMigrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4859
+ #
4860
+ # * {Types::DescribeDataMigrationsResponse#data_migrations #data_migrations} => Array&lt;Types::DataMigration&gt;
4861
+ # * {Types::DescribeDataMigrationsResponse#marker #marker} => String
4862
+ #
4863
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4864
+ #
4865
+ # @example Request syntax with placeholder values
4866
+ #
4867
+ # resp = client.describe_data_migrations({
4868
+ # filters: [
4869
+ # {
4870
+ # name: "String", # required
4871
+ # values: ["String"], # required
4872
+ # },
4873
+ # ],
4874
+ # max_records: 1,
4875
+ # marker: "Marker",
4876
+ # without_settings: false,
4877
+ # without_statistics: false,
4878
+ # })
4879
+ #
4880
+ # @example Response structure
4881
+ #
4882
+ # resp.data_migrations #=> Array
4883
+ # resp.data_migrations[0].data_migration_name #=> String
4884
+ # resp.data_migrations[0].data_migration_arn #=> String
4885
+ # resp.data_migrations[0].data_migration_create_time #=> Time
4886
+ # resp.data_migrations[0].data_migration_start_time #=> Time
4887
+ # resp.data_migrations[0].data_migration_end_time #=> Time
4888
+ # resp.data_migrations[0].service_access_role_arn #=> String
4889
+ # resp.data_migrations[0].migration_project_arn #=> String
4890
+ # resp.data_migrations[0].data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
4891
+ # resp.data_migrations[0].data_migration_settings.number_of_jobs #=> Integer
4892
+ # resp.data_migrations[0].data_migration_settings.cloudwatch_logs_enabled #=> Boolean
4893
+ # resp.data_migrations[0].data_migration_settings.selection_rules #=> String
4894
+ # resp.data_migrations[0].source_data_settings #=> Array
4895
+ # resp.data_migrations[0].source_data_settings[0].cdc_start_position #=> String
4896
+ # resp.data_migrations[0].source_data_settings[0].cdc_start_time #=> Time
4897
+ # resp.data_migrations[0].source_data_settings[0].cdc_stop_time #=> Time
4898
+ # resp.data_migrations[0].source_data_settings[0].slot_name #=> String
4899
+ # resp.data_migrations[0].data_migration_statistics.tables_loaded #=> Integer
4900
+ # resp.data_migrations[0].data_migration_statistics.elapsed_time_millis #=> Integer
4901
+ # resp.data_migrations[0].data_migration_statistics.tables_loading #=> Integer
4902
+ # resp.data_migrations[0].data_migration_statistics.full_load_percentage #=> Integer
4903
+ # resp.data_migrations[0].data_migration_statistics.cdc_latency #=> Integer
4904
+ # resp.data_migrations[0].data_migration_statistics.tables_queued #=> Integer
4905
+ # resp.data_migrations[0].data_migration_statistics.tables_errored #=> Integer
4906
+ # resp.data_migrations[0].data_migration_statistics.start_time #=> Time
4907
+ # resp.data_migrations[0].data_migration_statistics.stop_time #=> Time
4908
+ # resp.data_migrations[0].data_migration_status #=> String
4909
+ # resp.data_migrations[0].public_ip_addresses #=> Array
4910
+ # resp.data_migrations[0].public_ip_addresses[0] #=> String
4911
+ # resp.data_migrations[0].last_failure_message #=> String
4912
+ # resp.data_migrations[0].stop_reason #=> String
4913
+ # resp.marker #=> String
4914
+ #
4915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeDataMigrations AWS API Documentation
4916
+ #
4917
+ # @overload describe_data_migrations(params = {})
4918
+ # @param [Hash] params ({})
4919
+ def describe_data_migrations(params = {}, options = {})
4920
+ req = build_request(:describe_data_migrations, params)
4921
+ req.send_request(options)
4922
+ end
4923
+
4659
4924
  # Returns a paginated list of data providers for your account in the
4660
4925
  # current region.
4661
4926
  #
@@ -8386,6 +8651,101 @@ module Aws::DatabaseMigrationService
8386
8651
  req.send_request(options)
8387
8652
  end
8388
8653
 
8654
+ # Modifies an existing DMS data migration.
8655
+ #
8656
+ # @option params [required, String] :data_migration_identifier
8657
+ # The identifier (name or ARN) of the data migration to modify.
8658
+ #
8659
+ # @option params [String] :data_migration_name
8660
+ # The new name for the data migration.
8661
+ #
8662
+ # @option params [Boolean] :enable_cloudwatch_logs
8663
+ # Whether to enable Cloudwatch logs for the data migration.
8664
+ #
8665
+ # @option params [String] :service_access_role_arn
8666
+ # The new service access role ARN for the data migration.
8667
+ #
8668
+ # @option params [String] :data_migration_type
8669
+ # The new migration type for the data migration.
8670
+ #
8671
+ # @option params [Array<Types::SourceDataSetting>] :source_data_settings
8672
+ # The new information about the source data provider for the data
8673
+ # migration.
8674
+ #
8675
+ # @option params [Integer] :number_of_jobs
8676
+ # The number of parallel jobs that trigger parallel threads to unload
8677
+ # the tables from the source, and then load them to the target.
8678
+ #
8679
+ # @option params [String] :selection_rules
8680
+ # A JSON-formatted string that defines what objects to include and
8681
+ # exclude from the migration.
8682
+ #
8683
+ # @return [Types::ModifyDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8684
+ #
8685
+ # * {Types::ModifyDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
8686
+ #
8687
+ # @example Request syntax with placeholder values
8688
+ #
8689
+ # resp = client.modify_data_migration({
8690
+ # data_migration_identifier: "String", # required
8691
+ # data_migration_name: "String",
8692
+ # enable_cloudwatch_logs: false,
8693
+ # service_access_role_arn: "String",
8694
+ # data_migration_type: "full-load", # accepts full-load, cdc, full-load-and-cdc
8695
+ # source_data_settings: [
8696
+ # {
8697
+ # cdc_start_position: "String",
8698
+ # cdc_start_time: Time.now,
8699
+ # cdc_stop_time: Time.now,
8700
+ # slot_name: "String",
8701
+ # },
8702
+ # ],
8703
+ # number_of_jobs: 1,
8704
+ # selection_rules: "SecretString",
8705
+ # })
8706
+ #
8707
+ # @example Response structure
8708
+ #
8709
+ # resp.data_migration.data_migration_name #=> String
8710
+ # resp.data_migration.data_migration_arn #=> String
8711
+ # resp.data_migration.data_migration_create_time #=> Time
8712
+ # resp.data_migration.data_migration_start_time #=> Time
8713
+ # resp.data_migration.data_migration_end_time #=> Time
8714
+ # resp.data_migration.service_access_role_arn #=> String
8715
+ # resp.data_migration.migration_project_arn #=> String
8716
+ # resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
8717
+ # resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
8718
+ # resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
8719
+ # resp.data_migration.data_migration_settings.selection_rules #=> String
8720
+ # resp.data_migration.source_data_settings #=> Array
8721
+ # resp.data_migration.source_data_settings[0].cdc_start_position #=> String
8722
+ # resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
8723
+ # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
8724
+ # resp.data_migration.source_data_settings[0].slot_name #=> String
8725
+ # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
8726
+ # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
8727
+ # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
8728
+ # resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
8729
+ # resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
8730
+ # resp.data_migration.data_migration_statistics.tables_queued #=> Integer
8731
+ # resp.data_migration.data_migration_statistics.tables_errored #=> Integer
8732
+ # resp.data_migration.data_migration_statistics.start_time #=> Time
8733
+ # resp.data_migration.data_migration_statistics.stop_time #=> Time
8734
+ # resp.data_migration.data_migration_status #=> String
8735
+ # resp.data_migration.public_ip_addresses #=> Array
8736
+ # resp.data_migration.public_ip_addresses[0] #=> String
8737
+ # resp.data_migration.last_failure_message #=> String
8738
+ # resp.data_migration.stop_reason #=> String
8739
+ #
8740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyDataMigration AWS API Documentation
8741
+ #
8742
+ # @overload modify_data_migration(params = {})
8743
+ # @param [Hash] params ({})
8744
+ def modify_data_migration(params = {}, options = {})
8745
+ req = build_request(:modify_data_migration, params)
8746
+ req.send_request(options)
8747
+ end
8748
+
8389
8749
  # Modifies the specified data provider using the provided settings.
8390
8750
  #
8391
8751
  # <note markdown="1"> You must remove the data provider from all migration projects before
@@ -10840,6 +11200,68 @@ module Aws::DatabaseMigrationService
10840
11200
  req.send_request(options)
10841
11201
  end
10842
11202
 
11203
+ # Starts the specified data migration.
11204
+ #
11205
+ # @option params [required, String] :data_migration_identifier
11206
+ # The identifier (name or ARN) of the data migration to start.
11207
+ #
11208
+ # @option params [required, String] :start_type
11209
+ # Specifies the start type for the data migration. Valid values include
11210
+ # `start-replication`, `reload-target`, and `resume-processing`.
11211
+ #
11212
+ # @return [Types::StartDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11213
+ #
11214
+ # * {Types::StartDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
11215
+ #
11216
+ # @example Request syntax with placeholder values
11217
+ #
11218
+ # resp = client.start_data_migration({
11219
+ # data_migration_identifier: "String", # required
11220
+ # start_type: "reload-target", # required, accepts reload-target, resume-processing, start-replication
11221
+ # })
11222
+ #
11223
+ # @example Response structure
11224
+ #
11225
+ # resp.data_migration.data_migration_name #=> String
11226
+ # resp.data_migration.data_migration_arn #=> String
11227
+ # resp.data_migration.data_migration_create_time #=> Time
11228
+ # resp.data_migration.data_migration_start_time #=> Time
11229
+ # resp.data_migration.data_migration_end_time #=> Time
11230
+ # resp.data_migration.service_access_role_arn #=> String
11231
+ # resp.data_migration.migration_project_arn #=> String
11232
+ # resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
11233
+ # resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
11234
+ # resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
11235
+ # resp.data_migration.data_migration_settings.selection_rules #=> String
11236
+ # resp.data_migration.source_data_settings #=> Array
11237
+ # resp.data_migration.source_data_settings[0].cdc_start_position #=> String
11238
+ # resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
11239
+ # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
11240
+ # resp.data_migration.source_data_settings[0].slot_name #=> String
11241
+ # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
11242
+ # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
11243
+ # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
11244
+ # resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
11245
+ # resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
11246
+ # resp.data_migration.data_migration_statistics.tables_queued #=> Integer
11247
+ # resp.data_migration.data_migration_statistics.tables_errored #=> Integer
11248
+ # resp.data_migration.data_migration_statistics.start_time #=> Time
11249
+ # resp.data_migration.data_migration_statistics.stop_time #=> Time
11250
+ # resp.data_migration.data_migration_status #=> String
11251
+ # resp.data_migration.public_ip_addresses #=> Array
11252
+ # resp.data_migration.public_ip_addresses[0] #=> String
11253
+ # resp.data_migration.last_failure_message #=> String
11254
+ # resp.data_migration.stop_reason #=> String
11255
+ #
11256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartDataMigration AWS API Documentation
11257
+ #
11258
+ # @overload start_data_migration(params = {})
11259
+ # @param [Hash] params ({})
11260
+ def start_data_migration(params = {}, options = {})
11261
+ req = build_request(:start_data_migration, params)
11262
+ req.send_request(options)
11263
+ end
11264
+
10843
11265
  # Applies the extension pack to your target database. An extension pack
10844
11266
  # is an add-on module that emulates functions present in a source
10845
11267
  # database that are required when converting objects to the target
@@ -11652,6 +12074,63 @@ module Aws::DatabaseMigrationService
11652
12074
  req.send_request(options)
11653
12075
  end
11654
12076
 
12077
+ # Stops the specified data migration.
12078
+ #
12079
+ # @option params [required, String] :data_migration_identifier
12080
+ # The identifier (name or ARN) of the data migration to stop.
12081
+ #
12082
+ # @return [Types::StopDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12083
+ #
12084
+ # * {Types::StopDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
12085
+ #
12086
+ # @example Request syntax with placeholder values
12087
+ #
12088
+ # resp = client.stop_data_migration({
12089
+ # data_migration_identifier: "String", # required
12090
+ # })
12091
+ #
12092
+ # @example Response structure
12093
+ #
12094
+ # resp.data_migration.data_migration_name #=> String
12095
+ # resp.data_migration.data_migration_arn #=> String
12096
+ # resp.data_migration.data_migration_create_time #=> Time
12097
+ # resp.data_migration.data_migration_start_time #=> Time
12098
+ # resp.data_migration.data_migration_end_time #=> Time
12099
+ # resp.data_migration.service_access_role_arn #=> String
12100
+ # resp.data_migration.migration_project_arn #=> String
12101
+ # resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
12102
+ # resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
12103
+ # resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
12104
+ # resp.data_migration.data_migration_settings.selection_rules #=> String
12105
+ # resp.data_migration.source_data_settings #=> Array
12106
+ # resp.data_migration.source_data_settings[0].cdc_start_position #=> String
12107
+ # resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
12108
+ # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
12109
+ # resp.data_migration.source_data_settings[0].slot_name #=> String
12110
+ # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
12111
+ # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
12112
+ # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
12113
+ # resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
12114
+ # resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
12115
+ # resp.data_migration.data_migration_statistics.tables_queued #=> Integer
12116
+ # resp.data_migration.data_migration_statistics.tables_errored #=> Integer
12117
+ # resp.data_migration.data_migration_statistics.start_time #=> Time
12118
+ # resp.data_migration.data_migration_statistics.stop_time #=> Time
12119
+ # resp.data_migration.data_migration_status #=> String
12120
+ # resp.data_migration.public_ip_addresses #=> Array
12121
+ # resp.data_migration.public_ip_addresses[0] #=> String
12122
+ # resp.data_migration.last_failure_message #=> String
12123
+ # resp.data_migration.stop_reason #=> String
12124
+ #
12125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopDataMigration AWS API Documentation
12126
+ #
12127
+ # @overload stop_data_migration(params = {})
12128
+ # @param [Hash] params ({})
12129
+ def stop_data_migration(params = {}, options = {})
12130
+ req = build_request(:stop_data_migration, params)
12131
+ req.send_request(options)
12132
+ end
12133
+
11655
12134
  # For a given DMS Serverless replication configuration, DMS stops any
11656
12135
  # and all ongoing DMS Serverless replications. This command doesn't
11657
12136
  # deprovision the stopped replications.
@@ -11919,7 +12398,7 @@ module Aws::DatabaseMigrationService
11919
12398
  tracer: tracer
11920
12399
  )
11921
12400
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
11922
- context[:gem_version] = '1.105.0'
12401
+ context[:gem_version] = '1.107.0'
11923
12402
  Seahorse::Client::Request.new(handlers, context)
11924
12403
  end
11925
12404