aws-sdk-databasemigrationservice 1.81.0 → 1.82.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +857 -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 +2 -2
@@ -882,6 +882,9 @@ module Aws::DatabaseMigrationService
|
|
882
882
|
# @option params [Types::GcpMySQLSettings] :gcp_my_sql_settings
|
883
883
|
# Settings in JSON format for the source GCP MySQL endpoint.
|
884
884
|
#
|
885
|
+
# @option params [Types::TimestreamSettings] :timestream_settings
|
886
|
+
# Settings in JSON format for the target Amazon Timestream endpoint.
|
887
|
+
#
|
885
888
|
# @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
886
889
|
#
|
887
890
|
# * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
@@ -1016,6 +1019,8 @@ module Aws::DatabaseMigrationService
|
|
1016
1019
|
# kms_key_id: "String",
|
1017
1020
|
# secrets_manager_access_role_arn: "String",
|
1018
1021
|
# secrets_manager_secret_id: "String",
|
1022
|
+
# use_update_look_up: false,
|
1023
|
+
# replicate_shard_collections: false,
|
1019
1024
|
# },
|
1020
1025
|
# kinesis_settings: {
|
1021
1026
|
# stream_arn: "String",
|
@@ -1049,6 +1054,7 @@ module Aws::DatabaseMigrationService
|
|
1049
1054
|
# sasl_password: "SecretString",
|
1050
1055
|
# no_hex_prefix: false,
|
1051
1056
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
1057
|
+
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
1052
1058
|
# },
|
1053
1059
|
# elasticsearch_settings: {
|
1054
1060
|
# service_access_role_arn: "String", # required
|
@@ -1120,6 +1126,8 @@ module Aws::DatabaseMigrationService
|
|
1120
1126
|
# secrets_manager_secret_id: "String",
|
1121
1127
|
# trim_space_in_char: false,
|
1122
1128
|
# map_boolean_as_boolean: false,
|
1129
|
+
# map_jsonb_as_clob: false,
|
1130
|
+
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
1123
1131
|
# },
|
1124
1132
|
# my_sql_settings: {
|
1125
1133
|
# after_connect_script: "String",
|
@@ -1180,6 +1188,7 @@ module Aws::DatabaseMigrationService
|
|
1180
1188
|
# secrets_manager_oracle_asm_secret_id: "String",
|
1181
1189
|
# trim_space_in_char: false,
|
1182
1190
|
# convert_timestamp_with_zone_to_utc: false,
|
1191
|
+
# open_transaction_window: 1,
|
1183
1192
|
# },
|
1184
1193
|
# sybase_settings: {
|
1185
1194
|
# database_name: "String",
|
@@ -1234,6 +1243,8 @@ module Aws::DatabaseMigrationService
|
|
1234
1243
|
# kms_key_id: "String",
|
1235
1244
|
# secrets_manager_access_role_arn: "String",
|
1236
1245
|
# secrets_manager_secret_id: "String",
|
1246
|
+
# use_update_look_up: false,
|
1247
|
+
# replicate_shard_collections: false,
|
1237
1248
|
# },
|
1238
1249
|
# redis_settings: {
|
1239
1250
|
# server_name: "String", # required
|
@@ -1260,6 +1271,13 @@ module Aws::DatabaseMigrationService
|
|
1260
1271
|
# secrets_manager_access_role_arn: "String",
|
1261
1272
|
# secrets_manager_secret_id: "String",
|
1262
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
|
+
# },
|
1263
1281
|
# })
|
1264
1282
|
#
|
1265
1283
|
# @example Response structure
|
@@ -1339,6 +1357,8 @@ module Aws::DatabaseMigrationService
|
|
1339
1357
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
1340
1358
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
1341
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
|
1342
1362
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
1343
1363
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
1344
1364
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -1368,6 +1388,7 @@ module Aws::DatabaseMigrationService
|
|
1368
1388
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
1369
1389
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
1370
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"
|
1371
1392
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
1372
1393
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
1373
1394
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -1431,6 +1452,8 @@ module Aws::DatabaseMigrationService
|
|
1431
1452
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
1432
1453
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
1433
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"
|
1434
1457
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
1435
1458
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
1436
1459
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -1488,6 +1511,7 @@ module Aws::DatabaseMigrationService
|
|
1488
1511
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
1489
1512
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
1490
1513
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
1514
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
1491
1515
|
# resp.endpoint.sybase_settings.database_name #=> String
|
1492
1516
|
# resp.endpoint.sybase_settings.password #=> String
|
1493
1517
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -1533,6 +1557,8 @@ module Aws::DatabaseMigrationService
|
|
1533
1557
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
1534
1558
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
1535
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
|
1536
1562
|
# resp.endpoint.redis_settings.server_name #=> String
|
1537
1563
|
# resp.endpoint.redis_settings.port #=> Integer
|
1538
1564
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -1554,6 +1580,11 @@ module Aws::DatabaseMigrationService
|
|
1554
1580
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
1555
1581
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
1556
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
|
1557
1588
|
#
|
1558
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation
|
1559
1590
|
#
|
@@ -1725,6 +1756,158 @@ module Aws::DatabaseMigrationService
|
|
1725
1756
|
req.send_request(options)
|
1726
1757
|
end
|
1727
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
|
+
|
1728
1911
|
# Creates the replication instance using the specified parameters.
|
1729
1912
|
#
|
1730
1913
|
# DMS requires that your account have certain roles with appropriate
|
@@ -1763,12 +1946,14 @@ module Aws::DatabaseMigrationService
|
|
1763
1946
|
# `"dms.c4.large"`.
|
1764
1947
|
#
|
1765
1948
|
# For more information on the settings and capacities for the available
|
1766
|
-
# replication instance classes, see [
|
1767
|
-
#
|
1949
|
+
# replication instance classes, see [ Choosing the right DMS replication
|
1950
|
+
# instance][1]; and, [Selecting the best size for a replication
|
1951
|
+
# instance][2].
|
1768
1952
|
#
|
1769
1953
|
#
|
1770
1954
|
#
|
1771
|
-
# [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
|
1772
1957
|
#
|
1773
1958
|
# @option params [Array<String>] :vpc_security_group_ids
|
1774
1959
|
# Specifies the VPC security group to be used with the replication
|
@@ -1778,7 +1963,7 @@ module Aws::DatabaseMigrationService
|
|
1778
1963
|
# @option params [String] :availability_zone
|
1779
1964
|
# The Availability Zone where the replication instance will be created.
|
1780
1965
|
# The default value is a random, system-chosen Availability Zone in the
|
1781
|
-
# endpoint's Amazon Web Services Region, for example: `us-east-1d
|
1966
|
+
# endpoint's Amazon Web Services Region, for example: `us-east-1d`.
|
1782
1967
|
#
|
1783
1968
|
# @option params [String] :replication_subnet_group_identifier
|
1784
1969
|
# A subnet group to associate with the replication instance.
|
@@ -2044,6 +2229,18 @@ module Aws::DatabaseMigrationService
|
|
2044
2229
|
# zones in the Amazon Web Services Region, otherwise the service will
|
2045
2230
|
# throw a `ReplicationSubnetGroupDoesNotCoverEnoughAZs` exception.
|
2046
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
|
+
#
|
2047
2244
|
# @option params [required, String] :replication_subnet_group_identifier
|
2048
2245
|
# The name for the replication subnet group. This value is stored as a
|
2049
2246
|
# lowercase string.
|
@@ -2581,6 +2778,8 @@ module Aws::DatabaseMigrationService
|
|
2581
2778
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
2582
2779
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
2583
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
|
2584
2783
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
2585
2784
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
2586
2785
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -2610,6 +2809,7 @@ module Aws::DatabaseMigrationService
|
|
2610
2809
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
2611
2810
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
2612
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"
|
2613
2813
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
2614
2814
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
2615
2815
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -2673,6 +2873,8 @@ module Aws::DatabaseMigrationService
|
|
2673
2873
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
2674
2874
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
2675
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"
|
2676
2878
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
2677
2879
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
2678
2880
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -2730,6 +2932,7 @@ module Aws::DatabaseMigrationService
|
|
2730
2932
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
2731
2933
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
2732
2934
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
2935
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
2733
2936
|
# resp.endpoint.sybase_settings.database_name #=> String
|
2734
2937
|
# resp.endpoint.sybase_settings.password #=> String
|
2735
2938
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -2775,6 +2978,8 @@ module Aws::DatabaseMigrationService
|
|
2775
2978
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
2776
2979
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
2777
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
|
2778
2983
|
# resp.endpoint.redis_settings.server_name #=> String
|
2779
2984
|
# resp.endpoint.redis_settings.port #=> Integer
|
2780
2985
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -2796,6 +3001,11 @@ module Aws::DatabaseMigrationService
|
|
2796
3001
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
2797
3002
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
2798
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
|
2799
3009
|
#
|
2800
3010
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation
|
2801
3011
|
#
|
@@ -2895,6 +3105,57 @@ module Aws::DatabaseMigrationService
|
|
2895
3105
|
req.send_request(options)
|
2896
3106
|
end
|
2897
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
|
+
|
2898
3159
|
# Deletes the specified replication instance.
|
2899
3160
|
#
|
2900
3161
|
# <note markdown="1"> You must delete any migration tasks that are associated with the
|
@@ -3545,7 +3806,7 @@ module Aws::DatabaseMigrationService
|
|
3545
3806
|
# when you create an endpoint for a specific database engine.
|
3546
3807
|
#
|
3547
3808
|
# @option params [required, String] :engine_name
|
3548
|
-
# The
|
3809
|
+
# The database engine used for your source or target endpoint.
|
3549
3810
|
#
|
3550
3811
|
# @option params [Integer] :max_records
|
3551
3812
|
# The maximum number of records to include in the response. If more
|
@@ -3833,6 +4094,8 @@ module Aws::DatabaseMigrationService
|
|
3833
4094
|
# resp.endpoints[0].mongo_db_settings.kms_key_id #=> String
|
3834
4095
|
# resp.endpoints[0].mongo_db_settings.secrets_manager_access_role_arn #=> String
|
3835
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
|
3836
4099
|
# resp.endpoints[0].kinesis_settings.stream_arn #=> String
|
3837
4100
|
# resp.endpoints[0].kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
3838
4101
|
# resp.endpoints[0].kinesis_settings.service_access_role_arn #=> String
|
@@ -3862,6 +4125,7 @@ module Aws::DatabaseMigrationService
|
|
3862
4125
|
# resp.endpoints[0].kafka_settings.sasl_password #=> String
|
3863
4126
|
# resp.endpoints[0].kafka_settings.no_hex_prefix #=> Boolean
|
3864
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"
|
3865
4129
|
# resp.endpoints[0].elasticsearch_settings.service_access_role_arn #=> String
|
3866
4130
|
# resp.endpoints[0].elasticsearch_settings.endpoint_uri #=> String
|
3867
4131
|
# resp.endpoints[0].elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -3925,6 +4189,8 @@ module Aws::DatabaseMigrationService
|
|
3925
4189
|
# resp.endpoints[0].postgre_sql_settings.secrets_manager_secret_id #=> String
|
3926
4190
|
# resp.endpoints[0].postgre_sql_settings.trim_space_in_char #=> Boolean
|
3927
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"
|
3928
4194
|
# resp.endpoints[0].my_sql_settings.after_connect_script #=> String
|
3929
4195
|
# resp.endpoints[0].my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
3930
4196
|
# resp.endpoints[0].my_sql_settings.database_name #=> String
|
@@ -3982,6 +4248,7 @@ module Aws::DatabaseMigrationService
|
|
3982
4248
|
# resp.endpoints[0].oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
3983
4249
|
# resp.endpoints[0].oracle_settings.trim_space_in_char #=> Boolean
|
3984
4250
|
# resp.endpoints[0].oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
4251
|
+
# resp.endpoints[0].oracle_settings.open_transaction_window #=> Integer
|
3985
4252
|
# resp.endpoints[0].sybase_settings.database_name #=> String
|
3986
4253
|
# resp.endpoints[0].sybase_settings.password #=> String
|
3987
4254
|
# resp.endpoints[0].sybase_settings.port #=> Integer
|
@@ -4027,6 +4294,8 @@ module Aws::DatabaseMigrationService
|
|
4027
4294
|
# resp.endpoints[0].doc_db_settings.kms_key_id #=> String
|
4028
4295
|
# resp.endpoints[0].doc_db_settings.secrets_manager_access_role_arn #=> String
|
4029
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
|
4030
4299
|
# resp.endpoints[0].redis_settings.server_name #=> String
|
4031
4300
|
# resp.endpoints[0].redis_settings.port #=> Integer
|
4032
4301
|
# resp.endpoints[0].redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -4048,6 +4317,11 @@ module Aws::DatabaseMigrationService
|
|
4048
4317
|
# resp.endpoints[0].gcp_my_sql_settings.username #=> String
|
4049
4318
|
# resp.endpoints[0].gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
4050
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
|
4051
4325
|
#
|
4052
4326
|
#
|
4053
4327
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -4899,6 +5173,7 @@ module Aws::DatabaseMigrationService
|
|
4899
5173
|
# resp.recommendations[0].data.rds_engine.requirements_to_target.storage_size #=> Integer
|
4900
5174
|
# resp.recommendations[0].data.rds_engine.requirements_to_target.storage_iops #=> Integer
|
4901
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
|
4902
5177
|
# resp.recommendations[0].data.rds_engine.target_configuration.engine_edition #=> String
|
4903
5178
|
# resp.recommendations[0].data.rds_engine.target_configuration.instance_type #=> String
|
4904
5179
|
# resp.recommendations[0].data.rds_engine.target_configuration.instance_vcpu #=> Float
|
@@ -4907,6 +5182,7 @@ module Aws::DatabaseMigrationService
|
|
4907
5182
|
# resp.recommendations[0].data.rds_engine.target_configuration.storage_size #=> Integer
|
4908
5183
|
# resp.recommendations[0].data.rds_engine.target_configuration.storage_iops #=> Integer
|
4909
5184
|
# resp.recommendations[0].data.rds_engine.target_configuration.deployment_option #=> String
|
5185
|
+
# resp.recommendations[0].data.rds_engine.target_configuration.engine_version #=> String
|
4910
5186
|
#
|
4911
5187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRecommendations AWS API Documentation
|
4912
5188
|
#
|
@@ -4965,6 +5241,77 @@ module Aws::DatabaseMigrationService
|
|
4965
5241
|
req.send_request(options)
|
4966
5242
|
end
|
4967
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
|
+
|
4968
5315
|
# Returns information about the task logs for the specified task.
|
4969
5316
|
#
|
4970
5317
|
# @option params [required, String] :replication_instance_arn
|
@@ -5245,6 +5592,87 @@ module Aws::DatabaseMigrationService
|
|
5245
5592
|
req.send_request(options)
|
5246
5593
|
end
|
5247
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
|
+
|
5248
5676
|
# Returns the task assessment results from the Amazon S3 bucket that DMS
|
5249
5677
|
# creates in your Amazon Web Services account. This action always
|
5250
5678
|
# returns the latest results.
|
@@ -5583,6 +6011,91 @@ module Aws::DatabaseMigrationService
|
|
5583
6011
|
req.send_request(options)
|
5584
6012
|
end
|
5585
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
|
+
|
5586
6099
|
# Returns information about the schema for the specified endpoint.
|
5587
6100
|
#
|
5588
6101
|
# @option params [required, String] :endpoint_arn
|
@@ -6173,6 +6686,9 @@ module Aws::DatabaseMigrationService
|
|
6173
6686
|
# @option params [Types::GcpMySQLSettings] :gcp_my_sql_settings
|
6174
6687
|
# Settings in JSON format for the source GCP MySQL endpoint.
|
6175
6688
|
#
|
6689
|
+
# @option params [Types::TimestreamSettings] :timestream_settings
|
6690
|
+
# Settings in JSON format for the target Amazon Timestream endpoint.
|
6691
|
+
#
|
6176
6692
|
# @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6177
6693
|
#
|
6178
6694
|
# * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
@@ -6285,6 +6801,8 @@ module Aws::DatabaseMigrationService
|
|
6285
6801
|
# kms_key_id: "String",
|
6286
6802
|
# secrets_manager_access_role_arn: "String",
|
6287
6803
|
# secrets_manager_secret_id: "String",
|
6804
|
+
# use_update_look_up: false,
|
6805
|
+
# replicate_shard_collections: false,
|
6288
6806
|
# },
|
6289
6807
|
# kinesis_settings: {
|
6290
6808
|
# stream_arn: "String",
|
@@ -6318,6 +6836,7 @@ module Aws::DatabaseMigrationService
|
|
6318
6836
|
# sasl_password: "SecretString",
|
6319
6837
|
# no_hex_prefix: false,
|
6320
6838
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
6839
|
+
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
6321
6840
|
# },
|
6322
6841
|
# elasticsearch_settings: {
|
6323
6842
|
# service_access_role_arn: "String", # required
|
@@ -6389,6 +6908,8 @@ module Aws::DatabaseMigrationService
|
|
6389
6908
|
# secrets_manager_secret_id: "String",
|
6390
6909
|
# trim_space_in_char: false,
|
6391
6910
|
# map_boolean_as_boolean: false,
|
6911
|
+
# map_jsonb_as_clob: false,
|
6912
|
+
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
6392
6913
|
# },
|
6393
6914
|
# my_sql_settings: {
|
6394
6915
|
# after_connect_script: "String",
|
@@ -6449,6 +6970,7 @@ module Aws::DatabaseMigrationService
|
|
6449
6970
|
# secrets_manager_oracle_asm_secret_id: "String",
|
6450
6971
|
# trim_space_in_char: false,
|
6451
6972
|
# convert_timestamp_with_zone_to_utc: false,
|
6973
|
+
# open_transaction_window: 1,
|
6452
6974
|
# },
|
6453
6975
|
# sybase_settings: {
|
6454
6976
|
# database_name: "String",
|
@@ -6502,6 +7024,8 @@ module Aws::DatabaseMigrationService
|
|
6502
7024
|
# kms_key_id: "String",
|
6503
7025
|
# secrets_manager_access_role_arn: "String",
|
6504
7026
|
# secrets_manager_secret_id: "String",
|
7027
|
+
# use_update_look_up: false,
|
7028
|
+
# replicate_shard_collections: false,
|
6505
7029
|
# },
|
6506
7030
|
# redis_settings: {
|
6507
7031
|
# server_name: "String", # required
|
@@ -6529,6 +7053,13 @@ module Aws::DatabaseMigrationService
|
|
6529
7053
|
# secrets_manager_access_role_arn: "String",
|
6530
7054
|
# secrets_manager_secret_id: "String",
|
6531
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
|
+
# },
|
6532
7063
|
# })
|
6533
7064
|
#
|
6534
7065
|
# @example Response structure
|
@@ -6608,6 +7139,8 @@ module Aws::DatabaseMigrationService
|
|
6608
7139
|
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
|
6609
7140
|
# resp.endpoint.mongo_db_settings.secrets_manager_access_role_arn #=> String
|
6610
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
|
6611
7144
|
# resp.endpoint.kinesis_settings.stream_arn #=> String
|
6612
7145
|
# resp.endpoint.kinesis_settings.message_format #=> String, one of "json", "json-unformatted"
|
6613
7146
|
# resp.endpoint.kinesis_settings.service_access_role_arn #=> String
|
@@ -6637,6 +7170,7 @@ module Aws::DatabaseMigrationService
|
|
6637
7170
|
# resp.endpoint.kafka_settings.sasl_password #=> String
|
6638
7171
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
6639
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"
|
6640
7174
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
6641
7175
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
6642
7176
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -6700,6 +7234,8 @@ module Aws::DatabaseMigrationService
|
|
6700
7234
|
# resp.endpoint.postgre_sql_settings.secrets_manager_secret_id #=> String
|
6701
7235
|
# resp.endpoint.postgre_sql_settings.trim_space_in_char #=> Boolean
|
6702
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"
|
6703
7239
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
6704
7240
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
6705
7241
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -6757,6 +7293,7 @@ module Aws::DatabaseMigrationService
|
|
6757
7293
|
# resp.endpoint.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
6758
7294
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
6759
7295
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
7296
|
+
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
6760
7297
|
# resp.endpoint.sybase_settings.database_name #=> String
|
6761
7298
|
# resp.endpoint.sybase_settings.password #=> String
|
6762
7299
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -6802,6 +7339,8 @@ module Aws::DatabaseMigrationService
|
|
6802
7339
|
# resp.endpoint.doc_db_settings.kms_key_id #=> String
|
6803
7340
|
# resp.endpoint.doc_db_settings.secrets_manager_access_role_arn #=> String
|
6804
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
|
6805
7344
|
# resp.endpoint.redis_settings.server_name #=> String
|
6806
7345
|
# resp.endpoint.redis_settings.port #=> Integer
|
6807
7346
|
# resp.endpoint.redis_settings.ssl_security_protocol #=> String, one of "plaintext", "ssl-encryption"
|
@@ -6823,6 +7362,11 @@ module Aws::DatabaseMigrationService
|
|
6823
7362
|
# resp.endpoint.gcp_my_sql_settings.username #=> String
|
6824
7363
|
# resp.endpoint.gcp_my_sql_settings.secrets_manager_access_role_arn #=> String
|
6825
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
|
6826
7370
|
#
|
6827
7371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation
|
6828
7372
|
#
|
@@ -6894,6 +7438,108 @@ module Aws::DatabaseMigrationService
|
|
6894
7438
|
req.send_request(options)
|
6895
7439
|
end
|
6896
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
|
+
|
6897
7543
|
# Modifies the replication instance to apply new settings. You can
|
6898
7544
|
# change one or more parameters by specifying these parameters and the
|
6899
7545
|
# new values in the request.
|
@@ -7575,6 +8221,56 @@ module Aws::DatabaseMigrationService
|
|
7575
8221
|
req.send_request(options)
|
7576
8222
|
end
|
7577
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
|
+
|
7578
8274
|
# Reloads the target database table with the source data.
|
7579
8275
|
#
|
7580
8276
|
# You can only use this operation with a task in the `RUNNING` state,
|
@@ -7742,6 +8438,98 @@ module Aws::DatabaseMigrationService
|
|
7742
8438
|
req.send_request(options)
|
7743
8439
|
end
|
7744
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
|
+
|
7745
8533
|
# Starts the replication task.
|
7746
8534
|
#
|
7747
8535
|
# For more information about DMS tasks, see [Working with Migration
|
@@ -8096,6 +8884,69 @@ module Aws::DatabaseMigrationService
|
|
8096
8884
|
req.send_request(options)
|
8097
8885
|
end
|
8098
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
|
+
|
8099
8950
|
# Stops the replication task.
|
8100
8951
|
#
|
8101
8952
|
# @option params [required, String] :replication_task_arn
|
@@ -8294,7 +9145,7 @@ module Aws::DatabaseMigrationService
|
|
8294
9145
|
params: params,
|
8295
9146
|
config: config)
|
8296
9147
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
8297
|
-
context[:gem_version] = '1.
|
9148
|
+
context[:gem_version] = '1.82.0'
|
8298
9149
|
Seahorse::Client::Request.new(handlers, context)
|
8299
9150
|
end
|
8300
9151
|
|