aws-sdk-databasemigrationservice 1.38.0 → 1.44.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/lib/aws-sdk-databasemigrationservice.rb +3 -2
- data/lib/aws-sdk-databasemigrationservice/client.rb +1209 -35
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +344 -2
- data/lib/aws-sdk-databasemigrationservice/errors.rb +48 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +2152 -165
- metadata +4 -4
@@ -34,6 +34,7 @@ module Aws::DatabaseMigrationService
|
|
34
34
|
# * {InvalidSubnet}
|
35
35
|
# * {KMSAccessDeniedFault}
|
36
36
|
# * {KMSDisabledFault}
|
37
|
+
# * {KMSFault}
|
37
38
|
# * {KMSInvalidStateFault}
|
38
39
|
# * {KMSKeyNotAccessibleFault}
|
39
40
|
# * {KMSNotFoundFault}
|
@@ -42,6 +43,8 @@ module Aws::DatabaseMigrationService
|
|
42
43
|
# * {ResourceAlreadyExistsFault}
|
43
44
|
# * {ResourceNotFoundFault}
|
44
45
|
# * {ResourceQuotaExceededFault}
|
46
|
+
# * {S3AccessDeniedFault}
|
47
|
+
# * {S3ResourceNotFoundFault}
|
45
48
|
# * {SNSInvalidTopicFault}
|
46
49
|
# * {SNSNoAuthorizationFault}
|
47
50
|
# * {StorageQuotaExceededFault}
|
@@ -159,6 +162,21 @@ module Aws::DatabaseMigrationService
|
|
159
162
|
end
|
160
163
|
end
|
161
164
|
|
165
|
+
class KMSFault < ServiceError
|
166
|
+
|
167
|
+
# @param [Seahorse::Client::RequestContext] context
|
168
|
+
# @param [String] message
|
169
|
+
# @param [Aws::DatabaseMigrationService::Types::KMSFault] data
|
170
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
171
|
+
super(context, message, data)
|
172
|
+
end
|
173
|
+
|
174
|
+
# @return [String]
|
175
|
+
def message
|
176
|
+
@message || @data[:message]
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
162
180
|
class KMSInvalidStateFault < ServiceError
|
163
181
|
|
164
182
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -284,6 +302,36 @@ module Aws::DatabaseMigrationService
|
|
284
302
|
end
|
285
303
|
end
|
286
304
|
|
305
|
+
class S3AccessDeniedFault < ServiceError
|
306
|
+
|
307
|
+
# @param [Seahorse::Client::RequestContext] context
|
308
|
+
# @param [String] message
|
309
|
+
# @param [Aws::DatabaseMigrationService::Types::S3AccessDeniedFault] data
|
310
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
311
|
+
super(context, message, data)
|
312
|
+
end
|
313
|
+
|
314
|
+
# @return [String]
|
315
|
+
def message
|
316
|
+
@message || @data[:message]
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
class S3ResourceNotFoundFault < ServiceError
|
321
|
+
|
322
|
+
# @param [Seahorse::Client::RequestContext] context
|
323
|
+
# @param [String] message
|
324
|
+
# @param [Aws::DatabaseMigrationService::Types::S3ResourceNotFoundFault] data
|
325
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
326
|
+
super(context, message, data)
|
327
|
+
end
|
328
|
+
|
329
|
+
# @return [String]
|
330
|
+
def message
|
331
|
+
@message || @data[:message]
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
287
335
|
class SNSInvalidTopicFault < ServiceError
|
288
336
|
|
289
337
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -147,6 +147,15 @@ module Aws::DatabaseMigrationService
|
|
147
147
|
end
|
148
148
|
|
149
149
|
# The name of an Availability Zone for use during database migration.
|
150
|
+
# `AvailabilityZone` is an optional parameter to the [
|
151
|
+
# `CreateReplicationInstance` ][1] operation, and it’s value relates to
|
152
|
+
# the AWS Region of an endpoint. For example, the availability zone of
|
153
|
+
# an endpoint in the us-east-1 region might be us-east-1a, us-east-1b,
|
154
|
+
# us-east-1c, or us-east-1d.
|
155
|
+
#
|
156
|
+
#
|
157
|
+
#
|
158
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationInstance.html
|
150
159
|
#
|
151
160
|
# @!attribute [rw] name
|
152
161
|
# The name of the Availability Zone.
|
@@ -160,6 +169,39 @@ module Aws::DatabaseMigrationService
|
|
160
169
|
include Aws::Structure
|
161
170
|
end
|
162
171
|
|
172
|
+
# @note When making an API call, you may pass CancelReplicationTaskAssessmentRunMessage
|
173
|
+
# data as a hash:
|
174
|
+
#
|
175
|
+
# {
|
176
|
+
# replication_task_assessment_run_arn: "String", # required
|
177
|
+
# }
|
178
|
+
#
|
179
|
+
# @!attribute [rw] replication_task_assessment_run_arn
|
180
|
+
# Amazon Resource Name (ARN) of the premigration assessment run to be
|
181
|
+
# canceled.
|
182
|
+
# @return [String]
|
183
|
+
#
|
184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRunMessage AWS API Documentation
|
185
|
+
#
|
186
|
+
class CancelReplicationTaskAssessmentRunMessage < Struct.new(
|
187
|
+
:replication_task_assessment_run_arn)
|
188
|
+
SENSITIVE = []
|
189
|
+
include Aws::Structure
|
190
|
+
end
|
191
|
+
|
192
|
+
# @!attribute [rw] replication_task_assessment_run
|
193
|
+
# The `ReplicationTaskAssessmentRun` object for the canceled
|
194
|
+
# assessment run.
|
195
|
+
# @return [Types::ReplicationTaskAssessmentRun]
|
196
|
+
#
|
197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRunResponse AWS API Documentation
|
198
|
+
#
|
199
|
+
class CancelReplicationTaskAssessmentRunResponse < Struct.new(
|
200
|
+
:replication_task_assessment_run)
|
201
|
+
SENSITIVE = []
|
202
|
+
include Aws::Structure
|
203
|
+
end
|
204
|
+
|
163
205
|
# The SSL certificate that can be used to encrypt connections between
|
164
206
|
# the endpoints and the replication instance.
|
165
207
|
#
|
@@ -326,6 +368,9 @@ module Aws::DatabaseMigrationService
|
|
326
368
|
# timestamp_column_name: "String",
|
327
369
|
# parquet_timestamp_in_millisecond: false,
|
328
370
|
# cdc_inserts_and_updates: false,
|
371
|
+
# date_partition_enabled: false,
|
372
|
+
# date_partition_sequence: "YYYYMMDD", # accepts YYYYMMDD, YYYYMMDDHH, YYYYMM, MMYYYYDD, DDMMYYYY
|
373
|
+
# date_partition_delimiter: "SLASH", # accepts SLASH, UNDERSCORE, DASH, NONE
|
329
374
|
# },
|
330
375
|
# dms_transfer_settings: {
|
331
376
|
# service_access_role_arn: "String",
|
@@ -354,10 +399,19 @@ module Aws::DatabaseMigrationService
|
|
354
399
|
# partition_include_schema_table: false,
|
355
400
|
# include_table_alter_operations: false,
|
356
401
|
# include_control_details: false,
|
402
|
+
# include_null_and_empty: false,
|
357
403
|
# },
|
358
404
|
# kafka_settings: {
|
359
405
|
# broker: "String",
|
360
406
|
# topic: "String",
|
407
|
+
# message_format: "json", # accepts json, json-unformatted
|
408
|
+
# include_transaction_details: false,
|
409
|
+
# include_partition_value: false,
|
410
|
+
# partition_include_schema_table: false,
|
411
|
+
# include_table_alter_operations: false,
|
412
|
+
# include_control_details: false,
|
413
|
+
# message_max_bytes: 1,
|
414
|
+
# include_null_and_empty: false,
|
361
415
|
# },
|
362
416
|
# elasticsearch_settings: {
|
363
417
|
# service_access_role_arn: "String", # required
|
@@ -401,12 +455,100 @@ module Aws::DatabaseMigrationService
|
|
401
455
|
# username: "String",
|
402
456
|
# write_buffer_size: 1,
|
403
457
|
# },
|
458
|
+
# postgre_sql_settings: {
|
459
|
+
# after_connect_script: "String",
|
460
|
+
# capture_ddls: false,
|
461
|
+
# max_file_size: 1,
|
462
|
+
# database_name: "String",
|
463
|
+
# ddl_artifacts_schema: "String",
|
464
|
+
# execute_timeout: 1,
|
465
|
+
# fail_tasks_on_lob_truncation: false,
|
466
|
+
# password: "SecretString",
|
467
|
+
# port: 1,
|
468
|
+
# server_name: "String",
|
469
|
+
# username: "String",
|
470
|
+
# slot_name: "String",
|
471
|
+
# },
|
472
|
+
# my_sql_settings: {
|
473
|
+
# after_connect_script: "String",
|
474
|
+
# database_name: "String",
|
475
|
+
# events_poll_interval: 1,
|
476
|
+
# target_db_type: "specific-database", # accepts specific-database, multiple-databases
|
477
|
+
# max_file_size: 1,
|
478
|
+
# parallel_load_threads: 1,
|
479
|
+
# password: "SecretString",
|
480
|
+
# port: 1,
|
481
|
+
# server_name: "String",
|
482
|
+
# server_timezone: "String",
|
483
|
+
# username: "String",
|
484
|
+
# },
|
485
|
+
# oracle_settings: {
|
486
|
+
# add_supplemental_logging: false,
|
487
|
+
# archived_log_dest_id: 1,
|
488
|
+
# additional_archived_log_dest_id: 1,
|
489
|
+
# allow_select_nested_tables: false,
|
490
|
+
# parallel_asm_read_threads: 1,
|
491
|
+
# read_ahead_blocks: 1,
|
492
|
+
# access_alternate_directly: false,
|
493
|
+
# use_alternate_folder_for_online: false,
|
494
|
+
# oracle_path_prefix: "String",
|
495
|
+
# use_path_prefix: "String",
|
496
|
+
# replace_path_prefix: false,
|
497
|
+
# enable_homogenous_tablespace: false,
|
498
|
+
# direct_path_no_log: false,
|
499
|
+
# archived_logs_only: false,
|
500
|
+
# asm_password: "SecretString",
|
501
|
+
# asm_server: "String",
|
502
|
+
# asm_user: "String",
|
503
|
+
# char_length_semantics: "default", # accepts default, char, byte
|
504
|
+
# database_name: "String",
|
505
|
+
# direct_path_parallel_load: false,
|
506
|
+
# fail_tasks_on_lob_truncation: false,
|
507
|
+
# number_datatype_scale: 1,
|
508
|
+
# password: "SecretString",
|
509
|
+
# port: 1,
|
510
|
+
# read_table_space_name: false,
|
511
|
+
# retry_interval: 1,
|
512
|
+
# security_db_encryption: "SecretString",
|
513
|
+
# security_db_encryption_name: "String",
|
514
|
+
# server_name: "String",
|
515
|
+
# username: "String",
|
516
|
+
# },
|
517
|
+
# sybase_settings: {
|
518
|
+
# database_name: "String",
|
519
|
+
# password: "SecretString",
|
520
|
+
# port: 1,
|
521
|
+
# server_name: "String",
|
522
|
+
# username: "String",
|
523
|
+
# },
|
524
|
+
# microsoft_sql_server_settings: {
|
525
|
+
# port: 1,
|
526
|
+
# bcp_packet_size: 1,
|
527
|
+
# database_name: "String",
|
528
|
+
# control_tables_file_group: "String",
|
529
|
+
# password: "SecretString",
|
530
|
+
# read_backup_only: false,
|
531
|
+
# safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
|
532
|
+
# server_name: "String",
|
533
|
+
# username: "String",
|
534
|
+
# use_bcp_full_load: false,
|
535
|
+
# },
|
536
|
+
# ibm_db_2_settings: {
|
537
|
+
# database_name: "String",
|
538
|
+
# password: "SecretString",
|
539
|
+
# port: 1,
|
540
|
+
# server_name: "String",
|
541
|
+
# set_data_capture_changes: false,
|
542
|
+
# current_lsn: "String",
|
543
|
+
# max_k_bytes_per_read: 1,
|
544
|
+
# username: "String",
|
545
|
+
# },
|
404
546
|
# }
|
405
547
|
#
|
406
548
|
# @!attribute [rw] endpoint_identifier
|
407
549
|
# The database endpoint identifier. Identifiers must begin with a
|
408
550
|
# letter and must contain only ASCII letters, digits, and hyphens.
|
409
|
-
# They can't end with a hyphen or contain two consecutive hyphens.
|
551
|
+
# They can't end with a hyphen, or contain two consecutive hyphens.
|
410
552
|
# @return [String]
|
411
553
|
#
|
412
554
|
# @!attribute [rw] endpoint_type
|
@@ -418,8 +560,8 @@ module Aws::DatabaseMigrationService
|
|
418
560
|
# `EndpointType` value, include `"mysql"`, `"oracle"`, `"postgres"`,
|
419
561
|
# `"mariadb"`, `"aurora"`, `"aurora-postgresql"`, `"redshift"`,
|
420
562
|
# `"s3"`, `"db2"`, `"azuredb"`, `"sybase"`, `"dynamodb"`, `"mongodb"`,
|
421
|
-
# `"kinesis"`, `"kafka"`, `"elasticsearch"`, `"
|
422
|
-
#
|
563
|
+
# `"kinesis"`, `"kafka"`, `"elasticsearch"`, `"docdb"`, `"sqlserver"`,
|
564
|
+
# and `"neptune"`.
|
423
565
|
# @return [String]
|
424
566
|
#
|
425
567
|
# @!attribute [rw] username
|
@@ -595,6 +737,85 @@ module Aws::DatabaseMigrationService
|
|
595
737
|
# Provides information that defines an Amazon Redshift endpoint.
|
596
738
|
# @return [Types::RedshiftSettings]
|
597
739
|
#
|
740
|
+
# @!attribute [rw] postgre_sql_settings
|
741
|
+
# Settings in JSON format for the source and target PostgreSQL
|
742
|
+
# endpoint. For information about other available settings, see [Extra
|
743
|
+
# connection attributes when using PostgreSQL as a source for AWS
|
744
|
+
# DMS][1] and [ Extra connection attributes when using PostgreSQL as a
|
745
|
+
# target for AWS DMS][2] in the *AWS Database Migration Service User
|
746
|
+
# Guide.*
|
747
|
+
#
|
748
|
+
#
|
749
|
+
#
|
750
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html
|
751
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html
|
752
|
+
# @return [Types::PostgreSQLSettings]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] my_sql_settings
|
755
|
+
# Settings in JSON format for the source and target MySQL endpoint.
|
756
|
+
# For information about other available settings, see [Extra
|
757
|
+
# connection attributes when using MySQL as a source for AWS DMS][1]
|
758
|
+
# and [Extra connection attributes when using a MySQL-compatible
|
759
|
+
# database as a target for AWS DMS][2] in the *AWS Database Migration
|
760
|
+
# Service User Guide.*
|
761
|
+
#
|
762
|
+
#
|
763
|
+
#
|
764
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html
|
765
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html
|
766
|
+
# @return [Types::MySQLSettings]
|
767
|
+
#
|
768
|
+
# @!attribute [rw] oracle_settings
|
769
|
+
# Settings in JSON format for the source and target Oracle endpoint.
|
770
|
+
# For information about other available settings, see [Extra
|
771
|
+
# connection attributes when using Oracle as a source for AWS DMS][1]
|
772
|
+
# and [ Extra connection attributes when using Oracle as a target for
|
773
|
+
# AWS DMS][2] in the *AWS Database Migration Service User Guide.*
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html
|
778
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html
|
779
|
+
# @return [Types::OracleSettings]
|
780
|
+
#
|
781
|
+
# @!attribute [rw] sybase_settings
|
782
|
+
# Settings in JSON format for the source and target SAP ASE endpoint.
|
783
|
+
# For information about other available settings, see [Extra
|
784
|
+
# connection attributes when using SAP ASE as a source for AWS DMS][1]
|
785
|
+
# and [Extra connection attributes when using SAP ASE as a target for
|
786
|
+
# AWS DMS][2] in the *AWS Database Migration Service User Guide.*
|
787
|
+
#
|
788
|
+
#
|
789
|
+
#
|
790
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html
|
791
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html
|
792
|
+
# @return [Types::SybaseSettings]
|
793
|
+
#
|
794
|
+
# @!attribute [rw] microsoft_sql_server_settings
|
795
|
+
# Settings in JSON format for the source and target Microsoft SQL
|
796
|
+
# Server endpoint. For information about other available settings, see
|
797
|
+
# [Extra connection attributes when using SQL Server as a source for
|
798
|
+
# AWS DMS][1] and [ Extra connection attributes when using SQL Server
|
799
|
+
# as a target for AWS DMS][2] in the *AWS Database Migration Service
|
800
|
+
# User Guide.*
|
801
|
+
#
|
802
|
+
#
|
803
|
+
#
|
804
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html
|
805
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html
|
806
|
+
# @return [Types::MicrosoftSQLServerSettings]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] ibm_db_2_settings
|
809
|
+
# Settings in JSON format for the source IBM Db2 LUW endpoint. For
|
810
|
+
# information about other available settings, see [Extra connection
|
811
|
+
# attributes when using Db2 LUW as a source for AWS DMS][1] in the
|
812
|
+
# *AWS Database Migration Service User Guide.*
|
813
|
+
#
|
814
|
+
#
|
815
|
+
#
|
816
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html
|
817
|
+
# @return [Types::IBMDb2Settings]
|
818
|
+
#
|
598
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage AWS API Documentation
|
599
820
|
#
|
600
821
|
class CreateEndpointMessage < Struct.new(
|
@@ -621,7 +842,13 @@ module Aws::DatabaseMigrationService
|
|
621
842
|
:kafka_settings,
|
622
843
|
:elasticsearch_settings,
|
623
844
|
:neptune_settings,
|
624
|
-
:redshift_settings
|
845
|
+
:redshift_settings,
|
846
|
+
:postgre_sql_settings,
|
847
|
+
:my_sql_settings,
|
848
|
+
:oracle_settings,
|
849
|
+
:sybase_settings,
|
850
|
+
:microsoft_sql_server_settings,
|
851
|
+
:ibm_db_2_settings)
|
625
852
|
SENSITIVE = [:password]
|
626
853
|
include Aws::Structure
|
627
854
|
end
|
@@ -832,6 +1059,10 @@ module Aws::DatabaseMigrationService
|
|
832
1059
|
#
|
833
1060
|
# @!attribute [rw] engine_version
|
834
1061
|
# The engine version number of the replication instance.
|
1062
|
+
#
|
1063
|
+
# If an engine version number is not specified when a replication
|
1064
|
+
# instance is created, the default is the latest engine version
|
1065
|
+
# available.
|
835
1066
|
# @return [String]
|
836
1067
|
#
|
837
1068
|
# @!attribute [rw] auto_minor_version_upgrade
|
@@ -1084,10 +1315,10 @@ module Aws::DatabaseMigrationService
|
|
1084
1315
|
# stop. The value can be either server time or commit time.
|
1085
1316
|
#
|
1086
1317
|
# Server time example: --cdc-stop-position
|
1087
|
-
# “server\_time:
|
1318
|
+
# “server\_time:2018-02-09T12:12:12”
|
1088
1319
|
#
|
1089
1320
|
# Commit time example: --cdc-stop-position “commit\_time:
|
1090
|
-
#
|
1321
|
+
# 2018-02-09T12:12:12 “
|
1091
1322
|
# @return [String]
|
1092
1323
|
#
|
1093
1324
|
# @!attribute [rw] tags
|
@@ -1323,6 +1554,39 @@ module Aws::DatabaseMigrationService
|
|
1323
1554
|
#
|
1324
1555
|
class DeleteReplicationSubnetGroupResponse < Aws::EmptyStructure; end
|
1325
1556
|
|
1557
|
+
# @note When making an API call, you may pass DeleteReplicationTaskAssessmentRunMessage
|
1558
|
+
# data as a hash:
|
1559
|
+
#
|
1560
|
+
# {
|
1561
|
+
# replication_task_assessment_run_arn: "String", # required
|
1562
|
+
# }
|
1563
|
+
#
|
1564
|
+
# @!attribute [rw] replication_task_assessment_run_arn
|
1565
|
+
# Amazon Resource Name (ARN) of the premigration assessment run to be
|
1566
|
+
# deleted.
|
1567
|
+
# @return [String]
|
1568
|
+
#
|
1569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskAssessmentRunMessage AWS API Documentation
|
1570
|
+
#
|
1571
|
+
class DeleteReplicationTaskAssessmentRunMessage < Struct.new(
|
1572
|
+
:replication_task_assessment_run_arn)
|
1573
|
+
SENSITIVE = []
|
1574
|
+
include Aws::Structure
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
# @!attribute [rw] replication_task_assessment_run
|
1578
|
+
# The `ReplicationTaskAssessmentRun` object for the deleted assessment
|
1579
|
+
# run.
|
1580
|
+
# @return [Types::ReplicationTaskAssessmentRun]
|
1581
|
+
#
|
1582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskAssessmentRunResponse AWS API Documentation
|
1583
|
+
#
|
1584
|
+
class DeleteReplicationTaskAssessmentRunResponse < Struct.new(
|
1585
|
+
:replication_task_assessment_run)
|
1586
|
+
SENSITIVE = []
|
1587
|
+
include Aws::Structure
|
1588
|
+
end
|
1589
|
+
|
1326
1590
|
# @note When making an API call, you may pass DeleteReplicationTaskMessage
|
1327
1591
|
# data as a hash:
|
1328
1592
|
#
|
@@ -1390,6 +1654,100 @@ module Aws::DatabaseMigrationService
|
|
1390
1654
|
include Aws::Structure
|
1391
1655
|
end
|
1392
1656
|
|
1657
|
+
# @note When making an API call, you may pass DescribeApplicableIndividualAssessmentsMessage
|
1658
|
+
# data as a hash:
|
1659
|
+
#
|
1660
|
+
# {
|
1661
|
+
# replication_task_arn: "String",
|
1662
|
+
# replication_instance_arn: "String",
|
1663
|
+
# source_engine_name: "String",
|
1664
|
+
# target_engine_name: "String",
|
1665
|
+
# migration_type: "full-load", # accepts full-load, cdc, full-load-and-cdc
|
1666
|
+
# max_records: 1,
|
1667
|
+
# marker: "String",
|
1668
|
+
# }
|
1669
|
+
#
|
1670
|
+
# @!attribute [rw] replication_task_arn
|
1671
|
+
# Amazon Resource Name (ARN) of a migration task on which you want to
|
1672
|
+
# base the default list of individual assessments.
|
1673
|
+
# @return [String]
|
1674
|
+
#
|
1675
|
+
# @!attribute [rw] replication_instance_arn
|
1676
|
+
# ARN of a replication instance on which you want to base the default
|
1677
|
+
# list of individual assessments.
|
1678
|
+
# @return [String]
|
1679
|
+
#
|
1680
|
+
# @!attribute [rw] source_engine_name
|
1681
|
+
# Name of a database engine that the specified replication instance
|
1682
|
+
# supports as a source.
|
1683
|
+
# @return [String]
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] target_engine_name
|
1686
|
+
# Name of a database engine that the specified replication instance
|
1687
|
+
# supports as a target.
|
1688
|
+
# @return [String]
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] migration_type
|
1691
|
+
# Name of the migration type that each provided individual assessment
|
1692
|
+
# must support.
|
1693
|
+
# @return [String]
|
1694
|
+
#
|
1695
|
+
# @!attribute [rw] max_records
|
1696
|
+
# Maximum number of records to include in the response. If more
|
1697
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
1698
|
+
# token called a marker is included in the response so that the
|
1699
|
+
# remaining results can be retrieved.
|
1700
|
+
# @return [Integer]
|
1701
|
+
#
|
1702
|
+
# @!attribute [rw] marker
|
1703
|
+
# Optional pagination token provided by a previous request. If this
|
1704
|
+
# parameter is specified, the response includes only records beyond
|
1705
|
+
# the marker, up to the value specified by `MaxRecords`.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeApplicableIndividualAssessmentsMessage AWS API Documentation
|
1709
|
+
#
|
1710
|
+
class DescribeApplicableIndividualAssessmentsMessage < Struct.new(
|
1711
|
+
:replication_task_arn,
|
1712
|
+
:replication_instance_arn,
|
1713
|
+
:source_engine_name,
|
1714
|
+
:target_engine_name,
|
1715
|
+
:migration_type,
|
1716
|
+
:max_records,
|
1717
|
+
:marker)
|
1718
|
+
SENSITIVE = []
|
1719
|
+
include Aws::Structure
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# @!attribute [rw] individual_assessment_names
|
1723
|
+
# List of names for the individual assessments supported by the
|
1724
|
+
# premigration assessment run that you start based on the specified
|
1725
|
+
# request parameters. For more information on the available individual
|
1726
|
+
# assessments, including compatibility with different migration task
|
1727
|
+
# configurations, see [Working with premigration assessment runs][1]
|
1728
|
+
# in the *AWS Database Migration Service User Guide.*
|
1729
|
+
#
|
1730
|
+
#
|
1731
|
+
#
|
1732
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html
|
1733
|
+
# @return [Array<String>]
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] marker
|
1736
|
+
# Pagination token returned for you to pass to a subsequent request.
|
1737
|
+
# If you pass this token as the `Marker` value in a subsequent
|
1738
|
+
# request, the response includes only records beyond the marker, up to
|
1739
|
+
# the value specified in the request by `MaxRecords`.
|
1740
|
+
# @return [String]
|
1741
|
+
#
|
1742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeApplicableIndividualAssessmentsResponse AWS API Documentation
|
1743
|
+
#
|
1744
|
+
class DescribeApplicableIndividualAssessmentsResponse < Struct.new(
|
1745
|
+
:individual_assessment_names,
|
1746
|
+
:marker)
|
1747
|
+
SENSITIVE = []
|
1748
|
+
include Aws::Structure
|
1749
|
+
end
|
1750
|
+
|
1393
1751
|
# @note When making an API call, you may pass DescribeCertificatesMessage
|
1394
1752
|
# data as a hash:
|
1395
1753
|
#
|
@@ -1405,7 +1763,7 @@ module Aws::DatabaseMigrationService
|
|
1405
1763
|
# }
|
1406
1764
|
#
|
1407
1765
|
# @!attribute [rw] filters
|
1408
|
-
# Filters applied to the
|
1766
|
+
# Filters applied to the certificates described in the form of
|
1409
1767
|
# key-value pairs.
|
1410
1768
|
# @return [Array<Types::Filter>]
|
1411
1769
|
#
|
@@ -1533,7 +1891,7 @@ module Aws::DatabaseMigrationService
|
|
1533
1891
|
# }
|
1534
1892
|
#
|
1535
1893
|
# @!attribute [rw] filters
|
1536
|
-
# Filters applied to the
|
1894
|
+
# Filters applied to the endpoint types.
|
1537
1895
|
#
|
1538
1896
|
# Valid filter names: engine-name \| endpoint-type
|
1539
1897
|
# @return [Array<Types::Filter>]
|
@@ -1599,7 +1957,7 @@ module Aws::DatabaseMigrationService
|
|
1599
1957
|
# }
|
1600
1958
|
#
|
1601
1959
|
# @!attribute [rw] filters
|
1602
|
-
# Filters applied to the
|
1960
|
+
# Filters applied to the endpoints.
|
1603
1961
|
#
|
1604
1962
|
# Valid filter names: endpoint-arn \| endpoint-type \| endpoint-id \|
|
1605
1963
|
# engine-name
|
@@ -1671,7 +2029,7 @@ module Aws::DatabaseMigrationService
|
|
1671
2029
|
# @return [String]
|
1672
2030
|
#
|
1673
2031
|
# @!attribute [rw] filters
|
1674
|
-
# Filters applied to the
|
2032
|
+
# Filters applied to the event categories.
|
1675
2033
|
# @return [Array<Types::Filter>]
|
1676
2034
|
#
|
1677
2035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage AWS API Documentation
|
@@ -1715,7 +2073,7 @@ module Aws::DatabaseMigrationService
|
|
1715
2073
|
# @return [String]
|
1716
2074
|
#
|
1717
2075
|
# @!attribute [rw] filters
|
1718
|
-
# Filters applied to
|
2076
|
+
# Filters applied to event subscriptions.
|
1719
2077
|
# @return [Array<Types::Filter>]
|
1720
2078
|
#
|
1721
2079
|
# @!attribute [rw] max_records
|
@@ -1812,7 +2170,7 @@ module Aws::DatabaseMigrationService
|
|
1812
2170
|
# @return [Array<String>]
|
1813
2171
|
#
|
1814
2172
|
# @!attribute [rw] filters
|
1815
|
-
# Filters applied to
|
2173
|
+
# Filters applied to events.
|
1816
2174
|
# @return [Array<Types::Filter>]
|
1817
2175
|
#
|
1818
2176
|
# @!attribute [rw] max_records
|
@@ -2102,7 +2460,7 @@ module Aws::DatabaseMigrationService
|
|
2102
2460
|
# }
|
2103
2461
|
#
|
2104
2462
|
# @!attribute [rw] filters
|
2105
|
-
# Filters applied to
|
2463
|
+
# Filters applied to replication instances.
|
2106
2464
|
#
|
2107
2465
|
# Valid filter names: replication-instance-arn \|
|
2108
2466
|
# replication-instance-id \| replication-instance-class \|
|
@@ -2170,7 +2528,7 @@ module Aws::DatabaseMigrationService
|
|
2170
2528
|
# }
|
2171
2529
|
#
|
2172
2530
|
# @!attribute [rw] filters
|
2173
|
-
# Filters applied to
|
2531
|
+
# Filters applied to replication subnet groups.
|
2174
2532
|
#
|
2175
2533
|
# Valid filter names: replication-subnet-group-id
|
2176
2534
|
# @return [Array<Types::Filter>]
|
@@ -2288,7 +2646,7 @@ module Aws::DatabaseMigrationService
|
|
2288
2646
|
include Aws::Structure
|
2289
2647
|
end
|
2290
2648
|
|
2291
|
-
# @note When making an API call, you may pass
|
2649
|
+
# @note When making an API call, you may pass DescribeReplicationTaskAssessmentRunsMessage
|
2292
2650
|
# data as a hash:
|
2293
2651
|
#
|
2294
2652
|
# {
|
@@ -2300,14 +2658,14 @@ module Aws::DatabaseMigrationService
|
|
2300
2658
|
# ],
|
2301
2659
|
# max_records: 1,
|
2302
2660
|
# marker: "String",
|
2303
|
-
# without_settings: false,
|
2304
2661
|
# }
|
2305
2662
|
#
|
2306
2663
|
# @!attribute [rw] filters
|
2307
|
-
# Filters applied to the
|
2664
|
+
# Filters applied to the premigration assessment runs described in the
|
2665
|
+
# form of key-value pairs.
|
2308
2666
|
#
|
2309
|
-
# Valid filter names: replication-task-
|
2310
|
-
#
|
2667
|
+
# Valid filter names: `replication-task-assessment-run-arn`,
|
2668
|
+
# `replication-task-arn`, `replication-instance-arn`, `status`
|
2311
2669
|
# @return [Array<Types::Filter>]
|
2312
2670
|
#
|
2313
2671
|
# @!attribute [rw] max_records
|
@@ -2315,10 +2673,6 @@ module Aws::DatabaseMigrationService
|
|
2315
2673
|
# records exist than the specified `MaxRecords` value, a pagination
|
2316
2674
|
# token called a marker is included in the response so that the
|
2317
2675
|
# remaining results can be retrieved.
|
2318
|
-
#
|
2319
|
-
# Default: 100
|
2320
|
-
#
|
2321
|
-
# Constraints: Minimum 20, maximum 100.
|
2322
2676
|
# @return [Integer]
|
2323
2677
|
#
|
2324
2678
|
# @!attribute [rw] marker
|
@@ -2327,66 +2681,63 @@ module Aws::DatabaseMigrationService
|
|
2327
2681
|
# the marker, up to the value specified by `MaxRecords`.
|
2328
2682
|
# @return [String]
|
2329
2683
|
#
|
2330
|
-
#
|
2331
|
-
# An option to set to avoid returning information about settings. Use
|
2332
|
-
# this to reduce overhead when setting information is too large. To
|
2333
|
-
# use this option, choose `true`; otherwise, choose `false` (the
|
2334
|
-
# default).
|
2335
|
-
# @return [Boolean]
|
2336
|
-
#
|
2337
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksMessage AWS API Documentation
|
2684
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentRunsMessage AWS API Documentation
|
2338
2685
|
#
|
2339
|
-
class
|
2686
|
+
class DescribeReplicationTaskAssessmentRunsMessage < Struct.new(
|
2340
2687
|
:filters,
|
2341
2688
|
:max_records,
|
2342
|
-
:marker
|
2343
|
-
:without_settings)
|
2689
|
+
:marker)
|
2344
2690
|
SENSITIVE = []
|
2345
2691
|
include Aws::Structure
|
2346
2692
|
end
|
2347
2693
|
|
2348
2694
|
# @!attribute [rw] marker
|
2349
|
-
#
|
2350
|
-
#
|
2351
|
-
# the
|
2695
|
+
# A pagination token returned for you to pass to a subsequent request.
|
2696
|
+
# If you pass this token as the `Marker` value in a subsequent
|
2697
|
+
# request, the response includes only records beyond the marker, up to
|
2698
|
+
# the value specified in the request by `MaxRecords`.
|
2352
2699
|
# @return [String]
|
2353
2700
|
#
|
2354
|
-
# @!attribute [rw]
|
2355
|
-
#
|
2356
|
-
# @return [Array<Types::
|
2701
|
+
# @!attribute [rw] replication_task_assessment_runs
|
2702
|
+
# One or more premigration assessment runs as specified by `Filters`.
|
2703
|
+
# @return [Array<Types::ReplicationTaskAssessmentRun>]
|
2357
2704
|
#
|
2358
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/
|
2705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentRunsResponse AWS API Documentation
|
2359
2706
|
#
|
2360
|
-
class
|
2707
|
+
class DescribeReplicationTaskAssessmentRunsResponse < Struct.new(
|
2361
2708
|
:marker,
|
2362
|
-
:
|
2709
|
+
:replication_task_assessment_runs)
|
2363
2710
|
SENSITIVE = []
|
2364
2711
|
include Aws::Structure
|
2365
2712
|
end
|
2366
2713
|
|
2367
|
-
# @note When making an API call, you may pass
|
2714
|
+
# @note When making an API call, you may pass DescribeReplicationTaskIndividualAssessmentsMessage
|
2368
2715
|
# data as a hash:
|
2369
2716
|
#
|
2370
2717
|
# {
|
2371
|
-
#
|
2718
|
+
# filters: [
|
2719
|
+
# {
|
2720
|
+
# name: "String", # required
|
2721
|
+
# values: ["String"], # required
|
2722
|
+
# },
|
2723
|
+
# ],
|
2372
2724
|
# max_records: 1,
|
2373
2725
|
# marker: "String",
|
2374
2726
|
# }
|
2375
2727
|
#
|
2376
|
-
# @!attribute [rw]
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
#
|
2728
|
+
# @!attribute [rw] filters
|
2729
|
+
# Filters applied to the individual assessments described in the form
|
2730
|
+
# of key-value pairs.
|
2731
|
+
#
|
2732
|
+
# Valid filter names: `replication-task-assessment-run-arn`,
|
2733
|
+
# `replication-task-arn`, `status`
|
2734
|
+
# @return [Array<Types::Filter>]
|
2380
2735
|
#
|
2381
2736
|
# @!attribute [rw] max_records
|
2382
2737
|
# The maximum number of records to include in the response. If more
|
2383
2738
|
# records exist than the specified `MaxRecords` value, a pagination
|
2384
2739
|
# token called a marker is included in the response so that the
|
2385
2740
|
# remaining results can be retrieved.
|
2386
|
-
#
|
2387
|
-
# Default: 100
|
2388
|
-
#
|
2389
|
-
# Constraints: Minimum 20, maximum 100.
|
2390
2741
|
# @return [Integer]
|
2391
2742
|
#
|
2392
2743
|
# @!attribute [rw] marker
|
@@ -2395,10 +2746,10 @@ module Aws::DatabaseMigrationService
|
|
2395
2746
|
# the marker, up to the value specified by `MaxRecords`.
|
2396
2747
|
# @return [String]
|
2397
2748
|
#
|
2398
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/
|
2749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskIndividualAssessmentsMessage AWS API Documentation
|
2399
2750
|
#
|
2400
|
-
class
|
2401
|
-
:
|
2751
|
+
class DescribeReplicationTaskIndividualAssessmentsMessage < Struct.new(
|
2752
|
+
:filters,
|
2402
2753
|
:max_records,
|
2403
2754
|
:marker)
|
2404
2755
|
SENSITIVE = []
|
@@ -2406,42 +2757,46 @@ module Aws::DatabaseMigrationService
|
|
2406
2757
|
end
|
2407
2758
|
|
2408
2759
|
# @!attribute [rw] marker
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
# the
|
2760
|
+
# A pagination token returned for you to pass to a subsequent request.
|
2761
|
+
# If you pass this token as the `Marker` value in a subsequent
|
2762
|
+
# request, the response includes only records beyond the marker, up to
|
2763
|
+
# the value specified in the request by `MaxRecords`.
|
2412
2764
|
# @return [String]
|
2413
2765
|
#
|
2414
|
-
# @!attribute [rw]
|
2415
|
-
#
|
2416
|
-
# @return [Array<
|
2766
|
+
# @!attribute [rw] replication_task_individual_assessments
|
2767
|
+
# One or more individual assessments as specified by `Filters`.
|
2768
|
+
# @return [Array<Types::ReplicationTaskIndividualAssessment>]
|
2417
2769
|
#
|
2418
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/
|
2770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskIndividualAssessmentsResponse AWS API Documentation
|
2419
2771
|
#
|
2420
|
-
class
|
2772
|
+
class DescribeReplicationTaskIndividualAssessmentsResponse < Struct.new(
|
2421
2773
|
:marker,
|
2422
|
-
:
|
2774
|
+
:replication_task_individual_assessments)
|
2423
2775
|
SENSITIVE = []
|
2424
2776
|
include Aws::Structure
|
2425
2777
|
end
|
2426
2778
|
|
2427
|
-
# @note When making an API call, you may pass
|
2779
|
+
# @note When making an API call, you may pass DescribeReplicationTasksMessage
|
2428
2780
|
# data as a hash:
|
2429
2781
|
#
|
2430
2782
|
# {
|
2431
|
-
# replication_task_arn: "String", # required
|
2432
|
-
# max_records: 1,
|
2433
|
-
# marker: "String",
|
2434
2783
|
# filters: [
|
2435
2784
|
# {
|
2436
2785
|
# name: "String", # required
|
2437
2786
|
# values: ["String"], # required
|
2438
2787
|
# },
|
2439
2788
|
# ],
|
2789
|
+
# max_records: 1,
|
2790
|
+
# marker: "String",
|
2791
|
+
# without_settings: false,
|
2440
2792
|
# }
|
2441
2793
|
#
|
2442
|
-
# @!attribute [rw]
|
2443
|
-
#
|
2444
|
-
#
|
2794
|
+
# @!attribute [rw] filters
|
2795
|
+
# Filters applied to replication tasks.
|
2796
|
+
#
|
2797
|
+
# Valid filter names: replication-task-arn \| replication-task-id \|
|
2798
|
+
# migration-type \| endpoint-arn \| replication-instance-arn
|
2799
|
+
# @return [Array<Types::Filter>]
|
2445
2800
|
#
|
2446
2801
|
# @!attribute [rw] max_records
|
2447
2802
|
# The maximum number of records to include in the response. If more
|
@@ -2451,7 +2806,7 @@ module Aws::DatabaseMigrationService
|
|
2451
2806
|
#
|
2452
2807
|
# Default: 100
|
2453
2808
|
#
|
2454
|
-
# Constraints: Minimum 20, maximum
|
2809
|
+
# Constraints: Minimum 20, maximum 100.
|
2455
2810
|
# @return [Integer]
|
2456
2811
|
#
|
2457
2812
|
# @!attribute [rw] marker
|
@@ -2460,9 +2815,142 @@ module Aws::DatabaseMigrationService
|
|
2460
2815
|
# the marker, up to the value specified by `MaxRecords`.
|
2461
2816
|
# @return [String]
|
2462
2817
|
#
|
2463
|
-
# @!attribute [rw]
|
2464
|
-
#
|
2465
|
-
#
|
2818
|
+
# @!attribute [rw] without_settings
|
2819
|
+
# An option to set to avoid returning information about settings. Use
|
2820
|
+
# this to reduce overhead when setting information is too large. To
|
2821
|
+
# use this option, choose `true`; otherwise, choose `false` (the
|
2822
|
+
# default).
|
2823
|
+
# @return [Boolean]
|
2824
|
+
#
|
2825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksMessage AWS API Documentation
|
2826
|
+
#
|
2827
|
+
class DescribeReplicationTasksMessage < Struct.new(
|
2828
|
+
:filters,
|
2829
|
+
:max_records,
|
2830
|
+
:marker,
|
2831
|
+
:without_settings)
|
2832
|
+
SENSITIVE = []
|
2833
|
+
include Aws::Structure
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
# @!attribute [rw] marker
|
2837
|
+
# An optional pagination token provided by a previous request. If this
|
2838
|
+
# parameter is specified, the response includes only records beyond
|
2839
|
+
# the marker, up to the value specified by `MaxRecords`.
|
2840
|
+
# @return [String]
|
2841
|
+
#
|
2842
|
+
# @!attribute [rw] replication_tasks
|
2843
|
+
# A description of the replication tasks.
|
2844
|
+
# @return [Array<Types::ReplicationTask>]
|
2845
|
+
#
|
2846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksResponse AWS API Documentation
|
2847
|
+
#
|
2848
|
+
class DescribeReplicationTasksResponse < Struct.new(
|
2849
|
+
:marker,
|
2850
|
+
:replication_tasks)
|
2851
|
+
SENSITIVE = []
|
2852
|
+
include Aws::Structure
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
# @note When making an API call, you may pass DescribeSchemasMessage
|
2856
|
+
# data as a hash:
|
2857
|
+
#
|
2858
|
+
# {
|
2859
|
+
# endpoint_arn: "String", # required
|
2860
|
+
# max_records: 1,
|
2861
|
+
# marker: "String",
|
2862
|
+
# }
|
2863
|
+
#
|
2864
|
+
# @!attribute [rw] endpoint_arn
|
2865
|
+
# The Amazon Resource Name (ARN) string that uniquely identifies the
|
2866
|
+
# endpoint.
|
2867
|
+
# @return [String]
|
2868
|
+
#
|
2869
|
+
# @!attribute [rw] max_records
|
2870
|
+
# The maximum number of records to include in the response. If more
|
2871
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2872
|
+
# token called a marker is included in the response so that the
|
2873
|
+
# remaining results can be retrieved.
|
2874
|
+
#
|
2875
|
+
# Default: 100
|
2876
|
+
#
|
2877
|
+
# Constraints: Minimum 20, maximum 100.
|
2878
|
+
# @return [Integer]
|
2879
|
+
#
|
2880
|
+
# @!attribute [rw] marker
|
2881
|
+
# An optional pagination token provided by a previous request. If this
|
2882
|
+
# parameter is specified, the response includes only records beyond
|
2883
|
+
# the marker, up to the value specified by `MaxRecords`.
|
2884
|
+
# @return [String]
|
2885
|
+
#
|
2886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasMessage AWS API Documentation
|
2887
|
+
#
|
2888
|
+
class DescribeSchemasMessage < Struct.new(
|
2889
|
+
:endpoint_arn,
|
2890
|
+
:max_records,
|
2891
|
+
:marker)
|
2892
|
+
SENSITIVE = []
|
2893
|
+
include Aws::Structure
|
2894
|
+
end
|
2895
|
+
|
2896
|
+
# @!attribute [rw] marker
|
2897
|
+
# An optional pagination token provided by a previous request. If this
|
2898
|
+
# parameter is specified, the response includes only records beyond
|
2899
|
+
# the marker, up to the value specified by `MaxRecords`.
|
2900
|
+
# @return [String]
|
2901
|
+
#
|
2902
|
+
# @!attribute [rw] schemas
|
2903
|
+
# The described schema.
|
2904
|
+
# @return [Array<String>]
|
2905
|
+
#
|
2906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasResponse AWS API Documentation
|
2907
|
+
#
|
2908
|
+
class DescribeSchemasResponse < Struct.new(
|
2909
|
+
:marker,
|
2910
|
+
:schemas)
|
2911
|
+
SENSITIVE = []
|
2912
|
+
include Aws::Structure
|
2913
|
+
end
|
2914
|
+
|
2915
|
+
# @note When making an API call, you may pass DescribeTableStatisticsMessage
|
2916
|
+
# data as a hash:
|
2917
|
+
#
|
2918
|
+
# {
|
2919
|
+
# replication_task_arn: "String", # required
|
2920
|
+
# max_records: 1,
|
2921
|
+
# marker: "String",
|
2922
|
+
# filters: [
|
2923
|
+
# {
|
2924
|
+
# name: "String", # required
|
2925
|
+
# values: ["String"], # required
|
2926
|
+
# },
|
2927
|
+
# ],
|
2928
|
+
# }
|
2929
|
+
#
|
2930
|
+
# @!attribute [rw] replication_task_arn
|
2931
|
+
# The Amazon Resource Name (ARN) of the replication task.
|
2932
|
+
# @return [String]
|
2933
|
+
#
|
2934
|
+
# @!attribute [rw] max_records
|
2935
|
+
# The maximum number of records to include in the response. If more
|
2936
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2937
|
+
# token called a marker is included in the response so that the
|
2938
|
+
# remaining results can be retrieved.
|
2939
|
+
#
|
2940
|
+
# Default: 100
|
2941
|
+
#
|
2942
|
+
# Constraints: Minimum 20, maximum 500.
|
2943
|
+
# @return [Integer]
|
2944
|
+
#
|
2945
|
+
# @!attribute [rw] marker
|
2946
|
+
# An optional pagination token provided by a previous request. If this
|
2947
|
+
# parameter is specified, the response includes only records beyond
|
2948
|
+
# the marker, up to the value specified by `MaxRecords`.
|
2949
|
+
# @return [String]
|
2950
|
+
#
|
2951
|
+
# @!attribute [rw] filters
|
2952
|
+
# Filters applied to table statistics.
|
2953
|
+
#
|
2466
2954
|
# Valid filter names: schema-name \| table-name \| table-state
|
2467
2955
|
#
|
2468
2956
|
# A combination of filters creates an AND condition where each record
|
@@ -2572,12 +3060,19 @@ module Aws::DatabaseMigrationService
|
|
2572
3060
|
# @return [String]
|
2573
3061
|
#
|
2574
3062
|
# @!attribute [rw] endpoint_uri
|
2575
|
-
# The endpoint for the Elasticsearch cluster.
|
3063
|
+
# The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a
|
3064
|
+
# transport protocol (http/https) is not specified.
|
2576
3065
|
# @return [String]
|
2577
3066
|
#
|
2578
3067
|
# @!attribute [rw] full_load_error_percentage
|
2579
3068
|
# The maximum percentage of records that can fail to be written before
|
2580
3069
|
# a full load operation stops.
|
3070
|
+
#
|
3071
|
+
# To avoid early failure, this counter is only effective after 1000
|
3072
|
+
# records are transferred. Elasticsearch also has the concept of error
|
3073
|
+
# monitoring during the last 10 minutes of an Observation Window. If
|
3074
|
+
# transfer of all records fail in the last 10 minutes, the full load
|
3075
|
+
# operation stops.
|
2581
3076
|
# @return [Integer]
|
2582
3077
|
#
|
2583
3078
|
# @!attribute [rw] error_retry_duration
|
@@ -2698,7 +3193,7 @@ module Aws::DatabaseMigrationService
|
|
2698
3193
|
# @return [String]
|
2699
3194
|
#
|
2700
3195
|
# @!attribute [rw] dynamo_db_settings
|
2701
|
-
# The settings for the target
|
3196
|
+
# The settings for the DynamoDB target endpoint. For more information,
|
2702
3197
|
# see the `DynamoDBSettings` structure.
|
2703
3198
|
# @return [Types::DynamoDbSettings]
|
2704
3199
|
#
|
@@ -2759,6 +3254,37 @@ module Aws::DatabaseMigrationService
|
|
2759
3254
|
# Settings for the Amazon Redshift endpoint.
|
2760
3255
|
# @return [Types::RedshiftSettings]
|
2761
3256
|
#
|
3257
|
+
# @!attribute [rw] postgre_sql_settings
|
3258
|
+
# The settings for the PostgreSQL source and target endpoint. For more
|
3259
|
+
# information, see the `PostgreSQLSettings` structure.
|
3260
|
+
# @return [Types::PostgreSQLSettings]
|
3261
|
+
#
|
3262
|
+
# @!attribute [rw] my_sql_settings
|
3263
|
+
# The settings for the MySQL source and target endpoint. For more
|
3264
|
+
# information, see the `MySQLSettings` structure.
|
3265
|
+
# @return [Types::MySQLSettings]
|
3266
|
+
#
|
3267
|
+
# @!attribute [rw] oracle_settings
|
3268
|
+
# The settings for the Oracle source and target endpoint. For more
|
3269
|
+
# information, see the `OracleSettings` structure.
|
3270
|
+
# @return [Types::OracleSettings]
|
3271
|
+
#
|
3272
|
+
# @!attribute [rw] sybase_settings
|
3273
|
+
# The settings for the SAP ASE source and target endpoint. For more
|
3274
|
+
# information, see the `SybaseSettings` structure.
|
3275
|
+
# @return [Types::SybaseSettings]
|
3276
|
+
#
|
3277
|
+
# @!attribute [rw] microsoft_sql_server_settings
|
3278
|
+
# The settings for the Microsoft SQL Server source and target
|
3279
|
+
# endpoint. For more information, see the `MicrosoftSQLServerSettings`
|
3280
|
+
# structure.
|
3281
|
+
# @return [Types::MicrosoftSQLServerSettings]
|
3282
|
+
#
|
3283
|
+
# @!attribute [rw] ibm_db_2_settings
|
3284
|
+
# The settings for the IBM Db2 LUW source endpoint. For more
|
3285
|
+
# information, see the `IBMDb2Settings` structure.
|
3286
|
+
# @return [Types::IBMDb2Settings]
|
3287
|
+
#
|
2762
3288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint AWS API Documentation
|
2763
3289
|
#
|
2764
3290
|
class Endpoint < Struct.new(
|
@@ -2787,7 +3313,13 @@ module Aws::DatabaseMigrationService
|
|
2787
3313
|
:kafka_settings,
|
2788
3314
|
:elasticsearch_settings,
|
2789
3315
|
:neptune_settings,
|
2790
|
-
:redshift_settings
|
3316
|
+
:redshift_settings,
|
3317
|
+
:postgre_sql_settings,
|
3318
|
+
:my_sql_settings,
|
3319
|
+
:oracle_settings,
|
3320
|
+
:sybase_settings,
|
3321
|
+
:microsoft_sql_server_settings,
|
3322
|
+
:ibm_db_2_settings)
|
2791
3323
|
SENSITIVE = []
|
2792
3324
|
include Aws::Structure
|
2793
3325
|
end
|
@@ -2832,7 +3364,12 @@ module Aws::DatabaseMigrationService
|
|
2832
3364
|
end
|
2833
3365
|
|
2834
3366
|
# Lists categories of events subscribed to, and generated by, the
|
2835
|
-
# applicable AWS DMS resource type.
|
3367
|
+
# applicable AWS DMS resource type. This data type appears in response
|
3368
|
+
# to the [ `DescribeEventCategories` ][1] action.
|
3369
|
+
#
|
3370
|
+
#
|
3371
|
+
#
|
3372
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_EventCategoryGroup.html
|
2836
3373
|
#
|
2837
3374
|
# @!attribute [rw] source_type
|
2838
3375
|
# The type of AWS DMS resource that generates events.
|
@@ -2923,9 +3460,10 @@ module Aws::DatabaseMigrationService
|
|
2923
3460
|
include Aws::Structure
|
2924
3461
|
end
|
2925
3462
|
|
2926
|
-
# Identifies the name and value of a
|
2927
|
-
# the number and type of
|
2928
|
-
#
|
3463
|
+
# Identifies the name and value of a filter object. This filter is used
|
3464
|
+
# to limit the number and type of AWS DMS objects that are returned for
|
3465
|
+
# a particular `Describe*` call or similar operation. Filters are used
|
3466
|
+
# as an optional parameter to the following APIs.
|
2929
3467
|
#
|
2930
3468
|
# @note When making an API call, you may pass Filter
|
2931
3469
|
# data as a hash:
|
@@ -2936,11 +3474,13 @@ module Aws::DatabaseMigrationService
|
|
2936
3474
|
# }
|
2937
3475
|
#
|
2938
3476
|
# @!attribute [rw] name
|
2939
|
-
# The name of the filter
|
3477
|
+
# The name of the filter as specified for a `Describe*` or similar
|
3478
|
+
# operation.
|
2940
3479
|
# @return [String]
|
2941
3480
|
#
|
2942
3481
|
# @!attribute [rw] values
|
2943
|
-
# The filter value
|
3482
|
+
# The filter value, which can specify one or more values used to
|
3483
|
+
# narrow the returned results.
|
2944
3484
|
# @return [Array<String>]
|
2945
3485
|
#
|
2946
3486
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Filter AWS API Documentation
|
@@ -2952,6 +3492,72 @@ module Aws::DatabaseMigrationService
|
|
2952
3492
|
include Aws::Structure
|
2953
3493
|
end
|
2954
3494
|
|
3495
|
+
# Provides information that defines an IBM Db2 LUW endpoint.
|
3496
|
+
#
|
3497
|
+
# @note When making an API call, you may pass IBMDb2Settings
|
3498
|
+
# data as a hash:
|
3499
|
+
#
|
3500
|
+
# {
|
3501
|
+
# database_name: "String",
|
3502
|
+
# password: "SecretString",
|
3503
|
+
# port: 1,
|
3504
|
+
# server_name: "String",
|
3505
|
+
# set_data_capture_changes: false,
|
3506
|
+
# current_lsn: "String",
|
3507
|
+
# max_k_bytes_per_read: 1,
|
3508
|
+
# username: "String",
|
3509
|
+
# }
|
3510
|
+
#
|
3511
|
+
# @!attribute [rw] database_name
|
3512
|
+
# Database name for the endpoint.
|
3513
|
+
# @return [String]
|
3514
|
+
#
|
3515
|
+
# @!attribute [rw] password
|
3516
|
+
# Endpoint connection password.
|
3517
|
+
# @return [String]
|
3518
|
+
#
|
3519
|
+
# @!attribute [rw] port
|
3520
|
+
# Endpoint TCP port.
|
3521
|
+
# @return [Integer]
|
3522
|
+
#
|
3523
|
+
# @!attribute [rw] server_name
|
3524
|
+
# Fully qualified domain name of the endpoint.
|
3525
|
+
# @return [String]
|
3526
|
+
#
|
3527
|
+
# @!attribute [rw] set_data_capture_changes
|
3528
|
+
# Enables ongoing replication (CDC) as a BOOLEAN value. The default is
|
3529
|
+
# true.
|
3530
|
+
# @return [Boolean]
|
3531
|
+
#
|
3532
|
+
# @!attribute [rw] current_lsn
|
3533
|
+
# For ongoing replication (CDC), use CurrentLSN to specify a log
|
3534
|
+
# sequence number (LSN) where you want the replication to start.
|
3535
|
+
# @return [String]
|
3536
|
+
#
|
3537
|
+
# @!attribute [rw] max_k_bytes_per_read
|
3538
|
+
# Maximum number of bytes per read, as a NUMBER value. The default is
|
3539
|
+
# 64 KB.
|
3540
|
+
# @return [Integer]
|
3541
|
+
#
|
3542
|
+
# @!attribute [rw] username
|
3543
|
+
# Endpoint connection user name.
|
3544
|
+
# @return [String]
|
3545
|
+
#
|
3546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/IBMDb2Settings AWS API Documentation
|
3547
|
+
#
|
3548
|
+
class IBMDb2Settings < Struct.new(
|
3549
|
+
:database_name,
|
3550
|
+
:password,
|
3551
|
+
:port,
|
3552
|
+
:server_name,
|
3553
|
+
:set_data_capture_changes,
|
3554
|
+
:current_lsn,
|
3555
|
+
:max_k_bytes_per_read,
|
3556
|
+
:username)
|
3557
|
+
SENSITIVE = [:password]
|
3558
|
+
include Aws::Structure
|
3559
|
+
end
|
3560
|
+
|
2955
3561
|
# @note When making an API call, you may pass ImportCertificateMessage
|
2956
3562
|
# data as a hash:
|
2957
3563
|
#
|
@@ -3090,6 +3696,20 @@ module Aws::DatabaseMigrationService
|
|
3090
3696
|
include Aws::Structure
|
3091
3697
|
end
|
3092
3698
|
|
3699
|
+
# An AWS Key Management Service (AWS KMS) error is preventing access to
|
3700
|
+
# AWS KMS.
|
3701
|
+
#
|
3702
|
+
# @!attribute [rw] message
|
3703
|
+
# @return [String]
|
3704
|
+
#
|
3705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KMSFault AWS API Documentation
|
3706
|
+
#
|
3707
|
+
class KMSFault < Struct.new(
|
3708
|
+
:message)
|
3709
|
+
SENSITIVE = []
|
3710
|
+
include Aws::Structure
|
3711
|
+
end
|
3712
|
+
|
3093
3713
|
# The state of the specified AWS KMS resource isn't valid for this
|
3094
3714
|
# request.
|
3095
3715
|
#
|
@@ -3154,6 +3774,14 @@ module Aws::DatabaseMigrationService
|
|
3154
3774
|
# {
|
3155
3775
|
# broker: "String",
|
3156
3776
|
# topic: "String",
|
3777
|
+
# message_format: "json", # accepts json, json-unformatted
|
3778
|
+
# include_transaction_details: false,
|
3779
|
+
# include_partition_value: false,
|
3780
|
+
# partition_include_schema_table: false,
|
3781
|
+
# include_table_alter_operations: false,
|
3782
|
+
# include_control_details: false,
|
3783
|
+
# message_max_bytes: 1,
|
3784
|
+
# include_null_and_empty: false,
|
3157
3785
|
# }
|
3158
3786
|
#
|
3159
3787
|
# @!attribute [rw] broker
|
@@ -3169,11 +3797,71 @@ module Aws::DatabaseMigrationService
|
|
3169
3797
|
# topic.
|
3170
3798
|
# @return [String]
|
3171
3799
|
#
|
3800
|
+
# @!attribute [rw] message_format
|
3801
|
+
# The output format for the records created on the endpoint. The
|
3802
|
+
# message format is `JSON` (default) or `JSON_UNFORMATTED` (a single
|
3803
|
+
# line with no tab).
|
3804
|
+
# @return [String]
|
3805
|
+
#
|
3806
|
+
# @!attribute [rw] include_transaction_details
|
3807
|
+
# Provides detailed transaction information from the source database.
|
3808
|
+
# This information includes a commit timestamp, a log position, and
|
3809
|
+
# values for `transaction_id`, previous `transaction_id`, and
|
3810
|
+
# `transaction_record_id` (the record offset within a transaction).
|
3811
|
+
# The default is `false`.
|
3812
|
+
# @return [Boolean]
|
3813
|
+
#
|
3814
|
+
# @!attribute [rw] include_partition_value
|
3815
|
+
# Shows the partition value within the Kafka message output, unless
|
3816
|
+
# the partition type is `schema-table-type`. The default is `false`.
|
3817
|
+
# @return [Boolean]
|
3818
|
+
#
|
3819
|
+
# @!attribute [rw] partition_include_schema_table
|
3820
|
+
# Prefixes schema and table names to partition values, when the
|
3821
|
+
# partition type is `primary-key-type`. Doing this increases data
|
3822
|
+
# distribution among Kafka partitions. For example, suppose that a
|
3823
|
+
# SysBench schema has thousands of tables and each table has only
|
3824
|
+
# limited range for a primary key. In this case, the same primary key
|
3825
|
+
# is sent from thousands of tables to the same partition, which causes
|
3826
|
+
# throttling. The default is `false`.
|
3827
|
+
# @return [Boolean]
|
3828
|
+
#
|
3829
|
+
# @!attribute [rw] include_table_alter_operations
|
3830
|
+
# Includes any data definition language (DDL) operations that change
|
3831
|
+
# the table in the control data, such as `rename-table`, `drop-table`,
|
3832
|
+
# `add-column`, `drop-column`, and `rename-column`. The default is
|
3833
|
+
# `false`.
|
3834
|
+
# @return [Boolean]
|
3835
|
+
#
|
3836
|
+
# @!attribute [rw] include_control_details
|
3837
|
+
# Shows detailed control information for table definition, column
|
3838
|
+
# definition, and table and column changes in the Kafka message
|
3839
|
+
# output. The default is `false`.
|
3840
|
+
# @return [Boolean]
|
3841
|
+
#
|
3842
|
+
# @!attribute [rw] message_max_bytes
|
3843
|
+
# The maximum size in bytes for records created on the endpoint The
|
3844
|
+
# default is 1,000,000.
|
3845
|
+
# @return [Integer]
|
3846
|
+
#
|
3847
|
+
# @!attribute [rw] include_null_and_empty
|
3848
|
+
# Include NULL and empty columns for records migrated to the endpoint.
|
3849
|
+
# The default is `false`.
|
3850
|
+
# @return [Boolean]
|
3851
|
+
#
|
3172
3852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KafkaSettings AWS API Documentation
|
3173
3853
|
#
|
3174
3854
|
class KafkaSettings < Struct.new(
|
3175
3855
|
:broker,
|
3176
|
-
:topic
|
3856
|
+
:topic,
|
3857
|
+
:message_format,
|
3858
|
+
:include_transaction_details,
|
3859
|
+
:include_partition_value,
|
3860
|
+
:partition_include_schema_table,
|
3861
|
+
:include_table_alter_operations,
|
3862
|
+
:include_control_details,
|
3863
|
+
:message_max_bytes,
|
3864
|
+
:include_null_and_empty)
|
3177
3865
|
SENSITIVE = []
|
3178
3866
|
include Aws::Structure
|
3179
3867
|
end
|
@@ -3195,6 +3883,7 @@ module Aws::DatabaseMigrationService
|
|
3195
3883
|
# partition_include_schema_table: false,
|
3196
3884
|
# include_table_alter_operations: false,
|
3197
3885
|
# include_control_details: false,
|
3886
|
+
# include_null_and_empty: false,
|
3198
3887
|
# }
|
3199
3888
|
#
|
3200
3889
|
# @!attribute [rw] stream_arn
|
@@ -3219,12 +3908,12 @@ module Aws::DatabaseMigrationService
|
|
3219
3908
|
# This information includes a commit timestamp, a log position, and
|
3220
3909
|
# values for `transaction_id`, previous `transaction_id`, and
|
3221
3910
|
# `transaction_record_id` (the record offset within a transaction).
|
3222
|
-
# The default is `
|
3911
|
+
# The default is `false`.
|
3223
3912
|
# @return [Boolean]
|
3224
3913
|
#
|
3225
3914
|
# @!attribute [rw] include_partition_value
|
3226
3915
|
# Shows the partition value within the Kinesis message output, unless
|
3227
|
-
# the partition type is `schema-table-type`. The default is `
|
3916
|
+
# the partition type is `schema-table-type`. The default is `false`.
|
3228
3917
|
# @return [Boolean]
|
3229
3918
|
#
|
3230
3919
|
# @!attribute [rw] partition_include_schema_table
|
@@ -3234,20 +3923,25 @@ module Aws::DatabaseMigrationService
|
|
3234
3923
|
# SysBench schema has thousands of tables and each table has only
|
3235
3924
|
# limited range for a primary key. In this case, the same primary key
|
3236
3925
|
# is sent from thousands of tables to the same shard, which causes
|
3237
|
-
# throttling. The default is `
|
3926
|
+
# throttling. The default is `false`.
|
3238
3927
|
# @return [Boolean]
|
3239
3928
|
#
|
3240
3929
|
# @!attribute [rw] include_table_alter_operations
|
3241
3930
|
# Includes any data definition language (DDL) operations that change
|
3242
3931
|
# the table in the control data, such as `rename-table`, `drop-table`,
|
3243
3932
|
# `add-column`, `drop-column`, and `rename-column`. The default is
|
3244
|
-
# `
|
3933
|
+
# `false`.
|
3245
3934
|
# @return [Boolean]
|
3246
3935
|
#
|
3247
3936
|
# @!attribute [rw] include_control_details
|
3248
3937
|
# Shows detailed control information for table definition, column
|
3249
3938
|
# definition, and table and column changes in the Kinesis message
|
3250
|
-
# output. The default is `
|
3939
|
+
# output. The default is `false`.
|
3940
|
+
# @return [Boolean]
|
3941
|
+
#
|
3942
|
+
# @!attribute [rw] include_null_and_empty
|
3943
|
+
# Include NULL and empty columns for records migrated to the endpoint.
|
3944
|
+
# The default is `false`.
|
3251
3945
|
# @return [Boolean]
|
3252
3946
|
#
|
3253
3947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KinesisSettings AWS API Documentation
|
@@ -3260,7 +3954,8 @@ module Aws::DatabaseMigrationService
|
|
3260
3954
|
:include_partition_value,
|
3261
3955
|
:partition_include_schema_table,
|
3262
3956
|
:include_table_alter_operations,
|
3263
|
-
:include_control_details
|
3957
|
+
:include_control_details,
|
3958
|
+
:include_null_and_empty)
|
3264
3959
|
SENSITIVE = []
|
3265
3960
|
include Aws::Structure
|
3266
3961
|
end
|
@@ -3297,6 +3992,111 @@ module Aws::DatabaseMigrationService
|
|
3297
3992
|
include Aws::Structure
|
3298
3993
|
end
|
3299
3994
|
|
3995
|
+
# Provides information that defines a Microsoft SQL Server endpoint.
|
3996
|
+
#
|
3997
|
+
# @note When making an API call, you may pass MicrosoftSQLServerSettings
|
3998
|
+
# data as a hash:
|
3999
|
+
#
|
4000
|
+
# {
|
4001
|
+
# port: 1,
|
4002
|
+
# bcp_packet_size: 1,
|
4003
|
+
# database_name: "String",
|
4004
|
+
# control_tables_file_group: "String",
|
4005
|
+
# password: "SecretString",
|
4006
|
+
# read_backup_only: false,
|
4007
|
+
# safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
|
4008
|
+
# server_name: "String",
|
4009
|
+
# username: "String",
|
4010
|
+
# use_bcp_full_load: false,
|
4011
|
+
# }
|
4012
|
+
#
|
4013
|
+
# @!attribute [rw] port
|
4014
|
+
# Endpoint TCP port.
|
4015
|
+
# @return [Integer]
|
4016
|
+
#
|
4017
|
+
# @!attribute [rw] bcp_packet_size
|
4018
|
+
# The maximum size of the packets (in bytes) used to transfer data
|
4019
|
+
# using BCP.
|
4020
|
+
# @return [Integer]
|
4021
|
+
#
|
4022
|
+
# @!attribute [rw] database_name
|
4023
|
+
# Database name for the endpoint.
|
4024
|
+
# @return [String]
|
4025
|
+
#
|
4026
|
+
# @!attribute [rw] control_tables_file_group
|
4027
|
+
# Specify a filegroup for the AWS DMS internal tables. When the
|
4028
|
+
# replication task starts, all the internal AWS DMS control tables
|
4029
|
+
# (awsdms\_ apply\_exception, awsdms\_apply, awsdms\_changes) are
|
4030
|
+
# created on the specified filegroup.
|
4031
|
+
# @return [String]
|
4032
|
+
#
|
4033
|
+
# @!attribute [rw] password
|
4034
|
+
# Endpoint connection password.
|
4035
|
+
# @return [String]
|
4036
|
+
#
|
4037
|
+
# @!attribute [rw] read_backup_only
|
4038
|
+
# When this attribute is set to `Y`, AWS DMS only reads changes from
|
4039
|
+
# transaction log backups and doesn't read from the active
|
4040
|
+
# transaction log file during ongoing replication. Setting this
|
4041
|
+
# parameter to `Y` enables you to control active transaction log file
|
4042
|
+
# growth during full load and ongoing replication tasks. However, it
|
4043
|
+
# can add some source latency to ongoing replication.
|
4044
|
+
# @return [Boolean]
|
4045
|
+
#
|
4046
|
+
# @!attribute [rw] safeguard_policy
|
4047
|
+
# Use this attribute to minimize the need to access the backup log and
|
4048
|
+
# enable AWS DMS to prevent truncation using one of the following two
|
4049
|
+
# methods.
|
4050
|
+
#
|
4051
|
+
# *Start transactions in the database:* This is the default method.
|
4052
|
+
# When this method is used, AWS DMS prevents TLOG truncation by
|
4053
|
+
# mimicking a transaction in the database. As long as such a
|
4054
|
+
# transaction is open, changes that appear after the transaction
|
4055
|
+
# started aren't truncated. If you need Microsoft Replication to be
|
4056
|
+
# enabled in your database, then you must choose this method.
|
4057
|
+
#
|
4058
|
+
# *Exclusively use sp\_repldone within a single task*\: When this
|
4059
|
+
# method is used, AWS DMS reads the changes and then uses sp\_repldone
|
4060
|
+
# to mark the TLOG transactions as ready for truncation. Although this
|
4061
|
+
# method doesn't involve any transactional activities, it can only be
|
4062
|
+
# used when Microsoft Replication isn't running. Also, when using
|
4063
|
+
# this method, only one AWS DMS task can access the database at any
|
4064
|
+
# given time. Therefore, if you need to run parallel AWS DMS tasks
|
4065
|
+
# against the same database, use the default method.
|
4066
|
+
# @return [String]
|
4067
|
+
#
|
4068
|
+
# @!attribute [rw] server_name
|
4069
|
+
# Fully qualified domain name of the endpoint.
|
4070
|
+
# @return [String]
|
4071
|
+
#
|
4072
|
+
# @!attribute [rw] username
|
4073
|
+
# Endpoint connection user name.
|
4074
|
+
# @return [String]
|
4075
|
+
#
|
4076
|
+
# @!attribute [rw] use_bcp_full_load
|
4077
|
+
# Use this to attribute to transfer data for full-load operations
|
4078
|
+
# using BCP. When the target table contains an identity column that
|
4079
|
+
# does not exist in the source table, you must disable the use BCP for
|
4080
|
+
# loading table option.
|
4081
|
+
# @return [Boolean]
|
4082
|
+
#
|
4083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MicrosoftSQLServerSettings AWS API Documentation
|
4084
|
+
#
|
4085
|
+
class MicrosoftSQLServerSettings < Struct.new(
|
4086
|
+
:port,
|
4087
|
+
:bcp_packet_size,
|
4088
|
+
:database_name,
|
4089
|
+
:control_tables_file_group,
|
4090
|
+
:password,
|
4091
|
+
:read_backup_only,
|
4092
|
+
:safeguard_policy,
|
4093
|
+
:server_name,
|
4094
|
+
:username,
|
4095
|
+
:use_bcp_full_load)
|
4096
|
+
SENSITIVE = [:password]
|
4097
|
+
include Aws::Structure
|
4098
|
+
end
|
4099
|
+
|
3300
4100
|
# @note When making an API call, you may pass ModifyEndpointMessage
|
3301
4101
|
# data as a hash:
|
3302
4102
|
#
|
@@ -3340,6 +4140,9 @@ module Aws::DatabaseMigrationService
|
|
3340
4140
|
# timestamp_column_name: "String",
|
3341
4141
|
# parquet_timestamp_in_millisecond: false,
|
3342
4142
|
# cdc_inserts_and_updates: false,
|
4143
|
+
# date_partition_enabled: false,
|
4144
|
+
# date_partition_sequence: "YYYYMMDD", # accepts YYYYMMDD, YYYYMMDDHH, YYYYMM, MMYYYYDD, DDMMYYYY
|
4145
|
+
# date_partition_delimiter: "SLASH", # accepts SLASH, UNDERSCORE, DASH, NONE
|
3343
4146
|
# },
|
3344
4147
|
# dms_transfer_settings: {
|
3345
4148
|
# service_access_role_arn: "String",
|
@@ -3368,10 +4171,19 @@ module Aws::DatabaseMigrationService
|
|
3368
4171
|
# partition_include_schema_table: false,
|
3369
4172
|
# include_table_alter_operations: false,
|
3370
4173
|
# include_control_details: false,
|
4174
|
+
# include_null_and_empty: false,
|
3371
4175
|
# },
|
3372
4176
|
# kafka_settings: {
|
3373
4177
|
# broker: "String",
|
3374
4178
|
# topic: "String",
|
4179
|
+
# message_format: "json", # accepts json, json-unformatted
|
4180
|
+
# include_transaction_details: false,
|
4181
|
+
# include_partition_value: false,
|
4182
|
+
# partition_include_schema_table: false,
|
4183
|
+
# include_table_alter_operations: false,
|
4184
|
+
# include_control_details: false,
|
4185
|
+
# message_max_bytes: 1,
|
4186
|
+
# include_null_and_empty: false,
|
3375
4187
|
# },
|
3376
4188
|
# elasticsearch_settings: {
|
3377
4189
|
# service_access_role_arn: "String", # required
|
@@ -3407,13 +4219,101 @@ module Aws::DatabaseMigrationService
|
|
3407
4219
|
# replace_invalid_chars: "String",
|
3408
4220
|
# replace_chars: "String",
|
3409
4221
|
# server_name: "String",
|
3410
|
-
# service_access_role_arn: "String",
|
3411
|
-
# server_side_encryption_kms_key_id: "String",
|
3412
|
-
# time_format: "String",
|
3413
|
-
# trim_blanks: false,
|
3414
|
-
# truncate_columns: false,
|
4222
|
+
# service_access_role_arn: "String",
|
4223
|
+
# server_side_encryption_kms_key_id: "String",
|
4224
|
+
# time_format: "String",
|
4225
|
+
# trim_blanks: false,
|
4226
|
+
# truncate_columns: false,
|
4227
|
+
# username: "String",
|
4228
|
+
# write_buffer_size: 1,
|
4229
|
+
# },
|
4230
|
+
# postgre_sql_settings: {
|
4231
|
+
# after_connect_script: "String",
|
4232
|
+
# capture_ddls: false,
|
4233
|
+
# max_file_size: 1,
|
4234
|
+
# database_name: "String",
|
4235
|
+
# ddl_artifacts_schema: "String",
|
4236
|
+
# execute_timeout: 1,
|
4237
|
+
# fail_tasks_on_lob_truncation: false,
|
4238
|
+
# password: "SecretString",
|
4239
|
+
# port: 1,
|
4240
|
+
# server_name: "String",
|
4241
|
+
# username: "String",
|
4242
|
+
# slot_name: "String",
|
4243
|
+
# },
|
4244
|
+
# my_sql_settings: {
|
4245
|
+
# after_connect_script: "String",
|
4246
|
+
# database_name: "String",
|
4247
|
+
# events_poll_interval: 1,
|
4248
|
+
# target_db_type: "specific-database", # accepts specific-database, multiple-databases
|
4249
|
+
# max_file_size: 1,
|
4250
|
+
# parallel_load_threads: 1,
|
4251
|
+
# password: "SecretString",
|
4252
|
+
# port: 1,
|
4253
|
+
# server_name: "String",
|
4254
|
+
# server_timezone: "String",
|
4255
|
+
# username: "String",
|
4256
|
+
# },
|
4257
|
+
# oracle_settings: {
|
4258
|
+
# add_supplemental_logging: false,
|
4259
|
+
# archived_log_dest_id: 1,
|
4260
|
+
# additional_archived_log_dest_id: 1,
|
4261
|
+
# allow_select_nested_tables: false,
|
4262
|
+
# parallel_asm_read_threads: 1,
|
4263
|
+
# read_ahead_blocks: 1,
|
4264
|
+
# access_alternate_directly: false,
|
4265
|
+
# use_alternate_folder_for_online: false,
|
4266
|
+
# oracle_path_prefix: "String",
|
4267
|
+
# use_path_prefix: "String",
|
4268
|
+
# replace_path_prefix: false,
|
4269
|
+
# enable_homogenous_tablespace: false,
|
4270
|
+
# direct_path_no_log: false,
|
4271
|
+
# archived_logs_only: false,
|
4272
|
+
# asm_password: "SecretString",
|
4273
|
+
# asm_server: "String",
|
4274
|
+
# asm_user: "String",
|
4275
|
+
# char_length_semantics: "default", # accepts default, char, byte
|
4276
|
+
# database_name: "String",
|
4277
|
+
# direct_path_parallel_load: false,
|
4278
|
+
# fail_tasks_on_lob_truncation: false,
|
4279
|
+
# number_datatype_scale: 1,
|
4280
|
+
# password: "SecretString",
|
4281
|
+
# port: 1,
|
4282
|
+
# read_table_space_name: false,
|
4283
|
+
# retry_interval: 1,
|
4284
|
+
# security_db_encryption: "SecretString",
|
4285
|
+
# security_db_encryption_name: "String",
|
4286
|
+
# server_name: "String",
|
4287
|
+
# username: "String",
|
4288
|
+
# },
|
4289
|
+
# sybase_settings: {
|
4290
|
+
# database_name: "String",
|
4291
|
+
# password: "SecretString",
|
4292
|
+
# port: 1,
|
4293
|
+
# server_name: "String",
|
4294
|
+
# username: "String",
|
4295
|
+
# },
|
4296
|
+
# microsoft_sql_server_settings: {
|
4297
|
+
# port: 1,
|
4298
|
+
# bcp_packet_size: 1,
|
4299
|
+
# database_name: "String",
|
4300
|
+
# control_tables_file_group: "String",
|
4301
|
+
# password: "SecretString",
|
4302
|
+
# read_backup_only: false,
|
4303
|
+
# safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
|
4304
|
+
# server_name: "String",
|
4305
|
+
# username: "String",
|
4306
|
+
# use_bcp_full_load: false,
|
4307
|
+
# },
|
4308
|
+
# ibm_db_2_settings: {
|
4309
|
+
# database_name: "String",
|
4310
|
+
# password: "SecretString",
|
4311
|
+
# port: 1,
|
4312
|
+
# server_name: "String",
|
4313
|
+
# set_data_capture_changes: false,
|
4314
|
+
# current_lsn: "String",
|
4315
|
+
# max_k_bytes_per_read: 1,
|
3415
4316
|
# username: "String",
|
3416
|
-
# write_buffer_size: 1,
|
3417
4317
|
# },
|
3418
4318
|
# }
|
3419
4319
|
#
|
@@ -3592,6 +4492,85 @@ module Aws::DatabaseMigrationService
|
|
3592
4492
|
# Provides information that defines an Amazon Redshift endpoint.
|
3593
4493
|
# @return [Types::RedshiftSettings]
|
3594
4494
|
#
|
4495
|
+
# @!attribute [rw] postgre_sql_settings
|
4496
|
+
# Settings in JSON format for the source and target PostgreSQL
|
4497
|
+
# endpoint. For information about other available settings, see [Extra
|
4498
|
+
# connection attributes when using PostgreSQL as a source for AWS
|
4499
|
+
# DMS][1] and [ Extra connection attributes when using PostgreSQL as a
|
4500
|
+
# target for AWS DMS][2] in the *AWS Database Migration Service User
|
4501
|
+
# Guide.*
|
4502
|
+
#
|
4503
|
+
#
|
4504
|
+
#
|
4505
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.ConnectionAttrib
|
4506
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.ConnectionAttrib
|
4507
|
+
# @return [Types::PostgreSQLSettings]
|
4508
|
+
#
|
4509
|
+
# @!attribute [rw] my_sql_settings
|
4510
|
+
# Settings in JSON format for the source and target MySQL endpoint.
|
4511
|
+
# For information about other available settings, see [Extra
|
4512
|
+
# connection attributes when using MySQL as a source for AWS DMS][1]
|
4513
|
+
# and [Extra connection attributes when using a MySQL-compatible
|
4514
|
+
# database as a target for AWS DMS][2] in the *AWS Database Migration
|
4515
|
+
# Service User Guide.*
|
4516
|
+
#
|
4517
|
+
#
|
4518
|
+
#
|
4519
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.ConnectionAttrib
|
4520
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.ConnectionAttrib
|
4521
|
+
# @return [Types::MySQLSettings]
|
4522
|
+
#
|
4523
|
+
# @!attribute [rw] oracle_settings
|
4524
|
+
# Settings in JSON format for the source and target Oracle endpoint.
|
4525
|
+
# For information about other available settings, see [Extra
|
4526
|
+
# connection attributes when using Oracle as a source for AWS DMS][1]
|
4527
|
+
# and [ Extra connection attributes when using Oracle as a target for
|
4528
|
+
# AWS DMS][2] in the *AWS Database Migration Service User Guide.*
|
4529
|
+
#
|
4530
|
+
#
|
4531
|
+
#
|
4532
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.ConnectionAttrib
|
4533
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.ConnectionAttrib
|
4534
|
+
# @return [Types::OracleSettings]
|
4535
|
+
#
|
4536
|
+
# @!attribute [rw] sybase_settings
|
4537
|
+
# Settings in JSON format for the source and target SAP ASE endpoint.
|
4538
|
+
# For information about other available settings, see [Extra
|
4539
|
+
# connection attributes when using SAP ASE as a source for AWS DMS][1]
|
4540
|
+
# and [Extra connection attributes when using SAP ASE as a target for
|
4541
|
+
# AWS DMS][2] in the *AWS Database Migration Service User Guide.*
|
4542
|
+
#
|
4543
|
+
#
|
4544
|
+
#
|
4545
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.ConnectionAttrib
|
4546
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.ConnectionAttrib
|
4547
|
+
# @return [Types::SybaseSettings]
|
4548
|
+
#
|
4549
|
+
# @!attribute [rw] microsoft_sql_server_settings
|
4550
|
+
# Settings in JSON format for the source and target Microsoft SQL
|
4551
|
+
# Server endpoint. For information about other available settings, see
|
4552
|
+
# [Extra connection attributes when using SQL Server as a source for
|
4553
|
+
# AWS DMS][1] and [ Extra connection attributes when using SQL Server
|
4554
|
+
# as a target for AWS DMS][2] in the *AWS Database Migration Service
|
4555
|
+
# User Guide.*
|
4556
|
+
#
|
4557
|
+
#
|
4558
|
+
#
|
4559
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.ConnectionAttrib
|
4560
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.ConnectionAttrib
|
4561
|
+
# @return [Types::MicrosoftSQLServerSettings]
|
4562
|
+
#
|
4563
|
+
# @!attribute [rw] ibm_db_2_settings
|
4564
|
+
# Settings in JSON format for the source IBM Db2 LUW endpoint. For
|
4565
|
+
# information about other available settings, see [Extra connection
|
4566
|
+
# attributes when using Db2 LUW as a source for AWS DMS][1] in the
|
4567
|
+
# *AWS Database Migration Service User Guide.*
|
4568
|
+
#
|
4569
|
+
#
|
4570
|
+
#
|
4571
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.ConnectionAttrib
|
4572
|
+
# @return [Types::IBMDb2Settings]
|
4573
|
+
#
|
3595
4574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage AWS API Documentation
|
3596
4575
|
#
|
3597
4576
|
class ModifyEndpointMessage < Struct.new(
|
@@ -3617,7 +4596,13 @@ module Aws::DatabaseMigrationService
|
|
3617
4596
|
:kafka_settings,
|
3618
4597
|
:elasticsearch_settings,
|
3619
4598
|
:neptune_settings,
|
3620
|
-
:redshift_settings
|
4599
|
+
:redshift_settings,
|
4600
|
+
:postgre_sql_settings,
|
4601
|
+
:my_sql_settings,
|
4602
|
+
:oracle_settings,
|
4603
|
+
:sybase_settings,
|
4604
|
+
:microsoft_sql_server_settings,
|
4605
|
+
:ibm_db_2_settings)
|
3621
4606
|
SENSITIVE = [:password]
|
3622
4607
|
include Aws::Structure
|
3623
4608
|
end
|
@@ -3775,6 +4760,9 @@ module Aws::DatabaseMigrationService
|
|
3775
4760
|
#
|
3776
4761
|
# @!attribute [rw] engine_version
|
3777
4762
|
# The engine version number of the replication instance.
|
4763
|
+
#
|
4764
|
+
# When modifying a major engine version of an instance, also set
|
4765
|
+
# `AllowMajorVersionUpgrade` to `true`.
|
3778
4766
|
# @return [String]
|
3779
4767
|
#
|
3780
4768
|
# @!attribute [rw] allow_major_version_upgrade
|
@@ -3973,10 +4961,10 @@ module Aws::DatabaseMigrationService
|
|
3973
4961
|
# stop. The value can be either server time or commit time.
|
3974
4962
|
#
|
3975
4963
|
# Server time example: --cdc-stop-position
|
3976
|
-
# “server\_time:
|
4964
|
+
# “server\_time:2018-02-09T12:12:12”
|
3977
4965
|
#
|
3978
4966
|
# Commit time example: --cdc-stop-position “commit\_time:
|
3979
|
-
#
|
4967
|
+
# 2018-02-09T12:12:12 “
|
3980
4968
|
# @return [String]
|
3981
4969
|
#
|
3982
4970
|
# @!attribute [rw] task_data
|
@@ -4134,6 +5122,111 @@ module Aws::DatabaseMigrationService
|
|
4134
5122
|
include Aws::Structure
|
4135
5123
|
end
|
4136
5124
|
|
5125
|
+
# Provides information that defines a MySQL endpoint.
|
5126
|
+
#
|
5127
|
+
# @note When making an API call, you may pass MySQLSettings
|
5128
|
+
# data as a hash:
|
5129
|
+
#
|
5130
|
+
# {
|
5131
|
+
# after_connect_script: "String",
|
5132
|
+
# database_name: "String",
|
5133
|
+
# events_poll_interval: 1,
|
5134
|
+
# target_db_type: "specific-database", # accepts specific-database, multiple-databases
|
5135
|
+
# max_file_size: 1,
|
5136
|
+
# parallel_load_threads: 1,
|
5137
|
+
# password: "SecretString",
|
5138
|
+
# port: 1,
|
5139
|
+
# server_name: "String",
|
5140
|
+
# server_timezone: "String",
|
5141
|
+
# username: "String",
|
5142
|
+
# }
|
5143
|
+
#
|
5144
|
+
# @!attribute [rw] after_connect_script
|
5145
|
+
# Specifies a script to run immediately after AWS DMS connects to the
|
5146
|
+
# endpoint. The migration task continues running regardless if the SQL
|
5147
|
+
# statement succeeds or fails.
|
5148
|
+
# @return [String]
|
5149
|
+
#
|
5150
|
+
# @!attribute [rw] database_name
|
5151
|
+
# Database name for the endpoint.
|
5152
|
+
# @return [String]
|
5153
|
+
#
|
5154
|
+
# @!attribute [rw] events_poll_interval
|
5155
|
+
# Specifies how often to check the binary log for new changes/events
|
5156
|
+
# when the database is idle.
|
5157
|
+
#
|
5158
|
+
# Example: `eventsPollInterval=5;`
|
5159
|
+
#
|
5160
|
+
# In the example, AWS DMS checks for changes in the binary logs every
|
5161
|
+
# five seconds.
|
5162
|
+
# @return [Integer]
|
5163
|
+
#
|
5164
|
+
# @!attribute [rw] target_db_type
|
5165
|
+
# Specifies where to migrate source tables on the target, either to a
|
5166
|
+
# single database or multiple databases.
|
5167
|
+
#
|
5168
|
+
# Example: `targetDbType=MULTIPLE_DATABASES`
|
5169
|
+
# @return [String]
|
5170
|
+
#
|
5171
|
+
# @!attribute [rw] max_file_size
|
5172
|
+
# Specifies the maximum size (in KB) of any .csv file used to transfer
|
5173
|
+
# data to a MySQL-compatible database.
|
5174
|
+
#
|
5175
|
+
# Example: `maxFileSize=512`
|
5176
|
+
# @return [Integer]
|
5177
|
+
#
|
5178
|
+
# @!attribute [rw] parallel_load_threads
|
5179
|
+
# Improves performance when loading data into the MySQLcompatible
|
5180
|
+
# target database. Specifies how many threads to use to load the data
|
5181
|
+
# into the MySQL-compatible target database. Setting a large number of
|
5182
|
+
# threads can have an adverse effect on database performance, because
|
5183
|
+
# a separate connection is required for each thread.
|
5184
|
+
#
|
5185
|
+
# Example: `parallelLoadThreads=1`
|
5186
|
+
# @return [Integer]
|
5187
|
+
#
|
5188
|
+
# @!attribute [rw] password
|
5189
|
+
# Endpoint connection password.
|
5190
|
+
# @return [String]
|
5191
|
+
#
|
5192
|
+
# @!attribute [rw] port
|
5193
|
+
# Endpoint TCP port.
|
5194
|
+
# @return [Integer]
|
5195
|
+
#
|
5196
|
+
# @!attribute [rw] server_name
|
5197
|
+
# Fully qualified domain name of the endpoint.
|
5198
|
+
# @return [String]
|
5199
|
+
#
|
5200
|
+
# @!attribute [rw] server_timezone
|
5201
|
+
# Specifies the time zone for the source MySQL database.
|
5202
|
+
#
|
5203
|
+
# Example: `serverTimezone=US/Pacific;`
|
5204
|
+
#
|
5205
|
+
# Note: Do not enclose time zones in single quotes.
|
5206
|
+
# @return [String]
|
5207
|
+
#
|
5208
|
+
# @!attribute [rw] username
|
5209
|
+
# Endpoint connection user name.
|
5210
|
+
# @return [String]
|
5211
|
+
#
|
5212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MySQLSettings AWS API Documentation
|
5213
|
+
#
|
5214
|
+
class MySQLSettings < Struct.new(
|
5215
|
+
:after_connect_script,
|
5216
|
+
:database_name,
|
5217
|
+
:events_poll_interval,
|
5218
|
+
:target_db_type,
|
5219
|
+
:max_file_size,
|
5220
|
+
:parallel_load_threads,
|
5221
|
+
:password,
|
5222
|
+
:port,
|
5223
|
+
:server_name,
|
5224
|
+
:server_timezone,
|
5225
|
+
:username)
|
5226
|
+
SENSITIVE = [:password]
|
5227
|
+
include Aws::Structure
|
5228
|
+
end
|
5229
|
+
|
4137
5230
|
# Provides information that defines an Amazon Neptune endpoint.
|
4138
5231
|
#
|
4139
5232
|
# @note When making an API call, you may pass NeptuneSettings
|
@@ -4213,6 +5306,316 @@ module Aws::DatabaseMigrationService
|
|
4213
5306
|
include Aws::Structure
|
4214
5307
|
end
|
4215
5308
|
|
5309
|
+
# Provides information that defines an Oracle endpoint.
|
5310
|
+
#
|
5311
|
+
# @note When making an API call, you may pass OracleSettings
|
5312
|
+
# data as a hash:
|
5313
|
+
#
|
5314
|
+
# {
|
5315
|
+
# add_supplemental_logging: false,
|
5316
|
+
# archived_log_dest_id: 1,
|
5317
|
+
# additional_archived_log_dest_id: 1,
|
5318
|
+
# allow_select_nested_tables: false,
|
5319
|
+
# parallel_asm_read_threads: 1,
|
5320
|
+
# read_ahead_blocks: 1,
|
5321
|
+
# access_alternate_directly: false,
|
5322
|
+
# use_alternate_folder_for_online: false,
|
5323
|
+
# oracle_path_prefix: "String",
|
5324
|
+
# use_path_prefix: "String",
|
5325
|
+
# replace_path_prefix: false,
|
5326
|
+
# enable_homogenous_tablespace: false,
|
5327
|
+
# direct_path_no_log: false,
|
5328
|
+
# archived_logs_only: false,
|
5329
|
+
# asm_password: "SecretString",
|
5330
|
+
# asm_server: "String",
|
5331
|
+
# asm_user: "String",
|
5332
|
+
# char_length_semantics: "default", # accepts default, char, byte
|
5333
|
+
# database_name: "String",
|
5334
|
+
# direct_path_parallel_load: false,
|
5335
|
+
# fail_tasks_on_lob_truncation: false,
|
5336
|
+
# number_datatype_scale: 1,
|
5337
|
+
# password: "SecretString",
|
5338
|
+
# port: 1,
|
5339
|
+
# read_table_space_name: false,
|
5340
|
+
# retry_interval: 1,
|
5341
|
+
# security_db_encryption: "SecretString",
|
5342
|
+
# security_db_encryption_name: "String",
|
5343
|
+
# server_name: "String",
|
5344
|
+
# username: "String",
|
5345
|
+
# }
|
5346
|
+
#
|
5347
|
+
# @!attribute [rw] add_supplemental_logging
|
5348
|
+
# Set this attribute to set up table-level supplemental logging for
|
5349
|
+
# the Oracle database. This attribute enables PRIMARY KEY supplemental
|
5350
|
+
# logging on all tables selected for a migration task.
|
5351
|
+
#
|
5352
|
+
# If you use this option, you still need to enable database-level
|
5353
|
+
# supplemental logging.
|
5354
|
+
# @return [Boolean]
|
5355
|
+
#
|
5356
|
+
# @!attribute [rw] archived_log_dest_id
|
5357
|
+
# Specifies the destination of the archived redo logs. The value
|
5358
|
+
# should be the same as the DEST\_ID number in the v$archived\_log
|
5359
|
+
# table. When working with multiple log destinations (DEST\_ID), we
|
5360
|
+
# recommend that you to specify an archived redo logs location
|
5361
|
+
# identifier. Doing this improves performance by ensuring that the
|
5362
|
+
# correct logs are accessed from the outset.
|
5363
|
+
# @return [Integer]
|
5364
|
+
#
|
5365
|
+
# @!attribute [rw] additional_archived_log_dest_id
|
5366
|
+
# Set this attribute with `archivedLogDestId` in a primary/ standby
|
5367
|
+
# setup. This attribute is useful in the case of a switchover. In this
|
5368
|
+
# case, AWS DMS needs to know which destination to get archive redo
|
5369
|
+
# logs from to read changes. This need arises because the previous
|
5370
|
+
# primary instance is now a standby instance after switchover.
|
5371
|
+
# @return [Integer]
|
5372
|
+
#
|
5373
|
+
# @!attribute [rw] allow_select_nested_tables
|
5374
|
+
# Set this attribute to `true` to enable replication of Oracle tables
|
5375
|
+
# containing columns that are nested tables or defined types.
|
5376
|
+
# @return [Boolean]
|
5377
|
+
#
|
5378
|
+
# @!attribute [rw] parallel_asm_read_threads
|
5379
|
+
# Set this attribute to change the number of threads that DMS
|
5380
|
+
# configures to perform a Change Data Capture (CDC) load using Oracle
|
5381
|
+
# Automatic Storage Management (ASM). You can specify an integer value
|
5382
|
+
# between 2 (the default) and 8 (the maximum). Use this attribute
|
5383
|
+
# together with the `readAheadBlocks` attribute.
|
5384
|
+
# @return [Integer]
|
5385
|
+
#
|
5386
|
+
# @!attribute [rw] read_ahead_blocks
|
5387
|
+
# Set this attribute to change the number of read-ahead blocks that
|
5388
|
+
# DMS configures to perform a Change Data Capture (CDC) load using
|
5389
|
+
# Oracle Automatic Storage Management (ASM). You can specify an
|
5390
|
+
# integer value between 1000 (the default) and 200,000 (the maximum).
|
5391
|
+
# @return [Integer]
|
5392
|
+
#
|
5393
|
+
# @!attribute [rw] access_alternate_directly
|
5394
|
+
# Set this attribute to `false` in order to use the Binary Reader to
|
5395
|
+
# capture change data for an Amazon RDS for Oracle as the source. This
|
5396
|
+
# tells the DMS instance to not access redo logs through any specified
|
5397
|
+
# path prefix replacement using direct file access.
|
5398
|
+
# @return [Boolean]
|
5399
|
+
#
|
5400
|
+
# @!attribute [rw] use_alternate_folder_for_online
|
5401
|
+
# Set this attribute to `true` in order to use the Binary Reader to
|
5402
|
+
# capture change data for an Amazon RDS for Oracle as the source. This
|
5403
|
+
# tells the DMS instance to use any specified prefix replacement to
|
5404
|
+
# access all online redo logs.
|
5405
|
+
# @return [Boolean]
|
5406
|
+
#
|
5407
|
+
# @!attribute [rw] oracle_path_prefix
|
5408
|
+
# Set this string attribute to the required value in order to use the
|
5409
|
+
# Binary Reader to capture change data for an Amazon RDS for Oracle as
|
5410
|
+
# the source. This value specifies the default Oracle root used to
|
5411
|
+
# access the redo logs.
|
5412
|
+
# @return [String]
|
5413
|
+
#
|
5414
|
+
# @!attribute [rw] use_path_prefix
|
5415
|
+
# Set this string attribute to the required value in order to use the
|
5416
|
+
# Binary Reader to capture change data for an Amazon RDS for Oracle as
|
5417
|
+
# the source. This value specifies the path prefix used to replace the
|
5418
|
+
# default Oracle root to access the redo logs.
|
5419
|
+
# @return [String]
|
5420
|
+
#
|
5421
|
+
# @!attribute [rw] replace_path_prefix
|
5422
|
+
# Set this attribute to true in order to use the Binary Reader to
|
5423
|
+
# capture change data for an Amazon RDS for Oracle as the source. This
|
5424
|
+
# setting tells DMS instance to replace the default Oracle root with
|
5425
|
+
# the specified `usePathPrefix` setting to access the redo logs.
|
5426
|
+
# @return [Boolean]
|
5427
|
+
#
|
5428
|
+
# @!attribute [rw] enable_homogenous_tablespace
|
5429
|
+
# Set this attribute to enable homogenous tablespace replication and
|
5430
|
+
# create existing tables or indexes under the same tablespace on the
|
5431
|
+
# target.
|
5432
|
+
# @return [Boolean]
|
5433
|
+
#
|
5434
|
+
# @!attribute [rw] direct_path_no_log
|
5435
|
+
# When set to `true`, this attribute helps to increase the commit rate
|
5436
|
+
# on the Oracle target database by writing directly to tables and not
|
5437
|
+
# writing a trail to database logs.
|
5438
|
+
# @return [Boolean]
|
5439
|
+
#
|
5440
|
+
# @!attribute [rw] archived_logs_only
|
5441
|
+
# When this field is set to `Y`, AWS DMS only accesses the archived
|
5442
|
+
# redo logs. If the archived redo logs are stored on Oracle ASM only,
|
5443
|
+
# the AWS DMS user account needs to be granted ASM privileges.
|
5444
|
+
# @return [Boolean]
|
5445
|
+
#
|
5446
|
+
# @!attribute [rw] asm_password
|
5447
|
+
# For an Oracle source endpoint, your Oracle Automatic Storage
|
5448
|
+
# Management (ASM) password. You can set this value from the `
|
5449
|
+
# asm_user_password ` value. You set this value as part of the
|
5450
|
+
# comma-separated value that you set to the `Password` request
|
5451
|
+
# parameter when you create the endpoint to access transaction logs
|
5452
|
+
# using Binary Reader. For more information, see [Configuration for
|
5453
|
+
# change data capture (CDC) on an Oracle source database][1].
|
5454
|
+
#
|
5455
|
+
#
|
5456
|
+
#
|
5457
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration
|
5458
|
+
# @return [String]
|
5459
|
+
#
|
5460
|
+
# @!attribute [rw] asm_server
|
5461
|
+
# For an Oracle source endpoint, your ASM server address. You can set
|
5462
|
+
# this value from the `asm_server` value. You set `asm_server` as part
|
5463
|
+
# of the extra connection attribute string to access an Oracle server
|
5464
|
+
# with Binary Reader that uses ASM. For more information, see
|
5465
|
+
# [Configuration for change data capture (CDC) on an Oracle source
|
5466
|
+
# database][1].
|
5467
|
+
#
|
5468
|
+
#
|
5469
|
+
#
|
5470
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration
|
5471
|
+
# @return [String]
|
5472
|
+
#
|
5473
|
+
# @!attribute [rw] asm_user
|
5474
|
+
# For an Oracle source endpoint, your ASM user name. You can set this
|
5475
|
+
# value from the `asm_user` value. You set `asm_user` as part of the
|
5476
|
+
# extra connection attribute string to access an Oracle server with
|
5477
|
+
# Binary Reader that uses ASM. For more information, see
|
5478
|
+
# [Configuration for change data capture (CDC) on an Oracle source
|
5479
|
+
# database][1].
|
5480
|
+
#
|
5481
|
+
#
|
5482
|
+
#
|
5483
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration
|
5484
|
+
# @return [String]
|
5485
|
+
#
|
5486
|
+
# @!attribute [rw] char_length_semantics
|
5487
|
+
# Specifies whether the length of a character column is in bytes or in
|
5488
|
+
# characters. To indicate that the character column length is in
|
5489
|
+
# characters, set this attribute to `CHAR`. Otherwise, the character
|
5490
|
+
# column length is in bytes.
|
5491
|
+
#
|
5492
|
+
# Example: `charLengthSemantics=CHAR;`
|
5493
|
+
# @return [String]
|
5494
|
+
#
|
5495
|
+
# @!attribute [rw] database_name
|
5496
|
+
# Database name for the endpoint.
|
5497
|
+
# @return [String]
|
5498
|
+
#
|
5499
|
+
# @!attribute [rw] direct_path_parallel_load
|
5500
|
+
# When set to `true`, this attribute specifies a parallel load when
|
5501
|
+
# `useDirectPathFullLoad` is set to `Y`. This attribute also only
|
5502
|
+
# applies when you use the AWS DMS parallel load feature. Note that
|
5503
|
+
# the target table cannot have any constraints or indexes.
|
5504
|
+
# @return [Boolean]
|
5505
|
+
#
|
5506
|
+
# @!attribute [rw] fail_tasks_on_lob_truncation
|
5507
|
+
# When set to `true`, this attribute causes a task to fail if the
|
5508
|
+
# actual size of an LOB column is greater than the specified
|
5509
|
+
# `LobMaxSize`.
|
5510
|
+
#
|
5511
|
+
# If a task is set to limited LOB mode and this option is set to
|
5512
|
+
# `true`, the task fails instead of truncating the LOB data.
|
5513
|
+
# @return [Boolean]
|
5514
|
+
#
|
5515
|
+
# @!attribute [rw] number_datatype_scale
|
5516
|
+
# Specifies the number scale. You can select a scale up to 38, or you
|
5517
|
+
# can select FLOAT. By default, the NUMBER data type is converted to
|
5518
|
+
# precision 38, scale 10.
|
5519
|
+
#
|
5520
|
+
# Example: `numberDataTypeScale=12`
|
5521
|
+
# @return [Integer]
|
5522
|
+
#
|
5523
|
+
# @!attribute [rw] password
|
5524
|
+
# Endpoint connection password.
|
5525
|
+
# @return [String]
|
5526
|
+
#
|
5527
|
+
# @!attribute [rw] port
|
5528
|
+
# Endpoint TCP port.
|
5529
|
+
# @return [Integer]
|
5530
|
+
#
|
5531
|
+
# @!attribute [rw] read_table_space_name
|
5532
|
+
# When set to `true`, this attribute supports tablespace replication.
|
5533
|
+
# @return [Boolean]
|
5534
|
+
#
|
5535
|
+
# @!attribute [rw] retry_interval
|
5536
|
+
# Specifies the number of seconds that the system waits before
|
5537
|
+
# resending a query.
|
5538
|
+
#
|
5539
|
+
# Example: `retryInterval=6;`
|
5540
|
+
# @return [Integer]
|
5541
|
+
#
|
5542
|
+
# @!attribute [rw] security_db_encryption
|
5543
|
+
# For an Oracle source endpoint, the transparent data encryption (TDE)
|
5544
|
+
# password required by AWM DMS to access Oracle redo logs encrypted by
|
5545
|
+
# TDE using Binary Reader. It is also the ` TDE_Password ` part of the
|
5546
|
+
# comma-separated value you set to the `Password` request parameter
|
5547
|
+
# when you create the endpoint. The `SecurityDbEncryptian` setting is
|
5548
|
+
# related to this `SecurityDbEncryptionName` setting. For more
|
5549
|
+
# information, see [ Supported encryption methods for using Oracle as
|
5550
|
+
# a source for AWS DMS][1] in the *AWS Database Migration Service User
|
5551
|
+
# Guide*.
|
5552
|
+
#
|
5553
|
+
#
|
5554
|
+
#
|
5555
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.Encryption
|
5556
|
+
# @return [String]
|
5557
|
+
#
|
5558
|
+
# @!attribute [rw] security_db_encryption_name
|
5559
|
+
# For an Oracle source endpoint, the name of a key used for the
|
5560
|
+
# transparent data encryption (TDE) of the columns and tablespaces in
|
5561
|
+
# an Oracle source database that is encrypted using TDE. The key value
|
5562
|
+
# is the value of the `SecurityDbEncryption` setting. For more
|
5563
|
+
# information on setting the key name value of
|
5564
|
+
# `SecurityDbEncryptionName`, see the information and example for
|
5565
|
+
# setting the `securityDbEncryptionName` extra connection attribute in
|
5566
|
+
# [ Supported encryption methods for using Oracle as a source for AWS
|
5567
|
+
# DMS][1] in the *AWS Database Migration Service User Guide*.
|
5568
|
+
#
|
5569
|
+
#
|
5570
|
+
#
|
5571
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.Encryption
|
5572
|
+
# @return [String]
|
5573
|
+
#
|
5574
|
+
# @!attribute [rw] server_name
|
5575
|
+
# Fully qualified domain name of the endpoint.
|
5576
|
+
# @return [String]
|
5577
|
+
#
|
5578
|
+
# @!attribute [rw] username
|
5579
|
+
# Endpoint connection user name.
|
5580
|
+
# @return [String]
|
5581
|
+
#
|
5582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OracleSettings AWS API Documentation
|
5583
|
+
#
|
5584
|
+
class OracleSettings < Struct.new(
|
5585
|
+
:add_supplemental_logging,
|
5586
|
+
:archived_log_dest_id,
|
5587
|
+
:additional_archived_log_dest_id,
|
5588
|
+
:allow_select_nested_tables,
|
5589
|
+
:parallel_asm_read_threads,
|
5590
|
+
:read_ahead_blocks,
|
5591
|
+
:access_alternate_directly,
|
5592
|
+
:use_alternate_folder_for_online,
|
5593
|
+
:oracle_path_prefix,
|
5594
|
+
:use_path_prefix,
|
5595
|
+
:replace_path_prefix,
|
5596
|
+
:enable_homogenous_tablespace,
|
5597
|
+
:direct_path_no_log,
|
5598
|
+
:archived_logs_only,
|
5599
|
+
:asm_password,
|
5600
|
+
:asm_server,
|
5601
|
+
:asm_user,
|
5602
|
+
:char_length_semantics,
|
5603
|
+
:database_name,
|
5604
|
+
:direct_path_parallel_load,
|
5605
|
+
:fail_tasks_on_lob_truncation,
|
5606
|
+
:number_datatype_scale,
|
5607
|
+
:password,
|
5608
|
+
:port,
|
5609
|
+
:read_table_space_name,
|
5610
|
+
:retry_interval,
|
5611
|
+
:security_db_encryption,
|
5612
|
+
:security_db_encryption_name,
|
5613
|
+
:server_name,
|
5614
|
+
:username)
|
5615
|
+
SENSITIVE = [:asm_password, :password, :security_db_encryption]
|
5616
|
+
include Aws::Structure
|
5617
|
+
end
|
5618
|
+
|
4216
5619
|
# In response to the `DescribeOrderableReplicationInstances` operation,
|
4217
5620
|
# this object describes an available replication instance. This
|
4218
5621
|
# description includes the replication instance's type, engine version,
|
@@ -4329,20 +5732,133 @@ module Aws::DatabaseMigrationService
|
|
4329
5732
|
# `AutoAppliedAfterDate` or `ForcedApplyDate`.
|
4330
5733
|
# @return [Time]
|
4331
5734
|
#
|
4332
|
-
# @!attribute [rw] description
|
4333
|
-
# A description providing more detail about the maintenance action.
|
5735
|
+
# @!attribute [rw] description
|
5736
|
+
# A description providing more detail about the maintenance action.
|
5737
|
+
# @return [String]
|
5738
|
+
#
|
5739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/PendingMaintenanceAction AWS API Documentation
|
5740
|
+
#
|
5741
|
+
class PendingMaintenanceAction < Struct.new(
|
5742
|
+
:action,
|
5743
|
+
:auto_applied_after_date,
|
5744
|
+
:forced_apply_date,
|
5745
|
+
:opt_in_status,
|
5746
|
+
:current_apply_date,
|
5747
|
+
:description)
|
5748
|
+
SENSITIVE = []
|
5749
|
+
include Aws::Structure
|
5750
|
+
end
|
5751
|
+
|
5752
|
+
# Provides information that defines a PostgreSQL endpoint.
|
5753
|
+
#
|
5754
|
+
# @note When making an API call, you may pass PostgreSQLSettings
|
5755
|
+
# data as a hash:
|
5756
|
+
#
|
5757
|
+
# {
|
5758
|
+
# after_connect_script: "String",
|
5759
|
+
# capture_ddls: false,
|
5760
|
+
# max_file_size: 1,
|
5761
|
+
# database_name: "String",
|
5762
|
+
# ddl_artifacts_schema: "String",
|
5763
|
+
# execute_timeout: 1,
|
5764
|
+
# fail_tasks_on_lob_truncation: false,
|
5765
|
+
# password: "SecretString",
|
5766
|
+
# port: 1,
|
5767
|
+
# server_name: "String",
|
5768
|
+
# username: "String",
|
5769
|
+
# slot_name: "String",
|
5770
|
+
# }
|
5771
|
+
#
|
5772
|
+
# @!attribute [rw] after_connect_script
|
5773
|
+
# For use with change data capture (CDC) only, this attribute has AWS
|
5774
|
+
# DMS bypass foreign keys and user triggers to reduce the time it
|
5775
|
+
# takes to bulk load data.
|
5776
|
+
#
|
5777
|
+
# Example: `afterConnectScript=SET session_replication_role='replica'`
|
5778
|
+
# @return [String]
|
5779
|
+
#
|
5780
|
+
# @!attribute [rw] capture_ddls
|
5781
|
+
# To capture DDL events, AWS DMS creates various artifacts in the
|
5782
|
+
# PostgreSQL database when the task starts. You can later remove these
|
5783
|
+
# artifacts.
|
5784
|
+
#
|
5785
|
+
# If this value is set to `N`, you don't have to create tables or
|
5786
|
+
# triggers on the source database.
|
5787
|
+
# @return [Boolean]
|
5788
|
+
#
|
5789
|
+
# @!attribute [rw] max_file_size
|
5790
|
+
# Specifies the maximum size (in KB) of any .csv file used to transfer
|
5791
|
+
# data to PostgreSQL.
|
5792
|
+
#
|
5793
|
+
# Example: `maxFileSize=512`
|
5794
|
+
# @return [Integer]
|
5795
|
+
#
|
5796
|
+
# @!attribute [rw] database_name
|
5797
|
+
# Database name for the endpoint.
|
5798
|
+
# @return [String]
|
5799
|
+
#
|
5800
|
+
# @!attribute [rw] ddl_artifacts_schema
|
5801
|
+
# The schema in which the operational DDL database artifacts are
|
5802
|
+
# created.
|
5803
|
+
#
|
5804
|
+
# Example: `ddlArtifactsSchema=xyzddlschema;`
|
5805
|
+
# @return [String]
|
5806
|
+
#
|
5807
|
+
# @!attribute [rw] execute_timeout
|
5808
|
+
# Sets the client statement timeout for the PostgreSQL instance, in
|
5809
|
+
# seconds. The default value is 60 seconds.
|
5810
|
+
#
|
5811
|
+
# Example: `executeTimeout=100;`
|
5812
|
+
# @return [Integer]
|
5813
|
+
#
|
5814
|
+
# @!attribute [rw] fail_tasks_on_lob_truncation
|
5815
|
+
# When set to `true`, this value causes a task to fail if the actual
|
5816
|
+
# size of a LOB column is greater than the specified `LobMaxSize`.
|
5817
|
+
#
|
5818
|
+
# If task is set to Limited LOB mode and this option is set to true,
|
5819
|
+
# the task fails instead of truncating the LOB data.
|
5820
|
+
# @return [Boolean]
|
5821
|
+
#
|
5822
|
+
# @!attribute [rw] password
|
5823
|
+
# Endpoint connection password.
|
5824
|
+
# @return [String]
|
5825
|
+
#
|
5826
|
+
# @!attribute [rw] port
|
5827
|
+
# Endpoint TCP port.
|
5828
|
+
# @return [Integer]
|
5829
|
+
#
|
5830
|
+
# @!attribute [rw] server_name
|
5831
|
+
# Fully qualified domain name of the endpoint.
|
4334
5832
|
# @return [String]
|
4335
5833
|
#
|
4336
|
-
#
|
5834
|
+
# @!attribute [rw] username
|
5835
|
+
# Endpoint connection user name.
|
5836
|
+
# @return [String]
|
4337
5837
|
#
|
4338
|
-
|
4339
|
-
|
4340
|
-
|
4341
|
-
|
4342
|
-
|
4343
|
-
|
4344
|
-
|
4345
|
-
|
5838
|
+
# @!attribute [rw] slot_name
|
5839
|
+
# Sets the name of a previously created logical replication slot for a
|
5840
|
+
# CDC load of the PostgreSQL source instance.
|
5841
|
+
#
|
5842
|
+
# When used with the AWS DMS API `CdcStartPosition` request parameter,
|
5843
|
+
# this attribute also enables using native CDC start points.
|
5844
|
+
# @return [String]
|
5845
|
+
#
|
5846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/PostgreSQLSettings AWS API Documentation
|
5847
|
+
#
|
5848
|
+
class PostgreSQLSettings < Struct.new(
|
5849
|
+
:after_connect_script,
|
5850
|
+
:capture_ddls,
|
5851
|
+
:max_file_size,
|
5852
|
+
:database_name,
|
5853
|
+
:ddl_artifacts_schema,
|
5854
|
+
:execute_timeout,
|
5855
|
+
:fail_tasks_on_lob_truncation,
|
5856
|
+
:password,
|
5857
|
+
:port,
|
5858
|
+
:server_name,
|
5859
|
+
:username,
|
5860
|
+
:slot_name)
|
5861
|
+
SENSITIVE = [:password]
|
4346
5862
|
include Aws::Structure
|
4347
5863
|
end
|
4348
5864
|
|
@@ -4435,12 +5951,28 @@ module Aws::DatabaseMigrationService
|
|
4435
5951
|
# @return [String]
|
4436
5952
|
#
|
4437
5953
|
# @!attribute [rw] bucket_folder
|
4438
|
-
#
|
4439
|
-
# before being uploaded to the
|
5954
|
+
# An S3 folder where the comma-separated-value (.csv) files are stored
|
5955
|
+
# before being uploaded to the target Redshift cluster.
|
5956
|
+
#
|
5957
|
+
# For full load mode, AWS DMS converts source records into .csv files
|
5958
|
+
# and loads them to the *BucketFolder/TableID* path. AWS DMS uses the
|
5959
|
+
# Redshift `COPY` command to upload the .csv files to the target
|
5960
|
+
# table. The files are deleted once the `COPY` operation has finished.
|
5961
|
+
# For more information, see [Amazon Redshift Database Developer
|
5962
|
+
# Guide][1]
|
5963
|
+
#
|
5964
|
+
# For change-data-capture (CDC) mode, AWS DMS creates a *NetChanges*
|
5965
|
+
# table, and loads the .csv files to this
|
5966
|
+
# *BucketFolder/NetChangesTableID* path.
|
5967
|
+
#
|
5968
|
+
#
|
5969
|
+
#
|
5970
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html
|
4440
5971
|
# @return [String]
|
4441
5972
|
#
|
4442
5973
|
# @!attribute [rw] bucket_name
|
4443
|
-
# The name of the S3 bucket
|
5974
|
+
# The name of the intermediate S3 bucket used to store .csv files
|
5975
|
+
# before uploading data to Redshift.
|
4444
5976
|
# @return [String]
|
4445
5977
|
#
|
4446
5978
|
# @!attribute [rw] connection_timeout
|
@@ -4475,26 +6007,45 @@ module Aws::DatabaseMigrationService
|
|
4475
6007
|
# The type of server-side encryption that you want to use for your
|
4476
6008
|
# data. This encryption type is part of the endpoint settings or the
|
4477
6009
|
# extra connections attributes for Amazon S3. You can choose either
|
4478
|
-
# `SSE_S3` (the default) or `SSE_KMS`.
|
4479
|
-
#
|
4480
|
-
#
|
4481
|
-
#
|
6010
|
+
# `SSE_S3` (the default) or `SSE_KMS`.
|
6011
|
+
#
|
6012
|
+
# <note markdown="1"> For the `ModifyEndpoint` operation, you can change the existing
|
6013
|
+
# value of the `EncryptionMode` parameter from `SSE_KMS` to `SSE_S3`.
|
6014
|
+
# But you can’t change the existing value from `SSE_S3` to `SSE_KMS`.
|
6015
|
+
#
|
6016
|
+
# </note>
|
6017
|
+
#
|
6018
|
+
# To use `SSE_S3`, create an AWS Identity and Access Management (IAM)
|
6019
|
+
# role with a policy that allows `"arn:aws:s3:::*"` to use the
|
6020
|
+
# following actions: `"s3:PutObject", "s3:ListBucket"`
|
4482
6021
|
# @return [String]
|
4483
6022
|
#
|
4484
6023
|
# @!attribute [rw] file_transfer_upload_streams
|
4485
6024
|
# The number of threads used to upload a single file. This parameter
|
4486
6025
|
# accepts a value from 1 through 64. It defaults to 10.
|
6026
|
+
#
|
6027
|
+
# The number of parallel streams used to upload a single .csv file to
|
6028
|
+
# an S3 bucket using S3 Multipart Upload. For more information, see
|
6029
|
+
# [Multipart upload overview][1].
|
6030
|
+
#
|
6031
|
+
# `FileTransferUploadStreams` accepts a value from 1 through 64. It
|
6032
|
+
# defaults to 10.
|
6033
|
+
#
|
6034
|
+
#
|
6035
|
+
#
|
6036
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
|
4487
6037
|
# @return [Integer]
|
4488
6038
|
#
|
4489
6039
|
# @!attribute [rw] load_timeout
|
4490
|
-
# The amount of time to wait (in milliseconds) before timing out
|
4491
|
-
#
|
6040
|
+
# The amount of time to wait (in milliseconds) before timing out of
|
6041
|
+
# operations performed by AWS DMS on a Redshift cluster, such as
|
6042
|
+
# Redshift COPY, INSERT, DELETE, and UPDATE.
|
4492
6043
|
# @return [Integer]
|
4493
6044
|
#
|
4494
6045
|
# @!attribute [rw] max_file_size
|
4495
|
-
# The maximum size (in KB) of any .csv file used to
|
4496
|
-
#
|
4497
|
-
#
|
6046
|
+
# The maximum size (in KB) of any .csv file used to load data on an S3
|
6047
|
+
# bucket and transfer data to Amazon Redshift. It defaults to
|
6048
|
+
# 1048576KB (1 GB).
|
4498
6049
|
# @return [Integer]
|
4499
6050
|
#
|
4500
6051
|
# @!attribute [rw] password
|
@@ -4570,9 +6121,9 @@ module Aws::DatabaseMigrationService
|
|
4570
6121
|
# @return [String]
|
4571
6122
|
#
|
4572
6123
|
# @!attribute [rw] write_buffer_size
|
4573
|
-
# The size of the
|
4574
|
-
#
|
4575
|
-
#
|
6124
|
+
# The size (in KB) of the in-memory file write buffer used when
|
6125
|
+
# generating .csv files on the local disk at the DMS replication
|
6126
|
+
# instance. The default value is 1000 (buffer size is 1000KB).
|
4576
6127
|
# @return [Integer]
|
4577
6128
|
#
|
4578
6129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RedshiftSettings AWS API Documentation
|
@@ -4688,8 +6239,8 @@ module Aws::DatabaseMigrationService
|
|
4688
6239
|
# replication_task_arn: "String", # required
|
4689
6240
|
# tables_to_reload: [ # required
|
4690
6241
|
# {
|
4691
|
-
# schema_name: "String",
|
4692
|
-
# table_name: "String",
|
6242
|
+
# schema_name: "String", # required
|
6243
|
+
# table_name: "String", # required
|
4693
6244
|
# },
|
4694
6245
|
# ],
|
4695
6246
|
# reload_option: "data-reload", # accepts data-reload, validate-only
|
@@ -4771,8 +6322,8 @@ module Aws::DatabaseMigrationService
|
|
4771
6322
|
# Provides information that defines a replication instance.
|
4772
6323
|
#
|
4773
6324
|
# @!attribute [rw] replication_instance_identifier
|
4774
|
-
# The replication instance identifier
|
4775
|
-
# lowercase string.
|
6325
|
+
# The replication instance identifier is a required parameter. This
|
6326
|
+
# parameter is stored as a lowercase string.
|
4776
6327
|
#
|
4777
6328
|
# Constraints:
|
4778
6329
|
#
|
@@ -4787,7 +6338,9 @@ module Aws::DatabaseMigrationService
|
|
4787
6338
|
#
|
4788
6339
|
# @!attribute [rw] replication_instance_class
|
4789
6340
|
# The compute and memory capacity of the replication instance as
|
4790
|
-
# defined for the specified replication instance class.
|
6341
|
+
# defined for the specified replication instance class. It is a
|
6342
|
+
# required parameter, although a defualt value is pre-selected in the
|
6343
|
+
# DMS console.
|
4791
6344
|
#
|
4792
6345
|
# For more information on the settings and capacities for the
|
4793
6346
|
# available replication instance classes, see [ Selecting the right
|
@@ -4851,7 +6404,9 @@ module Aws::DatabaseMigrationService
|
|
4851
6404
|
# @return [Types::ReplicationSubnetGroup]
|
4852
6405
|
#
|
4853
6406
|
# @!attribute [rw] preferred_maintenance_window
|
4854
|
-
# The maintenance window times for the replication instance.
|
6407
|
+
# The maintenance window times for the replication instance. Any
|
6408
|
+
# pending upgrades to the replication instance are performed during
|
6409
|
+
# this time.
|
4855
6410
|
# @return [String]
|
4856
6411
|
#
|
4857
6412
|
# @!attribute [rw] pending_modified_values
|
@@ -4866,6 +6421,13 @@ module Aws::DatabaseMigrationService
|
|
4866
6421
|
#
|
4867
6422
|
# @!attribute [rw] engine_version
|
4868
6423
|
# The engine version number of the replication instance.
|
6424
|
+
#
|
6425
|
+
# If an engine version number is not specified when a replication
|
6426
|
+
# instance is created, the default is the latest engine version
|
6427
|
+
# available.
|
6428
|
+
#
|
6429
|
+
# When modifying a major engine version of an instance, also set
|
6430
|
+
# `AllowMajorVersionUpgrade` to `true`.
|
4869
6431
|
# @return [String]
|
4870
6432
|
#
|
4871
6433
|
# @!attribute [rw] auto_minor_version_upgrade
|
@@ -4982,8 +6544,12 @@ module Aws::DatabaseMigrationService
|
|
4982
6544
|
end
|
4983
6545
|
|
4984
6546
|
# Provides information about the values of pending modifications to a
|
4985
|
-
# replication instance. This data type is an object of the
|
4986
|
-
# `ReplicationInstance` user-defined data type.
|
6547
|
+
# replication instance. This data type is an object of the [
|
6548
|
+
# `ReplicationInstance` ][1] user-defined data type.
|
6549
|
+
#
|
6550
|
+
#
|
6551
|
+
#
|
6552
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_ReplicationInstance.html
|
4987
6553
|
#
|
4988
6554
|
# @!attribute [rw] replication_instance_class
|
4989
6555
|
# The compute and memory capacity of the replication instance as
|
@@ -5025,7 +6591,7 @@ module Aws::DatabaseMigrationService
|
|
5025
6591
|
end
|
5026
6592
|
|
5027
6593
|
# Describes a subnet group in response to a request by the
|
5028
|
-
# `
|
6594
|
+
# `DescribeReplicationSubnetGroups` operation.
|
5029
6595
|
#
|
5030
6596
|
# @!attribute [rw] replication_subnet_group_identifier
|
5031
6597
|
# The identifier of the replication instance subnet group.
|
@@ -5119,8 +6685,7 @@ module Aws::DatabaseMigrationService
|
|
5119
6685
|
# @return [String]
|
5120
6686
|
#
|
5121
6687
|
# @!attribute [rw] last_failure_message
|
5122
|
-
# The last error (failure) message generated for the replication
|
5123
|
-
# instance.
|
6688
|
+
# The last error (failure) message generated for the replication task.
|
5124
6689
|
# @return [String]
|
5125
6690
|
#
|
5126
6691
|
# @!attribute [rw] stop_reason
|
@@ -5170,10 +6735,10 @@ module Aws::DatabaseMigrationService
|
|
5170
6735
|
# stop. The value can be either server time or commit time.
|
5171
6736
|
#
|
5172
6737
|
# Server time example: --cdc-stop-position
|
5173
|
-
# “server\_time:
|
6738
|
+
# “server\_time:2018-02-09T12:12:12”
|
5174
6739
|
#
|
5175
6740
|
# Commit time example: --cdc-stop-position “commit\_time:
|
5176
|
-
#
|
6741
|
+
# 2018-02-09T12:12:12 “
|
5177
6742
|
# @return [String]
|
5178
6743
|
#
|
5179
6744
|
# @!attribute [rw] recovery_checkpoint
|
@@ -5273,6 +6838,189 @@ module Aws::DatabaseMigrationService
|
|
5273
6838
|
include Aws::Structure
|
5274
6839
|
end
|
5275
6840
|
|
6841
|
+
# Provides information that describes a premigration assessment run that
|
6842
|
+
# you have started using the `StartReplicationTaskAssessmentRun`
|
6843
|
+
# operation.
|
6844
|
+
#
|
6845
|
+
# Some of the information appears based on other operations that can
|
6846
|
+
# return the `ReplicationTaskAssessmentRun` object.
|
6847
|
+
#
|
6848
|
+
# @!attribute [rw] replication_task_assessment_run_arn
|
6849
|
+
# Amazon Resource Name (ARN) of this assessment run.
|
6850
|
+
# @return [String]
|
6851
|
+
#
|
6852
|
+
# @!attribute [rw] replication_task_arn
|
6853
|
+
# ARN of the migration task associated with this premigration
|
6854
|
+
# assessment run.
|
6855
|
+
# @return [String]
|
6856
|
+
#
|
6857
|
+
# @!attribute [rw] status
|
6858
|
+
# Assessment run status.
|
6859
|
+
#
|
6860
|
+
# This status can have one of the following values:
|
6861
|
+
#
|
6862
|
+
# * `"cancelling"` – The assessment run was canceled by the
|
6863
|
+
# `CancelReplicationTaskAssessmentRun` operation.
|
6864
|
+
#
|
6865
|
+
# * `"deleting"` – The assessment run was deleted by the
|
6866
|
+
# `DeleteReplicationTaskAssessmentRun` operation.
|
6867
|
+
#
|
6868
|
+
# * `"failed"` – At least one individual assessment completed with a
|
6869
|
+
# `failed` status.
|
6870
|
+
#
|
6871
|
+
# * `"error-provisioning"` – An internal error occurred while
|
6872
|
+
# resources were provisioned (during `provisioning` status).
|
6873
|
+
#
|
6874
|
+
# * `"error-executing"` – An internal error occurred while individual
|
6875
|
+
# assessments ran (during `running` status).
|
6876
|
+
#
|
6877
|
+
# * `"invalid state"` – The assessment run is in an unknown state.
|
6878
|
+
#
|
6879
|
+
# * `"passed"` – All individual assessments have completed, and none
|
6880
|
+
# has a `failed` status.
|
6881
|
+
#
|
6882
|
+
# * `"provisioning"` – Resources required to run individual
|
6883
|
+
# assessments are being provisioned.
|
6884
|
+
#
|
6885
|
+
# * `"running"` – Individual assessments are being run.
|
6886
|
+
#
|
6887
|
+
# * `"starting"` – The assessment run is starting, but resources are
|
6888
|
+
# not yet being provisioned for individual assessments.
|
6889
|
+
# @return [String]
|
6890
|
+
#
|
6891
|
+
# @!attribute [rw] replication_task_assessment_run_creation_date
|
6892
|
+
# Date on which the assessment run was created using the
|
6893
|
+
# `StartReplicationTaskAssessmentRun` operation.
|
6894
|
+
# @return [Time]
|
6895
|
+
#
|
6896
|
+
# @!attribute [rw] assessment_progress
|
6897
|
+
# Indication of the completion progress for the individual assessments
|
6898
|
+
# specified to run.
|
6899
|
+
# @return [Types::ReplicationTaskAssessmentRunProgress]
|
6900
|
+
#
|
6901
|
+
# @!attribute [rw] last_failure_message
|
6902
|
+
# Last message generated by an individual assessment failure.
|
6903
|
+
# @return [String]
|
6904
|
+
#
|
6905
|
+
# @!attribute [rw] service_access_role_arn
|
6906
|
+
# ARN of the service role used to start the assessment run using the
|
6907
|
+
# `StartReplicationTaskAssessmentRun` operation.
|
6908
|
+
# @return [String]
|
6909
|
+
#
|
6910
|
+
# @!attribute [rw] result_location_bucket
|
6911
|
+
# Amazon S3 bucket where AWS DMS stores the results of this assessment
|
6912
|
+
# run.
|
6913
|
+
# @return [String]
|
6914
|
+
#
|
6915
|
+
# @!attribute [rw] result_location_folder
|
6916
|
+
# Folder in an Amazon S3 bucket where AWS DMS stores the results of
|
6917
|
+
# this assessment run.
|
6918
|
+
# @return [String]
|
6919
|
+
#
|
6920
|
+
# @!attribute [rw] result_encryption_mode
|
6921
|
+
# Encryption mode used to encrypt the assessment run results.
|
6922
|
+
# @return [String]
|
6923
|
+
#
|
6924
|
+
# @!attribute [rw] result_kms_key_arn
|
6925
|
+
# ARN of the AWS KMS encryption key used to encrypt the assessment run
|
6926
|
+
# results.
|
6927
|
+
# @return [String]
|
6928
|
+
#
|
6929
|
+
# @!attribute [rw] assessment_run_name
|
6930
|
+
# Unique name of the assessment run.
|
6931
|
+
# @return [String]
|
6932
|
+
#
|
6933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskAssessmentRun AWS API Documentation
|
6934
|
+
#
|
6935
|
+
class ReplicationTaskAssessmentRun < Struct.new(
|
6936
|
+
:replication_task_assessment_run_arn,
|
6937
|
+
:replication_task_arn,
|
6938
|
+
:status,
|
6939
|
+
:replication_task_assessment_run_creation_date,
|
6940
|
+
:assessment_progress,
|
6941
|
+
:last_failure_message,
|
6942
|
+
:service_access_role_arn,
|
6943
|
+
:result_location_bucket,
|
6944
|
+
:result_location_folder,
|
6945
|
+
:result_encryption_mode,
|
6946
|
+
:result_kms_key_arn,
|
6947
|
+
:assessment_run_name)
|
6948
|
+
SENSITIVE = []
|
6949
|
+
include Aws::Structure
|
6950
|
+
end
|
6951
|
+
|
6952
|
+
# The progress values reported by the `AssessmentProgress` response
|
6953
|
+
# element.
|
6954
|
+
#
|
6955
|
+
# @!attribute [rw] individual_assessment_count
|
6956
|
+
# The number of individual assessments that are specified to run.
|
6957
|
+
# @return [Integer]
|
6958
|
+
#
|
6959
|
+
# @!attribute [rw] individual_assessment_completed_count
|
6960
|
+
# The number of individual assessments that have completed,
|
6961
|
+
# successfully or not.
|
6962
|
+
# @return [Integer]
|
6963
|
+
#
|
6964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskAssessmentRunProgress AWS API Documentation
|
6965
|
+
#
|
6966
|
+
class ReplicationTaskAssessmentRunProgress < Struct.new(
|
6967
|
+
:individual_assessment_count,
|
6968
|
+
:individual_assessment_completed_count)
|
6969
|
+
SENSITIVE = []
|
6970
|
+
include Aws::Structure
|
6971
|
+
end
|
6972
|
+
|
6973
|
+
# Provides information that describes an individual assessment from a
|
6974
|
+
# premigration assessment run.
|
6975
|
+
#
|
6976
|
+
# @!attribute [rw] replication_task_individual_assessment_arn
|
6977
|
+
# Amazon Resource Name (ARN) of this individual assessment.
|
6978
|
+
# @return [String]
|
6979
|
+
#
|
6980
|
+
# @!attribute [rw] replication_task_assessment_run_arn
|
6981
|
+
# ARN of the premigration assessment run that is created to run this
|
6982
|
+
# individual assessment.
|
6983
|
+
# @return [String]
|
6984
|
+
#
|
6985
|
+
# @!attribute [rw] individual_assessment_name
|
6986
|
+
# Name of this individual assessment.
|
6987
|
+
# @return [String]
|
6988
|
+
#
|
6989
|
+
# @!attribute [rw] status
|
6990
|
+
# Individual assessment status.
|
6991
|
+
#
|
6992
|
+
# This status can have one of the following values:
|
6993
|
+
#
|
6994
|
+
# * `"cancelled"`
|
6995
|
+
#
|
6996
|
+
# * `"error"`
|
6997
|
+
#
|
6998
|
+
# * `"failed"`
|
6999
|
+
#
|
7000
|
+
# * `"passed"`
|
7001
|
+
#
|
7002
|
+
# * `"pending"`
|
7003
|
+
#
|
7004
|
+
# * `"running"`
|
7005
|
+
# @return [String]
|
7006
|
+
#
|
7007
|
+
# @!attribute [rw] replication_task_individual_assessment_start_date
|
7008
|
+
# Date when this individual assessment was started as part of running
|
7009
|
+
# the `StartReplicationTaskAssessmentRun` operation.
|
7010
|
+
# @return [Time]
|
7011
|
+
#
|
7012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskIndividualAssessment AWS API Documentation
|
7013
|
+
#
|
7014
|
+
class ReplicationTaskIndividualAssessment < Struct.new(
|
7015
|
+
:replication_task_individual_assessment_arn,
|
7016
|
+
:replication_task_assessment_run_arn,
|
7017
|
+
:individual_assessment_name,
|
7018
|
+
:status,
|
7019
|
+
:replication_task_individual_assessment_start_date)
|
7020
|
+
SENSITIVE = []
|
7021
|
+
include Aws::Structure
|
7022
|
+
end
|
7023
|
+
|
5276
7024
|
# In response to a request by the `DescribeReplicationTasks` operation,
|
5277
7025
|
# this object provides a collection of statistics about a replication
|
5278
7026
|
# task.
|
@@ -5415,6 +7163,33 @@ module Aws::DatabaseMigrationService
|
|
5415
7163
|
include Aws::Structure
|
5416
7164
|
end
|
5417
7165
|
|
7166
|
+
# Insufficient privileges are preventing access to an Amazon S3 object.
|
7167
|
+
#
|
7168
|
+
# @!attribute [rw] message
|
7169
|
+
# @return [String]
|
7170
|
+
#
|
7171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3AccessDeniedFault AWS API Documentation
|
7172
|
+
#
|
7173
|
+
class S3AccessDeniedFault < Struct.new(
|
7174
|
+
:message)
|
7175
|
+
SENSITIVE = []
|
7176
|
+
include Aws::Structure
|
7177
|
+
end
|
7178
|
+
|
7179
|
+
# A specified Amazon S3 bucket, bucket folder, or other object can't be
|
7180
|
+
# found.
|
7181
|
+
#
|
7182
|
+
# @!attribute [rw] message
|
7183
|
+
# @return [String]
|
7184
|
+
#
|
7185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3ResourceNotFoundFault AWS API Documentation
|
7186
|
+
#
|
7187
|
+
class S3ResourceNotFoundFault < Struct.new(
|
7188
|
+
:message)
|
7189
|
+
SENSITIVE = []
|
7190
|
+
include Aws::Structure
|
7191
|
+
end
|
7192
|
+
|
5418
7193
|
# Settings for exporting data to Amazon S3.
|
5419
7194
|
#
|
5420
7195
|
# @note When making an API call, you may pass S3Settings
|
@@ -5442,24 +7217,29 @@ module Aws::DatabaseMigrationService
|
|
5442
7217
|
# timestamp_column_name: "String",
|
5443
7218
|
# parquet_timestamp_in_millisecond: false,
|
5444
7219
|
# cdc_inserts_and_updates: false,
|
7220
|
+
# date_partition_enabled: false,
|
7221
|
+
# date_partition_sequence: "YYYYMMDD", # accepts YYYYMMDD, YYYYMMDDHH, YYYYMM, MMYYYYDD, DDMMYYYY
|
7222
|
+
# date_partition_delimiter: "SLASH", # accepts SLASH, UNDERSCORE, DASH, NONE
|
5445
7223
|
# }
|
5446
7224
|
#
|
5447
7225
|
# @!attribute [rw] service_access_role_arn
|
5448
7226
|
# The Amazon Resource Name (ARN) used by the service access IAM role.
|
7227
|
+
# It is a required parameter that enables DMS to write and read
|
7228
|
+
# objects from an 3S bucket.
|
5449
7229
|
# @return [String]
|
5450
7230
|
#
|
5451
7231
|
# @!attribute [rw] external_table_definition
|
5452
|
-
#
|
7232
|
+
# Specifies how tables are defined in the S3 source files only.
|
5453
7233
|
# @return [String]
|
5454
7234
|
#
|
5455
7235
|
# @!attribute [rw] csv_row_delimiter
|
5456
|
-
# The delimiter used to separate rows in the
|
5457
|
-
# is a carriage return (`\n`).
|
7236
|
+
# The delimiter used to separate rows in the .csv file for both source
|
7237
|
+
# and target. The default is a carriage return (`\n`).
|
5458
7238
|
# @return [String]
|
5459
7239
|
#
|
5460
7240
|
# @!attribute [rw] csv_delimiter
|
5461
|
-
# The delimiter used to separate columns in the
|
5462
|
-
# default is a comma.
|
7241
|
+
# The delimiter used to separate columns in the .csv file for both
|
7242
|
+
# source and target. The default is a comma.
|
5463
7243
|
# @return [String]
|
5464
7244
|
#
|
5465
7245
|
# @!attribute [rw] bucket_folder
|
@@ -5484,9 +7264,17 @@ module Aws::DatabaseMigrationService
|
|
5484
7264
|
# The type of server-side encryption that you want to use for your
|
5485
7265
|
# data. This encryption type is part of the endpoint settings or the
|
5486
7266
|
# extra connections attributes for Amazon S3. You can choose either
|
5487
|
-
# `SSE_S3` (the default) or `SSE_KMS`.
|
5488
|
-
#
|
5489
|
-
#
|
7267
|
+
# `SSE_S3` (the default) or `SSE_KMS`.
|
7268
|
+
#
|
7269
|
+
# <note markdown="1"> For the `ModifyEndpoint` operation, you can change the existing
|
7270
|
+
# value of the `EncryptionMode` parameter from `SSE_KMS` to `SSE_S3`.
|
7271
|
+
# But you can’t change the existing value from `SSE_S3` to `SSE_KMS`.
|
7272
|
+
#
|
7273
|
+
# </note>
|
7274
|
+
#
|
7275
|
+
# To use `SSE_S3`, you need an AWS Identity and Access Management
|
7276
|
+
# (IAM) role with permission to allow `"arn:aws:s3:::dms-*"` to use
|
7277
|
+
# the following actions:
|
5490
7278
|
#
|
5491
7279
|
# * `s3:CreateBucket`
|
5492
7280
|
#
|
@@ -5722,8 +7510,9 @@ module Aws::DatabaseMigrationService
|
|
5722
7510
|
# A value that enables a change data capture (CDC) load to write
|
5723
7511
|
# INSERT and UPDATE operations to .csv or .parquet (columnar storage)
|
5724
7512
|
# output files. The default setting is `false`, but when
|
5725
|
-
# `CdcInsertsAndUpdates` is set to `true`or `y`, INSERTs and
|
5726
|
-
# from the source database are migrated to the .csv or
|
7513
|
+
# `CdcInsertsAndUpdates` is set to `true` or `y`, only INSERTs and
|
7514
|
+
# UPDATEs from the source database are migrated to the .csv or
|
7515
|
+
# .parquet file.
|
5727
7516
|
#
|
5728
7517
|
# For .csv file format only, how these INSERTs and UPDATEs are
|
5729
7518
|
# recorded depends on the value of the `IncludeOpForFullLoad`
|
@@ -5751,6 +7540,29 @@ module Aws::DatabaseMigrationService
|
|
5751
7540
|
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring.InsertOps
|
5752
7541
|
# @return [Boolean]
|
5753
7542
|
#
|
7543
|
+
# @!attribute [rw] date_partition_enabled
|
7544
|
+
# When set to `true`, this parameter partitions S3 bucket folders
|
7545
|
+
# based on transaction commit dates. The default value is `false`. For
|
7546
|
+
# more information about date-based folder partitoning, see [Using
|
7547
|
+
# date-based folder partitioning][1]
|
7548
|
+
#
|
7549
|
+
#
|
7550
|
+
#
|
7551
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib
|
7552
|
+
# @return [Boolean]
|
7553
|
+
#
|
7554
|
+
# @!attribute [rw] date_partition_sequence
|
7555
|
+
# Identifies the sequence of the date format to use during folder
|
7556
|
+
# partitioning. The default value is `YYYYMMDD`. Use this parameter
|
7557
|
+
# when `DatePartitionedEnabled` is set to `true`.
|
7558
|
+
# @return [String]
|
7559
|
+
#
|
7560
|
+
# @!attribute [rw] date_partition_delimiter
|
7561
|
+
# Specifies a date separating delimiter to use during folder
|
7562
|
+
# partitioning. The default value is `SLASH` (/). Use this parameter
|
7563
|
+
# when `DatePartitionedEnabled` is set to `true`.
|
7564
|
+
# @return [String]
|
7565
|
+
#
|
5754
7566
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings AWS API Documentation
|
5755
7567
|
#
|
5756
7568
|
class S3Settings < Struct.new(
|
@@ -5774,7 +7586,10 @@ module Aws::DatabaseMigrationService
|
|
5774
7586
|
:cdc_inserts_only,
|
5775
7587
|
:timestamp_column_name,
|
5776
7588
|
:parquet_timestamp_in_millisecond,
|
5777
|
-
:cdc_inserts_and_updates
|
7589
|
+
:cdc_inserts_and_updates,
|
7590
|
+
:date_partition_enabled,
|
7591
|
+
:date_partition_sequence,
|
7592
|
+
:date_partition_delimiter)
|
5778
7593
|
SENSITIVE = []
|
5779
7594
|
include Aws::Structure
|
5780
7595
|
end
|
@@ -5836,6 +7651,125 @@ module Aws::DatabaseMigrationService
|
|
5836
7651
|
include Aws::Structure
|
5837
7652
|
end
|
5838
7653
|
|
7654
|
+
# @note When making an API call, you may pass StartReplicationTaskAssessmentRunMessage
|
7655
|
+
# data as a hash:
|
7656
|
+
#
|
7657
|
+
# {
|
7658
|
+
# replication_task_arn: "String", # required
|
7659
|
+
# service_access_role_arn: "String", # required
|
7660
|
+
# result_location_bucket: "String", # required
|
7661
|
+
# result_location_folder: "String",
|
7662
|
+
# result_encryption_mode: "String",
|
7663
|
+
# result_kms_key_arn: "String",
|
7664
|
+
# assessment_run_name: "String", # required
|
7665
|
+
# include_only: ["String"],
|
7666
|
+
# exclude: ["String"],
|
7667
|
+
# }
|
7668
|
+
#
|
7669
|
+
# @!attribute [rw] replication_task_arn
|
7670
|
+
# Amazon Resource Name (ARN) of the migration task associated with the
|
7671
|
+
# premigration assessment run that you want to start.
|
7672
|
+
# @return [String]
|
7673
|
+
#
|
7674
|
+
# @!attribute [rw] service_access_role_arn
|
7675
|
+
# ARN of a service role needed to start the assessment run.
|
7676
|
+
# @return [String]
|
7677
|
+
#
|
7678
|
+
# @!attribute [rw] result_location_bucket
|
7679
|
+
# Amazon S3 bucket where you want AWS DMS to store the results of this
|
7680
|
+
# assessment run.
|
7681
|
+
# @return [String]
|
7682
|
+
#
|
7683
|
+
# @!attribute [rw] result_location_folder
|
7684
|
+
# Folder within an Amazon S3 bucket where you want AWS DMS to store
|
7685
|
+
# the results of this assessment run.
|
7686
|
+
# @return [String]
|
7687
|
+
#
|
7688
|
+
# @!attribute [rw] result_encryption_mode
|
7689
|
+
# Encryption mode that you can specify to encrypt the results of this
|
7690
|
+
# assessment run. If you don't specify this request parameter, AWS
|
7691
|
+
# DMS stores the assessment run results without encryption. You can
|
7692
|
+
# specify one of the options following:
|
7693
|
+
#
|
7694
|
+
# * `"SSE_S3"` – The server-side encryption provided as a default by
|
7695
|
+
# Amazon S3.
|
7696
|
+
#
|
7697
|
+
# * `"SSE_KMS"` – AWS Key Management Service (AWS KMS) encryption.
|
7698
|
+
# This encryption can use either a custom KMS encryption key that
|
7699
|
+
# you specify or the default KMS encryption key that DMS provides.
|
7700
|
+
# @return [String]
|
7701
|
+
#
|
7702
|
+
# @!attribute [rw] result_kms_key_arn
|
7703
|
+
# ARN of a custom KMS encryption key that you specify when you set
|
7704
|
+
# `ResultEncryptionMode` to `"SSE_KMS`".
|
7705
|
+
# @return [String]
|
7706
|
+
#
|
7707
|
+
# @!attribute [rw] assessment_run_name
|
7708
|
+
# Unique name to identify the assessment run.
|
7709
|
+
# @return [String]
|
7710
|
+
#
|
7711
|
+
# @!attribute [rw] include_only
|
7712
|
+
# Space-separated list of names for specific individual assessments
|
7713
|
+
# that you want to include. These names come from the default list of
|
7714
|
+
# individual assessments that AWS DMS supports for the associated
|
7715
|
+
# migration task. This task is specified by `ReplicationTaskArn`.
|
7716
|
+
#
|
7717
|
+
# <note markdown="1"> You can't set a value for `IncludeOnly` if you also set a value for
|
7718
|
+
# `Exclude` in the API operation.
|
7719
|
+
#
|
7720
|
+
# To identify the names of the default individual assessments that AWS
|
7721
|
+
# DMS supports for the associated migration task, run the
|
7722
|
+
# `DescribeApplicableIndividualAssessments` operation using its own
|
7723
|
+
# `ReplicationTaskArn` request parameter.
|
7724
|
+
#
|
7725
|
+
# </note>
|
7726
|
+
# @return [Array<String>]
|
7727
|
+
#
|
7728
|
+
# @!attribute [rw] exclude
|
7729
|
+
# Space-separated list of names for specific individual assessments
|
7730
|
+
# that you want to exclude. These names come from the default list of
|
7731
|
+
# individual assessments that AWS DMS supports for the associated
|
7732
|
+
# migration task. This task is specified by `ReplicationTaskArn`.
|
7733
|
+
#
|
7734
|
+
# <note markdown="1"> You can't set a value for `Exclude` if you also set a value for
|
7735
|
+
# `IncludeOnly` in the API operation.
|
7736
|
+
#
|
7737
|
+
# To identify the names of the default individual assessments that AWS
|
7738
|
+
# DMS supports for the associated migration task, run the
|
7739
|
+
# `DescribeApplicableIndividualAssessments` operation using its own
|
7740
|
+
# `ReplicationTaskArn` request parameter.
|
7741
|
+
#
|
7742
|
+
# </note>
|
7743
|
+
# @return [Array<String>]
|
7744
|
+
#
|
7745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentRunMessage AWS API Documentation
|
7746
|
+
#
|
7747
|
+
class StartReplicationTaskAssessmentRunMessage < Struct.new(
|
7748
|
+
:replication_task_arn,
|
7749
|
+
:service_access_role_arn,
|
7750
|
+
:result_location_bucket,
|
7751
|
+
:result_location_folder,
|
7752
|
+
:result_encryption_mode,
|
7753
|
+
:result_kms_key_arn,
|
7754
|
+
:assessment_run_name,
|
7755
|
+
:include_only,
|
7756
|
+
:exclude)
|
7757
|
+
SENSITIVE = []
|
7758
|
+
include Aws::Structure
|
7759
|
+
end
|
7760
|
+
|
7761
|
+
# @!attribute [rw] replication_task_assessment_run
|
7762
|
+
# The premigration assessment run that was started.
|
7763
|
+
# @return [Types::ReplicationTaskAssessmentRun]
|
7764
|
+
#
|
7765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentRunResponse AWS API Documentation
|
7766
|
+
#
|
7767
|
+
class StartReplicationTaskAssessmentRunResponse < Struct.new(
|
7768
|
+
:replication_task_assessment_run)
|
7769
|
+
SENSITIVE = []
|
7770
|
+
include Aws::Structure
|
7771
|
+
end
|
7772
|
+
|
5839
7773
|
# @note When making an API call, you may pass StartReplicationTaskMessage
|
5840
7774
|
# data as a hash:
|
5841
7775
|
#
|
@@ -5899,10 +7833,10 @@ module Aws::DatabaseMigrationService
|
|
5899
7833
|
# stop. The value can be either server time or commit time.
|
5900
7834
|
#
|
5901
7835
|
# Server time example: --cdc-stop-position
|
5902
|
-
# “server\_time:
|
7836
|
+
# “server\_time:2018-02-09T12:12:12”
|
5903
7837
|
#
|
5904
7838
|
# Commit time example: --cdc-stop-position “commit\_time:
|
5905
|
-
#
|
7839
|
+
# 2018-02-09T12:12:12 “
|
5906
7840
|
# @return [String]
|
5907
7841
|
#
|
5908
7842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage AWS API Documentation
|
@@ -5973,7 +7907,7 @@ module Aws::DatabaseMigrationService
|
|
5973
7907
|
include Aws::Structure
|
5974
7908
|
end
|
5975
7909
|
|
5976
|
-
# In response to a request by the `
|
7910
|
+
# In response to a request by the `DescribeReplicationSubnetGroups`
|
5977
7911
|
# operation, this object identifies a subnet by its given Availability
|
5978
7912
|
# Zone, subnet identifier, and status.
|
5979
7913
|
#
|
@@ -6058,6 +7992,51 @@ module Aws::DatabaseMigrationService
|
|
6058
7992
|
include Aws::Structure
|
6059
7993
|
end
|
6060
7994
|
|
7995
|
+
# Provides information that defines a SAP ASE endpoint.
|
7996
|
+
#
|
7997
|
+
# @note When making an API call, you may pass SybaseSettings
|
7998
|
+
# data as a hash:
|
7999
|
+
#
|
8000
|
+
# {
|
8001
|
+
# database_name: "String",
|
8002
|
+
# password: "SecretString",
|
8003
|
+
# port: 1,
|
8004
|
+
# server_name: "String",
|
8005
|
+
# username: "String",
|
8006
|
+
# }
|
8007
|
+
#
|
8008
|
+
# @!attribute [rw] database_name
|
8009
|
+
# Database name for the endpoint.
|
8010
|
+
# @return [String]
|
8011
|
+
#
|
8012
|
+
# @!attribute [rw] password
|
8013
|
+
# Endpoint connection password.
|
8014
|
+
# @return [String]
|
8015
|
+
#
|
8016
|
+
# @!attribute [rw] port
|
8017
|
+
# Endpoint TCP port.
|
8018
|
+
# @return [Integer]
|
8019
|
+
#
|
8020
|
+
# @!attribute [rw] server_name
|
8021
|
+
# Fully qualified domain name of the endpoint.
|
8022
|
+
# @return [String]
|
8023
|
+
#
|
8024
|
+
# @!attribute [rw] username
|
8025
|
+
# Endpoint connection user name.
|
8026
|
+
# @return [String]
|
8027
|
+
#
|
8028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/SybaseSettings AWS API Documentation
|
8029
|
+
#
|
8030
|
+
class SybaseSettings < Struct.new(
|
8031
|
+
:database_name,
|
8032
|
+
:password,
|
8033
|
+
:port,
|
8034
|
+
:server_name,
|
8035
|
+
:username)
|
8036
|
+
SENSITIVE = [:password]
|
8037
|
+
include Aws::Structure
|
8038
|
+
end
|
8039
|
+
|
6061
8040
|
# Provides a collection of table statistics in response to a request by
|
6062
8041
|
# the `DescribeTableStatistics` operation.
|
6063
8042
|
#
|
@@ -6143,29 +8122,37 @@ module Aws::DatabaseMigrationService
|
|
6143
8122
|
#
|
6144
8123
|
# This parameter can have the following values:
|
6145
8124
|
#
|
6146
|
-
# * Not enabled
|
8125
|
+
# * Not enabled – Validation isn't enabled for the table in the
|
6147
8126
|
# migration task.
|
6148
8127
|
#
|
6149
|
-
# * Pending records
|
8128
|
+
# * Pending records – Some records in the table are waiting for
|
6150
8129
|
# validation.
|
6151
8130
|
#
|
6152
|
-
# * Mismatched records
|
8131
|
+
# * Mismatched records – Some records in the table don't match
|
6153
8132
|
# between the source and target.
|
6154
8133
|
#
|
6155
|
-
# * Suspended records
|
8134
|
+
# * Suspended records – Some records in the table couldn't be
|
6156
8135
|
# validated.
|
6157
8136
|
#
|
6158
|
-
# * No primary key
|
6159
|
-
#
|
8137
|
+
# * No primary key –The table couldn't be validated because it has no
|
8138
|
+
# primary key.
|
6160
8139
|
#
|
6161
|
-
# * Table error
|
8140
|
+
# * Table error – The table wasn't validated because it's in an
|
6162
8141
|
# error state and some data wasn't migrated.
|
6163
8142
|
#
|
6164
|
-
# * Validated
|
8143
|
+
# * Validated – All rows in the table are validated. If the table is
|
6165
8144
|
# updated, the status can change from Validated.
|
6166
8145
|
#
|
6167
|
-
# * Error
|
8146
|
+
# * Error – The table couldn't be validated because of an unexpected
|
6168
8147
|
# error.
|
8148
|
+
#
|
8149
|
+
# * Pending validation – The table is waiting validation.
|
8150
|
+
#
|
8151
|
+
# * Preparing table – Preparing the table enabled in the migration
|
8152
|
+
# task for validation.
|
8153
|
+
#
|
8154
|
+
# * Pending revalidation – All rows in the table are pending
|
8155
|
+
# validation after the table was updated.
|
6169
8156
|
# @return [String]
|
6170
8157
|
#
|
6171
8158
|
# @!attribute [rw] validation_state_details
|
@@ -6204,8 +8191,8 @@ module Aws::DatabaseMigrationService
|
|
6204
8191
|
# data as a hash:
|
6205
8192
|
#
|
6206
8193
|
# {
|
6207
|
-
# schema_name: "String",
|
6208
|
-
# table_name: "String",
|
8194
|
+
# schema_name: "String", # required
|
8195
|
+
# table_name: "String", # required
|
6209
8196
|
# }
|
6210
8197
|
#
|
6211
8198
|
# @!attribute [rw] schema_name
|