aws-sdk-databasemigrationservice 1.106.0 → 1.108.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +484 -3
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +221 -0
- data/lib/aws-sdk-databasemigrationservice/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-databasemigrationservice/endpoints.rb +2 -1164
- data/lib/aws-sdk-databasemigrationservice/errors.rb +16 -0
- data/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb +1 -218
- data/lib/aws-sdk-databasemigrationservice/types.rb +509 -9
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- data/sig/client.rbs +106 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +133 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ba79c0078f7f6f2d20a932930189f3785375dd41a775806b34c3a6d22758491
|
4
|
+
data.tar.gz: 06a5611d9680e8407464e8c554eac9edf265cdd68b7b50e628d86e56e48e53d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bed80211554d5fc4ac3d51c7eee357617c7187e1774e091e31d45f8e24f4b1ec41bdd9cdb749d216d6ecc16929a886d4ad462ad7a3e9bd6a4e5f93f34fca653b
|
7
|
+
data.tar.gz: 2298d62abbe821959ef13f474a6323ba384124de177f00e93b541cdf8d6253aa53446f63426678b3c3998092d65c1c6001346aa204393e0e14269b6cb6cb8076
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.108.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.107.0 (2024-10-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message.
|
13
|
+
|
4
14
|
1.106.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.108.0
|
@@ -675,6 +675,120 @@ module Aws::DatabaseMigrationService
|
|
675
675
|
req.send_request(options)
|
676
676
|
end
|
677
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
|
+
|
678
792
|
# Creates a data provider using the provided settings. A data provider
|
679
793
|
# stores a data store type and location information about your database.
|
680
794
|
#
|
@@ -907,7 +1021,10 @@ module Aws::DatabaseMigrationService
|
|
907
1021
|
# `"mariadb"`, `"aurora"`, `"aurora-postgresql"`, `"opensearch"`,
|
908
1022
|
# `"redshift"`, `"s3"`, `"db2"`, `"db2-zos"`, `"azuredb"`, `"sybase"`,
|
909
1023
|
# `"dynamodb"`, `"mongodb"`, `"kinesis"`, `"kafka"`, `"elasticsearch"`,
|
910
|
-
# `"docdb"`, `"sqlserver"`, `"neptune"`,
|
1024
|
+
# `"docdb"`, `"sqlserver"`, `"neptune"`, `"babelfish"`,
|
1025
|
+
# `redshift-serverless`, `aurora-serverless`,
|
1026
|
+
# `aurora-postgresql-serverless`, `gcp-mysql`,
|
1027
|
+
# `azure-sql-managed-instance`, `redis`, `dms-transfer`.
|
911
1028
|
#
|
912
1029
|
# @option params [String] :username
|
913
1030
|
# The user name to be used to log in to the endpoint database.
|
@@ -2803,7 +2920,7 @@ module Aws::DatabaseMigrationService
|
|
2803
2920
|
# lowercase string.
|
2804
2921
|
#
|
2805
2922
|
# Constraints: Must contain no more than 255 alphanumeric characters,
|
2806
|
-
# periods,
|
2923
|
+
# periods, underscores, or hyphens. Must not be "default".
|
2807
2924
|
#
|
2808
2925
|
# Example: `mySubnetgroup`
|
2809
2926
|
#
|
@@ -3212,6 +3329,63 @@ module Aws::DatabaseMigrationService
|
|
3212
3329
|
req.send_request(options)
|
3213
3330
|
end
|
3214
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
|
+
|
3215
3389
|
# Deletes the specified data provider.
|
3216
3390
|
#
|
3217
3391
|
# <note markdown="1"> All migration projects associated with the data provider must be
|
@@ -4654,6 +4828,99 @@ module Aws::DatabaseMigrationService
|
|
4654
4828
|
req.send_request(options)
|
4655
4829
|
end
|
4656
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<Types::DataMigration>
|
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
|
+
|
4657
4924
|
# Returns a paginated list of data providers for your account in the
|
4658
4925
|
# current region.
|
4659
4926
|
#
|
@@ -8384,6 +8651,101 @@ module Aws::DatabaseMigrationService
|
|
8384
8651
|
req.send_request(options)
|
8385
8652
|
end
|
8386
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
|
+
|
8387
8749
|
# Modifies the specified data provider using the provided settings.
|
8388
8750
|
#
|
8389
8751
|
# <note markdown="1"> You must remove the data provider from all migration projects before
|
@@ -10838,6 +11200,68 @@ module Aws::DatabaseMigrationService
|
|
10838
11200
|
req.send_request(options)
|
10839
11201
|
end
|
10840
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
|
+
|
10841
11265
|
# Applies the extension pack to your target database. An extension pack
|
10842
11266
|
# is an add-on module that emulates functions present in a source
|
10843
11267
|
# database that are required when converting objects to the target
|
@@ -11650,6 +12074,63 @@ module Aws::DatabaseMigrationService
|
|
11650
12074
|
req.send_request(options)
|
11651
12075
|
end
|
11652
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
|
+
|
11653
12134
|
# For a given DMS Serverless replication configuration, DMS stops any
|
11654
12135
|
# and all ongoing DMS Serverless replications. This command doesn't
|
11655
12136
|
# deprovision the stopped replications.
|
@@ -11917,7 +12398,7 @@ module Aws::DatabaseMigrationService
|
|
11917
12398
|
tracer: tracer
|
11918
12399
|
)
|
11919
12400
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
11920
|
-
context[:gem_version] = '1.
|
12401
|
+
context[:gem_version] = '1.108.0'
|
11921
12402
|
Seahorse::Client::Request.new(handlers, context)
|
11922
12403
|
end
|
11923
12404
|
|