aws-sdk-databasemigrationservice 1.88.0 → 1.111.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 +115 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +803 -85
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +272 -6
- data/lib/aws-sdk-databasemigrationservice/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-databasemigrationservice/endpoint_provider.rb +4 -4
- data/lib/aws-sdk-databasemigrationservice/endpoints.rb +2 -1482
- data/lib/aws-sdk-databasemigrationservice/errors.rb +16 -0
- data/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb +23 -226
- data/lib/aws-sdk-databasemigrationservice/types.rb +821 -76
- data/lib/aws-sdk-databasemigrationservice.rb +16 -12
- data/sig/client.rbs +2779 -0
- data/sig/errors.rbs +95 -0
- data/sig/resource.rbs +83 -0
- data/sig/types.rbs +2923 -0
- data/sig/waiters.rbs +153 -0
- metadata +16 -11
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -31,11 +32,10 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
31
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
34
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
35
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
36
38
|
|
37
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:databasemigrationservice)
|
38
|
-
|
39
39
|
module Aws::DatabaseMigrationService
|
40
40
|
# An API client for DatabaseMigrationService. To construct a client, you need to configure a `:region` and `:credentials`.
|
41
41
|
#
|
@@ -72,6 +72,7 @@ module Aws::DatabaseMigrationService
|
|
72
72
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
73
|
add_plugin(Aws::Plugins::StubResponses)
|
74
74
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
76
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
77
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
78
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -81,12 +82,18 @@ module Aws::DatabaseMigrationService
|
|
81
82
|
add_plugin(Aws::Plugins::RequestCompression)
|
82
83
|
add_plugin(Aws::Plugins::DefaultsMode)
|
83
84
|
add_plugin(Aws::Plugins::RecursionDetection)
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
84
86
|
add_plugin(Aws::Plugins::Sign)
|
85
87
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
86
88
|
add_plugin(Aws::DatabaseMigrationService::Plugins::Endpoints)
|
87
89
|
|
88
90
|
# @overload initialize(options)
|
89
91
|
# @param [Hash] options
|
92
|
+
#
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
95
|
+
# class name or an instance of a plugin class.
|
96
|
+
#
|
90
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
91
98
|
# Your AWS credentials. This can be an instance of any one of the
|
92
99
|
# following classes:
|
@@ -121,13 +128,15 @@ module Aws::DatabaseMigrationService
|
|
121
128
|
# locations will be searched for credentials:
|
122
129
|
#
|
123
130
|
# * `Aws.config[:credentials]`
|
124
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
125
|
-
#
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
|
+
# `:account_id` options.
|
133
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
134
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
126
135
|
# * `~/.aws/credentials`
|
127
136
|
# * `~/.aws/config`
|
128
137
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
129
138
|
# are very aggressive. Construct and pass an instance of
|
130
|
-
# `Aws::
|
139
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
131
140
|
# enable retries and extended timeouts. Instance profile credential
|
132
141
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
133
142
|
# to true.
|
@@ -146,6 +155,8 @@ module Aws::DatabaseMigrationService
|
|
146
155
|
#
|
147
156
|
# @option options [String] :access_key_id
|
148
157
|
#
|
158
|
+
# @option options [String] :account_id
|
159
|
+
#
|
149
160
|
# @option options [Boolean] :active_endpoint_cache (false)
|
150
161
|
# When set to `true`, a thread polling for endpoints will be running in
|
151
162
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -196,10 +207,16 @@ module Aws::DatabaseMigrationService
|
|
196
207
|
# When set to 'true' the request body will not be compressed
|
197
208
|
# for supported operations.
|
198
209
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
210
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
211
|
+
# Normally you should not configure the `:endpoint` option
|
212
|
+
# directly. This is normally constructed from the `:region`
|
213
|
+
# option. Configuring `:endpoint` is normally reserved for
|
214
|
+
# connecting to test or custom endpoints. The endpoint should
|
215
|
+
# be a URI formatted like:
|
216
|
+
#
|
217
|
+
# 'http://example.com'
|
218
|
+
# 'https://example.com'
|
219
|
+
# 'http://example.com:123'
|
203
220
|
#
|
204
221
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
222
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -289,25 +306,31 @@ module Aws::DatabaseMigrationService
|
|
289
306
|
# throttling. This is a provisional mode that may change behavior
|
290
307
|
# in the future.
|
291
308
|
#
|
292
|
-
#
|
293
309
|
# @option options [String] :sdk_ua_app_id
|
294
310
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# maximum length of 50.
|
311
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
312
|
+
# maximum length of 50. This variable is sourced from environment
|
313
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
297
314
|
#
|
298
315
|
# @option options [String] :secret_access_key
|
299
316
|
#
|
300
317
|
# @option options [String] :session_token
|
301
318
|
#
|
319
|
+
# @option options [Array] :sigv4a_signing_region_set
|
320
|
+
# A list of regions that should be signed with SigV4a signing. When
|
321
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
322
|
+
# in the following locations:
|
323
|
+
#
|
324
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
325
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
326
|
+
# * `~/.aws/config`
|
327
|
+
#
|
302
328
|
# @option options [Boolean] :simple_json (false)
|
303
329
|
# Disables request parameter conversion, validation, and formatting.
|
304
|
-
# Also
|
305
|
-
#
|
306
|
-
#
|
307
|
-
# structures.
|
308
|
-
#
|
309
|
-
# When `:simple_json` is enabled, the request parameters hash must
|
310
|
-
# be formatted exactly as the DynamoDB API expects.
|
330
|
+
# Also disables response data type conversions. The request parameters
|
331
|
+
# hash must be formatted exactly as the API expects.This option is useful
|
332
|
+
# when you want to ensure the highest level of performance by avoiding
|
333
|
+
# overhead of walking request parameters and response data structures.
|
311
334
|
#
|
312
335
|
# @option options [Boolean] :stub_responses (false)
|
313
336
|
# Causes the client to return stubbed responses. By default
|
@@ -318,6 +341,16 @@ module Aws::DatabaseMigrationService
|
|
318
341
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
319
342
|
# requests are made, and retries are disabled.
|
320
343
|
#
|
344
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
345
|
+
# Allows you to provide a telemetry provider, which is used to
|
346
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
347
|
+
# will not record or emit any telemetry data. The SDK supports the
|
348
|
+
# following telemetry providers:
|
349
|
+
#
|
350
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
351
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
352
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
353
|
+
#
|
321
354
|
# @option options [Aws::TokenProvider] :token_provider
|
322
355
|
# A Bearer Token Provider. This can be an instance of any one of the
|
323
356
|
# following classes:
|
@@ -345,52 +378,75 @@ module Aws::DatabaseMigrationService
|
|
345
378
|
# sending the request.
|
346
379
|
#
|
347
380
|
# @option options [Aws::DatabaseMigrationService::EndpointProvider] :endpoint_provider
|
348
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# `
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
381
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
382
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
383
|
+
# `Aws::DatabaseMigrationService::EndpointParameters`.
|
384
|
+
#
|
385
|
+
# @option options [Float] :http_continue_timeout (1)
|
386
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
387
|
+
# request body. This option has no effect unless the request has "Expect"
|
388
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
389
|
+
# behaviour. This value can safely be set per request on the session.
|
390
|
+
#
|
391
|
+
# @option options [Float] :http_idle_timeout (5)
|
392
|
+
# The number of seconds a connection is allowed to sit idle before it
|
393
|
+
# is considered stale. Stale connections are closed and removed from the
|
394
|
+
# pool before making a request.
|
395
|
+
#
|
396
|
+
# @option options [Float] :http_open_timeout (15)
|
397
|
+
# The default number of seconds to wait for response data.
|
398
|
+
# This value can safely be set per-request on the session.
|
399
|
+
#
|
400
|
+
# @option options [URI::HTTP,String] :http_proxy
|
401
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
402
|
+
#
|
403
|
+
# @option options [Float] :http_read_timeout (60)
|
404
|
+
# The default number of seconds to wait for response data.
|
405
|
+
# This value can safely be set per-request on the session.
|
406
|
+
#
|
407
|
+
# @option options [Boolean] :http_wire_trace (false)
|
408
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
409
|
+
#
|
410
|
+
# @option options [Proc] :on_chunk_received
|
411
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
412
|
+
# of the response body is received. It provides three arguments: the chunk,
|
413
|
+
# the number of bytes received, and the total number of
|
414
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
415
|
+
#
|
416
|
+
# @option options [Proc] :on_chunk_sent
|
417
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
418
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
419
|
+
# the number of bytes read from the body, and the total number of
|
420
|
+
# bytes in the body.
|
421
|
+
#
|
422
|
+
# @option options [Boolean] :raise_response_errors (true)
|
423
|
+
# When `true`, response errors are raised.
|
424
|
+
#
|
425
|
+
# @option options [String] :ssl_ca_bundle
|
426
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
427
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
428
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
429
|
+
#
|
430
|
+
# @option options [String] :ssl_ca_directory
|
431
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
432
|
+
# authority files for verifying peer certificates. If you do
|
433
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
434
|
+
# default will be used if available.
|
365
435
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
368
|
-
# request body. This option has no effect unless the request has
|
369
|
-
# "Expect" header set to "100-continue". Defaults to `nil` which
|
370
|
-
# disables this behaviour. This value can safely be set per
|
371
|
-
# request on the session.
|
436
|
+
# @option options [String] :ssl_ca_store
|
437
|
+
# Sets the X509::Store to verify peer certificate.
|
372
438
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
439
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
440
|
+
# Sets a client certificate when creating http connections.
|
375
441
|
#
|
376
|
-
# @option options [
|
377
|
-
#
|
442
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
443
|
+
# Sets a client key when creating http connections.
|
378
444
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
445
|
+
# @option options [Float] :ssl_timeout
|
446
|
+
# Sets the SSL timeout in seconds
|
382
447
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
388
|
-
#
|
389
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
390
|
-
# directory that contains the unbundled SSL certificate
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
448
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
449
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
450
|
#
|
395
451
|
def initialize(*args)
|
396
452
|
super
|
@@ -609,6 +665,12 @@ module Aws::DatabaseMigrationService
|
|
609
665
|
# resp.replication_task_assessment_run.result_encryption_mode #=> String
|
610
666
|
# resp.replication_task_assessment_run.result_kms_key_arn #=> String
|
611
667
|
# resp.replication_task_assessment_run.assessment_run_name #=> String
|
668
|
+
# resp.replication_task_assessment_run.is_latest_task_assessment_run #=> Boolean
|
669
|
+
# resp.replication_task_assessment_run.result_statistic.passed #=> Integer
|
670
|
+
# resp.replication_task_assessment_run.result_statistic.failed #=> Integer
|
671
|
+
# resp.replication_task_assessment_run.result_statistic.error #=> Integer
|
672
|
+
# resp.replication_task_assessment_run.result_statistic.warning #=> Integer
|
673
|
+
# resp.replication_task_assessment_run.result_statistic.cancelled #=> Integer
|
612
674
|
#
|
613
675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun AWS API Documentation
|
614
676
|
#
|
@@ -619,6 +681,122 @@ module Aws::DatabaseMigrationService
|
|
619
681
|
req.send_request(options)
|
620
682
|
end
|
621
683
|
|
684
|
+
# Creates a data migration using the provided settings.
|
685
|
+
#
|
686
|
+
# @option params [String] :data_migration_name
|
687
|
+
# A user-friendly name for the data migration. Data migration names have
|
688
|
+
# the following constraints:
|
689
|
+
#
|
690
|
+
# * Must begin with a letter, and can only contain ASCII letters,
|
691
|
+
# digits, and hyphens.
|
692
|
+
#
|
693
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
694
|
+
#
|
695
|
+
# * Length must be from 1 to 255 characters.
|
696
|
+
#
|
697
|
+
# @option params [required, String] :migration_project_identifier
|
698
|
+
# An identifier for the migration project.
|
699
|
+
#
|
700
|
+
# @option params [required, String] :data_migration_type
|
701
|
+
# Specifies if the data migration is full-load only, change data capture
|
702
|
+
# (CDC) only, or full-load and CDC.
|
703
|
+
#
|
704
|
+
# @option params [required, String] :service_access_role_arn
|
705
|
+
# The Amazon Resource Name (ARN) for the service access role that you
|
706
|
+
# want to use to create the data migration.
|
707
|
+
#
|
708
|
+
# @option params [Boolean] :enable_cloudwatch_logs
|
709
|
+
# Specifies whether to enable CloudWatch logs for the data migration.
|
710
|
+
#
|
711
|
+
# @option params [Array<Types::SourceDataSetting>] :source_data_settings
|
712
|
+
# Specifies information about the source data provider.
|
713
|
+
#
|
714
|
+
# @option params [Integer] :number_of_jobs
|
715
|
+
# The number of parallel jobs that trigger parallel threads to unload
|
716
|
+
# the tables from the source, and then load them to the target.
|
717
|
+
#
|
718
|
+
# @option params [Array<Types::Tag>] :tags
|
719
|
+
# One or more tags to be assigned to the data migration.
|
720
|
+
#
|
721
|
+
# @option params [String] :selection_rules
|
722
|
+
# An optional JSON string specifying what tables, views, and schemas to
|
723
|
+
# include or exclude from the migration.
|
724
|
+
#
|
725
|
+
# @return [Types::CreateDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
726
|
+
#
|
727
|
+
# * {Types::CreateDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
|
728
|
+
#
|
729
|
+
# @example Request syntax with placeholder values
|
730
|
+
#
|
731
|
+
# resp = client.create_data_migration({
|
732
|
+
# data_migration_name: "String",
|
733
|
+
# migration_project_identifier: "String", # required
|
734
|
+
# data_migration_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc
|
735
|
+
# service_access_role_arn: "String", # required
|
736
|
+
# enable_cloudwatch_logs: false,
|
737
|
+
# source_data_settings: [
|
738
|
+
# {
|
739
|
+
# cdc_start_position: "String",
|
740
|
+
# cdc_start_time: Time.now,
|
741
|
+
# cdc_stop_time: Time.now,
|
742
|
+
# slot_name: "String",
|
743
|
+
# },
|
744
|
+
# ],
|
745
|
+
# number_of_jobs: 1,
|
746
|
+
# tags: [
|
747
|
+
# {
|
748
|
+
# key: "String",
|
749
|
+
# value: "String",
|
750
|
+
# resource_arn: "String",
|
751
|
+
# },
|
752
|
+
# ],
|
753
|
+
# selection_rules: "SecretString",
|
754
|
+
# })
|
755
|
+
#
|
756
|
+
# @example Response structure
|
757
|
+
#
|
758
|
+
# resp.data_migration.data_migration_name #=> String
|
759
|
+
# resp.data_migration.data_migration_arn #=> String
|
760
|
+
# resp.data_migration.data_migration_create_time #=> Time
|
761
|
+
# resp.data_migration.data_migration_start_time #=> Time
|
762
|
+
# resp.data_migration.data_migration_end_time #=> Time
|
763
|
+
# resp.data_migration.service_access_role_arn #=> String
|
764
|
+
# resp.data_migration.migration_project_arn #=> String
|
765
|
+
# resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
766
|
+
# resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
|
767
|
+
# resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
768
|
+
# resp.data_migration.data_migration_settings.selection_rules #=> String
|
769
|
+
# resp.data_migration.source_data_settings #=> Array
|
770
|
+
# resp.data_migration.source_data_settings[0].cdc_start_position #=> String
|
771
|
+
# resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
|
772
|
+
# resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
|
773
|
+
# resp.data_migration.source_data_settings[0].slot_name #=> String
|
774
|
+
# resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
|
775
|
+
# resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
|
776
|
+
# resp.data_migration.data_migration_statistics.tables_loading #=> Integer
|
777
|
+
# resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
|
778
|
+
# resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
|
779
|
+
# resp.data_migration.data_migration_statistics.tables_queued #=> Integer
|
780
|
+
# resp.data_migration.data_migration_statistics.tables_errored #=> Integer
|
781
|
+
# resp.data_migration.data_migration_statistics.start_time #=> Time
|
782
|
+
# resp.data_migration.data_migration_statistics.stop_time #=> Time
|
783
|
+
# resp.data_migration.data_migration_status #=> String
|
784
|
+
# resp.data_migration.public_ip_addresses #=> Array
|
785
|
+
# resp.data_migration.public_ip_addresses[0] #=> String
|
786
|
+
# resp.data_migration.data_migration_cidr_blocks #=> Array
|
787
|
+
# resp.data_migration.data_migration_cidr_blocks[0] #=> String
|
788
|
+
# resp.data_migration.last_failure_message #=> String
|
789
|
+
# resp.data_migration.stop_reason #=> String
|
790
|
+
#
|
791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateDataMigration AWS API Documentation
|
792
|
+
#
|
793
|
+
# @overload create_data_migration(params = {})
|
794
|
+
# @param [Hash] params ({})
|
795
|
+
def create_data_migration(params = {}, options = {})
|
796
|
+
req = build_request(:create_data_migration, params)
|
797
|
+
req.send_request(options)
|
798
|
+
end
|
799
|
+
|
622
800
|
# Creates a data provider using the provided settings. A data provider
|
623
801
|
# stores a data store type and location information about your database.
|
624
802
|
#
|
@@ -630,9 +808,10 @@ module Aws::DatabaseMigrationService
|
|
630
808
|
#
|
631
809
|
# @option params [required, String] :engine
|
632
810
|
# The type of database engine for the data provider. Valid values
|
633
|
-
# include `"aurora"`, `"
|
634
|
-
# `"postgres"`,
|
635
|
-
# Amazon Aurora
|
811
|
+
# include `"aurora"`, `"aurora-postgresql"`, `"mysql"`, `"oracle"`,
|
812
|
+
# `"postgres"`, `"sqlserver"`, `redshift`, `mariadb`, `mongodb`, and
|
813
|
+
# `docdb`. A value of `"aurora"` represents Amazon Aurora
|
814
|
+
# MySQL-Compatible Edition.
|
636
815
|
#
|
637
816
|
# @option params [required, Types::DataProviderSettings] :settings
|
638
817
|
# The settings in JSON format for a data provider.
|
@@ -850,7 +1029,10 @@ module Aws::DatabaseMigrationService
|
|
850
1029
|
# `"mariadb"`, `"aurora"`, `"aurora-postgresql"`, `"opensearch"`,
|
851
1030
|
# `"redshift"`, `"s3"`, `"db2"`, `"db2-zos"`, `"azuredb"`, `"sybase"`,
|
852
1031
|
# `"dynamodb"`, `"mongodb"`, `"kinesis"`, `"kafka"`, `"elasticsearch"`,
|
853
|
-
# `"docdb"`, `"sqlserver"`, `"neptune"`,
|
1032
|
+
# `"docdb"`, `"sqlserver"`, `"neptune"`, `"babelfish"`,
|
1033
|
+
# `redshift-serverless`, `aurora-serverless`,
|
1034
|
+
# `aurora-postgresql-serverless`, `gcp-mysql`,
|
1035
|
+
# `azure-sql-managed-instance`, `redis`, `dms-transfer`.
|
854
1036
|
#
|
855
1037
|
# @option params [String] :username
|
856
1038
|
# The user name to be used to log in to the endpoint database.
|
@@ -945,8 +1127,8 @@ module Aws::DatabaseMigrationService
|
|
945
1127
|
# Shorthand syntax for these settings is as follows:
|
946
1128
|
# `ServiceAccessRoleArn=string,BucketName=string`
|
947
1129
|
#
|
948
|
-
# JSON syntax for these settings is as follows:
|
949
|
-
# "ServiceAccessRoleArn": "string", "BucketName": "string",
|
1130
|
+
# JSON syntax for these settings is as follows: `{
|
1131
|
+
# "ServiceAccessRoleArn": "string", "BucketName": "string", } `
|
950
1132
|
#
|
951
1133
|
# @option params [Types::MongoDbSettings] :mongo_db_settings
|
952
1134
|
# Settings in JSON format for the source MongoDB endpoint. For more
|
@@ -1243,6 +1425,7 @@ module Aws::DatabaseMigrationService
|
|
1243
1425
|
# include_control_details: false,
|
1244
1426
|
# include_null_and_empty: false,
|
1245
1427
|
# no_hex_prefix: false,
|
1428
|
+
# use_large_integer_value: false,
|
1246
1429
|
# },
|
1247
1430
|
# kafka_settings: {
|
1248
1431
|
# broker: "String",
|
@@ -1265,6 +1448,7 @@ module Aws::DatabaseMigrationService
|
|
1265
1448
|
# no_hex_prefix: false,
|
1266
1449
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
1267
1450
|
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
1451
|
+
# use_large_integer_value: false,
|
1268
1452
|
# },
|
1269
1453
|
# elasticsearch_settings: {
|
1270
1454
|
# service_access_role_arn: "String", # required
|
@@ -1340,6 +1524,7 @@ module Aws::DatabaseMigrationService
|
|
1340
1524
|
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
1341
1525
|
# database_mode: "default", # accepts default, babelfish
|
1342
1526
|
# babelfish_database_name: "String",
|
1527
|
+
# disable_unicode_source_filter: false,
|
1343
1528
|
# },
|
1344
1529
|
# my_sql_settings: {
|
1345
1530
|
# after_connect_script: "String",
|
@@ -1356,6 +1541,7 @@ module Aws::DatabaseMigrationService
|
|
1356
1541
|
# username: "String",
|
1357
1542
|
# secrets_manager_access_role_arn: "String",
|
1358
1543
|
# secrets_manager_secret_id: "String",
|
1544
|
+
# execute_timeout: 1,
|
1359
1545
|
# },
|
1360
1546
|
# oracle_settings: {
|
1361
1547
|
# add_supplemental_logging: false,
|
@@ -1401,6 +1587,7 @@ module Aws::DatabaseMigrationService
|
|
1401
1587
|
# trim_space_in_char: false,
|
1402
1588
|
# convert_timestamp_with_zone_to_utc: false,
|
1403
1589
|
# open_transaction_window: 1,
|
1590
|
+
# authentication_method: "password", # accepts password, kerberos
|
1404
1591
|
# },
|
1405
1592
|
# sybase_settings: {
|
1406
1593
|
# database_name: "String",
|
@@ -1429,6 +1616,7 @@ module Aws::DatabaseMigrationService
|
|
1429
1616
|
# trim_space_in_char: false,
|
1430
1617
|
# tlog_access_mode: "BackupOnly", # accepts BackupOnly, PreferBackup, PreferTlog, TlogOnly
|
1431
1618
|
# force_lob_lookup: false,
|
1619
|
+
# authentication_method: "password", # accepts password, kerberos
|
1432
1620
|
# },
|
1433
1621
|
# ibm_db_2_settings: {
|
1434
1622
|
# database_name: "String",
|
@@ -1441,6 +1629,10 @@ module Aws::DatabaseMigrationService
|
|
1441
1629
|
# username: "String",
|
1442
1630
|
# secrets_manager_access_role_arn: "String",
|
1443
1631
|
# secrets_manager_secret_id: "String",
|
1632
|
+
# load_timeout: 1,
|
1633
|
+
# write_buffer_size: 1,
|
1634
|
+
# max_file_size: 1,
|
1635
|
+
# keep_csv_files: false,
|
1444
1636
|
# },
|
1445
1637
|
# resource_identifier: "String",
|
1446
1638
|
# doc_db_settings: {
|
@@ -1581,6 +1773,7 @@ module Aws::DatabaseMigrationService
|
|
1581
1773
|
# resp.endpoint.kinesis_settings.include_control_details #=> Boolean
|
1582
1774
|
# resp.endpoint.kinesis_settings.include_null_and_empty #=> Boolean
|
1583
1775
|
# resp.endpoint.kinesis_settings.no_hex_prefix #=> Boolean
|
1776
|
+
# resp.endpoint.kinesis_settings.use_large_integer_value #=> Boolean
|
1584
1777
|
# resp.endpoint.kafka_settings.broker #=> String
|
1585
1778
|
# resp.endpoint.kafka_settings.topic #=> String
|
1586
1779
|
# resp.endpoint.kafka_settings.message_format #=> String, one of "json", "json-unformatted"
|
@@ -1601,6 +1794,7 @@ module Aws::DatabaseMigrationService
|
|
1601
1794
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
1602
1795
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
1603
1796
|
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
1797
|
+
# resp.endpoint.kafka_settings.use_large_integer_value #=> Boolean
|
1604
1798
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
1605
1799
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
1606
1800
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -1668,6 +1862,7 @@ module Aws::DatabaseMigrationService
|
|
1668
1862
|
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
1669
1863
|
# resp.endpoint.postgre_sql_settings.database_mode #=> String, one of "default", "babelfish"
|
1670
1864
|
# resp.endpoint.postgre_sql_settings.babelfish_database_name #=> String
|
1865
|
+
# resp.endpoint.postgre_sql_settings.disable_unicode_source_filter #=> Boolean
|
1671
1866
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
1672
1867
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
1673
1868
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -1682,6 +1877,7 @@ module Aws::DatabaseMigrationService
|
|
1682
1877
|
# resp.endpoint.my_sql_settings.username #=> String
|
1683
1878
|
# resp.endpoint.my_sql_settings.secrets_manager_access_role_arn #=> String
|
1684
1879
|
# resp.endpoint.my_sql_settings.secrets_manager_secret_id #=> String
|
1880
|
+
# resp.endpoint.my_sql_settings.execute_timeout #=> Integer
|
1685
1881
|
# resp.endpoint.oracle_settings.add_supplemental_logging #=> Boolean
|
1686
1882
|
# resp.endpoint.oracle_settings.archived_log_dest_id #=> Integer
|
1687
1883
|
# resp.endpoint.oracle_settings.additional_archived_log_dest_id #=> Integer
|
@@ -1726,6 +1922,7 @@ module Aws::DatabaseMigrationService
|
|
1726
1922
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
1727
1923
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
1728
1924
|
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
1925
|
+
# resp.endpoint.oracle_settings.authentication_method #=> String, one of "password", "kerberos"
|
1729
1926
|
# resp.endpoint.sybase_settings.database_name #=> String
|
1730
1927
|
# resp.endpoint.sybase_settings.password #=> String
|
1731
1928
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -1750,6 +1947,7 @@ module Aws::DatabaseMigrationService
|
|
1750
1947
|
# resp.endpoint.microsoft_sql_server_settings.trim_space_in_char #=> Boolean
|
1751
1948
|
# resp.endpoint.microsoft_sql_server_settings.tlog_access_mode #=> String, one of "BackupOnly", "PreferBackup", "PreferTlog", "TlogOnly"
|
1752
1949
|
# resp.endpoint.microsoft_sql_server_settings.force_lob_lookup #=> Boolean
|
1950
|
+
# resp.endpoint.microsoft_sql_server_settings.authentication_method #=> String, one of "password", "kerberos"
|
1753
1951
|
# resp.endpoint.ibm_db_2_settings.database_name #=> String
|
1754
1952
|
# resp.endpoint.ibm_db_2_settings.password #=> String
|
1755
1953
|
# resp.endpoint.ibm_db_2_settings.port #=> Integer
|
@@ -1760,6 +1958,10 @@ module Aws::DatabaseMigrationService
|
|
1760
1958
|
# resp.endpoint.ibm_db_2_settings.username #=> String
|
1761
1959
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_access_role_arn #=> String
|
1762
1960
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_secret_id #=> String
|
1961
|
+
# resp.endpoint.ibm_db_2_settings.load_timeout #=> Integer
|
1962
|
+
# resp.endpoint.ibm_db_2_settings.write_buffer_size #=> Integer
|
1963
|
+
# resp.endpoint.ibm_db_2_settings.max_file_size #=> Integer
|
1964
|
+
# resp.endpoint.ibm_db_2_settings.keep_csv_files #=> Boolean
|
1763
1965
|
# resp.endpoint.doc_db_settings.username #=> String
|
1764
1966
|
# resp.endpoint.doc_db_settings.password #=> String
|
1765
1967
|
# resp.endpoint.doc_db_settings.server_name #=> String
|
@@ -2545,6 +2747,10 @@ module Aws::DatabaseMigrationService
|
|
2545
2747
|
# as IPv4 only or Dual-stack that supports both IPv4 and IPv6
|
2546
2748
|
# addressing. IPv6 only is not yet supported.
|
2547
2749
|
#
|
2750
|
+
# @option params [Types::KerberosAuthenticationSettings] :kerberos_authentication_settings
|
2751
|
+
# Specifies the ID of the secret that stores the key cache file required
|
2752
|
+
# for kerberos authentication, when creating a replication instance.
|
2753
|
+
#
|
2548
2754
|
# @return [Types::CreateReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2549
2755
|
#
|
2550
2756
|
# * {Types::CreateReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
|
@@ -2635,7 +2841,7 @@ module Aws::DatabaseMigrationService
|
|
2635
2841
|
# resp = client.create_replication_instance({
|
2636
2842
|
# replication_instance_identifier: "String", # required
|
2637
2843
|
# allocated_storage: 1,
|
2638
|
-
# replication_instance_class: "
|
2844
|
+
# replication_instance_class: "ReplicationInstanceClass", # required
|
2639
2845
|
# vpc_security_group_ids: ["String"],
|
2640
2846
|
# availability_zone: "String",
|
2641
2847
|
# replication_subnet_group_identifier: "String",
|
@@ -2655,6 +2861,11 @@ module Aws::DatabaseMigrationService
|
|
2655
2861
|
# dns_name_servers: "String",
|
2656
2862
|
# resource_identifier: "String",
|
2657
2863
|
# network_type: "String",
|
2864
|
+
# kerberos_authentication_settings: {
|
2865
|
+
# key_cache_secret_id: "String",
|
2866
|
+
# key_cache_secret_iam_arn: "String",
|
2867
|
+
# krb_5_file_contents: "String",
|
2868
|
+
# },
|
2658
2869
|
# })
|
2659
2870
|
#
|
2660
2871
|
# @example Response structure
|
@@ -2702,6 +2913,9 @@ module Aws::DatabaseMigrationService
|
|
2702
2913
|
# resp.replication_instance.free_until #=> Time
|
2703
2914
|
# resp.replication_instance.dns_name_servers #=> String
|
2704
2915
|
# resp.replication_instance.network_type #=> String
|
2916
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_id #=> String
|
2917
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_iam_arn #=> String
|
2918
|
+
# resp.replication_instance.kerberos_authentication_settings.krb_5_file_contents #=> String
|
2705
2919
|
#
|
2706
2920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance AWS API Documentation
|
2707
2921
|
#
|
@@ -2736,7 +2950,7 @@ module Aws::DatabaseMigrationService
|
|
2736
2950
|
# lowercase string.
|
2737
2951
|
#
|
2738
2952
|
# Constraints: Must contain no more than 255 alphanumeric characters,
|
2739
|
-
# periods,
|
2953
|
+
# periods, underscores, or hyphens. Must not be "default".
|
2740
2954
|
#
|
2741
2955
|
# Example: `mySubnetgroup`
|
2742
2956
|
#
|
@@ -2744,7 +2958,7 @@ module Aws::DatabaseMigrationService
|
|
2744
2958
|
# The description for the subnet group.
|
2745
2959
|
#
|
2746
2960
|
# @option params [required, Array<String>] :subnet_ids
|
2747
|
-
#
|
2961
|
+
# Two or more subnet IDs to be assigned to the subnet group.
|
2748
2962
|
#
|
2749
2963
|
# @option params [Array<Types::Tag>] :tags
|
2750
2964
|
# One or more tags to be assigned to the subnet group.
|
@@ -3145,6 +3359,65 @@ module Aws::DatabaseMigrationService
|
|
3145
3359
|
req.send_request(options)
|
3146
3360
|
end
|
3147
3361
|
|
3362
|
+
# Deletes the specified data migration.
|
3363
|
+
#
|
3364
|
+
# @option params [required, String] :data_migration_identifier
|
3365
|
+
# The identifier (name or ARN) of the data migration to delete.
|
3366
|
+
#
|
3367
|
+
# @return [Types::DeleteDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3368
|
+
#
|
3369
|
+
# * {Types::DeleteDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
|
3370
|
+
#
|
3371
|
+
# @example Request syntax with placeholder values
|
3372
|
+
#
|
3373
|
+
# resp = client.delete_data_migration({
|
3374
|
+
# data_migration_identifier: "String", # required
|
3375
|
+
# })
|
3376
|
+
#
|
3377
|
+
# @example Response structure
|
3378
|
+
#
|
3379
|
+
# resp.data_migration.data_migration_name #=> String
|
3380
|
+
# resp.data_migration.data_migration_arn #=> String
|
3381
|
+
# resp.data_migration.data_migration_create_time #=> Time
|
3382
|
+
# resp.data_migration.data_migration_start_time #=> Time
|
3383
|
+
# resp.data_migration.data_migration_end_time #=> Time
|
3384
|
+
# resp.data_migration.service_access_role_arn #=> String
|
3385
|
+
# resp.data_migration.migration_project_arn #=> String
|
3386
|
+
# resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
3387
|
+
# resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
|
3388
|
+
# resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
3389
|
+
# resp.data_migration.data_migration_settings.selection_rules #=> String
|
3390
|
+
# resp.data_migration.source_data_settings #=> Array
|
3391
|
+
# resp.data_migration.source_data_settings[0].cdc_start_position #=> String
|
3392
|
+
# resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
|
3393
|
+
# resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
|
3394
|
+
# resp.data_migration.source_data_settings[0].slot_name #=> String
|
3395
|
+
# resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
|
3396
|
+
# resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
|
3397
|
+
# resp.data_migration.data_migration_statistics.tables_loading #=> Integer
|
3398
|
+
# resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
|
3399
|
+
# resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
|
3400
|
+
# resp.data_migration.data_migration_statistics.tables_queued #=> Integer
|
3401
|
+
# resp.data_migration.data_migration_statistics.tables_errored #=> Integer
|
3402
|
+
# resp.data_migration.data_migration_statistics.start_time #=> Time
|
3403
|
+
# resp.data_migration.data_migration_statistics.stop_time #=> Time
|
3404
|
+
# resp.data_migration.data_migration_status #=> String
|
3405
|
+
# resp.data_migration.public_ip_addresses #=> Array
|
3406
|
+
# resp.data_migration.public_ip_addresses[0] #=> String
|
3407
|
+
# resp.data_migration.data_migration_cidr_blocks #=> Array
|
3408
|
+
# resp.data_migration.data_migration_cidr_blocks[0] #=> String
|
3409
|
+
# resp.data_migration.last_failure_message #=> String
|
3410
|
+
# resp.data_migration.stop_reason #=> String
|
3411
|
+
#
|
3412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteDataMigration AWS API Documentation
|
3413
|
+
#
|
3414
|
+
# @overload delete_data_migration(params = {})
|
3415
|
+
# @param [Hash] params ({})
|
3416
|
+
def delete_data_migration(params = {}, options = {})
|
3417
|
+
req = build_request(:delete_data_migration, params)
|
3418
|
+
req.send_request(options)
|
3419
|
+
end
|
3420
|
+
|
3148
3421
|
# Deletes the specified data provider.
|
3149
3422
|
#
|
3150
3423
|
# <note markdown="1"> All migration projects associated with the data provider must be
|
@@ -3388,6 +3661,7 @@ module Aws::DatabaseMigrationService
|
|
3388
3661
|
# resp.endpoint.kinesis_settings.include_control_details #=> Boolean
|
3389
3662
|
# resp.endpoint.kinesis_settings.include_null_and_empty #=> Boolean
|
3390
3663
|
# resp.endpoint.kinesis_settings.no_hex_prefix #=> Boolean
|
3664
|
+
# resp.endpoint.kinesis_settings.use_large_integer_value #=> Boolean
|
3391
3665
|
# resp.endpoint.kafka_settings.broker #=> String
|
3392
3666
|
# resp.endpoint.kafka_settings.topic #=> String
|
3393
3667
|
# resp.endpoint.kafka_settings.message_format #=> String, one of "json", "json-unformatted"
|
@@ -3408,6 +3682,7 @@ module Aws::DatabaseMigrationService
|
|
3408
3682
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
3409
3683
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
3410
3684
|
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
3685
|
+
# resp.endpoint.kafka_settings.use_large_integer_value #=> Boolean
|
3411
3686
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
3412
3687
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
3413
3688
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -3475,6 +3750,7 @@ module Aws::DatabaseMigrationService
|
|
3475
3750
|
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
3476
3751
|
# resp.endpoint.postgre_sql_settings.database_mode #=> String, one of "default", "babelfish"
|
3477
3752
|
# resp.endpoint.postgre_sql_settings.babelfish_database_name #=> String
|
3753
|
+
# resp.endpoint.postgre_sql_settings.disable_unicode_source_filter #=> Boolean
|
3478
3754
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
3479
3755
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
3480
3756
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -3489,6 +3765,7 @@ module Aws::DatabaseMigrationService
|
|
3489
3765
|
# resp.endpoint.my_sql_settings.username #=> String
|
3490
3766
|
# resp.endpoint.my_sql_settings.secrets_manager_access_role_arn #=> String
|
3491
3767
|
# resp.endpoint.my_sql_settings.secrets_manager_secret_id #=> String
|
3768
|
+
# resp.endpoint.my_sql_settings.execute_timeout #=> Integer
|
3492
3769
|
# resp.endpoint.oracle_settings.add_supplemental_logging #=> Boolean
|
3493
3770
|
# resp.endpoint.oracle_settings.archived_log_dest_id #=> Integer
|
3494
3771
|
# resp.endpoint.oracle_settings.additional_archived_log_dest_id #=> Integer
|
@@ -3533,6 +3810,7 @@ module Aws::DatabaseMigrationService
|
|
3533
3810
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
3534
3811
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
3535
3812
|
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
3813
|
+
# resp.endpoint.oracle_settings.authentication_method #=> String, one of "password", "kerberos"
|
3536
3814
|
# resp.endpoint.sybase_settings.database_name #=> String
|
3537
3815
|
# resp.endpoint.sybase_settings.password #=> String
|
3538
3816
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -3557,6 +3835,7 @@ module Aws::DatabaseMigrationService
|
|
3557
3835
|
# resp.endpoint.microsoft_sql_server_settings.trim_space_in_char #=> Boolean
|
3558
3836
|
# resp.endpoint.microsoft_sql_server_settings.tlog_access_mode #=> String, one of "BackupOnly", "PreferBackup", "PreferTlog", "TlogOnly"
|
3559
3837
|
# resp.endpoint.microsoft_sql_server_settings.force_lob_lookup #=> Boolean
|
3838
|
+
# resp.endpoint.microsoft_sql_server_settings.authentication_method #=> String, one of "password", "kerberos"
|
3560
3839
|
# resp.endpoint.ibm_db_2_settings.database_name #=> String
|
3561
3840
|
# resp.endpoint.ibm_db_2_settings.password #=> String
|
3562
3841
|
# resp.endpoint.ibm_db_2_settings.port #=> Integer
|
@@ -3567,6 +3846,10 @@ module Aws::DatabaseMigrationService
|
|
3567
3846
|
# resp.endpoint.ibm_db_2_settings.username #=> String
|
3568
3847
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_access_role_arn #=> String
|
3569
3848
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_secret_id #=> String
|
3849
|
+
# resp.endpoint.ibm_db_2_settings.load_timeout #=> Integer
|
3850
|
+
# resp.endpoint.ibm_db_2_settings.write_buffer_size #=> Integer
|
3851
|
+
# resp.endpoint.ibm_db_2_settings.max_file_size #=> Integer
|
3852
|
+
# resp.endpoint.ibm_db_2_settings.keep_csv_files #=> Boolean
|
3570
3853
|
# resp.endpoint.doc_db_settings.username #=> String
|
3571
3854
|
# resp.endpoint.doc_db_settings.password #=> String
|
3572
3855
|
# resp.endpoint.doc_db_settings.server_name #=> String
|
@@ -4020,6 +4303,9 @@ module Aws::DatabaseMigrationService
|
|
4020
4303
|
# resp.replication_instance.free_until #=> Time
|
4021
4304
|
# resp.replication_instance.dns_name_servers #=> String
|
4022
4305
|
# resp.replication_instance.network_type #=> String
|
4306
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_id #=> String
|
4307
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_iam_arn #=> String
|
4308
|
+
# resp.replication_instance.kerberos_authentication_settings.krb_5_file_contents #=> String
|
4023
4309
|
#
|
4024
4310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance AWS API Documentation
|
4025
4311
|
#
|
@@ -4182,6 +4468,12 @@ module Aws::DatabaseMigrationService
|
|
4182
4468
|
# resp.replication_task_assessment_run.result_encryption_mode #=> String
|
4183
4469
|
# resp.replication_task_assessment_run.result_kms_key_arn #=> String
|
4184
4470
|
# resp.replication_task_assessment_run.assessment_run_name #=> String
|
4471
|
+
# resp.replication_task_assessment_run.is_latest_task_assessment_run #=> Boolean
|
4472
|
+
# resp.replication_task_assessment_run.result_statistic.passed #=> Integer
|
4473
|
+
# resp.replication_task_assessment_run.result_statistic.failed #=> Integer
|
4474
|
+
# resp.replication_task_assessment_run.result_statistic.error #=> Integer
|
4475
|
+
# resp.replication_task_assessment_run.result_statistic.warning #=> Integer
|
4476
|
+
# resp.replication_task_assessment_run.result_statistic.cancelled #=> Integer
|
4185
4477
|
#
|
4186
4478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskAssessmentRun AWS API Documentation
|
4187
4479
|
#
|
@@ -4582,6 +4874,101 @@ module Aws::DatabaseMigrationService
|
|
4582
4874
|
req.send_request(options)
|
4583
4875
|
end
|
4584
4876
|
|
4877
|
+
# Returns information about data migrations.
|
4878
|
+
#
|
4879
|
+
# @option params [Array<Types::Filter>] :filters
|
4880
|
+
# Filters applied to the data migrations.
|
4881
|
+
#
|
4882
|
+
# @option params [Integer] :max_records
|
4883
|
+
# The maximum number of records to include in the response. If more
|
4884
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4885
|
+
# token called a marker is included in the response so that the
|
4886
|
+
# remaining results can be retrieved.
|
4887
|
+
#
|
4888
|
+
# @option params [String] :marker
|
4889
|
+
# An optional pagination token provided by a previous request. If this
|
4890
|
+
# parameter is specified, the response includes only records beyond the
|
4891
|
+
# marker, up to the value specified by `MaxRecords`.
|
4892
|
+
#
|
4893
|
+
# @option params [Boolean] :without_settings
|
4894
|
+
# An option to set to avoid returning information about settings. Use
|
4895
|
+
# this to reduce overhead when setting information is too large. To use
|
4896
|
+
# this option, choose `true`; otherwise, choose `false` (the default).
|
4897
|
+
#
|
4898
|
+
# @option params [Boolean] :without_statistics
|
4899
|
+
# An option to set to avoid returning information about statistics. Use
|
4900
|
+
# this to reduce overhead when statistics information is too large. To
|
4901
|
+
# use this option, choose `true`; otherwise, choose `false` (the
|
4902
|
+
# default).
|
4903
|
+
#
|
4904
|
+
# @return [Types::DescribeDataMigrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4905
|
+
#
|
4906
|
+
# * {Types::DescribeDataMigrationsResponse#data_migrations #data_migrations} => Array<Types::DataMigration>
|
4907
|
+
# * {Types::DescribeDataMigrationsResponse#marker #marker} => String
|
4908
|
+
#
|
4909
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4910
|
+
#
|
4911
|
+
# @example Request syntax with placeholder values
|
4912
|
+
#
|
4913
|
+
# resp = client.describe_data_migrations({
|
4914
|
+
# filters: [
|
4915
|
+
# {
|
4916
|
+
# name: "String", # required
|
4917
|
+
# values: ["String"], # required
|
4918
|
+
# },
|
4919
|
+
# ],
|
4920
|
+
# max_records: 1,
|
4921
|
+
# marker: "Marker",
|
4922
|
+
# without_settings: false,
|
4923
|
+
# without_statistics: false,
|
4924
|
+
# })
|
4925
|
+
#
|
4926
|
+
# @example Response structure
|
4927
|
+
#
|
4928
|
+
# resp.data_migrations #=> Array
|
4929
|
+
# resp.data_migrations[0].data_migration_name #=> String
|
4930
|
+
# resp.data_migrations[0].data_migration_arn #=> String
|
4931
|
+
# resp.data_migrations[0].data_migration_create_time #=> Time
|
4932
|
+
# resp.data_migrations[0].data_migration_start_time #=> Time
|
4933
|
+
# resp.data_migrations[0].data_migration_end_time #=> Time
|
4934
|
+
# resp.data_migrations[0].service_access_role_arn #=> String
|
4935
|
+
# resp.data_migrations[0].migration_project_arn #=> String
|
4936
|
+
# resp.data_migrations[0].data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
4937
|
+
# resp.data_migrations[0].data_migration_settings.number_of_jobs #=> Integer
|
4938
|
+
# resp.data_migrations[0].data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
4939
|
+
# resp.data_migrations[0].data_migration_settings.selection_rules #=> String
|
4940
|
+
# resp.data_migrations[0].source_data_settings #=> Array
|
4941
|
+
# resp.data_migrations[0].source_data_settings[0].cdc_start_position #=> String
|
4942
|
+
# resp.data_migrations[0].source_data_settings[0].cdc_start_time #=> Time
|
4943
|
+
# resp.data_migrations[0].source_data_settings[0].cdc_stop_time #=> Time
|
4944
|
+
# resp.data_migrations[0].source_data_settings[0].slot_name #=> String
|
4945
|
+
# resp.data_migrations[0].data_migration_statistics.tables_loaded #=> Integer
|
4946
|
+
# resp.data_migrations[0].data_migration_statistics.elapsed_time_millis #=> Integer
|
4947
|
+
# resp.data_migrations[0].data_migration_statistics.tables_loading #=> Integer
|
4948
|
+
# resp.data_migrations[0].data_migration_statistics.full_load_percentage #=> Integer
|
4949
|
+
# resp.data_migrations[0].data_migration_statistics.cdc_latency #=> Integer
|
4950
|
+
# resp.data_migrations[0].data_migration_statistics.tables_queued #=> Integer
|
4951
|
+
# resp.data_migrations[0].data_migration_statistics.tables_errored #=> Integer
|
4952
|
+
# resp.data_migrations[0].data_migration_statistics.start_time #=> Time
|
4953
|
+
# resp.data_migrations[0].data_migration_statistics.stop_time #=> Time
|
4954
|
+
# resp.data_migrations[0].data_migration_status #=> String
|
4955
|
+
# resp.data_migrations[0].public_ip_addresses #=> Array
|
4956
|
+
# resp.data_migrations[0].public_ip_addresses[0] #=> String
|
4957
|
+
# resp.data_migrations[0].data_migration_cidr_blocks #=> Array
|
4958
|
+
# resp.data_migrations[0].data_migration_cidr_blocks[0] #=> String
|
4959
|
+
# resp.data_migrations[0].last_failure_message #=> String
|
4960
|
+
# resp.data_migrations[0].stop_reason #=> String
|
4961
|
+
# resp.marker #=> String
|
4962
|
+
#
|
4963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeDataMigrations AWS API Documentation
|
4964
|
+
#
|
4965
|
+
# @overload describe_data_migrations(params = {})
|
4966
|
+
# @param [Hash] params ({})
|
4967
|
+
def describe_data_migrations(params = {}, options = {})
|
4968
|
+
req = build_request(:describe_data_migrations, params)
|
4969
|
+
req.send_request(options)
|
4970
|
+
end
|
4971
|
+
|
4585
4972
|
# Returns a paginated list of data providers for your account in the
|
4586
4973
|
# current region.
|
4587
4974
|
#
|
@@ -4589,6 +4976,9 @@ module Aws::DatabaseMigrationService
|
|
4589
4976
|
# Filters applied to the data providers described in the form of
|
4590
4977
|
# key-value pairs.
|
4591
4978
|
#
|
4979
|
+
# Valid filter names and values: data-provider-identifier, data provider
|
4980
|
+
# arn or name
|
4981
|
+
#
|
4592
4982
|
# @option params [Integer] :max_records
|
4593
4983
|
# The maximum number of records to include in the response. If more
|
4594
4984
|
# records exist than the specified `MaxRecords` value, DMS includes a
|
@@ -5030,6 +5420,7 @@ module Aws::DatabaseMigrationService
|
|
5030
5420
|
# resp.endpoints[0].kinesis_settings.include_control_details #=> Boolean
|
5031
5421
|
# resp.endpoints[0].kinesis_settings.include_null_and_empty #=> Boolean
|
5032
5422
|
# resp.endpoints[0].kinesis_settings.no_hex_prefix #=> Boolean
|
5423
|
+
# resp.endpoints[0].kinesis_settings.use_large_integer_value #=> Boolean
|
5033
5424
|
# resp.endpoints[0].kafka_settings.broker #=> String
|
5034
5425
|
# resp.endpoints[0].kafka_settings.topic #=> String
|
5035
5426
|
# resp.endpoints[0].kafka_settings.message_format #=> String, one of "json", "json-unformatted"
|
@@ -5050,6 +5441,7 @@ module Aws::DatabaseMigrationService
|
|
5050
5441
|
# resp.endpoints[0].kafka_settings.no_hex_prefix #=> Boolean
|
5051
5442
|
# resp.endpoints[0].kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
5052
5443
|
# resp.endpoints[0].kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
5444
|
+
# resp.endpoints[0].kafka_settings.use_large_integer_value #=> Boolean
|
5053
5445
|
# resp.endpoints[0].elasticsearch_settings.service_access_role_arn #=> String
|
5054
5446
|
# resp.endpoints[0].elasticsearch_settings.endpoint_uri #=> String
|
5055
5447
|
# resp.endpoints[0].elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -5117,6 +5509,7 @@ module Aws::DatabaseMigrationService
|
|
5117
5509
|
# resp.endpoints[0].postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
5118
5510
|
# resp.endpoints[0].postgre_sql_settings.database_mode #=> String, one of "default", "babelfish"
|
5119
5511
|
# resp.endpoints[0].postgre_sql_settings.babelfish_database_name #=> String
|
5512
|
+
# resp.endpoints[0].postgre_sql_settings.disable_unicode_source_filter #=> Boolean
|
5120
5513
|
# resp.endpoints[0].my_sql_settings.after_connect_script #=> String
|
5121
5514
|
# resp.endpoints[0].my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
5122
5515
|
# resp.endpoints[0].my_sql_settings.database_name #=> String
|
@@ -5131,6 +5524,7 @@ module Aws::DatabaseMigrationService
|
|
5131
5524
|
# resp.endpoints[0].my_sql_settings.username #=> String
|
5132
5525
|
# resp.endpoints[0].my_sql_settings.secrets_manager_access_role_arn #=> String
|
5133
5526
|
# resp.endpoints[0].my_sql_settings.secrets_manager_secret_id #=> String
|
5527
|
+
# resp.endpoints[0].my_sql_settings.execute_timeout #=> Integer
|
5134
5528
|
# resp.endpoints[0].oracle_settings.add_supplemental_logging #=> Boolean
|
5135
5529
|
# resp.endpoints[0].oracle_settings.archived_log_dest_id #=> Integer
|
5136
5530
|
# resp.endpoints[0].oracle_settings.additional_archived_log_dest_id #=> Integer
|
@@ -5175,6 +5569,7 @@ module Aws::DatabaseMigrationService
|
|
5175
5569
|
# resp.endpoints[0].oracle_settings.trim_space_in_char #=> Boolean
|
5176
5570
|
# resp.endpoints[0].oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
5177
5571
|
# resp.endpoints[0].oracle_settings.open_transaction_window #=> Integer
|
5572
|
+
# resp.endpoints[0].oracle_settings.authentication_method #=> String, one of "password", "kerberos"
|
5178
5573
|
# resp.endpoints[0].sybase_settings.database_name #=> String
|
5179
5574
|
# resp.endpoints[0].sybase_settings.password #=> String
|
5180
5575
|
# resp.endpoints[0].sybase_settings.port #=> Integer
|
@@ -5199,6 +5594,7 @@ module Aws::DatabaseMigrationService
|
|
5199
5594
|
# resp.endpoints[0].microsoft_sql_server_settings.trim_space_in_char #=> Boolean
|
5200
5595
|
# resp.endpoints[0].microsoft_sql_server_settings.tlog_access_mode #=> String, one of "BackupOnly", "PreferBackup", "PreferTlog", "TlogOnly"
|
5201
5596
|
# resp.endpoints[0].microsoft_sql_server_settings.force_lob_lookup #=> Boolean
|
5597
|
+
# resp.endpoints[0].microsoft_sql_server_settings.authentication_method #=> String, one of "password", "kerberos"
|
5202
5598
|
# resp.endpoints[0].ibm_db_2_settings.database_name #=> String
|
5203
5599
|
# resp.endpoints[0].ibm_db_2_settings.password #=> String
|
5204
5600
|
# resp.endpoints[0].ibm_db_2_settings.port #=> Integer
|
@@ -5209,6 +5605,10 @@ module Aws::DatabaseMigrationService
|
|
5209
5605
|
# resp.endpoints[0].ibm_db_2_settings.username #=> String
|
5210
5606
|
# resp.endpoints[0].ibm_db_2_settings.secrets_manager_access_role_arn #=> String
|
5211
5607
|
# resp.endpoints[0].ibm_db_2_settings.secrets_manager_secret_id #=> String
|
5608
|
+
# resp.endpoints[0].ibm_db_2_settings.load_timeout #=> Integer
|
5609
|
+
# resp.endpoints[0].ibm_db_2_settings.write_buffer_size #=> Integer
|
5610
|
+
# resp.endpoints[0].ibm_db_2_settings.max_file_size #=> Integer
|
5611
|
+
# resp.endpoints[0].ibm_db_2_settings.keep_csv_files #=> Boolean
|
5212
5612
|
# resp.endpoints[0].doc_db_settings.username #=> String
|
5213
5613
|
# resp.endpoints[0].doc_db_settings.password #=> String
|
5214
5614
|
# resp.endpoints[0].doc_db_settings.server_name #=> String
|
@@ -5995,6 +6395,9 @@ module Aws::DatabaseMigrationService
|
|
5995
6395
|
# Filters applied to the instance profiles described in the form of
|
5996
6396
|
# key-value pairs.
|
5997
6397
|
#
|
6398
|
+
# Valid filter names and values: instance-profile-identifier, instance
|
6399
|
+
# profile arn or name
|
6400
|
+
#
|
5998
6401
|
# @option params [Integer] :max_records
|
5999
6402
|
# The maximum number of records to include in the response. If more
|
6000
6403
|
# records exist than the specified `MaxRecords` value, DMS includes a
|
@@ -6553,6 +6956,14 @@ module Aws::DatabaseMigrationService
|
|
6553
6956
|
# Filters applied to the migration projects described in the form of
|
6554
6957
|
# key-value pairs.
|
6555
6958
|
#
|
6959
|
+
# Valid filter names and values:
|
6960
|
+
#
|
6961
|
+
# * instance-profile-identifier, instance profile arn or name
|
6962
|
+
#
|
6963
|
+
# * data-provider-identifier, data provider arn or name
|
6964
|
+
#
|
6965
|
+
# * migration-project-identifier, migration project arn or name
|
6966
|
+
#
|
6556
6967
|
# @option params [Integer] :max_records
|
6557
6968
|
# The maximum number of records to include in the response. If more
|
6558
6969
|
# records exist than the specified `MaxRecords` value, DMS includes a
|
@@ -7249,6 +7660,9 @@ module Aws::DatabaseMigrationService
|
|
7249
7660
|
# resp.replication_instances[0].free_until #=> Time
|
7250
7661
|
# resp.replication_instances[0].dns_name_servers #=> String
|
7251
7662
|
# resp.replication_instances[0].network_type #=> String
|
7663
|
+
# resp.replication_instances[0].kerberos_authentication_settings.key_cache_secret_id #=> String
|
7664
|
+
# resp.replication_instances[0].kerberos_authentication_settings.key_cache_secret_iam_arn #=> String
|
7665
|
+
# resp.replication_instances[0].kerberos_authentication_settings.krb_5_file_contents #=> String
|
7252
7666
|
#
|
7253
7667
|
#
|
7254
7668
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -7576,6 +7990,12 @@ module Aws::DatabaseMigrationService
|
|
7576
7990
|
# resp.replication_task_assessment_runs[0].result_encryption_mode #=> String
|
7577
7991
|
# resp.replication_task_assessment_runs[0].result_kms_key_arn #=> String
|
7578
7992
|
# resp.replication_task_assessment_runs[0].assessment_run_name #=> String
|
7993
|
+
# resp.replication_task_assessment_runs[0].is_latest_task_assessment_run #=> Boolean
|
7994
|
+
# resp.replication_task_assessment_runs[0].result_statistic.passed #=> Integer
|
7995
|
+
# resp.replication_task_assessment_runs[0].result_statistic.failed #=> Integer
|
7996
|
+
# resp.replication_task_assessment_runs[0].result_statistic.error #=> Integer
|
7997
|
+
# resp.replication_task_assessment_runs[0].result_statistic.warning #=> Integer
|
7998
|
+
# resp.replication_task_assessment_runs[0].result_statistic.cancelled #=> Integer
|
7579
7999
|
#
|
7580
8000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentRuns AWS API Documentation
|
7581
8001
|
#
|
@@ -7851,6 +8271,7 @@ module Aws::DatabaseMigrationService
|
|
7851
8271
|
# resp.replications[0].replication_create_time #=> Time
|
7852
8272
|
# resp.replications[0].replication_update_time #=> Time
|
7853
8273
|
# resp.replications[0].replication_last_stop_time #=> Time
|
8274
|
+
# resp.replications[0].replication_deprovision_time #=> Time
|
7854
8275
|
#
|
7855
8276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplications AWS API Documentation
|
7856
8277
|
#
|
@@ -8132,7 +8553,7 @@ module Aws::DatabaseMigrationService
|
|
8132
8553
|
# SSL. Provide the name of a `.sso` file using the `fileb://` prefix.
|
8133
8554
|
# You can't provide the certificate inline.
|
8134
8555
|
#
|
8135
|
-
# Example: `filebase64("
|
8556
|
+
# Example: `filebase64("${path.root}/rds-ca-2019-root.sso")`
|
8136
8557
|
#
|
8137
8558
|
# @option params [Array<Types::Tag>] :tags
|
8138
8559
|
# The tags associated with the certificate.
|
@@ -8304,6 +8725,103 @@ module Aws::DatabaseMigrationService
|
|
8304
8725
|
req.send_request(options)
|
8305
8726
|
end
|
8306
8727
|
|
8728
|
+
# Modifies an existing DMS data migration.
|
8729
|
+
#
|
8730
|
+
# @option params [required, String] :data_migration_identifier
|
8731
|
+
# The identifier (name or ARN) of the data migration to modify.
|
8732
|
+
#
|
8733
|
+
# @option params [String] :data_migration_name
|
8734
|
+
# The new name for the data migration.
|
8735
|
+
#
|
8736
|
+
# @option params [Boolean] :enable_cloudwatch_logs
|
8737
|
+
# Whether to enable Cloudwatch logs for the data migration.
|
8738
|
+
#
|
8739
|
+
# @option params [String] :service_access_role_arn
|
8740
|
+
# The new service access role ARN for the data migration.
|
8741
|
+
#
|
8742
|
+
# @option params [String] :data_migration_type
|
8743
|
+
# The new migration type for the data migration.
|
8744
|
+
#
|
8745
|
+
# @option params [Array<Types::SourceDataSetting>] :source_data_settings
|
8746
|
+
# The new information about the source data provider for the data
|
8747
|
+
# migration.
|
8748
|
+
#
|
8749
|
+
# @option params [Integer] :number_of_jobs
|
8750
|
+
# The number of parallel jobs that trigger parallel threads to unload
|
8751
|
+
# the tables from the source, and then load them to the target.
|
8752
|
+
#
|
8753
|
+
# @option params [String] :selection_rules
|
8754
|
+
# A JSON-formatted string that defines what objects to include and
|
8755
|
+
# exclude from the migration.
|
8756
|
+
#
|
8757
|
+
# @return [Types::ModifyDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8758
|
+
#
|
8759
|
+
# * {Types::ModifyDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
|
8760
|
+
#
|
8761
|
+
# @example Request syntax with placeholder values
|
8762
|
+
#
|
8763
|
+
# resp = client.modify_data_migration({
|
8764
|
+
# data_migration_identifier: "String", # required
|
8765
|
+
# data_migration_name: "String",
|
8766
|
+
# enable_cloudwatch_logs: false,
|
8767
|
+
# service_access_role_arn: "String",
|
8768
|
+
# data_migration_type: "full-load", # accepts full-load, cdc, full-load-and-cdc
|
8769
|
+
# source_data_settings: [
|
8770
|
+
# {
|
8771
|
+
# cdc_start_position: "String",
|
8772
|
+
# cdc_start_time: Time.now,
|
8773
|
+
# cdc_stop_time: Time.now,
|
8774
|
+
# slot_name: "String",
|
8775
|
+
# },
|
8776
|
+
# ],
|
8777
|
+
# number_of_jobs: 1,
|
8778
|
+
# selection_rules: "SecretString",
|
8779
|
+
# })
|
8780
|
+
#
|
8781
|
+
# @example Response structure
|
8782
|
+
#
|
8783
|
+
# resp.data_migration.data_migration_name #=> String
|
8784
|
+
# resp.data_migration.data_migration_arn #=> String
|
8785
|
+
# resp.data_migration.data_migration_create_time #=> Time
|
8786
|
+
# resp.data_migration.data_migration_start_time #=> Time
|
8787
|
+
# resp.data_migration.data_migration_end_time #=> Time
|
8788
|
+
# resp.data_migration.service_access_role_arn #=> String
|
8789
|
+
# resp.data_migration.migration_project_arn #=> String
|
8790
|
+
# resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
8791
|
+
# resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
|
8792
|
+
# resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
8793
|
+
# resp.data_migration.data_migration_settings.selection_rules #=> String
|
8794
|
+
# resp.data_migration.source_data_settings #=> Array
|
8795
|
+
# resp.data_migration.source_data_settings[0].cdc_start_position #=> String
|
8796
|
+
# resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
|
8797
|
+
# resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
|
8798
|
+
# resp.data_migration.source_data_settings[0].slot_name #=> String
|
8799
|
+
# resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
|
8800
|
+
# resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
|
8801
|
+
# resp.data_migration.data_migration_statistics.tables_loading #=> Integer
|
8802
|
+
# resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
|
8803
|
+
# resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
|
8804
|
+
# resp.data_migration.data_migration_statistics.tables_queued #=> Integer
|
8805
|
+
# resp.data_migration.data_migration_statistics.tables_errored #=> Integer
|
8806
|
+
# resp.data_migration.data_migration_statistics.start_time #=> Time
|
8807
|
+
# resp.data_migration.data_migration_statistics.stop_time #=> Time
|
8808
|
+
# resp.data_migration.data_migration_status #=> String
|
8809
|
+
# resp.data_migration.public_ip_addresses #=> Array
|
8810
|
+
# resp.data_migration.public_ip_addresses[0] #=> String
|
8811
|
+
# resp.data_migration.data_migration_cidr_blocks #=> Array
|
8812
|
+
# resp.data_migration.data_migration_cidr_blocks[0] #=> String
|
8813
|
+
# resp.data_migration.last_failure_message #=> String
|
8814
|
+
# resp.data_migration.stop_reason #=> String
|
8815
|
+
#
|
8816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyDataMigration AWS API Documentation
|
8817
|
+
#
|
8818
|
+
# @overload modify_data_migration(params = {})
|
8819
|
+
# @param [Hash] params ({})
|
8820
|
+
def modify_data_migration(params = {}, options = {})
|
8821
|
+
req = build_request(:modify_data_migration, params)
|
8822
|
+
req.send_request(options)
|
8823
|
+
end
|
8824
|
+
|
8307
8825
|
# Modifies the specified data provider using the provided settings.
|
8308
8826
|
#
|
8309
8827
|
# <note markdown="1"> You must remove the data provider from all migration projects before
|
@@ -8324,9 +8842,10 @@ module Aws::DatabaseMigrationService
|
|
8324
8842
|
#
|
8325
8843
|
# @option params [String] :engine
|
8326
8844
|
# The type of database engine for the data provider. Valid values
|
8327
|
-
# include `"aurora"`, `"
|
8328
|
-
# `"postgres"`,
|
8329
|
-
# Amazon Aurora
|
8845
|
+
# include `"aurora"`, `"aurora-postgresql"`, `"mysql"`, `"oracle"`,
|
8846
|
+
# `"postgres"`, `"sqlserver"`, `redshift`, `mariadb`, `mongodb`, and
|
8847
|
+
# `docdb`. A value of `"aurora"` represents Amazon Aurora
|
8848
|
+
# MySQL-Compatible Edition.
|
8330
8849
|
#
|
8331
8850
|
# @option params [Boolean] :exact_settings
|
8332
8851
|
# If this attribute is Y, the current call to `ModifyDataProvider`
|
@@ -8619,8 +9138,8 @@ module Aws::DatabaseMigrationService
|
|
8619
9138
|
# Shorthand syntax for these settings is as follows:
|
8620
9139
|
# `ServiceAccessRoleArn=string ,BucketName=string`
|
8621
9140
|
#
|
8622
|
-
# JSON syntax for these settings is as follows:
|
8623
|
-
# "ServiceAccessRoleArn": "string", "BucketName": "string"
|
9141
|
+
# JSON syntax for these settings is as follows: `{
|
9142
|
+
# "ServiceAccessRoleArn": "string", "BucketName": "string"} `
|
8624
9143
|
#
|
8625
9144
|
# @option params [Types::MongoDbSettings] :mongo_db_settings
|
8626
9145
|
# Settings in JSON format for the source MongoDB endpoint. For more
|
@@ -8772,15 +9291,15 @@ module Aws::DatabaseMigrationService
|
|
8772
9291
|
# settings with different names.
|
8773
9292
|
#
|
8774
9293
|
# For example, if you call `create-endpoint ... --endpoint-settings
|
8775
|
-
# '
|
8776
|
-
# `'
|
8777
|
-
#
|
8778
|
-
#
|
9294
|
+
# '{"a":1}' ...`, the endpoint has the following endpoint settings:
|
9295
|
+
# `'{"a":1}'`. If you then call `modify-endpoint ... --endpoint-settings
|
9296
|
+
# '{"b":2}' ...` for the same endpoint, the endpoint has the following
|
9297
|
+
# settings: `'{"a":1,"b":2}'`.
|
8779
9298
|
#
|
8780
9299
|
# However, suppose that you follow this with a call to `modify-endpoint
|
8781
|
-
# ... --endpoint-settings '
|
8782
|
-
#
|
8783
|
-
# `'
|
9300
|
+
# ... --endpoint-settings '{"b":2}' --exact-settings ...` for that same
|
9301
|
+
# endpoint again. Then the endpoint has the following settings:
|
9302
|
+
# `'{"b":2}'`. All existing settings are replaced with the exact
|
8784
9303
|
# settings that you specify.
|
8785
9304
|
#
|
8786
9305
|
# @option params [Types::GcpMySQLSettings] :gcp_my_sql_settings
|
@@ -8915,6 +9434,7 @@ module Aws::DatabaseMigrationService
|
|
8915
9434
|
# include_control_details: false,
|
8916
9435
|
# include_null_and_empty: false,
|
8917
9436
|
# no_hex_prefix: false,
|
9437
|
+
# use_large_integer_value: false,
|
8918
9438
|
# },
|
8919
9439
|
# kafka_settings: {
|
8920
9440
|
# broker: "String",
|
@@ -8937,6 +9457,7 @@ module Aws::DatabaseMigrationService
|
|
8937
9457
|
# no_hex_prefix: false,
|
8938
9458
|
# sasl_mechanism: "scram-sha-512", # accepts scram-sha-512, plain
|
8939
9459
|
# ssl_endpoint_identification_algorithm: "none", # accepts none, https
|
9460
|
+
# use_large_integer_value: false,
|
8940
9461
|
# },
|
8941
9462
|
# elasticsearch_settings: {
|
8942
9463
|
# service_access_role_arn: "String", # required
|
@@ -9012,6 +9533,7 @@ module Aws::DatabaseMigrationService
|
|
9012
9533
|
# map_long_varchar_as: "wstring", # accepts wstring, clob, nclob
|
9013
9534
|
# database_mode: "default", # accepts default, babelfish
|
9014
9535
|
# babelfish_database_name: "String",
|
9536
|
+
# disable_unicode_source_filter: false,
|
9015
9537
|
# },
|
9016
9538
|
# my_sql_settings: {
|
9017
9539
|
# after_connect_script: "String",
|
@@ -9028,6 +9550,7 @@ module Aws::DatabaseMigrationService
|
|
9028
9550
|
# username: "String",
|
9029
9551
|
# secrets_manager_access_role_arn: "String",
|
9030
9552
|
# secrets_manager_secret_id: "String",
|
9553
|
+
# execute_timeout: 1,
|
9031
9554
|
# },
|
9032
9555
|
# oracle_settings: {
|
9033
9556
|
# add_supplemental_logging: false,
|
@@ -9073,6 +9596,7 @@ module Aws::DatabaseMigrationService
|
|
9073
9596
|
# trim_space_in_char: false,
|
9074
9597
|
# convert_timestamp_with_zone_to_utc: false,
|
9075
9598
|
# open_transaction_window: 1,
|
9599
|
+
# authentication_method: "password", # accepts password, kerberos
|
9076
9600
|
# },
|
9077
9601
|
# sybase_settings: {
|
9078
9602
|
# database_name: "String",
|
@@ -9101,6 +9625,7 @@ module Aws::DatabaseMigrationService
|
|
9101
9625
|
# trim_space_in_char: false,
|
9102
9626
|
# tlog_access_mode: "BackupOnly", # accepts BackupOnly, PreferBackup, PreferTlog, TlogOnly
|
9103
9627
|
# force_lob_lookup: false,
|
9628
|
+
# authentication_method: "password", # accepts password, kerberos
|
9104
9629
|
# },
|
9105
9630
|
# ibm_db_2_settings: {
|
9106
9631
|
# database_name: "String",
|
@@ -9113,6 +9638,10 @@ module Aws::DatabaseMigrationService
|
|
9113
9638
|
# username: "String",
|
9114
9639
|
# secrets_manager_access_role_arn: "String",
|
9115
9640
|
# secrets_manager_secret_id: "String",
|
9641
|
+
# load_timeout: 1,
|
9642
|
+
# write_buffer_size: 1,
|
9643
|
+
# max_file_size: 1,
|
9644
|
+
# keep_csv_files: false,
|
9116
9645
|
# },
|
9117
9646
|
# doc_db_settings: {
|
9118
9647
|
# username: "String",
|
@@ -9253,6 +9782,7 @@ module Aws::DatabaseMigrationService
|
|
9253
9782
|
# resp.endpoint.kinesis_settings.include_control_details #=> Boolean
|
9254
9783
|
# resp.endpoint.kinesis_settings.include_null_and_empty #=> Boolean
|
9255
9784
|
# resp.endpoint.kinesis_settings.no_hex_prefix #=> Boolean
|
9785
|
+
# resp.endpoint.kinesis_settings.use_large_integer_value #=> Boolean
|
9256
9786
|
# resp.endpoint.kafka_settings.broker #=> String
|
9257
9787
|
# resp.endpoint.kafka_settings.topic #=> String
|
9258
9788
|
# resp.endpoint.kafka_settings.message_format #=> String, one of "json", "json-unformatted"
|
@@ -9273,6 +9803,7 @@ module Aws::DatabaseMigrationService
|
|
9273
9803
|
# resp.endpoint.kafka_settings.no_hex_prefix #=> Boolean
|
9274
9804
|
# resp.endpoint.kafka_settings.sasl_mechanism #=> String, one of "scram-sha-512", "plain"
|
9275
9805
|
# resp.endpoint.kafka_settings.ssl_endpoint_identification_algorithm #=> String, one of "none", "https"
|
9806
|
+
# resp.endpoint.kafka_settings.use_large_integer_value #=> Boolean
|
9276
9807
|
# resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
|
9277
9808
|
# resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
|
9278
9809
|
# resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
|
@@ -9340,6 +9871,7 @@ module Aws::DatabaseMigrationService
|
|
9340
9871
|
# resp.endpoint.postgre_sql_settings.map_long_varchar_as #=> String, one of "wstring", "clob", "nclob"
|
9341
9872
|
# resp.endpoint.postgre_sql_settings.database_mode #=> String, one of "default", "babelfish"
|
9342
9873
|
# resp.endpoint.postgre_sql_settings.babelfish_database_name #=> String
|
9874
|
+
# resp.endpoint.postgre_sql_settings.disable_unicode_source_filter #=> Boolean
|
9343
9875
|
# resp.endpoint.my_sql_settings.after_connect_script #=> String
|
9344
9876
|
# resp.endpoint.my_sql_settings.clean_source_metadata_on_mismatch #=> Boolean
|
9345
9877
|
# resp.endpoint.my_sql_settings.database_name #=> String
|
@@ -9354,6 +9886,7 @@ module Aws::DatabaseMigrationService
|
|
9354
9886
|
# resp.endpoint.my_sql_settings.username #=> String
|
9355
9887
|
# resp.endpoint.my_sql_settings.secrets_manager_access_role_arn #=> String
|
9356
9888
|
# resp.endpoint.my_sql_settings.secrets_manager_secret_id #=> String
|
9889
|
+
# resp.endpoint.my_sql_settings.execute_timeout #=> Integer
|
9357
9890
|
# resp.endpoint.oracle_settings.add_supplemental_logging #=> Boolean
|
9358
9891
|
# resp.endpoint.oracle_settings.archived_log_dest_id #=> Integer
|
9359
9892
|
# resp.endpoint.oracle_settings.additional_archived_log_dest_id #=> Integer
|
@@ -9398,6 +9931,7 @@ module Aws::DatabaseMigrationService
|
|
9398
9931
|
# resp.endpoint.oracle_settings.trim_space_in_char #=> Boolean
|
9399
9932
|
# resp.endpoint.oracle_settings.convert_timestamp_with_zone_to_utc #=> Boolean
|
9400
9933
|
# resp.endpoint.oracle_settings.open_transaction_window #=> Integer
|
9934
|
+
# resp.endpoint.oracle_settings.authentication_method #=> String, one of "password", "kerberos"
|
9401
9935
|
# resp.endpoint.sybase_settings.database_name #=> String
|
9402
9936
|
# resp.endpoint.sybase_settings.password #=> String
|
9403
9937
|
# resp.endpoint.sybase_settings.port #=> Integer
|
@@ -9422,6 +9956,7 @@ module Aws::DatabaseMigrationService
|
|
9422
9956
|
# resp.endpoint.microsoft_sql_server_settings.trim_space_in_char #=> Boolean
|
9423
9957
|
# resp.endpoint.microsoft_sql_server_settings.tlog_access_mode #=> String, one of "BackupOnly", "PreferBackup", "PreferTlog", "TlogOnly"
|
9424
9958
|
# resp.endpoint.microsoft_sql_server_settings.force_lob_lookup #=> Boolean
|
9959
|
+
# resp.endpoint.microsoft_sql_server_settings.authentication_method #=> String, one of "password", "kerberos"
|
9425
9960
|
# resp.endpoint.ibm_db_2_settings.database_name #=> String
|
9426
9961
|
# resp.endpoint.ibm_db_2_settings.password #=> String
|
9427
9962
|
# resp.endpoint.ibm_db_2_settings.port #=> Integer
|
@@ -9432,6 +9967,10 @@ module Aws::DatabaseMigrationService
|
|
9432
9967
|
# resp.endpoint.ibm_db_2_settings.username #=> String
|
9433
9968
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_access_role_arn #=> String
|
9434
9969
|
# resp.endpoint.ibm_db_2_settings.secrets_manager_secret_id #=> String
|
9970
|
+
# resp.endpoint.ibm_db_2_settings.load_timeout #=> Integer
|
9971
|
+
# resp.endpoint.ibm_db_2_settings.write_buffer_size #=> Integer
|
9972
|
+
# resp.endpoint.ibm_db_2_settings.max_file_size #=> Integer
|
9973
|
+
# resp.endpoint.ibm_db_2_settings.keep_csv_files #=> Boolean
|
9435
9974
|
# resp.endpoint.doc_db_settings.username #=> String
|
9436
9975
|
# resp.endpoint.doc_db_settings.password #=> String
|
9437
9976
|
# resp.endpoint.doc_db_settings.server_name #=> String
|
@@ -10000,6 +10539,10 @@ module Aws::DatabaseMigrationService
|
|
10000
10539
|
# as IPv4 only or Dual-stack that supports both IPv4 and IPv6
|
10001
10540
|
# addressing. IPv6 only is not yet supported.
|
10002
10541
|
#
|
10542
|
+
# @option params [Types::KerberosAuthenticationSettings] :kerberos_authentication_settings
|
10543
|
+
# Specifies the ID of the secret that stores the key cache file required
|
10544
|
+
# for kerberos authentication, when modifying a replication instance.
|
10545
|
+
#
|
10003
10546
|
# @return [Types::ModifyReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10004
10547
|
#
|
10005
10548
|
# * {Types::ModifyReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
|
@@ -10085,7 +10628,7 @@ module Aws::DatabaseMigrationService
|
|
10085
10628
|
# replication_instance_arn: "String", # required
|
10086
10629
|
# allocated_storage: 1,
|
10087
10630
|
# apply_immediately: false,
|
10088
|
-
# replication_instance_class: "
|
10631
|
+
# replication_instance_class: "ReplicationInstanceClass",
|
10089
10632
|
# vpc_security_group_ids: ["String"],
|
10090
10633
|
# preferred_maintenance_window: "String",
|
10091
10634
|
# multi_az: false,
|
@@ -10094,6 +10637,11 @@ module Aws::DatabaseMigrationService
|
|
10094
10637
|
# auto_minor_version_upgrade: false,
|
10095
10638
|
# replication_instance_identifier: "String",
|
10096
10639
|
# network_type: "String",
|
10640
|
+
# kerberos_authentication_settings: {
|
10641
|
+
# key_cache_secret_id: "String",
|
10642
|
+
# key_cache_secret_iam_arn: "String",
|
10643
|
+
# krb_5_file_contents: "String",
|
10644
|
+
# },
|
10097
10645
|
# })
|
10098
10646
|
#
|
10099
10647
|
# @example Response structure
|
@@ -10141,6 +10689,9 @@ module Aws::DatabaseMigrationService
|
|
10141
10689
|
# resp.replication_instance.free_until #=> Time
|
10142
10690
|
# resp.replication_instance.dns_name_servers #=> String
|
10143
10691
|
# resp.replication_instance.network_type #=> String
|
10692
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_id #=> String
|
10693
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_iam_arn #=> String
|
10694
|
+
# resp.replication_instance.kerberos_authentication_settings.krb_5_file_contents #=> String
|
10144
10695
|
#
|
10145
10696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance AWS API Documentation
|
10146
10697
|
#
|
@@ -10508,6 +11059,9 @@ module Aws::DatabaseMigrationService
|
|
10508
11059
|
# resp.replication_instance.free_until #=> Time
|
10509
11060
|
# resp.replication_instance.dns_name_servers #=> String
|
10510
11061
|
# resp.replication_instance.network_type #=> String
|
11062
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_id #=> String
|
11063
|
+
# resp.replication_instance.kerberos_authentication_settings.key_cache_secret_iam_arn #=> String
|
11064
|
+
# resp.replication_instance.kerberos_authentication_settings.krb_5_file_contents #=> String
|
10511
11065
|
#
|
10512
11066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance AWS API Documentation
|
10513
11067
|
#
|
@@ -10747,6 +11301,70 @@ module Aws::DatabaseMigrationService
|
|
10747
11301
|
req.send_request(options)
|
10748
11302
|
end
|
10749
11303
|
|
11304
|
+
# Starts the specified data migration.
|
11305
|
+
#
|
11306
|
+
# @option params [required, String] :data_migration_identifier
|
11307
|
+
# The identifier (name or ARN) of the data migration to start.
|
11308
|
+
#
|
11309
|
+
# @option params [required, String] :start_type
|
11310
|
+
# Specifies the start type for the data migration. Valid values include
|
11311
|
+
# `start-replication`, `reload-target`, and `resume-processing`.
|
11312
|
+
#
|
11313
|
+
# @return [Types::StartDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11314
|
+
#
|
11315
|
+
# * {Types::StartDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
|
11316
|
+
#
|
11317
|
+
# @example Request syntax with placeholder values
|
11318
|
+
#
|
11319
|
+
# resp = client.start_data_migration({
|
11320
|
+
# data_migration_identifier: "String", # required
|
11321
|
+
# start_type: "reload-target", # required, accepts reload-target, resume-processing, start-replication
|
11322
|
+
# })
|
11323
|
+
#
|
11324
|
+
# @example Response structure
|
11325
|
+
#
|
11326
|
+
# resp.data_migration.data_migration_name #=> String
|
11327
|
+
# resp.data_migration.data_migration_arn #=> String
|
11328
|
+
# resp.data_migration.data_migration_create_time #=> Time
|
11329
|
+
# resp.data_migration.data_migration_start_time #=> Time
|
11330
|
+
# resp.data_migration.data_migration_end_time #=> Time
|
11331
|
+
# resp.data_migration.service_access_role_arn #=> String
|
11332
|
+
# resp.data_migration.migration_project_arn #=> String
|
11333
|
+
# resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
11334
|
+
# resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
|
11335
|
+
# resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
11336
|
+
# resp.data_migration.data_migration_settings.selection_rules #=> String
|
11337
|
+
# resp.data_migration.source_data_settings #=> Array
|
11338
|
+
# resp.data_migration.source_data_settings[0].cdc_start_position #=> String
|
11339
|
+
# resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
|
11340
|
+
# resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
|
11341
|
+
# resp.data_migration.source_data_settings[0].slot_name #=> String
|
11342
|
+
# resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
|
11343
|
+
# resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
|
11344
|
+
# resp.data_migration.data_migration_statistics.tables_loading #=> Integer
|
11345
|
+
# resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
|
11346
|
+
# resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
|
11347
|
+
# resp.data_migration.data_migration_statistics.tables_queued #=> Integer
|
11348
|
+
# resp.data_migration.data_migration_statistics.tables_errored #=> Integer
|
11349
|
+
# resp.data_migration.data_migration_statistics.start_time #=> Time
|
11350
|
+
# resp.data_migration.data_migration_statistics.stop_time #=> Time
|
11351
|
+
# resp.data_migration.data_migration_status #=> String
|
11352
|
+
# resp.data_migration.public_ip_addresses #=> Array
|
11353
|
+
# resp.data_migration.public_ip_addresses[0] #=> String
|
11354
|
+
# resp.data_migration.data_migration_cidr_blocks #=> Array
|
11355
|
+
# resp.data_migration.data_migration_cidr_blocks[0] #=> String
|
11356
|
+
# resp.data_migration.last_failure_message #=> String
|
11357
|
+
# resp.data_migration.stop_reason #=> String
|
11358
|
+
#
|
11359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartDataMigration AWS API Documentation
|
11360
|
+
#
|
11361
|
+
# @overload start_data_migration(params = {})
|
11362
|
+
# @param [Hash] params ({})
|
11363
|
+
def start_data_migration(params = {}, options = {})
|
11364
|
+
req = build_request(:start_data_migration, params)
|
11365
|
+
req.send_request(options)
|
11366
|
+
end
|
11367
|
+
|
10750
11368
|
# Applies the extension pack to your target database. An extension pack
|
10751
11369
|
# is an add-on module that emulates functions present in a source
|
10752
11370
|
# database that are required when converting objects to the target
|
@@ -11126,6 +11744,23 @@ module Aws::DatabaseMigrationService
|
|
11126
11744
|
# @option params [required, String] :start_replication_type
|
11127
11745
|
# The replication type.
|
11128
11746
|
#
|
11747
|
+
# When the replication type is `full-load` or `full-load-and-cdc`, the
|
11748
|
+
# only valid value for the first run of the replication is
|
11749
|
+
# `start-replication`. This option will start the replication.
|
11750
|
+
#
|
11751
|
+
# You can also use ReloadTables to reload specific tables that failed
|
11752
|
+
# during replication instead of restarting the replication.
|
11753
|
+
#
|
11754
|
+
# The `resume-processing` option isn't applicable for a full-load
|
11755
|
+
# replication, because you can't resume partially loaded tables during
|
11756
|
+
# the full load phase.
|
11757
|
+
#
|
11758
|
+
# For a `full-load-and-cdc` replication, DMS migrates table data, and
|
11759
|
+
# then applies data changes that occur on the source. To load all the
|
11760
|
+
# tables again, and start capturing source changes, use `reload-target`.
|
11761
|
+
# Otherwise use `resume-processing`, to replicate the changes from the
|
11762
|
+
# last stop position.
|
11763
|
+
#
|
11129
11764
|
# @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
|
11130
11765
|
# Indicates the start time for a change data capture (CDC) operation.
|
11131
11766
|
# Use either `CdcStartTime` or `CdcStartPosition` to specify when you
|
@@ -11194,6 +11829,7 @@ module Aws::DatabaseMigrationService
|
|
11194
11829
|
# resp.replication.replication_create_time #=> Time
|
11195
11830
|
# resp.replication.replication_update_time #=> Time
|
11196
11831
|
# resp.replication.replication_last_stop_time #=> Time
|
11832
|
+
# resp.replication.replication_deprovision_time #=> Time
|
11197
11833
|
#
|
11198
11834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplication AWS API Documentation
|
11199
11835
|
#
|
@@ -11515,6 +12151,10 @@ module Aws::DatabaseMigrationService
|
|
11515
12151
|
#
|
11516
12152
|
# </note>
|
11517
12153
|
#
|
12154
|
+
# @option params [Array<Types::Tag>] :tags
|
12155
|
+
# One or more tags to be assigned to the premigration assessment run
|
12156
|
+
# that you want to start.
|
12157
|
+
#
|
11518
12158
|
# @return [Types::StartReplicationTaskAssessmentRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11519
12159
|
#
|
11520
12160
|
# * {Types::StartReplicationTaskAssessmentRunResponse#replication_task_assessment_run #replication_task_assessment_run} => Types::ReplicationTaskAssessmentRun
|
@@ -11531,6 +12171,13 @@ module Aws::DatabaseMigrationService
|
|
11531
12171
|
# assessment_run_name: "String", # required
|
11532
12172
|
# include_only: ["String"],
|
11533
12173
|
# exclude: ["String"],
|
12174
|
+
# tags: [
|
12175
|
+
# {
|
12176
|
+
# key: "String",
|
12177
|
+
# value: "String",
|
12178
|
+
# resource_arn: "String",
|
12179
|
+
# },
|
12180
|
+
# ],
|
11534
12181
|
# })
|
11535
12182
|
#
|
11536
12183
|
# @example Response structure
|
@@ -11548,6 +12195,12 @@ module Aws::DatabaseMigrationService
|
|
11548
12195
|
# resp.replication_task_assessment_run.result_encryption_mode #=> String
|
11549
12196
|
# resp.replication_task_assessment_run.result_kms_key_arn #=> String
|
11550
12197
|
# resp.replication_task_assessment_run.assessment_run_name #=> String
|
12198
|
+
# resp.replication_task_assessment_run.is_latest_task_assessment_run #=> Boolean
|
12199
|
+
# resp.replication_task_assessment_run.result_statistic.passed #=> Integer
|
12200
|
+
# resp.replication_task_assessment_run.result_statistic.failed #=> Integer
|
12201
|
+
# resp.replication_task_assessment_run.result_statistic.error #=> Integer
|
12202
|
+
# resp.replication_task_assessment_run.result_statistic.warning #=> Integer
|
12203
|
+
# resp.replication_task_assessment_run.result_statistic.cancelled #=> Integer
|
11551
12204
|
#
|
11552
12205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentRun AWS API Documentation
|
11553
12206
|
#
|
@@ -11558,6 +12211,65 @@ module Aws::DatabaseMigrationService
|
|
11558
12211
|
req.send_request(options)
|
11559
12212
|
end
|
11560
12213
|
|
12214
|
+
# Stops the specified data migration.
|
12215
|
+
#
|
12216
|
+
# @option params [required, String] :data_migration_identifier
|
12217
|
+
# The identifier (name or ARN) of the data migration to stop.
|
12218
|
+
#
|
12219
|
+
# @return [Types::StopDataMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12220
|
+
#
|
12221
|
+
# * {Types::StopDataMigrationResponse#data_migration #data_migration} => Types::DataMigration
|
12222
|
+
#
|
12223
|
+
# @example Request syntax with placeholder values
|
12224
|
+
#
|
12225
|
+
# resp = client.stop_data_migration({
|
12226
|
+
# data_migration_identifier: "String", # required
|
12227
|
+
# })
|
12228
|
+
#
|
12229
|
+
# @example Response structure
|
12230
|
+
#
|
12231
|
+
# resp.data_migration.data_migration_name #=> String
|
12232
|
+
# resp.data_migration.data_migration_arn #=> String
|
12233
|
+
# resp.data_migration.data_migration_create_time #=> Time
|
12234
|
+
# resp.data_migration.data_migration_start_time #=> Time
|
12235
|
+
# resp.data_migration.data_migration_end_time #=> Time
|
12236
|
+
# resp.data_migration.service_access_role_arn #=> String
|
12237
|
+
# resp.data_migration.migration_project_arn #=> String
|
12238
|
+
# resp.data_migration.data_migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
|
12239
|
+
# resp.data_migration.data_migration_settings.number_of_jobs #=> Integer
|
12240
|
+
# resp.data_migration.data_migration_settings.cloudwatch_logs_enabled #=> Boolean
|
12241
|
+
# resp.data_migration.data_migration_settings.selection_rules #=> String
|
12242
|
+
# resp.data_migration.source_data_settings #=> Array
|
12243
|
+
# resp.data_migration.source_data_settings[0].cdc_start_position #=> String
|
12244
|
+
# resp.data_migration.source_data_settings[0].cdc_start_time #=> Time
|
12245
|
+
# resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
|
12246
|
+
# resp.data_migration.source_data_settings[0].slot_name #=> String
|
12247
|
+
# resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
|
12248
|
+
# resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
|
12249
|
+
# resp.data_migration.data_migration_statistics.tables_loading #=> Integer
|
12250
|
+
# resp.data_migration.data_migration_statistics.full_load_percentage #=> Integer
|
12251
|
+
# resp.data_migration.data_migration_statistics.cdc_latency #=> Integer
|
12252
|
+
# resp.data_migration.data_migration_statistics.tables_queued #=> Integer
|
12253
|
+
# resp.data_migration.data_migration_statistics.tables_errored #=> Integer
|
12254
|
+
# resp.data_migration.data_migration_statistics.start_time #=> Time
|
12255
|
+
# resp.data_migration.data_migration_statistics.stop_time #=> Time
|
12256
|
+
# resp.data_migration.data_migration_status #=> String
|
12257
|
+
# resp.data_migration.public_ip_addresses #=> Array
|
12258
|
+
# resp.data_migration.public_ip_addresses[0] #=> String
|
12259
|
+
# resp.data_migration.data_migration_cidr_blocks #=> Array
|
12260
|
+
# resp.data_migration.data_migration_cidr_blocks[0] #=> String
|
12261
|
+
# resp.data_migration.last_failure_message #=> String
|
12262
|
+
# resp.data_migration.stop_reason #=> String
|
12263
|
+
#
|
12264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopDataMigration AWS API Documentation
|
12265
|
+
#
|
12266
|
+
# @overload stop_data_migration(params = {})
|
12267
|
+
# @param [Hash] params ({})
|
12268
|
+
def stop_data_migration(params = {}, options = {})
|
12269
|
+
req = build_request(:stop_data_migration, params)
|
12270
|
+
req.send_request(options)
|
12271
|
+
end
|
12272
|
+
|
11561
12273
|
# For a given DMS Serverless replication configuration, DMS stops any
|
11562
12274
|
# and all ongoing DMS Serverless replications. This command doesn't
|
11563
12275
|
# deprovision the stopped replications.
|
@@ -11611,6 +12323,7 @@ module Aws::DatabaseMigrationService
|
|
11611
12323
|
# resp.replication.replication_create_time #=> Time
|
11612
12324
|
# resp.replication.replication_update_time #=> Time
|
11613
12325
|
# resp.replication.replication_last_stop_time #=> Time
|
12326
|
+
# resp.replication.replication_deprovision_time #=> Time
|
11614
12327
|
#
|
11615
12328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplication AWS API Documentation
|
11616
12329
|
#
|
@@ -11812,14 +12525,19 @@ module Aws::DatabaseMigrationService
|
|
11812
12525
|
# @api private
|
11813
12526
|
def build_request(operation_name, params = {})
|
11814
12527
|
handlers = @handlers.for(operation_name)
|
12528
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
12529
|
+
Aws::Telemetry.module_to_tracer_name('Aws::DatabaseMigrationService')
|
12530
|
+
)
|
11815
12531
|
context = Seahorse::Client::RequestContext.new(
|
11816
12532
|
operation_name: operation_name,
|
11817
12533
|
operation: config.api.operation(operation_name),
|
11818
12534
|
client: self,
|
11819
12535
|
params: params,
|
11820
|
-
config: config
|
12536
|
+
config: config,
|
12537
|
+
tracer: tracer
|
12538
|
+
)
|
11821
12539
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
11822
|
-
context[:gem_version] = '1.
|
12540
|
+
context[:gem_version] = '1.111.0'
|
11823
12541
|
Seahorse::Client::Request.new(handlers, context)
|
11824
12542
|
end
|
11825
12543
|
|