aws-sdk-databasemigrationservice 1.80.0 → 1.82.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +868 -6
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +327 -0
- data/lib/aws-sdk-databasemigrationservice/endpoints.rb +126 -0
- data/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +1118 -41
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +4 -4
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::DatabaseMigrationService
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::DatabaseMigrationService
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -230,6 +236,11 @@ module Aws::DatabaseMigrationService
|
|
230
236
|
# Used when loading credentials from the shared credentials file
|
231
237
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
238
|
#
|
239
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
240
|
+
# The minimum size in bytes that triggers compression for request
|
241
|
+
# bodies. The value must be non-negative integer value between 0
|
242
|
+
# and 10485780 bytes inclusive.
|
243
|
+
#
|
233
244
|
# @option options [Proc] :retry_backoff
|
234
245
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
246
|
# This option is only used in the `legacy` retry mode.
|
@@ -871,6 +882,9 @@ module Aws::DatabaseMigrationService
|
|
871
882
|
# @option params [Types::GcpMySQLSettings] :gcp_my_sql_settings
|
872
883
|
# Settings in JSON format for the source GCP MySQL endpoint.
|
873
884
|
#
|
885
|
+
# @option params [Types::TimestreamSettings] :timestream_settings
|
886
|
+
# Settings in JSON format for the target Amazon Timestream endpoint.
|
887
|
+
#
|
874
888
|
# @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
875
889
|
#
|
876
890
|
# * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
@@ -1005,6 +1019,8 @@ module Aws::DatabaseMigrationService
|
|
1005
1019
|
# kms_key_id: "String",
|
1006
1020
|
# secrets_manager_access_role_arn: "String",
|
1007
1021
|
# secrets_manager_secret_id: "String",
|
1022
|
+
# use_update_look_up: false,
|
1023
|
+
# replicate_shard_collections: false,
|
1008
1024
|
# },
|
1009
1025
|
# kinesis_settings: {
|
1010
1026
|
# stream_arn: "String",
|
@@ -1038,6 +1054,7 @@ module Aws::DatabaseMigrationService
|
|
1038
1054
|
# sasl_password: "SecretString",
|
1039
1055
|
# no_hex_prefix: false,
|
1040
1056
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
1057
|
+
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
1041
1058
|
# },
|
1042
1059
|
# elasticsearch_settings: {
|
1043
1060
|
# service_access_role_arn: "String", # required
|
@@ -1109,6 +1126,8 @@ module Aws::DatabaseMigrationService
|
|
1109
1126
|
# secrets_manager_secret_id: "String",
|
1110
1127
|
# trim_space_in_char: false,
|
1111
1128
|
# map_boolean_as_boolean: false,
|
1129
|
+
# map_jsonb_as_clob: false,
|
1130
|
+
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
1112
1131
|
# },
|
1113
1132
|
# my_sql_settings: {
|
1114
1133
|
# after_connect_script: "String",
|
@@ -1169,6 +1188,7 @@ module Aws::DatabaseMigrationService
|
|
1169
1188
|
# secrets_manager_oracle_asm_secret_id: "String",
|
1170
1189
|
# trim_space_in_char: false,
|
1171
1190
|
# convert_timestamp_with_zone_to_utc: false,
|
1191
|
+
# open_transaction_window: 1,
|
1172
1192
|
# },
|
1173
1193
|
# sybase_settings: {
|
1174
1194
|
# database_name: "String",
|
@@ -1223,6 +1243,8 @@ module Aws::DatabaseMigrationService
|
|
1223
1243
|
# kms_key_id: "String",
|
1224
1244
|
# secrets_manager_access_role_arn: "String",
|
1225
1245
|
# secrets_manager_secret_id: "String",
|
1246
|
+
# use_update_look_up: false,
|
1247
|
+
# replicate_shard_collections: false,
|
1226
1248
|
# },
|
1227
1249
|
# redis_settings: {
|
1228
1250
|
# server_name: "String", # required
|
@@ -1249,6 +1271,13 @@ module Aws::DatabaseMigrationService
|
|
1249
1271
|
# secrets_manager_access_role_arn: "String",
|
1250
1272
|
# secrets_manager_secret_id: "String",
|
1251
1273
|
# },
|
1274
|
+
# timestream_settings: {
|
1275
|
+
# database_name: "String", # required
|
1276
|
+
# memory_duration: 1, # required
|
1277
|
+
# magnetic_duration: 1, # required
|
1278
|
+
# cdc_inserts_and_updates: false,
|
1279
|
+
# enable_magnetic_store_writes: false,
|
1280
|
+
# },
|
1252
1281
|
# })
|
1253
1282
|
#
|
1254
1283
|
# @example Response structure
|
@@ -1328,6 +1357,8 @@ module Aws::DatabaseMigrationService
|
|
1328
1357
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
1329
1358
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
1330
1359
|
# resp.endpoint.mongo_db_settings.secrets_manager_secret_id #=> String
|
1360
|
+
# resp.endpoint.mongo_db_settings.use_update_look_up #=> Boolean
|
1361
|
+
# resp.endpoint.mongo_db_settings.replicate_shard_collections #=> Boolean
|
1331
1362
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
1332
1363
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
1333
1364
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -1357,6 +1388,7 @@ module Aws::DatabaseMigrationService
|
|
1357
1388
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
1358
1389
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
1359
1390
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
1391
|
+
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
1360
1392
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
1361
1393
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
1362
1394
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -1420,6 +1452,8 @@ module Aws::DatabaseMigrationService
|
|
1420
1452
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
1421
1453
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
1422
1454
|
# resp.endpoint.postgre_sql_settings.map_boolean_as_boolean #=> Boolean
|
1455
|
+
# resp.endpoint.postgre_sql_settings.map_jsonb_as_clob #=> Boolean
|
1456
|
+
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
1423
1457
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
1424
1458
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
1425
1459
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -1477,6 +1511,7 @@ module Aws::DatabaseMigrationService
|
|
1477
1511
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
1478
1512
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
1479
1513
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
1514
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
1480
1515
|
# resp.endpoint.sybase_settings.database_name #=> String
|
1481
1516
|
# resp.endpoint.sybase_settings.password #=> String
|
1482
1517
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -1522,6 +1557,8 @@ module Aws::DatabaseMigrationService
|
|
1522
1557
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
1523
1558
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
1524
1559
|
# resp.endpoint.doc_db_settings.secrets_manager_secret_id #=> String
|
1560
|
+
# resp.endpoint.doc_db_settings.use_update_look_up #=> Boolean
|
1561
|
+
# resp.endpoint.doc_db_settings.replicate_shard_collections #=> Boolean
|
1525
1562
|
# resp.endpoint.redis_settings.server_name #=> String
|
1526
1563
|
# resp.endpoint.redis_settings.port #=> Integer
|
1527
1564
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -1543,6 +1580,11 @@ module Aws::DatabaseMigrationService
|
|
1543
1580
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
1544
1581
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
1545
1582
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_secret_id #=> String
|
1583
|
+
# resp.endpoint.timestream_settings.database_name #=> String
|
1584
|
+
# resp.endpoint.timestream_settings.memory_duration #=> Integer
|
1585
|
+
# resp.endpoint.timestream_settings.magnetic_duration #=> Integer
|
1586
|
+
# resp.endpoint.timestream_settings.cdc_inserts_and_updates #=> Boolean
|
1587
|
+
# resp.endpoint.timestream_settings.enable_magnetic_store_writes #=> Boolean
|
1546
1588
|
#
|
1547
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation
|
1548
1590
|
#
|
@@ -1714,6 +1756,158 @@ module Aws::DatabaseMigrationService
|
|
1714
1756
|
req.send_request(options)
|
1715
1757
|
end
|
1716
1758
|
|
1759
|
+
# Creates a configuration that you can later provide to configure and
|
1760
|
+
# start an DMS Serverless replication. You can also provide options to
|
1761
|
+
# validate the configuration inputs before you start the replication.
|
1762
|
+
#
|
1763
|
+
# @option params [required, String] :replication_config_identifier
|
1764
|
+
# A unique identifier that you want to use to create a
|
1765
|
+
# `ReplicationConfigArn` that is returned as part of the output from
|
1766
|
+
# this action. You can then pass this output `ReplicationConfigArn` as
|
1767
|
+
# the value of the `ReplicationConfigArn` option for other actions to
|
1768
|
+
# identify both DMS Serverless replications and replication
|
1769
|
+
# configurations that you want those actions to operate on. For some
|
1770
|
+
# actions, you can also use either this unique identifier or a
|
1771
|
+
# corresponding ARN in action filters to identify the specific
|
1772
|
+
# replication and replication configuration to operate on.
|
1773
|
+
#
|
1774
|
+
# @option params [required, String] :source_endpoint_arn
|
1775
|
+
# The Amazon Resource Name (ARN) of the source endpoint for this DMS
|
1776
|
+
# Serverless replication configuration.
|
1777
|
+
#
|
1778
|
+
# @option params [required, String] :target_endpoint_arn
|
1779
|
+
# The Amazon Resource Name (ARN) of the target endpoint for this DMS
|
1780
|
+
# serverless replication configuration.
|
1781
|
+
#
|
1782
|
+
# @option params [required, Types::ComputeConfig] :compute_config
|
1783
|
+
# Configuration parameters for provisioning an DMS Serverless
|
1784
|
+
# replication.
|
1785
|
+
#
|
1786
|
+
# @option params [required, String] :replication_type
|
1787
|
+
# The type of DMS Serverless replication to provision using this
|
1788
|
+
# replication configuration.
|
1789
|
+
#
|
1790
|
+
# Possible values:
|
1791
|
+
#
|
1792
|
+
# * `"full-load"`
|
1793
|
+
#
|
1794
|
+
# * `"cdc"`
|
1795
|
+
#
|
1796
|
+
# * `"full-load-and-cdc"`
|
1797
|
+
#
|
1798
|
+
# @option params [required, String] :table_mappings
|
1799
|
+
# JSON table mappings for DMS Serverless replications that are
|
1800
|
+
# provisioned using this replication configuration. For more
|
1801
|
+
# information, see [ Specifying table selection and transformations
|
1802
|
+
# rules using JSON][1].
|
1803
|
+
#
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.html
|
1807
|
+
#
|
1808
|
+
# @option params [String] :replication_settings
|
1809
|
+
# Optional JSON settings for DMS Serverless replications that are
|
1810
|
+
# provisioned using this replication configuration. For example, see [
|
1811
|
+
# Change processing tuning settings][1].
|
1812
|
+
#
|
1813
|
+
#
|
1814
|
+
#
|
1815
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html
|
1816
|
+
#
|
1817
|
+
# @option params [String] :supplemental_settings
|
1818
|
+
# Optional JSON settings for specifying supplemental data. For more
|
1819
|
+
# information, see [ Specifying supplemental data for task settings][1].
|
1820
|
+
#
|
1821
|
+
#
|
1822
|
+
#
|
1823
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html
|
1824
|
+
#
|
1825
|
+
# @option params [String] :resource_identifier
|
1826
|
+
# Optional unique value or name that you set for a given resource that
|
1827
|
+
# can be used to construct an Amazon Resource Name (ARN) for that
|
1828
|
+
# resource. For more information, see [ Fine-grained access control
|
1829
|
+
# using resource names and tags][1].
|
1830
|
+
#
|
1831
|
+
#
|
1832
|
+
#
|
1833
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess
|
1834
|
+
#
|
1835
|
+
# @option params [Array<Types::Tag>] :tags
|
1836
|
+
# One or more optional tags associated with resources used by the DMS
|
1837
|
+
# Serverless replication. For more information, see [ Tagging resources
|
1838
|
+
# in Database Migration Service][1].
|
1839
|
+
#
|
1840
|
+
#
|
1841
|
+
#
|
1842
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tagging.html
|
1843
|
+
#
|
1844
|
+
# @return [Types::CreateReplicationConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1845
|
+
#
|
1846
|
+
# * {Types::CreateReplicationConfigResponse#replication_config #replication_config} => Types::ReplicationConfig
|
1847
|
+
#
|
1848
|
+
# @example Request syntax with placeholder values
|
1849
|
+
#
|
1850
|
+
# resp = client.create_replication_config({
|
1851
|
+
# replication_config_identifier: "String", # required
|
1852
|
+
# source_endpoint_arn: "String", # required
|
1853
|
+
# target_endpoint_arn: "String", # required
|
1854
|
+
# compute_config: { # required
|
1855
|
+
# availability_zone: "String",
|
1856
|
+
# dns_name_servers: "String",
|
1857
|
+
# kms_key_id: "String",
|
1858
|
+
# max_capacity_units: 1,
|
1859
|
+
# min_capacity_units: 1,
|
1860
|
+
# multi_az: false,
|
1861
|
+
# preferred_maintenance_window: "String",
|
1862
|
+
# replication_subnet_group_id: "String",
|
1863
|
+
# vpc_security_group_ids: ["String"],
|
1864
|
+
# },
|
1865
|
+
# replication_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc
|
1866
|
+
# table_mappings: "String", # required
|
1867
|
+
# replication_settings: "String",
|
1868
|
+
# supplemental_settings: "String",
|
1869
|
+
# resource_identifier: "String",
|
1870
|
+
# tags: [
|
1871
|
+
# {
|
1872
|
+
# key: "String",
|
1873
|
+
# value: "String",
|
1874
|
+
# resource_arn: "String",
|
1875
|
+
# },
|
1876
|
+
# ],
|
1877
|
+
# })
|
1878
|
+
#
|
1879
|
+
# @example Response structure
|
1880
|
+
#
|
1881
|
+
# resp.replication_config.replication_config_identifier #=> String
|
1882
|
+
# resp.replication_config.replication_config_arn #=> String
|
1883
|
+
# resp.replication_config.source_endpoint_arn #=> String
|
1884
|
+
# resp.replication_config.target_endpoint_arn #=> String
|
1885
|
+
# resp.replication_config.replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
1886
|
+
# resp.replication_config.compute_config.availability_zone #=> String
|
1887
|
+
# resp.replication_config.compute_config.dns_name_servers #=> String
|
1888
|
+
# resp.replication_config.compute_config.kms_key_id #=> String
|
1889
|
+
# resp.replication_config.compute_config.max_capacity_units #=> Integer
|
1890
|
+
# resp.replication_config.compute_config.min_capacity_units #=> Integer
|
1891
|
+
# resp.replication_config.compute_config.multi_az #=> Boolean
|
1892
|
+
# resp.replication_config.compute_config.preferred_maintenance_window #=> String
|
1893
|
+
# resp.replication_config.compute_config.replication_subnet_group_id #=> String
|
1894
|
+
# resp.replication_config.compute_config.vpc_security_group_ids #=> Array
|
1895
|
+
# resp.replication_config.compute_config.vpc_security_group_ids[0] #=> String
|
1896
|
+
# resp.replication_config.replication_settings #=> String
|
1897
|
+
# resp.replication_config.supplemental_settings #=> String
|
1898
|
+
# resp.replication_config.table_mappings #=> String
|
1899
|
+
# resp.replication_config.replication_config_create_time #=> Time
|
1900
|
+
# resp.replication_config.replication_config_update_time #=> Time
|
1901
|
+
#
|
1902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationConfig AWS API Documentation
|
1903
|
+
#
|
1904
|
+
# @overload create_replication_config(params = {})
|
1905
|
+
# @param [Hash] params ({})
|
1906
|
+
def create_replication_config(params = {}, options = {})
|
1907
|
+
req = build_request(:create_replication_config, params)
|
1908
|
+
req.send_request(options)
|
1909
|
+
end
|
1910
|
+
|
1717
1911
|
# Creates the replication instance using the specified parameters.
|
1718
1912
|
#
|
1719
1913
|
# DMS requires that your account have certain roles with appropriate
|
@@ -1752,12 +1946,14 @@ module Aws::DatabaseMigrationService
|
|
1752
1946
|
# `"dms.c4.large"`.
|
1753
1947
|
#
|
1754
1948
|
# For more information on the settings and capacities for the available
|
1755
|
-
# replication instance classes, see [
|
1756
|
-
#
|
1949
|
+
# replication instance classes, see [ Choosing the right DMS replication
|
1950
|
+
# instance][1]; and, [Selecting the best size for a replication
|
1951
|
+
# instance][2].
|
1757
1952
|
#
|
1758
1953
|
#
|
1759
1954
|
#
|
1760
|
-
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html
|
1955
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.Types.html
|
1956
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_BestPractices.SizingReplicationInstance.html
|
1761
1957
|
#
|
1762
1958
|
# @option params [Array<String>] :vpc_security_group_ids
|
1763
1959
|
# Specifies the VPC security group to be used with the replication
|
@@ -1767,7 +1963,7 @@ module Aws::DatabaseMigrationService
|
|
1767
1963
|
# @option params [String] :availability_zone
|
1768
1964
|
# The Availability Zone where the replication instance will be created.
|
1769
1965
|
# The default value is a random, system-chosen Availability Zone in the
|
1770
|
-
# endpoint's Amazon Web Services Region, for example: `us-east-1d
|
1966
|
+
# endpoint's Amazon Web Services Region, for example: `us-east-1d`.
|
1771
1967
|
#
|
1772
1968
|
# @option params [String] :replication_subnet_group_identifier
|
1773
1969
|
# A subnet group to associate with the replication instance.
|
@@ -2033,6 +2229,18 @@ module Aws::DatabaseMigrationService
|
|
2033
2229
|
# zones in the Amazon Web Services Region, otherwise the service will
|
2034
2230
|
# throw a `ReplicationSubnetGroupDoesNotCoverEnoughAZs` exception.
|
2035
2231
|
#
|
2232
|
+
# If a replication subnet group exists in your Amazon Web Services
|
2233
|
+
# account, the CreateReplicationSubnetGroup action returns the following
|
2234
|
+
# error message: The Replication Subnet Group already exists. In this
|
2235
|
+
# case, delete the existing replication subnet group. To do so, use the
|
2236
|
+
# [DeleteReplicationSubnetGroup][1] action. Optionally, choose Subnet
|
2237
|
+
# groups in the DMS console, then choose your subnet group. Next, choose
|
2238
|
+
# Delete from Actions.
|
2239
|
+
#
|
2240
|
+
#
|
2241
|
+
#
|
2242
|
+
# [1]: https://docs.aws.amazon.com/en_us/dms/latest/APIReference/API_DeleteReplicationSubnetGroup.html
|
2243
|
+
#
|
2036
2244
|
# @option params [required, String] :replication_subnet_group_identifier
|
2037
2245
|
# The name for the replication subnet group. This value is stored as a
|
2038
2246
|
# lowercase string.
|
@@ -2570,6 +2778,8 @@ module Aws::DatabaseMigrationService
|
|
2570
2778
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
2571
2779
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
2572
2780
|
# resp.endpoint.mongo_db_settings.secrets_manager_secret_id #=> String
|
2781
|
+
# resp.endpoint.mongo_db_settings.use_update_look_up #=> Boolean
|
2782
|
+
# resp.endpoint.mongo_db_settings.replicate_shard_collections #=> Boolean
|
2573
2783
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
2574
2784
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
2575
2785
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -2599,6 +2809,7 @@ module Aws::DatabaseMigrationService
|
|
2599
2809
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
2600
2810
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
2601
2811
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
2812
|
+
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
2602
2813
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
2603
2814
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
2604
2815
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -2662,6 +2873,8 @@ module Aws::DatabaseMigrationService
|
|
2662
2873
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
2663
2874
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
2664
2875
|
# resp.endpoint.postgre_sql_settings.map_boolean_as_boolean #=> Boolean
|
2876
|
+
# resp.endpoint.postgre_sql_settings.map_jsonb_as_clob #=> Boolean
|
2877
|
+
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
2665
2878
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
2666
2879
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
2667
2880
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -2719,6 +2932,7 @@ module Aws::DatabaseMigrationService
|
|
2719
2932
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
2720
2933
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
2721
2934
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
2935
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
2722
2936
|
# resp.endpoint.sybase_settings.database_name #=> String
|
2723
2937
|
# resp.endpoint.sybase_settings.password #=> String
|
2724
2938
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -2764,6 +2978,8 @@ module Aws::DatabaseMigrationService
|
|
2764
2978
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
2765
2979
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
2766
2980
|
# resp.endpoint.doc_db_settings.secrets_manager_secret_id #=> String
|
2981
|
+
# resp.endpoint.doc_db_settings.use_update_look_up #=> Boolean
|
2982
|
+
# resp.endpoint.doc_db_settings.replicate_shard_collections #=> Boolean
|
2767
2983
|
# resp.endpoint.redis_settings.server_name #=> String
|
2768
2984
|
# resp.endpoint.redis_settings.port #=> Integer
|
2769
2985
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -2785,6 +3001,11 @@ module Aws::DatabaseMigrationService
|
|
2785
3001
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
2786
3002
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
2787
3003
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_secret_id #=> String
|
3004
|
+
# resp.endpoint.timestream_settings.database_name #=> String
|
3005
|
+
# resp.endpoint.timestream_settings.memory_duration #=> Integer
|
3006
|
+
# resp.endpoint.timestream_settings.magnetic_duration #=> Integer
|
3007
|
+
# resp.endpoint.timestream_settings.cdc_inserts_and_updates #=> Boolean
|
3008
|
+
# resp.endpoint.timestream_settings.enable_magnetic_store_writes #=> Boolean
|
2788
3009
|
#
|
2789
3010
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation
|
2790
3011
|
#
|
@@ -2884,6 +3105,57 @@ module Aws::DatabaseMigrationService
|
|
2884
3105
|
req.send_request(options)
|
2885
3106
|
end
|
2886
3107
|
|
3108
|
+
# Deletes an DMS Serverless replication configuration. This effectively
|
3109
|
+
# deprovisions any and all replications that use this configuration. You
|
3110
|
+
# can't delete the configuration for an DMS Serverless replication that
|
3111
|
+
# is ongoing. You can delete the configuration when the replication is
|
3112
|
+
# in a non-RUNNING and non-STARTING state.
|
3113
|
+
#
|
3114
|
+
# @option params [required, String] :replication_config_arn
|
3115
|
+
# The replication config to delete.
|
3116
|
+
#
|
3117
|
+
# @return [Types::DeleteReplicationConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3118
|
+
#
|
3119
|
+
# * {Types::DeleteReplicationConfigResponse#replication_config #replication_config} => Types::ReplicationConfig
|
3120
|
+
#
|
3121
|
+
# @example Request syntax with placeholder values
|
3122
|
+
#
|
3123
|
+
# resp = client.delete_replication_config({
|
3124
|
+
# replication_config_arn: "String", # required
|
3125
|
+
# })
|
3126
|
+
#
|
3127
|
+
# @example Response structure
|
3128
|
+
#
|
3129
|
+
# resp.replication_config.replication_config_identifier #=> String
|
3130
|
+
# resp.replication_config.replication_config_arn #=> String
|
3131
|
+
# resp.replication_config.source_endpoint_arn #=> String
|
3132
|
+
# resp.replication_config.target_endpoint_arn #=> String
|
3133
|
+
# resp.replication_config.replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
3134
|
+
# resp.replication_config.compute_config.availability_zone #=> String
|
3135
|
+
# resp.replication_config.compute_config.dns_name_servers #=> String
|
3136
|
+
# resp.replication_config.compute_config.kms_key_id #=> String
|
3137
|
+
# resp.replication_config.compute_config.max_capacity_units #=> Integer
|
3138
|
+
# resp.replication_config.compute_config.min_capacity_units #=> Integer
|
3139
|
+
# resp.replication_config.compute_config.multi_az #=> Boolean
|
3140
|
+
# resp.replication_config.compute_config.preferred_maintenance_window #=> String
|
3141
|
+
# resp.replication_config.compute_config.replication_subnet_group_id #=> String
|
3142
|
+
# resp.replication_config.compute_config.vpc_security_group_ids #=> Array
|
3143
|
+
# resp.replication_config.compute_config.vpc_security_group_ids[0] #=> String
|
3144
|
+
# resp.replication_config.replication_settings #=> String
|
3145
|
+
# resp.replication_config.supplemental_settings #=> String
|
3146
|
+
# resp.replication_config.table_mappings #=> String
|
3147
|
+
# resp.replication_config.replication_config_create_time #=> Time
|
3148
|
+
# resp.replication_config.replication_config_update_time #=> Time
|
3149
|
+
#
|
3150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationConfig AWS API Documentation
|
3151
|
+
#
|
3152
|
+
# @overload delete_replication_config(params = {})
|
3153
|
+
# @param [Hash] params ({})
|
3154
|
+
def delete_replication_config(params = {}, options = {})
|
3155
|
+
req = build_request(:delete_replication_config, params)
|
3156
|
+
req.send_request(options)
|
3157
|
+
end
|
3158
|
+
|
2887
3159
|
# Deletes the specified replication instance.
|
2888
3160
|
#
|
2889
3161
|
# <note markdown="1"> You must delete any migration tasks that are associated with the
|
@@ -3534,7 +3806,7 @@ module Aws::DatabaseMigrationService
|
|
3534
3806
|
# when you create an endpoint for a specific database engine.
|
3535
3807
|
#
|
3536
3808
|
# @option params [required, String] :engine_name
|
3537
|
-
# The
|
3809
|
+
# The database engine used for your source or target endpoint.
|
3538
3810
|
#
|
3539
3811
|
# @option params [Integer] :max_records
|
3540
3812
|
# The maximum number of records to include in the response. If more
|
@@ -3822,6 +4094,8 @@ module Aws::DatabaseMigrationService
|
|
3822
4094
|
# resp.endpoints[0].mongo_db_settings.kms_key_id #=> String
|
3823
4095
|
# resp.endpoints[0].mongo_db_settings.secrets_manager_access_role_arn #=> String
|
3824
4096
|
# resp.endpoints[0].mongo_db_settings.secrets_manager_secret_id #=> String
|
4097
|
+
# resp.endpoints[0].mongo_db_settings.use_update_look_up #=> Boolean
|
4098
|
+
# resp.endpoints[0].mongo_db_settings.replicate_shard_collections #=> Boolean
|
3825
4099
|
# resp.endpoints[0].kinesis_settings.stream_arn #=> String
|
3826
4100
|
# resp.endpoints[0].kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
3827
4101
|
# resp.endpoints[0].kinesis_settings.service_access_role_arn #=> String
|
@@ -3851,6 +4125,7 @@ module Aws::DatabaseMigrationService
|
|
3851
4125
|
# resp.endpoints[0].kafka_settings.sasl_password #=> String
|
3852
4126
|
# resp.endpoints[0].kafka_settings.no_hex_prefix #=> Boolean
|
3853
4127
|
# resp.endpoints[0].kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
4128
|
+
# resp.endpoints[0].kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
3854
4129
|
# resp.endpoints[0].elasticsearch_settings.service_access_role_arn #=> String
|
3855
4130
|
# resp.endpoints[0].elasticsearch_settings.endpoint_uri #=> String
|
3856
4131
|
# resp.endpoints[0].elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -3914,6 +4189,8 @@ module Aws::DatabaseMigrationService
|
|
3914
4189
|
# resp.endpoints[0].postgre_sql_settings.secrets_manager_secret_id #=> String
|
3915
4190
|
# resp.endpoints[0].postgre_sql_settings.trim_space_in_char #=> Boolean
|
3916
4191
|
# resp.endpoints[0].postgre_sql_settings.map_boolean_as_boolean #=> Boolean
|
4192
|
+
# resp.endpoints[0].postgre_sql_settings.map_jsonb_as_clob #=> Boolean
|
4193
|
+
# resp.endpoints[0].postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
3917
4194
|
# resp.endpoints[0].my_sql_settings.after_connect_script #=> String
|
3918
4195
|
# resp.endpoints[0].my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
3919
4196
|
# resp.endpoints[0].my_sql_settings.database_name #=> String
|
@@ -3971,6 +4248,7 @@ module Aws::DatabaseMigrationService
|
|
3971
4248
|
# resp.endpoints[0].oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
3972
4249
|
# resp.endpoints[0].oracle_settings.trim_space_in_char #=> Boolean
|
3973
4250
|
# resp.endpoints[0].oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
4251
|
+
# resp.endpoints[0].oracle_settings.open_transaction_window #=> Integer
|
3974
4252
|
# resp.endpoints[0].sybase_settings.database_name #=> String
|
3975
4253
|
# resp.endpoints[0].sybase_settings.password #=> String
|
3976
4254
|
# resp.endpoints[0].sybase_settings.port #=> Integer
|
@@ -4016,6 +4294,8 @@ module Aws::DatabaseMigrationService
|
|
4016
4294
|
# resp.endpoints[0].doc_db_settings.kms_key_id #=> String
|
4017
4295
|
# resp.endpoints[0].doc_db_settings.secrets_manager_access_role_arn #=> String
|
4018
4296
|
# resp.endpoints[0].doc_db_settings.secrets_manager_secret_id #=> String
|
4297
|
+
# resp.endpoints[0].doc_db_settings.use_update_look_up #=> Boolean
|
4298
|
+
# resp.endpoints[0].doc_db_settings.replicate_shard_collections #=> Boolean
|
4019
4299
|
# resp.endpoints[0].redis_settings.server_name #=> String
|
4020
4300
|
# resp.endpoints[0].redis_settings.port #=> Integer
|
4021
4301
|
# resp.endpoints[0].redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -4037,6 +4317,11 @@ module Aws::DatabaseMigrationService
|
|
4037
4317
|
# resp.endpoints[0].gcp_my_sql_settings.username #=> String
|
4038
4318
|
# resp.endpoints[0].gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
4039
4319
|
# resp.endpoints[0].gcp_my_sql_settings.secrets_manager_secret_id #=> String
|
4320
|
+
# resp.endpoints[0].timestream_settings.database_name #=> String
|
4321
|
+
# resp.endpoints[0].timestream_settings.memory_duration #=> Integer
|
4322
|
+
# resp.endpoints[0].timestream_settings.magnetic_duration #=> Integer
|
4323
|
+
# resp.endpoints[0].timestream_settings.cdc_inserts_and_updates #=> Boolean
|
4324
|
+
# resp.endpoints[0].timestream_settings.enable_magnetic_store_writes #=> Boolean
|
4040
4325
|
#
|
4041
4326
|
#
|
4042
4327
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -4888,6 +5173,7 @@ module Aws::DatabaseMigrationService
|
|
4888
5173
|
# resp.recommendations[0].data.rds_engine.requirements_to_target.storage_size #=> Integer
|
4889
5174
|
# resp.recommendations[0].data.rds_engine.requirements_to_target.storage_iops #=> Integer
|
4890
5175
|
# resp.recommendations[0].data.rds_engine.requirements_to_target.deployment_option #=> String
|
5176
|
+
# resp.recommendations[0].data.rds_engine.requirements_to_target.engine_version #=> String
|
4891
5177
|
# resp.recommendations[0].data.rds_engine.target_configuration.engine_edition #=> String
|
4892
5178
|
# resp.recommendations[0].data.rds_engine.target_configuration.instance_type #=> String
|
4893
5179
|
# resp.recommendations[0].data.rds_engine.target_configuration.instance_vcpu #=> Float
|
@@ -4896,6 +5182,7 @@ module Aws::DatabaseMigrationService
|
|
4896
5182
|
# resp.recommendations[0].data.rds_engine.target_configuration.storage_size #=> Integer
|
4897
5183
|
# resp.recommendations[0].data.rds_engine.target_configuration.storage_iops #=> Integer
|
4898
5184
|
# resp.recommendations[0].data.rds_engine.target_configuration.deployment_option #=> String
|
5185
|
+
# resp.recommendations[0].data.rds_engine.target_configuration.engine_version #=> String
|
4899
5186
|
#
|
4900
5187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRecommendations AWS API Documentation
|
4901
5188
|
#
|
@@ -4954,6 +5241,77 @@ module Aws::DatabaseMigrationService
|
|
4954
5241
|
req.send_request(options)
|
4955
5242
|
end
|
4956
5243
|
|
5244
|
+
# Returns one or more existing DMS Serverless replication configurations
|
5245
|
+
# as a list of structures.
|
5246
|
+
#
|
5247
|
+
# @option params [Array<Types::Filter>] :filters
|
5248
|
+
# Filters applied to the replication configs.
|
5249
|
+
#
|
5250
|
+
# @option params [Integer] :max_records
|
5251
|
+
# The maximum number of records to include in the response. If more
|
5252
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
5253
|
+
# token called a marker is included in the response so that the
|
5254
|
+
# remaining results can be retrieved.
|
5255
|
+
#
|
5256
|
+
# @option params [String] :marker
|
5257
|
+
# An optional pagination token provided by a previous request. If this
|
5258
|
+
# parameter is specified, the response includes only records beyond the
|
5259
|
+
# marker, up to the value specified by `MaxRecords`.
|
5260
|
+
#
|
5261
|
+
# @return [Types::DescribeReplicationConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5262
|
+
#
|
5263
|
+
# * {Types::DescribeReplicationConfigsResponse#marker #marker} => String
|
5264
|
+
# * {Types::DescribeReplicationConfigsResponse#replication_configs #replication_configs} => Array<Types::ReplicationConfig>
|
5265
|
+
#
|
5266
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5267
|
+
#
|
5268
|
+
# @example Request syntax with placeholder values
|
5269
|
+
#
|
5270
|
+
# resp = client.describe_replication_configs({
|
5271
|
+
# filters: [
|
5272
|
+
# {
|
5273
|
+
# name: "String", # required
|
5274
|
+
# values: ["String"], # required
|
5275
|
+
# },
|
5276
|
+
# ],
|
5277
|
+
# max_records: 1,
|
5278
|
+
# marker: "String",
|
5279
|
+
# })
|
5280
|
+
#
|
5281
|
+
# @example Response structure
|
5282
|
+
#
|
5283
|
+
# resp.marker #=> String
|
5284
|
+
# resp.replication_configs #=> Array
|
5285
|
+
# resp.replication_configs[0].replication_config_identifier #=> String
|
5286
|
+
# resp.replication_configs[0].replication_config_arn #=> String
|
5287
|
+
# resp.replication_configs[0].source_endpoint_arn #=> String
|
5288
|
+
# resp.replication_configs[0].target_endpoint_arn #=> String
|
5289
|
+
# resp.replication_configs[0].replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
5290
|
+
# resp.replication_configs[0].compute_config.availability_zone #=> String
|
5291
|
+
# resp.replication_configs[0].compute_config.dns_name_servers #=> String
|
5292
|
+
# resp.replication_configs[0].compute_config.kms_key_id #=> String
|
5293
|
+
# resp.replication_configs[0].compute_config.max_capacity_units #=> Integer
|
5294
|
+
# resp.replication_configs[0].compute_config.min_capacity_units #=> Integer
|
5295
|
+
# resp.replication_configs[0].compute_config.multi_az #=> Boolean
|
5296
|
+
# resp.replication_configs[0].compute_config.preferred_maintenance_window #=> String
|
5297
|
+
# resp.replication_configs[0].compute_config.replication_subnet_group_id #=> String
|
5298
|
+
# resp.replication_configs[0].compute_config.vpc_security_group_ids #=> Array
|
5299
|
+
# resp.replication_configs[0].compute_config.vpc_security_group_ids[0] #=> String
|
5300
|
+
# resp.replication_configs[0].replication_settings #=> String
|
5301
|
+
# resp.replication_configs[0].supplemental_settings #=> String
|
5302
|
+
# resp.replication_configs[0].table_mappings #=> String
|
5303
|
+
# resp.replication_configs[0].replication_config_create_time #=> Time
|
5304
|
+
# resp.replication_configs[0].replication_config_update_time #=> Time
|
5305
|
+
#
|
5306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationConfigs AWS API Documentation
|
5307
|
+
#
|
5308
|
+
# @overload describe_replication_configs(params = {})
|
5309
|
+
# @param [Hash] params ({})
|
5310
|
+
def describe_replication_configs(params = {}, options = {})
|
5311
|
+
req = build_request(:describe_replication_configs, params)
|
5312
|
+
req.send_request(options)
|
5313
|
+
end
|
5314
|
+
|
4957
5315
|
# Returns information about the task logs for the specified task.
|
4958
5316
|
#
|
4959
5317
|
# @option params [required, String] :replication_instance_arn
|
@@ -5234,6 +5592,87 @@ module Aws::DatabaseMigrationService
|
|
5234
5592
|
req.send_request(options)
|
5235
5593
|
end
|
5236
5594
|
|
5595
|
+
# Returns table and schema statistics for one or more provisioned
|
5596
|
+
# replications that use a given DMS Serverless replication
|
5597
|
+
# configuration.
|
5598
|
+
#
|
5599
|
+
# @option params [required, String] :replication_config_arn
|
5600
|
+
# The replication config to describe.
|
5601
|
+
#
|
5602
|
+
# @option params [Integer] :max_records
|
5603
|
+
# The maximum number of records to include in the response. If more
|
5604
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
5605
|
+
# token called a marker is included in the response so that the
|
5606
|
+
# remaining results can be retrieved.
|
5607
|
+
#
|
5608
|
+
# @option params [String] :marker
|
5609
|
+
# An optional pagination token provided by a previous request. If this
|
5610
|
+
# parameter is specified, the response includes only records beyond the
|
5611
|
+
# marker, up to the value specified by `MaxRecords`.
|
5612
|
+
#
|
5613
|
+
# @option params [Array<Types::Filter>] :filters
|
5614
|
+
# Filters applied to the replication table statistics.
|
5615
|
+
#
|
5616
|
+
# @return [Types::DescribeReplicationTableStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5617
|
+
#
|
5618
|
+
# * {Types::DescribeReplicationTableStatisticsResponse#replication_config_arn #replication_config_arn} => String
|
5619
|
+
# * {Types::DescribeReplicationTableStatisticsResponse#marker #marker} => String
|
5620
|
+
# * {Types::DescribeReplicationTableStatisticsResponse#replication_table_statistics #replication_table_statistics} => Array<Types::TableStatistics>
|
5621
|
+
#
|
5622
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5623
|
+
#
|
5624
|
+
# @example Request syntax with placeholder values
|
5625
|
+
#
|
5626
|
+
# resp = client.describe_replication_table_statistics({
|
5627
|
+
# replication_config_arn: "String", # required
|
5628
|
+
# max_records: 1,
|
5629
|
+
# marker: "String",
|
5630
|
+
# filters: [
|
5631
|
+
# {
|
5632
|
+
# name: "String", # required
|
5633
|
+
# values: ["String"], # required
|
5634
|
+
# },
|
5635
|
+
# ],
|
5636
|
+
# })
|
5637
|
+
#
|
5638
|
+
# @example Response structure
|
5639
|
+
#
|
5640
|
+
# resp.replication_config_arn #=> String
|
5641
|
+
# resp.marker #=> String
|
5642
|
+
# resp.replication_table_statistics #=> Array
|
5643
|
+
# resp.replication_table_statistics[0].schema_name #=> String
|
5644
|
+
# resp.replication_table_statistics[0].table_name #=> String
|
5645
|
+
# resp.replication_table_statistics[0].inserts #=> Integer
|
5646
|
+
# resp.replication_table_statistics[0].deletes #=> Integer
|
5647
|
+
# resp.replication_table_statistics[0].updates #=> Integer
|
5648
|
+
# resp.replication_table_statistics[0].ddls #=> Integer
|
5649
|
+
# resp.replication_table_statistics[0].applied_inserts #=> Integer
|
5650
|
+
# resp.replication_table_statistics[0].applied_deletes #=> Integer
|
5651
|
+
# resp.replication_table_statistics[0].applied_updates #=> Integer
|
5652
|
+
# resp.replication_table_statistics[0].applied_ddls #=> Integer
|
5653
|
+
# resp.replication_table_statistics[0].full_load_rows #=> Integer
|
5654
|
+
# resp.replication_table_statistics[0].full_load_condtnl_chk_failed_rows #=> Integer
|
5655
|
+
# resp.replication_table_statistics[0].full_load_error_rows #=> Integer
|
5656
|
+
# resp.replication_table_statistics[0].full_load_start_time #=> Time
|
5657
|
+
# resp.replication_table_statistics[0].full_load_end_time #=> Time
|
5658
|
+
# resp.replication_table_statistics[0].full_load_reloaded #=> Boolean
|
5659
|
+
# resp.replication_table_statistics[0].last_update_time #=> Time
|
5660
|
+
# resp.replication_table_statistics[0].table_state #=> String
|
5661
|
+
# resp.replication_table_statistics[0].validation_pending_records #=> Integer
|
5662
|
+
# resp.replication_table_statistics[0].validation_failed_records #=> Integer
|
5663
|
+
# resp.replication_table_statistics[0].validation_suspended_records #=> Integer
|
5664
|
+
# resp.replication_table_statistics[0].validation_state #=> String
|
5665
|
+
# resp.replication_table_statistics[0].validation_state_details #=> String
|
5666
|
+
#
|
5667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTableStatistics AWS API Documentation
|
5668
|
+
#
|
5669
|
+
# @overload describe_replication_table_statistics(params = {})
|
5670
|
+
# @param [Hash] params ({})
|
5671
|
+
def describe_replication_table_statistics(params = {}, options = {})
|
5672
|
+
req = build_request(:describe_replication_table_statistics, params)
|
5673
|
+
req.send_request(options)
|
5674
|
+
end
|
5675
|
+
|
5237
5676
|
# Returns the task assessment results from the Amazon S3 bucket that DMS
|
5238
5677
|
# creates in your Amazon Web Services account. This action always
|
5239
5678
|
# returns the latest results.
|
@@ -5572,6 +6011,91 @@ module Aws::DatabaseMigrationService
|
|
5572
6011
|
req.send_request(options)
|
5573
6012
|
end
|
5574
6013
|
|
6014
|
+
# Provides details on replication progress by returning status
|
6015
|
+
# information for one or more provisioned DMS Serverless replications.
|
6016
|
+
#
|
6017
|
+
# @option params [Array<Types::Filter>] :filters
|
6018
|
+
# Filters applied to the replications.
|
6019
|
+
#
|
6020
|
+
# @option params [Integer] :max_records
|
6021
|
+
# The maximum number of records to include in the response. If more
|
6022
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
6023
|
+
# token called a marker is included in the response so that the
|
6024
|
+
# remaining results can be retrieved.
|
6025
|
+
#
|
6026
|
+
# @option params [String] :marker
|
6027
|
+
# An optional pagination token provided by a previous request. If this
|
6028
|
+
# parameter is specified, the response includes only records beyond the
|
6029
|
+
# marker, up to the value specified by `MaxRecords`.
|
6030
|
+
#
|
6031
|
+
# @return [Types::DescribeReplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6032
|
+
#
|
6033
|
+
# * {Types::DescribeReplicationsResponse#marker #marker} => String
|
6034
|
+
# * {Types::DescribeReplicationsResponse#replications #replications} => Array<Types::Replication>
|
6035
|
+
#
|
6036
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6037
|
+
#
|
6038
|
+
# @example Request syntax with placeholder values
|
6039
|
+
#
|
6040
|
+
# resp = client.describe_replications({
|
6041
|
+
# filters: [
|
6042
|
+
# {
|
6043
|
+
# name: "String", # required
|
6044
|
+
# values: ["String"], # required
|
6045
|
+
# },
|
6046
|
+
# ],
|
6047
|
+
# max_records: 1,
|
6048
|
+
# marker: "String",
|
6049
|
+
# })
|
6050
|
+
#
|
6051
|
+
# @example Response structure
|
6052
|
+
#
|
6053
|
+
# resp.marker #=> String
|
6054
|
+
# resp.replications #=> Array
|
6055
|
+
# resp.replications[0].replication_config_identifier #=> String
|
6056
|
+
# resp.replications[0].replication_config_arn #=> String
|
6057
|
+
# resp.replications[0].source_endpoint_arn #=> String
|
6058
|
+
# resp.replications[0].target_endpoint_arn #=> String
|
6059
|
+
# resp.replications[0].replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
6060
|
+
# resp.replications[0].status #=> String
|
6061
|
+
# resp.replications[0].provision_data.provision_state #=> String
|
6062
|
+
# resp.replications[0].provision_data.provisioned_capacity_units #=> Integer
|
6063
|
+
# resp.replications[0].provision_data.date_provisioned #=> Time
|
6064
|
+
# resp.replications[0].provision_data.is_new_provisioning_available #=> Boolean
|
6065
|
+
# resp.replications[0].provision_data.date_new_provisioning_data_available #=> Time
|
6066
|
+
# resp.replications[0].provision_data.reason_for_new_provisioning_data #=> String
|
6067
|
+
# resp.replications[0].stop_reason #=> String
|
6068
|
+
# resp.replications[0].failure_messages #=> Array
|
6069
|
+
# resp.replications[0].failure_messages[0] #=> String
|
6070
|
+
# resp.replications[0].replication_stats.full_load_progress_percent #=> Integer
|
6071
|
+
# resp.replications[0].replication_stats.elapsed_time_millis #=> Integer
|
6072
|
+
# resp.replications[0].replication_stats.tables_loaded #=> Integer
|
6073
|
+
# resp.replications[0].replication_stats.tables_loading #=> Integer
|
6074
|
+
# resp.replications[0].replication_stats.tables_queued #=> Integer
|
6075
|
+
# resp.replications[0].replication_stats.tables_errored #=> Integer
|
6076
|
+
# resp.replications[0].replication_stats.fresh_start_date #=> Time
|
6077
|
+
# resp.replications[0].replication_stats.start_date #=> Time
|
6078
|
+
# resp.replications[0].replication_stats.stop_date #=> Time
|
6079
|
+
# resp.replications[0].replication_stats.full_load_start_date #=> Time
|
6080
|
+
# resp.replications[0].replication_stats.full_load_finish_date #=> Time
|
6081
|
+
# resp.replications[0].start_replication_type #=> String
|
6082
|
+
# resp.replications[0].cdc_start_time #=> Time
|
6083
|
+
# resp.replications[0].cdc_start_position #=> String
|
6084
|
+
# resp.replications[0].cdc_stop_position #=> String
|
6085
|
+
# resp.replications[0].recovery_checkpoint #=> String
|
6086
|
+
# resp.replications[0].replication_create_time #=> Time
|
6087
|
+
# resp.replications[0].replication_update_time #=> Time
|
6088
|
+
# resp.replications[0].replication_last_stop_time #=> Time
|
6089
|
+
#
|
6090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplications AWS API Documentation
|
6091
|
+
#
|
6092
|
+
# @overload describe_replications(params = {})
|
6093
|
+
# @param [Hash] params ({})
|
6094
|
+
def describe_replications(params = {}, options = {})
|
6095
|
+
req = build_request(:describe_replications, params)
|
6096
|
+
req.send_request(options)
|
6097
|
+
end
|
6098
|
+
|
5575
6099
|
# Returns information about the schema for the specified endpoint.
|
5576
6100
|
#
|
5577
6101
|
# @option params [required, String] :endpoint_arn
|
@@ -6162,6 +6686,9 @@ module Aws::DatabaseMigrationService
|
|
6162
6686
|
# @option params [Types::GcpMySQLSettings] :gcp_my_sql_settings
|
6163
6687
|
# Settings in JSON format for the source GCP MySQL endpoint.
|
6164
6688
|
#
|
6689
|
+
# @option params [Types::TimestreamSettings] :timestream_settings
|
6690
|
+
# Settings in JSON format for the target Amazon Timestream endpoint.
|
6691
|
+
#
|
6165
6692
|
# @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6166
6693
|
#
|
6167
6694
|
# * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
@@ -6274,6 +6801,8 @@ module Aws::DatabaseMigrationService
|
|
6274
6801
|
# kms_key_id: "String",
|
6275
6802
|
# secrets_manager_access_role_arn: "String",
|
6276
6803
|
# secrets_manager_secret_id: "String",
|
6804
|
+
# use_update_look_up: false,
|
6805
|
+
# replicate_shard_collections: false,
|
6277
6806
|
# },
|
6278
6807
|
# kinesis_settings: {
|
6279
6808
|
# stream_arn: "String",
|
@@ -6307,6 +6836,7 @@ module Aws::DatabaseMigrationService
|
|
6307
6836
|
# sasl_password: "SecretString",
|
6308
6837
|
# no_hex_prefix: false,
|
6309
6838
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
6839
|
+
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
6310
6840
|
# },
|
6311
6841
|
# elasticsearch_settings: {
|
6312
6842
|
# service_access_role_arn: "String", # required
|
@@ -6378,6 +6908,8 @@ module Aws::DatabaseMigrationService
|
|
6378
6908
|
# secrets_manager_secret_id: "String",
|
6379
6909
|
# trim_space_in_char: false,
|
6380
6910
|
# map_boolean_as_boolean: false,
|
6911
|
+
# map_jsonb_as_clob: false,
|
6912
|
+
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
6381
6913
|
# },
|
6382
6914
|
# my_sql_settings: {
|
6383
6915
|
# after_connect_script: "String",
|
@@ -6438,6 +6970,7 @@ module Aws::DatabaseMigrationService
|
|
6438
6970
|
# secrets_manager_oracle_asm_secret_id: "String",
|
6439
6971
|
# trim_space_in_char: false,
|
6440
6972
|
# convert_timestamp_with_zone_to_utc: false,
|
6973
|
+
# open_transaction_window: 1,
|
6441
6974
|
# },
|
6442
6975
|
# sybase_settings: {
|
6443
6976
|
# database_name: "String",
|
@@ -6491,6 +7024,8 @@ module Aws::DatabaseMigrationService
|
|
6491
7024
|
# kms_key_id: "String",
|
6492
7025
|
# secrets_manager_access_role_arn: "String",
|
6493
7026
|
# secrets_manager_secret_id: "String",
|
7027
|
+
# use_update_look_up: false,
|
7028
|
+
# replicate_shard_collections: false,
|
6494
7029
|
# },
|
6495
7030
|
# redis_settings: {
|
6496
7031
|
# server_name: "String", # required
|
@@ -6518,6 +7053,13 @@ module Aws::DatabaseMigrationService
|
|
6518
7053
|
# secrets_manager_access_role_arn: "String",
|
6519
7054
|
# secrets_manager_secret_id: "String",
|
6520
7055
|
# },
|
7056
|
+
# timestream_settings: {
|
7057
|
+
# database_name: "String", # required
|
7058
|
+
# memory_duration: 1, # required
|
7059
|
+
# magnetic_duration: 1, # required
|
7060
|
+
# cdc_inserts_and_updates: false,
|
7061
|
+
# enable_magnetic_store_writes: false,
|
7062
|
+
# },
|
6521
7063
|
# })
|
6522
7064
|
#
|
6523
7065
|
# @example Response structure
|
@@ -6597,6 +7139,8 @@ module Aws::DatabaseMigrationService
|
|
6597
7139
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
6598
7140
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
6599
7141
|
# resp.endpoint.mongo_db_settings.secrets_manager_secret_id #=> String
|
7142
|
+
# resp.endpoint.mongo_db_settings.use_update_look_up #=> Boolean
|
7143
|
+
# resp.endpoint.mongo_db_settings.replicate_shard_collections #=> Boolean
|
6600
7144
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
6601
7145
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
6602
7146
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -6626,6 +7170,7 @@ module Aws::DatabaseMigrationService
|
|
6626
7170
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
6627
7171
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
6628
7172
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
7173
|
+
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
6629
7174
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
6630
7175
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
6631
7176
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -6689,6 +7234,8 @@ module Aws::DatabaseMigrationService
|
|
6689
7234
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
6690
7235
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
6691
7236
|
# resp.endpoint.postgre_sql_settings.map_boolean_as_boolean #=> Boolean
|
7237
|
+
# resp.endpoint.postgre_sql_settings.map_jsonb_as_clob #=> Boolean
|
7238
|
+
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
6692
7239
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
6693
7240
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
6694
7241
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -6746,6 +7293,7 @@ module Aws::DatabaseMigrationService
|
|
6746
7293
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
6747
7294
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
6748
7295
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
7296
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
6749
7297
|
# resp.endpoint.sybase_settings.database_name #=> String
|
6750
7298
|
# resp.endpoint.sybase_settings.password #=> String
|
6751
7299
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -6791,6 +7339,8 @@ module Aws::DatabaseMigrationService
|
|
6791
7339
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
6792
7340
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
6793
7341
|
# resp.endpoint.doc_db_settings.secrets_manager_secret_id #=> String
|
7342
|
+
# resp.endpoint.doc_db_settings.use_update_look_up #=> Boolean
|
7343
|
+
# resp.endpoint.doc_db_settings.replicate_shard_collections #=> Boolean
|
6794
7344
|
# resp.endpoint.redis_settings.server_name #=> String
|
6795
7345
|
# resp.endpoint.redis_settings.port #=> Integer
|
6796
7346
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -6812,6 +7362,11 @@ module Aws::DatabaseMigrationService
|
|
6812
7362
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
6813
7363
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
6814
7364
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_secret_id #=> String
|
7365
|
+
# resp.endpoint.timestream_settings.database_name #=> String
|
7366
|
+
# resp.endpoint.timestream_settings.memory_duration #=> Integer
|
7367
|
+
# resp.endpoint.timestream_settings.magnetic_duration #=> Integer
|
7368
|
+
# resp.endpoint.timestream_settings.cdc_inserts_and_updates #=> Boolean
|
7369
|
+
# resp.endpoint.timestream_settings.enable_magnetic_store_writes #=> Boolean
|
6815
7370
|
#
|
6816
7371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation
|
6817
7372
|
#
|
@@ -6883,6 +7438,108 @@ module Aws::DatabaseMigrationService
|
|
6883
7438
|
req.send_request(options)
|
6884
7439
|
end
|
6885
7440
|
|
7441
|
+
# Modifies an existing DMS Serverless replication configuration that you
|
7442
|
+
# can use to start a replication. This command includes input validation
|
7443
|
+
# and logic to check the state of any replication that uses this
|
7444
|
+
# configuration. You can only modify a replication configuration before
|
7445
|
+
# any replication that uses it has started. As soon as you have
|
7446
|
+
# initially started a replication with a given configuiration, you
|
7447
|
+
# can't modify that configuration, even if you stop it.
|
7448
|
+
#
|
7449
|
+
# Other run statuses that allow you to run this command include FAILED
|
7450
|
+
# and CREATED. A provisioning state that allows you to run this command
|
7451
|
+
# is FAILED\_PROVISION.
|
7452
|
+
#
|
7453
|
+
# @option params [required, String] :replication_config_arn
|
7454
|
+
# The Amazon Resource Name of the replication to modify.
|
7455
|
+
#
|
7456
|
+
# @option params [String] :replication_config_identifier
|
7457
|
+
# The new replication config to apply to the replication.
|
7458
|
+
#
|
7459
|
+
# @option params [String] :replication_type
|
7460
|
+
# The type of replication.
|
7461
|
+
#
|
7462
|
+
# @option params [String] :table_mappings
|
7463
|
+
# Table mappings specified in the replication.
|
7464
|
+
#
|
7465
|
+
# @option params [String] :replication_settings
|
7466
|
+
# The settings for the replication.
|
7467
|
+
#
|
7468
|
+
# @option params [String] :supplemental_settings
|
7469
|
+
# Additional settings for the replication.
|
7470
|
+
#
|
7471
|
+
# @option params [Types::ComputeConfig] :compute_config
|
7472
|
+
# Configuration parameters for provisioning an DMS Serverless
|
7473
|
+
# replication.
|
7474
|
+
#
|
7475
|
+
# @option params [String] :source_endpoint_arn
|
7476
|
+
# The Amazon Resource Name (ARN) of the source endpoint for this DMS
|
7477
|
+
# serverless replication configuration.
|
7478
|
+
#
|
7479
|
+
# @option params [String] :target_endpoint_arn
|
7480
|
+
# The Amazon Resource Name (ARN) of the target endpoint for this DMS
|
7481
|
+
# serverless replication configuration.
|
7482
|
+
#
|
7483
|
+
# @return [Types::ModifyReplicationConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7484
|
+
#
|
7485
|
+
# * {Types::ModifyReplicationConfigResponse#replication_config #replication_config} => Types::ReplicationConfig
|
7486
|
+
#
|
7487
|
+
# @example Request syntax with placeholder values
|
7488
|
+
#
|
7489
|
+
# resp = client.modify_replication_config({
|
7490
|
+
# replication_config_arn: "String", # required
|
7491
|
+
# replication_config_identifier: "String",
|
7492
|
+
# replication_type: "full-load", # accepts full-load, cdc, full-load-and-cdc
|
7493
|
+
# table_mappings: "String",
|
7494
|
+
# replication_settings: "String",
|
7495
|
+
# supplemental_settings: "String",
|
7496
|
+
# compute_config: {
|
7497
|
+
# availability_zone: "String",
|
7498
|
+
# dns_name_servers: "String",
|
7499
|
+
# kms_key_id: "String",
|
7500
|
+
# max_capacity_units: 1,
|
7501
|
+
# min_capacity_units: 1,
|
7502
|
+
# multi_az: false,
|
7503
|
+
# preferred_maintenance_window: "String",
|
7504
|
+
# replication_subnet_group_id: "String",
|
7505
|
+
# vpc_security_group_ids: ["String"],
|
7506
|
+
# },
|
7507
|
+
# source_endpoint_arn: "String",
|
7508
|
+
# target_endpoint_arn: "String",
|
7509
|
+
# })
|
7510
|
+
#
|
7511
|
+
# @example Response structure
|
7512
|
+
#
|
7513
|
+
# resp.replication_config.replication_config_identifier #=> String
|
7514
|
+
# resp.replication_config.replication_config_arn #=> String
|
7515
|
+
# resp.replication_config.source_endpoint_arn #=> String
|
7516
|
+
# resp.replication_config.target_endpoint_arn #=> String
|
7517
|
+
# resp.replication_config.replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
7518
|
+
# resp.replication_config.compute_config.availability_zone #=> String
|
7519
|
+
# resp.replication_config.compute_config.dns_name_servers #=> String
|
7520
|
+
# resp.replication_config.compute_config.kms_key_id #=> String
|
7521
|
+
# resp.replication_config.compute_config.max_capacity_units #=> Integer
|
7522
|
+
# resp.replication_config.compute_config.min_capacity_units #=> Integer
|
7523
|
+
# resp.replication_config.compute_config.multi_az #=> Boolean
|
7524
|
+
# resp.replication_config.compute_config.preferred_maintenance_window #=> String
|
7525
|
+
# resp.replication_config.compute_config.replication_subnet_group_id #=> String
|
7526
|
+
# resp.replication_config.compute_config.vpc_security_group_ids #=> Array
|
7527
|
+
# resp.replication_config.compute_config.vpc_security_group_ids[0] #=> String
|
7528
|
+
# resp.replication_config.replication_settings #=> String
|
7529
|
+
# resp.replication_config.supplemental_settings #=> String
|
7530
|
+
# resp.replication_config.table_mappings #=> String
|
7531
|
+
# resp.replication_config.replication_config_create_time #=> Time
|
7532
|
+
# resp.replication_config.replication_config_update_time #=> Time
|
7533
|
+
#
|
7534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationConfig AWS API Documentation
|
7535
|
+
#
|
7536
|
+
# @overload modify_replication_config(params = {})
|
7537
|
+
# @param [Hash] params ({})
|
7538
|
+
def modify_replication_config(params = {}, options = {})
|
7539
|
+
req = build_request(:modify_replication_config, params)
|
7540
|
+
req.send_request(options)
|
7541
|
+
end
|
7542
|
+
|
6886
7543
|
# Modifies the replication instance to apply new settings. You can
|
6887
7544
|
# change one or more parameters by specifying these parameters and the
|
6888
7545
|
# new values in the request.
|
@@ -7564,6 +8221,56 @@ module Aws::DatabaseMigrationService
|
|
7564
8221
|
req.send_request(options)
|
7565
8222
|
end
|
7566
8223
|
|
8224
|
+
# Reloads the target database table with the source data for a given DMS
|
8225
|
+
# Serverless replication configuration.
|
8226
|
+
#
|
8227
|
+
# You can only use this operation with a task in the RUNNING state,
|
8228
|
+
# otherwise the service will throw an `InvalidResourceStateFault`
|
8229
|
+
# exception.
|
8230
|
+
#
|
8231
|
+
# @option params [required, String] :replication_config_arn
|
8232
|
+
# The Amazon Resource Name of the replication config for which to reload
|
8233
|
+
# tables.
|
8234
|
+
#
|
8235
|
+
# @option params [required, Array<Types::TableToReload>] :tables_to_reload
|
8236
|
+
# The list of tables to reload.
|
8237
|
+
#
|
8238
|
+
# @option params [String] :reload_option
|
8239
|
+
# Options for reload. Specify `data-reload` to reload the data and
|
8240
|
+
# re-validate it if validation is enabled. Specify `validate-only` to
|
8241
|
+
# re-validate the table. This option applies only when validation is
|
8242
|
+
# enabled for the replication.
|
8243
|
+
#
|
8244
|
+
# @return [Types::ReloadReplicationTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8245
|
+
#
|
8246
|
+
# * {Types::ReloadReplicationTablesResponse#replication_config_arn #replication_config_arn} => String
|
8247
|
+
#
|
8248
|
+
# @example Request syntax with placeholder values
|
8249
|
+
#
|
8250
|
+
# resp = client.reload_replication_tables({
|
8251
|
+
# replication_config_arn: "String", # required
|
8252
|
+
# tables_to_reload: [ # required
|
8253
|
+
# {
|
8254
|
+
# schema_name: "String", # required
|
8255
|
+
# table_name: "String", # required
|
8256
|
+
# },
|
8257
|
+
# ],
|
8258
|
+
# reload_option: "data-reload", # accepts data-reload, validate-only
|
8259
|
+
# })
|
8260
|
+
#
|
8261
|
+
# @example Response structure
|
8262
|
+
#
|
8263
|
+
# resp.replication_config_arn #=> String
|
8264
|
+
#
|
8265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadReplicationTables AWS API Documentation
|
8266
|
+
#
|
8267
|
+
# @overload reload_replication_tables(params = {})
|
8268
|
+
# @param [Hash] params ({})
|
8269
|
+
def reload_replication_tables(params = {}, options = {})
|
8270
|
+
req = build_request(:reload_replication_tables, params)
|
8271
|
+
req.send_request(options)
|
8272
|
+
end
|
8273
|
+
|
7567
8274
|
# Reloads the target database table with the source data.
|
7568
8275
|
#
|
7569
8276
|
# You can only use this operation with a task in the `RUNNING` state,
|
@@ -7731,6 +8438,98 @@ module Aws::DatabaseMigrationService
|
|
7731
8438
|
req.send_request(options)
|
7732
8439
|
end
|
7733
8440
|
|
8441
|
+
# For a given DMS Serverless replication configuration, DMS connects to
|
8442
|
+
# the source endpoint and collects the metadata to analyze the
|
8443
|
+
# replication workload. Using this metadata, DMS then computes and
|
8444
|
+
# provisions the required capacity and starts replicating to the target
|
8445
|
+
# endpoint using the server resources that DMS has provisioned for the
|
8446
|
+
# DMS Serverless replication.
|
8447
|
+
#
|
8448
|
+
# @option params [required, String] :replication_config_arn
|
8449
|
+
# The Amazon Resource Name of the replication for which to start
|
8450
|
+
# replication.
|
8451
|
+
#
|
8452
|
+
# @option params [required, String] :start_replication_type
|
8453
|
+
# The replication type.
|
8454
|
+
#
|
8455
|
+
# @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
|
8456
|
+
# Indicates the start time for a change data capture (CDC) operation.
|
8457
|
+
# Use either `CdcStartTime` or `CdcStartPosition` to specify when you
|
8458
|
+
# want a CDC operation to start. Specifying both values results in an
|
8459
|
+
# error.
|
8460
|
+
#
|
8461
|
+
# @option params [String] :cdc_start_position
|
8462
|
+
# Indicates when you want a change data capture (CDC) operation to
|
8463
|
+
# start. Use either `CdcStartPosition` or `CdcStartTime` to specify when
|
8464
|
+
# you want a CDC operation to start. Specifying both values results in
|
8465
|
+
# an error.
|
8466
|
+
#
|
8467
|
+
# The value can be in date, checkpoint, or LSN/SCN format.
|
8468
|
+
#
|
8469
|
+
# @option params [String] :cdc_stop_position
|
8470
|
+
# Indicates when you want a change data capture (CDC) operation to stop.
|
8471
|
+
# The value can be either server time or commit time.
|
8472
|
+
#
|
8473
|
+
# @return [Types::StartReplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8474
|
+
#
|
8475
|
+
# * {Types::StartReplicationResponse#replication #replication} => Types::Replication
|
8476
|
+
#
|
8477
|
+
# @example Request syntax with placeholder values
|
8478
|
+
#
|
8479
|
+
# resp = client.start_replication({
|
8480
|
+
# replication_config_arn: "String", # required
|
8481
|
+
# start_replication_type: "String", # required
|
8482
|
+
# cdc_start_time: Time.now,
|
8483
|
+
# cdc_start_position: "String",
|
8484
|
+
# cdc_stop_position: "String",
|
8485
|
+
# })
|
8486
|
+
#
|
8487
|
+
# @example Response structure
|
8488
|
+
#
|
8489
|
+
# resp.replication.replication_config_identifier #=> String
|
8490
|
+
# resp.replication.replication_config_arn #=> String
|
8491
|
+
# resp.replication.source_endpoint_arn #=> String
|
8492
|
+
# resp.replication.target_endpoint_arn #=> String
|
8493
|
+
# resp.replication.replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
8494
|
+
# resp.replication.status #=> String
|
8495
|
+
# resp.replication.provision_data.provision_state #=> String
|
8496
|
+
# resp.replication.provision_data.provisioned_capacity_units #=> Integer
|
8497
|
+
# resp.replication.provision_data.date_provisioned #=> Time
|
8498
|
+
# resp.replication.provision_data.is_new_provisioning_available #=> Boolean
|
8499
|
+
# resp.replication.provision_data.date_new_provisioning_data_available #=> Time
|
8500
|
+
# resp.replication.provision_data.reason_for_new_provisioning_data #=> String
|
8501
|
+
# resp.replication.stop_reason #=> String
|
8502
|
+
# resp.replication.failure_messages #=> Array
|
8503
|
+
# resp.replication.failure_messages[0] #=> String
|
8504
|
+
# resp.replication.replication_stats.full_load_progress_percent #=> Integer
|
8505
|
+
# resp.replication.replication_stats.elapsed_time_millis #=> Integer
|
8506
|
+
# resp.replication.replication_stats.tables_loaded #=> Integer
|
8507
|
+
# resp.replication.replication_stats.tables_loading #=> Integer
|
8508
|
+
# resp.replication.replication_stats.tables_queued #=> Integer
|
8509
|
+
# resp.replication.replication_stats.tables_errored #=> Integer
|
8510
|
+
# resp.replication.replication_stats.fresh_start_date #=> Time
|
8511
|
+
# resp.replication.replication_stats.start_date #=> Time
|
8512
|
+
# resp.replication.replication_stats.stop_date #=> Time
|
8513
|
+
# resp.replication.replication_stats.full_load_start_date #=> Time
|
8514
|
+
# resp.replication.replication_stats.full_load_finish_date #=> Time
|
8515
|
+
# resp.replication.start_replication_type #=> String
|
8516
|
+
# resp.replication.cdc_start_time #=> Time
|
8517
|
+
# resp.replication.cdc_start_position #=> String
|
8518
|
+
# resp.replication.cdc_stop_position #=> String
|
8519
|
+
# resp.replication.recovery_checkpoint #=> String
|
8520
|
+
# resp.replication.replication_create_time #=> Time
|
8521
|
+
# resp.replication.replication_update_time #=> Time
|
8522
|
+
# resp.replication.replication_last_stop_time #=> Time
|
8523
|
+
#
|
8524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplication AWS API Documentation
|
8525
|
+
#
|
8526
|
+
# @overload start_replication(params = {})
|
8527
|
+
# @param [Hash] params ({})
|
8528
|
+
def start_replication(params = {}, options = {})
|
8529
|
+
req = build_request(:start_replication, params)
|
8530
|
+
req.send_request(options)
|
8531
|
+
end
|
8532
|
+
|
7734
8533
|
# Starts the replication task.
|
7735
8534
|
#
|
7736
8535
|
# For more information about DMS tasks, see [Working with Migration
|
@@ -8085,6 +8884,69 @@ module Aws::DatabaseMigrationService
|
|
8085
8884
|
req.send_request(options)
|
8086
8885
|
end
|
8087
8886
|
|
8887
|
+
# For a given DMS Serverless replication configuration, DMS stops any
|
8888
|
+
# and all ongoing DMS Serverless replications. This command doesn't
|
8889
|
+
# deprovision the stopped replications.
|
8890
|
+
#
|
8891
|
+
# @option params [required, String] :replication_config_arn
|
8892
|
+
# The Amazon Resource Name of the replication to stop.
|
8893
|
+
#
|
8894
|
+
# @return [Types::StopReplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8895
|
+
#
|
8896
|
+
# * {Types::StopReplicationResponse#replication #replication} => Types::Replication
|
8897
|
+
#
|
8898
|
+
# @example Request syntax with placeholder values
|
8899
|
+
#
|
8900
|
+
# resp = client.stop_replication({
|
8901
|
+
# replication_config_arn: "String", # required
|
8902
|
+
# })
|
8903
|
+
#
|
8904
|
+
# @example Response structure
|
8905
|
+
#
|
8906
|
+
# resp.replication.replication_config_identifier #=> String
|
8907
|
+
# resp.replication.replication_config_arn #=> String
|
8908
|
+
# resp.replication.source_endpoint_arn #=> String
|
8909
|
+
# resp.replication.target_endpoint_arn #=> String
|
8910
|
+
# resp.replication.replication_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
8911
|
+
# resp.replication.status #=> String
|
8912
|
+
# resp.replication.provision_data.provision_state #=> String
|
8913
|
+
# resp.replication.provision_data.provisioned_capacity_units #=> Integer
|
8914
|
+
# resp.replication.provision_data.date_provisioned #=> Time
|
8915
|
+
# resp.replication.provision_data.is_new_provisioning_available #=> Boolean
|
8916
|
+
# resp.replication.provision_data.date_new_provisioning_data_available #=> Time
|
8917
|
+
# resp.replication.provision_data.reason_for_new_provisioning_data #=> String
|
8918
|
+
# resp.replication.stop_reason #=> String
|
8919
|
+
# resp.replication.failure_messages #=> Array
|
8920
|
+
# resp.replication.failure_messages[0] #=> String
|
8921
|
+
# resp.replication.replication_stats.full_load_progress_percent #=> Integer
|
8922
|
+
# resp.replication.replication_stats.elapsed_time_millis #=> Integer
|
8923
|
+
# resp.replication.replication_stats.tables_loaded #=> Integer
|
8924
|
+
# resp.replication.replication_stats.tables_loading #=> Integer
|
8925
|
+
# resp.replication.replication_stats.tables_queued #=> Integer
|
8926
|
+
# resp.replication.replication_stats.tables_errored #=> Integer
|
8927
|
+
# resp.replication.replication_stats.fresh_start_date #=> Time
|
8928
|
+
# resp.replication.replication_stats.start_date #=> Time
|
8929
|
+
# resp.replication.replication_stats.stop_date #=> Time
|
8930
|
+
# resp.replication.replication_stats.full_load_start_date #=> Time
|
8931
|
+
# resp.replication.replication_stats.full_load_finish_date #=> Time
|
8932
|
+
# resp.replication.start_replication_type #=> String
|
8933
|
+
# resp.replication.cdc_start_time #=> Time
|
8934
|
+
# resp.replication.cdc_start_position #=> String
|
8935
|
+
# resp.replication.cdc_stop_position #=> String
|
8936
|
+
# resp.replication.recovery_checkpoint #=> String
|
8937
|
+
# resp.replication.replication_create_time #=> Time
|
8938
|
+
# resp.replication.replication_update_time #=> Time
|
8939
|
+
# resp.replication.replication_last_stop_time #=> Time
|
8940
|
+
#
|
8941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplication AWS API Documentation
|
8942
|
+
#
|
8943
|
+
# @overload stop_replication(params = {})
|
8944
|
+
# @param [Hash] params ({})
|
8945
|
+
def stop_replication(params = {}, options = {})
|
8946
|
+
req = build_request(:stop_replication, params)
|
8947
|
+
req.send_request(options)
|
8948
|
+
end
|
8949
|
+
|
8088
8950
|
# Stops the replication task.
|
8089
8951
|
#
|
8090
8952
|
# @option params [required, String] :replication_task_arn
|
@@ -8283,7 +9145,7 @@ module Aws::DatabaseMigrationService
|
|
8283
9145
|
params: params,
|
8284
9146
|
config: config)
|
8285
9147
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
8286
|
-
context[:gem_version] = '1.
|
9148
|
+
context[:gem_version] = '1.82.0'
|
8287
9149
|
Seahorse::Client::Request.new(handlers, context)
|
8288
9150
|
end
|
8289
9151
|
|