aws-sdk-databasemigrationservice 1.39.0 → 1.45.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.
@@ -31,6 +31,7 @@ module Aws::DatabaseMigrationService
31
31
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
32
32
  CertificateList = Shapes::ListShape.new(name: 'CertificateList')
33
33
  CertificateWallet = Shapes::BlobShape.new(name: 'CertificateWallet')
34
+ CharLengthSemantics = Shapes::StringShape.new(name: 'CharLengthSemantics')
34
35
  CompressionTypeValue = Shapes::StringShape.new(name: 'CompressionTypeValue')
35
36
  Connection = Shapes::StructureShape.new(name: 'Connection')
36
37
  ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
@@ -45,6 +46,8 @@ module Aws::DatabaseMigrationService
45
46
  CreateReplicationTaskMessage = Shapes::StructureShape.new(name: 'CreateReplicationTaskMessage')
46
47
  CreateReplicationTaskResponse = Shapes::StructureShape.new(name: 'CreateReplicationTaskResponse')
47
48
  DataFormatValue = Shapes::StringShape.new(name: 'DataFormatValue')
49
+ DatePartitionDelimiterValue = Shapes::StringShape.new(name: 'DatePartitionDelimiterValue')
50
+ DatePartitionSequenceValue = Shapes::StringShape.new(name: 'DatePartitionSequenceValue')
48
51
  DeleteCertificateMessage = Shapes::StructureShape.new(name: 'DeleteCertificateMessage')
49
52
  DeleteCertificateResponse = Shapes::StructureShape.new(name: 'DeleteCertificateResponse')
50
53
  DeleteConnectionMessage = Shapes::StructureShape.new(name: 'DeleteConnectionMessage')
@@ -216,6 +219,7 @@ module Aws::DatabaseMigrationService
216
219
  S3Settings = Shapes::StructureShape.new(name: 'S3Settings')
217
220
  SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault')
218
221
  SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault')
222
+ SafeguardPolicy = Shapes::StringShape.new(name: 'SafeguardPolicy')
219
223
  SchemaList = Shapes::ListShape.new(name: 'SchemaList')
220
224
  SecretString = Shapes::StringShape.new(name: 'SecretString')
221
225
  SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
@@ -245,6 +249,7 @@ module Aws::DatabaseMigrationService
245
249
  TableToReload = Shapes::StructureShape.new(name: 'TableToReload')
246
250
  Tag = Shapes::StructureShape.new(name: 'Tag')
247
251
  TagList = Shapes::ListShape.new(name: 'TagList')
252
+ TargetDbType = Shapes::StringShape.new(name: 'TargetDbType')
248
253
  TestConnectionMessage = Shapes::StructureShape.new(name: 'TestConnectionMessage')
249
254
  TestConnectionResponse = Shapes::StructureShape.new(name: 'TestConnectionResponse')
250
255
  UpgradeDependencyFailureFault = Shapes::StructureShape.new(name: 'UpgradeDependencyFailureFault')
@@ -341,6 +346,7 @@ module Aws::DatabaseMigrationService
341
346
  CreateEndpointMessage.add_member(:sybase_settings, Shapes::ShapeRef.new(shape: SybaseSettings, location_name: "SybaseSettings"))
342
347
  CreateEndpointMessage.add_member(:microsoft_sql_server_settings, Shapes::ShapeRef.new(shape: MicrosoftSQLServerSettings, location_name: "MicrosoftSQLServerSettings"))
343
348
  CreateEndpointMessage.add_member(:ibm_db_2_settings, Shapes::ShapeRef.new(shape: IBMDb2Settings, location_name: "IBMDb2Settings"))
349
+ CreateEndpointMessage.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ResourceIdentifier"))
344
350
  CreateEndpointMessage.struct_class = Types::CreateEndpointMessage
345
351
 
346
352
  CreateEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
@@ -372,6 +378,7 @@ module Aws::DatabaseMigrationService
372
378
  CreateReplicationInstanceMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
373
379
  CreateReplicationInstanceMessage.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
374
380
  CreateReplicationInstanceMessage.add_member(:dns_name_servers, Shapes::ShapeRef.new(shape: String, location_name: "DnsNameServers"))
381
+ CreateReplicationInstanceMessage.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ResourceIdentifier"))
375
382
  CreateReplicationInstanceMessage.struct_class = Types::CreateReplicationInstanceMessage
376
383
 
377
384
  CreateReplicationInstanceResponse.add_member(:replication_instance, Shapes::ShapeRef.new(shape: ReplicationInstance, location_name: "ReplicationInstance"))
@@ -398,6 +405,7 @@ module Aws::DatabaseMigrationService
398
405
  CreateReplicationTaskMessage.add_member(:cdc_stop_position, Shapes::ShapeRef.new(shape: String, location_name: "CdcStopPosition"))
399
406
  CreateReplicationTaskMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
400
407
  CreateReplicationTaskMessage.add_member(:task_data, Shapes::ShapeRef.new(shape: String, location_name: "TaskData"))
408
+ CreateReplicationTaskMessage.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ResourceIdentifier"))
401
409
  CreateReplicationTaskMessage.struct_class = Types::CreateReplicationTaskMessage
402
410
 
403
411
  CreateReplicationTaskResponse.add_member(:replication_task, Shapes::ShapeRef.new(shape: ReplicationTask, location_name: "ReplicationTask"))
@@ -741,6 +749,9 @@ module Aws::DatabaseMigrationService
741
749
  IBMDb2Settings.add_member(:password, Shapes::ShapeRef.new(shape: SecretString, location_name: "Password"))
742
750
  IBMDb2Settings.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
743
751
  IBMDb2Settings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
752
+ IBMDb2Settings.add_member(:set_data_capture_changes, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SetDataCaptureChanges"))
753
+ IBMDb2Settings.add_member(:current_lsn, Shapes::ShapeRef.new(shape: String, location_name: "CurrentLsn"))
754
+ IBMDb2Settings.add_member(:max_k_bytes_per_read, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxKBytesPerRead"))
744
755
  IBMDb2Settings.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
745
756
  IBMDb2Settings.struct_class = Types::IBMDb2Settings
746
757
 
@@ -798,6 +809,8 @@ module Aws::DatabaseMigrationService
798
809
  KafkaSettings.add_member(:partition_include_schema_table, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PartitionIncludeSchemaTable"))
799
810
  KafkaSettings.add_member(:include_table_alter_operations, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeTableAlterOperations"))
800
811
  KafkaSettings.add_member(:include_control_details, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeControlDetails"))
812
+ KafkaSettings.add_member(:message_max_bytes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MessageMaxBytes"))
813
+ KafkaSettings.add_member(:include_null_and_empty, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeNullAndEmpty"))
801
814
  KafkaSettings.struct_class = Types::KafkaSettings
802
815
 
803
816
  KeyList.member = Shapes::ShapeRef.new(shape: String)
@@ -810,6 +823,7 @@ module Aws::DatabaseMigrationService
810
823
  KinesisSettings.add_member(:partition_include_schema_table, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PartitionIncludeSchemaTable"))
811
824
  KinesisSettings.add_member(:include_table_alter_operations, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeTableAlterOperations"))
812
825
  KinesisSettings.add_member(:include_control_details, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeControlDetails"))
826
+ KinesisSettings.add_member(:include_null_and_empty, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeNullAndEmpty"))
813
827
  KinesisSettings.struct_class = Types::KinesisSettings
814
828
 
815
829
  ListTagsForResourceMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
@@ -819,10 +833,15 @@ module Aws::DatabaseMigrationService
819
833
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
820
834
 
821
835
  MicrosoftSQLServerSettings.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
836
+ MicrosoftSQLServerSettings.add_member(:bcp_packet_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BcpPacketSize"))
822
837
  MicrosoftSQLServerSettings.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
838
+ MicrosoftSQLServerSettings.add_member(:control_tables_file_group, Shapes::ShapeRef.new(shape: String, location_name: "ControlTablesFileGroup"))
823
839
  MicrosoftSQLServerSettings.add_member(:password, Shapes::ShapeRef.new(shape: SecretString, location_name: "Password"))
840
+ MicrosoftSQLServerSettings.add_member(:read_backup_only, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ReadBackupOnly"))
841
+ MicrosoftSQLServerSettings.add_member(:safeguard_policy, Shapes::ShapeRef.new(shape: SafeguardPolicy, location_name: "SafeguardPolicy"))
824
842
  MicrosoftSQLServerSettings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
825
843
  MicrosoftSQLServerSettings.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
844
+ MicrosoftSQLServerSettings.add_member(:use_bcp_full_load, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseBcpFullLoad"))
826
845
  MicrosoftSQLServerSettings.struct_class = Types::MicrosoftSQLServerSettings
827
846
 
828
847
  ModifyEndpointMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
@@ -921,10 +940,16 @@ module Aws::DatabaseMigrationService
921
940
  MongoDbSettings.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
922
941
  MongoDbSettings.struct_class = Types::MongoDbSettings
923
942
 
943
+ MySQLSettings.add_member(:after_connect_script, Shapes::ShapeRef.new(shape: String, location_name: "AfterConnectScript"))
924
944
  MySQLSettings.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
945
+ MySQLSettings.add_member(:events_poll_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "EventsPollInterval"))
946
+ MySQLSettings.add_member(:target_db_type, Shapes::ShapeRef.new(shape: TargetDbType, location_name: "TargetDbType"))
947
+ MySQLSettings.add_member(:max_file_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxFileSize"))
948
+ MySQLSettings.add_member(:parallel_load_threads, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ParallelLoadThreads"))
925
949
  MySQLSettings.add_member(:password, Shapes::ShapeRef.new(shape: SecretString, location_name: "Password"))
926
950
  MySQLSettings.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
927
951
  MySQLSettings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
952
+ MySQLSettings.add_member(:server_timezone, Shapes::ShapeRef.new(shape: String, location_name: "ServerTimezone"))
928
953
  MySQLSettings.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
929
954
  MySQLSettings.struct_class = Types::MySQLSettings
930
955
 
@@ -937,12 +962,32 @@ module Aws::DatabaseMigrationService
937
962
  NeptuneSettings.add_member(:iam_auth_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IamAuthEnabled"))
938
963
  NeptuneSettings.struct_class = Types::NeptuneSettings
939
964
 
965
+ OracleSettings.add_member(:add_supplemental_logging, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AddSupplementalLogging"))
966
+ OracleSettings.add_member(:archived_log_dest_id, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ArchivedLogDestId"))
967
+ OracleSettings.add_member(:additional_archived_log_dest_id, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AdditionalArchivedLogDestId"))
968
+ OracleSettings.add_member(:allow_select_nested_tables, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowSelectNestedTables"))
969
+ OracleSettings.add_member(:parallel_asm_read_threads, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ParallelAsmReadThreads"))
970
+ OracleSettings.add_member(:read_ahead_blocks, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ReadAheadBlocks"))
971
+ OracleSettings.add_member(:access_alternate_directly, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AccessAlternateDirectly"))
972
+ OracleSettings.add_member(:use_alternate_folder_for_online, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseAlternateFolderForOnline"))
973
+ OracleSettings.add_member(:oracle_path_prefix, Shapes::ShapeRef.new(shape: String, location_name: "OraclePathPrefix"))
974
+ OracleSettings.add_member(:use_path_prefix, Shapes::ShapeRef.new(shape: String, location_name: "UsePathPrefix"))
975
+ OracleSettings.add_member(:replace_path_prefix, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ReplacePathPrefix"))
976
+ OracleSettings.add_member(:enable_homogenous_tablespace, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableHomogenousTablespace"))
977
+ OracleSettings.add_member(:direct_path_no_log, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DirectPathNoLog"))
978
+ OracleSettings.add_member(:archived_logs_only, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ArchivedLogsOnly"))
940
979
  OracleSettings.add_member(:asm_password, Shapes::ShapeRef.new(shape: SecretString, location_name: "AsmPassword"))
941
980
  OracleSettings.add_member(:asm_server, Shapes::ShapeRef.new(shape: String, location_name: "AsmServer"))
942
981
  OracleSettings.add_member(:asm_user, Shapes::ShapeRef.new(shape: String, location_name: "AsmUser"))
982
+ OracleSettings.add_member(:char_length_semantics, Shapes::ShapeRef.new(shape: CharLengthSemantics, location_name: "CharLengthSemantics"))
943
983
  OracleSettings.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
984
+ OracleSettings.add_member(:direct_path_parallel_load, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DirectPathParallelLoad"))
985
+ OracleSettings.add_member(:fail_tasks_on_lob_truncation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "FailTasksOnLobTruncation"))
986
+ OracleSettings.add_member(:number_datatype_scale, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberDatatypeScale"))
944
987
  OracleSettings.add_member(:password, Shapes::ShapeRef.new(shape: SecretString, location_name: "Password"))
945
988
  OracleSettings.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
989
+ OracleSettings.add_member(:read_table_space_name, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ReadTableSpaceName"))
990
+ OracleSettings.add_member(:retry_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "RetryInterval"))
946
991
  OracleSettings.add_member(:security_db_encryption, Shapes::ShapeRef.new(shape: SecretString, location_name: "SecurityDbEncryption"))
947
992
  OracleSettings.add_member(:security_db_encryption_name, Shapes::ShapeRef.new(shape: String, location_name: "SecurityDbEncryptionName"))
948
993
  OracleSettings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
@@ -974,11 +1019,18 @@ module Aws::DatabaseMigrationService
974
1019
 
975
1020
  PendingMaintenanceActions.member = Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceActions)
976
1021
 
1022
+ PostgreSQLSettings.add_member(:after_connect_script, Shapes::ShapeRef.new(shape: String, location_name: "AfterConnectScript"))
1023
+ PostgreSQLSettings.add_member(:capture_ddls, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CaptureDdls"))
1024
+ PostgreSQLSettings.add_member(:max_file_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxFileSize"))
977
1025
  PostgreSQLSettings.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
1026
+ PostgreSQLSettings.add_member(:ddl_artifacts_schema, Shapes::ShapeRef.new(shape: String, location_name: "DdlArtifactsSchema"))
1027
+ PostgreSQLSettings.add_member(:execute_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ExecuteTimeout"))
1028
+ PostgreSQLSettings.add_member(:fail_tasks_on_lob_truncation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "FailTasksOnLobTruncation"))
978
1029
  PostgreSQLSettings.add_member(:password, Shapes::ShapeRef.new(shape: SecretString, location_name: "Password"))
979
1030
  PostgreSQLSettings.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
980
1031
  PostgreSQLSettings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
981
1032
  PostgreSQLSettings.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
1033
+ PostgreSQLSettings.add_member(:slot_name, Shapes::ShapeRef.new(shape: String, location_name: "SlotName"))
982
1034
  PostgreSQLSettings.struct_class = Types::PostgreSQLSettings
983
1035
 
984
1036
  RebootReplicationInstanceMessage.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationInstanceArn"))
@@ -992,11 +1044,14 @@ module Aws::DatabaseMigrationService
992
1044
  RedshiftSettings.add_member(:after_connect_script, Shapes::ShapeRef.new(shape: String, location_name: "AfterConnectScript"))
993
1045
  RedshiftSettings.add_member(:bucket_folder, Shapes::ShapeRef.new(shape: String, location_name: "BucketFolder"))
994
1046
  RedshiftSettings.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
1047
+ RedshiftSettings.add_member(:case_sensitive_names, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CaseSensitiveNames"))
1048
+ RedshiftSettings.add_member(:comp_update, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CompUpdate"))
995
1049
  RedshiftSettings.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ConnectionTimeout"))
996
1050
  RedshiftSettings.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
997
1051
  RedshiftSettings.add_member(:date_format, Shapes::ShapeRef.new(shape: String, location_name: "DateFormat"))
998
1052
  RedshiftSettings.add_member(:empty_as_null, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EmptyAsNull"))
999
1053
  RedshiftSettings.add_member(:encryption_mode, Shapes::ShapeRef.new(shape: EncryptionModeValue, location_name: "EncryptionMode"))
1054
+ RedshiftSettings.add_member(:explicit_ids, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ExplicitIds"))
1000
1055
  RedshiftSettings.add_member(:file_transfer_upload_streams, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "FileTransferUploadStreams"))
1001
1056
  RedshiftSettings.add_member(:load_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "LoadTimeout"))
1002
1057
  RedshiftSettings.add_member(:max_file_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxFileSize"))
@@ -1215,6 +1270,9 @@ module Aws::DatabaseMigrationService
1215
1270
  S3Settings.add_member(:timestamp_column_name, Shapes::ShapeRef.new(shape: String, location_name: "TimestampColumnName"))
1216
1271
  S3Settings.add_member(:parquet_timestamp_in_millisecond, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ParquetTimestampInMillisecond"))
1217
1272
  S3Settings.add_member(:cdc_inserts_and_updates, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CdcInsertsAndUpdates"))
1273
+ S3Settings.add_member(:date_partition_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DatePartitionEnabled"))
1274
+ S3Settings.add_member(:date_partition_sequence, Shapes::ShapeRef.new(shape: DatePartitionSequenceValue, location_name: "DatePartitionSequence"))
1275
+ S3Settings.add_member(:date_partition_delimiter, Shapes::ShapeRef.new(shape: DatePartitionDelimiterValue, location_name: "DatePartitionDelimiter"))
1218
1276
  S3Settings.struct_class = Types::S3Settings
1219
1277
 
1220
1278
  SNSInvalidTopicFault.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
@@ -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.
@@ -359,6 +368,9 @@ module Aws::DatabaseMigrationService
359
368
  # timestamp_column_name: "String",
360
369
  # parquet_timestamp_in_millisecond: false,
361
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
362
374
  # },
363
375
  # dms_transfer_settings: {
364
376
  # service_access_role_arn: "String",
@@ -387,6 +399,7 @@ module Aws::DatabaseMigrationService
387
399
  # partition_include_schema_table: false,
388
400
  # include_table_alter_operations: false,
389
401
  # include_control_details: false,
402
+ # include_null_and_empty: false,
390
403
  # },
391
404
  # kafka_settings: {
392
405
  # broker: "String",
@@ -397,6 +410,8 @@ module Aws::DatabaseMigrationService
397
410
  # partition_include_schema_table: false,
398
411
  # include_table_alter_operations: false,
399
412
  # include_control_details: false,
413
+ # message_max_bytes: 1,
414
+ # include_null_and_empty: false,
400
415
  # },
401
416
  # elasticsearch_settings: {
402
417
  # service_access_role_arn: "String", # required
@@ -418,11 +433,14 @@ module Aws::DatabaseMigrationService
418
433
  # after_connect_script: "String",
419
434
  # bucket_folder: "String",
420
435
  # bucket_name: "String",
436
+ # case_sensitive_names: false,
437
+ # comp_update: false,
421
438
  # connection_timeout: 1,
422
439
  # database_name: "String",
423
440
  # date_format: "String",
424
441
  # empty_as_null: false,
425
442
  # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
443
+ # explicit_ids: false,
426
444
  # file_transfer_upload_streams: 1,
427
445
  # load_timeout: 1,
428
446
  # max_file_size: 1,
@@ -441,26 +459,59 @@ module Aws::DatabaseMigrationService
441
459
  # write_buffer_size: 1,
442
460
  # },
443
461
  # postgre_sql_settings: {
462
+ # after_connect_script: "String",
463
+ # capture_ddls: false,
464
+ # max_file_size: 1,
444
465
  # database_name: "String",
466
+ # ddl_artifacts_schema: "String",
467
+ # execute_timeout: 1,
468
+ # fail_tasks_on_lob_truncation: false,
445
469
  # password: "SecretString",
446
470
  # port: 1,
447
471
  # server_name: "String",
448
472
  # username: "String",
473
+ # slot_name: "String",
449
474
  # },
450
475
  # my_sql_settings: {
476
+ # after_connect_script: "String",
451
477
  # database_name: "String",
478
+ # events_poll_interval: 1,
479
+ # target_db_type: "specific-database", # accepts specific-database, multiple-databases
480
+ # max_file_size: 1,
481
+ # parallel_load_threads: 1,
452
482
  # password: "SecretString",
453
483
  # port: 1,
454
484
  # server_name: "String",
485
+ # server_timezone: "String",
455
486
  # username: "String",
456
487
  # },
457
488
  # oracle_settings: {
489
+ # add_supplemental_logging: false,
490
+ # archived_log_dest_id: 1,
491
+ # additional_archived_log_dest_id: 1,
492
+ # allow_select_nested_tables: false,
493
+ # parallel_asm_read_threads: 1,
494
+ # read_ahead_blocks: 1,
495
+ # access_alternate_directly: false,
496
+ # use_alternate_folder_for_online: false,
497
+ # oracle_path_prefix: "String",
498
+ # use_path_prefix: "String",
499
+ # replace_path_prefix: false,
500
+ # enable_homogenous_tablespace: false,
501
+ # direct_path_no_log: false,
502
+ # archived_logs_only: false,
458
503
  # asm_password: "SecretString",
459
504
  # asm_server: "String",
460
505
  # asm_user: "String",
506
+ # char_length_semantics: "default", # accepts default, char, byte
461
507
  # database_name: "String",
508
+ # direct_path_parallel_load: false,
509
+ # fail_tasks_on_lob_truncation: false,
510
+ # number_datatype_scale: 1,
462
511
  # password: "SecretString",
463
512
  # port: 1,
513
+ # read_table_space_name: false,
514
+ # retry_interval: 1,
464
515
  # security_db_encryption: "SecretString",
465
516
  # security_db_encryption_name: "String",
466
517
  # server_name: "String",
@@ -475,24 +526,33 @@ module Aws::DatabaseMigrationService
475
526
  # },
476
527
  # microsoft_sql_server_settings: {
477
528
  # port: 1,
529
+ # bcp_packet_size: 1,
478
530
  # database_name: "String",
531
+ # control_tables_file_group: "String",
479
532
  # password: "SecretString",
533
+ # read_backup_only: false,
534
+ # safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
480
535
  # server_name: "String",
481
536
  # username: "String",
537
+ # use_bcp_full_load: false,
482
538
  # },
483
539
  # ibm_db_2_settings: {
484
540
  # database_name: "String",
485
541
  # password: "SecretString",
486
542
  # port: 1,
487
543
  # server_name: "String",
544
+ # set_data_capture_changes: false,
545
+ # current_lsn: "String",
546
+ # max_k_bytes_per_read: 1,
488
547
  # username: "String",
489
548
  # },
549
+ # resource_identifier: "String",
490
550
  # }
491
551
  #
492
552
  # @!attribute [rw] endpoint_identifier
493
553
  # The database endpoint identifier. Identifiers must begin with a
494
554
  # letter and must contain only ASCII letters, digits, and hyphens.
495
- # They can't end with a hyphen or contain two consecutive hyphens.
555
+ # They can't end with a hyphen, or contain two consecutive hyphens.
496
556
  # @return [String]
497
557
  #
498
558
  # @!attribute [rw] endpoint_type
@@ -504,8 +564,8 @@ module Aws::DatabaseMigrationService
504
564
  # `EndpointType` value, include `"mysql"`, `"oracle"`, `"postgres"`,
505
565
  # `"mariadb"`, `"aurora"`, `"aurora-postgresql"`, `"redshift"`,
506
566
  # `"s3"`, `"db2"`, `"azuredb"`, `"sybase"`, `"dynamodb"`, `"mongodb"`,
507
- # `"kinesis"`, `"kafka"`, `"elasticsearch"`, `"documentdb"`,
508
- # `"sqlserver"`, and `"neptune"`.
567
+ # `"kinesis"`, `"kafka"`, `"elasticsearch"`, `"docdb"`, `"sqlserver"`,
568
+ # and `"neptune"`.
509
569
  # @return [String]
510
570
  #
511
571
  # @!attribute [rw] username
@@ -691,8 +751,8 @@ module Aws::DatabaseMigrationService
691
751
  #
692
752
  #
693
753
  #
694
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.ConnectionAttrib
695
- # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.ConnectionAttrib
754
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html
755
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html
696
756
  # @return [Types::PostgreSQLSettings]
697
757
  #
698
758
  # @!attribute [rw] my_sql_settings
@@ -705,8 +765,8 @@ module Aws::DatabaseMigrationService
705
765
  #
706
766
  #
707
767
  #
708
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.ConnectionAttrib
709
- # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.ConnectionAttrib
768
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html
769
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html
710
770
  # @return [Types::MySQLSettings]
711
771
  #
712
772
  # @!attribute [rw] oracle_settings
@@ -718,8 +778,8 @@ module Aws::DatabaseMigrationService
718
778
  #
719
779
  #
720
780
  #
721
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.ConnectionAttrib
722
- # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.ConnectionAttrib
781
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html
782
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html
723
783
  # @return [Types::OracleSettings]
724
784
  #
725
785
  # @!attribute [rw] sybase_settings
@@ -731,8 +791,8 @@ module Aws::DatabaseMigrationService
731
791
  #
732
792
  #
733
793
  #
734
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.ConnectionAttrib
735
- # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.ConnectionAttrib
794
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html
795
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html
736
796
  # @return [Types::SybaseSettings]
737
797
  #
738
798
  # @!attribute [rw] microsoft_sql_server_settings
@@ -745,8 +805,8 @@ module Aws::DatabaseMigrationService
745
805
  #
746
806
  #
747
807
  #
748
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.ConnectionAttrib
749
- # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.ConnectionAttrib
808
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html
809
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html
750
810
  # @return [Types::MicrosoftSQLServerSettings]
751
811
  #
752
812
  # @!attribute [rw] ibm_db_2_settings
@@ -757,9 +817,23 @@ module Aws::DatabaseMigrationService
757
817
  #
758
818
  #
759
819
  #
760
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.ConnectionAttrib
820
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html
761
821
  # @return [Types::IBMDb2Settings]
762
822
  #
823
+ # @!attribute [rw] resource_identifier
824
+ # A friendly name for the resource identifier at the end of the
825
+ # `EndpointArn` response parameter that is returned in the created
826
+ # `Endpoint` object. The value for this parameter can have up to 31
827
+ # characters. It can contain only ASCII letters, digits, and hyphen
828
+ # ('-'). Also, it can't end with a hyphen or contain two
829
+ # consecutive hyphens, and can only begin with a letter, such as
830
+ # `Example-App-ARN1`. For example, this value might result in the
831
+ # `EndpointArn` value
832
+ # `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1`. If you
833
+ # don't specify a `ResourceIdentifier` value, AWS DMS generates a
834
+ # default identifier value for the end of `EndpointArn`.
835
+ # @return [String]
836
+ #
763
837
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage AWS API Documentation
764
838
  #
765
839
  class CreateEndpointMessage < Struct.new(
@@ -792,7 +866,8 @@ module Aws::DatabaseMigrationService
792
866
  :oracle_settings,
793
867
  :sybase_settings,
794
868
  :microsoft_sql_server_settings,
795
- :ibm_db_2_settings)
869
+ :ibm_db_2_settings,
870
+ :resource_identifier)
796
871
  SENSITIVE = [:password]
797
872
  include Aws::Structure
798
873
  end
@@ -928,6 +1003,7 @@ module Aws::DatabaseMigrationService
928
1003
  # kms_key_id: "String",
929
1004
  # publicly_accessible: false,
930
1005
  # dns_name_servers: "String",
1006
+ # resource_identifier: "String",
931
1007
  # }
932
1008
  #
933
1009
  # @!attribute [rw] replication_instance_identifier
@@ -1003,6 +1079,10 @@ module Aws::DatabaseMigrationService
1003
1079
  #
1004
1080
  # @!attribute [rw] engine_version
1005
1081
  # The engine version number of the replication instance.
1082
+ #
1083
+ # If an engine version number is not specified when a replication
1084
+ # instance is created, the default is the latest engine version
1085
+ # available.
1006
1086
  # @return [String]
1007
1087
  #
1008
1088
  # @!attribute [rw] auto_minor_version_upgrade
@@ -1045,6 +1125,20 @@ module Aws::DatabaseMigrationService
1045
1125
  # `"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"`
1046
1126
  # @return [String]
1047
1127
  #
1128
+ # @!attribute [rw] resource_identifier
1129
+ # A friendly name for the resource identifier at the end of the
1130
+ # `EndpointArn` response parameter that is returned in the created
1131
+ # `Endpoint` object. The value for this parameter can have up to 31
1132
+ # characters. It can contain only ASCII letters, digits, and hyphen
1133
+ # ('-'). Also, it can't end with a hyphen or contain two
1134
+ # consecutive hyphens, and can only begin with a letter, such as
1135
+ # `Example-App-ARN1`. For example, this value might result in the
1136
+ # `EndpointArn` value
1137
+ # `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1`. If you
1138
+ # don't specify a `ResourceIdentifier` value, AWS DMS generates a
1139
+ # default identifier value for the end of `EndpointArn`.
1140
+ # @return [String]
1141
+ #
1048
1142
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage AWS API Documentation
1049
1143
  #
1050
1144
  class CreateReplicationInstanceMessage < Struct.new(
@@ -1061,7 +1155,8 @@ module Aws::DatabaseMigrationService
1061
1155
  :tags,
1062
1156
  :kms_key_id,
1063
1157
  :publicly_accessible,
1064
- :dns_name_servers)
1158
+ :dns_name_servers,
1159
+ :resource_identifier)
1065
1160
  SENSITIVE = []
1066
1161
  include Aws::Structure
1067
1162
  end
@@ -1159,6 +1254,7 @@ module Aws::DatabaseMigrationService
1159
1254
  # },
1160
1255
  # ],
1161
1256
  # task_data: "String",
1257
+ # resource_identifier: "String",
1162
1258
  # }
1163
1259
  #
1164
1260
  # @!attribute [rw] replication_task_identifier
@@ -1255,10 +1351,10 @@ module Aws::DatabaseMigrationService
1255
1351
  # stop. The value can be either server time or commit time.
1256
1352
  #
1257
1353
  # Server time example: --cdc-stop-position
1258
- # “server\_time:3018-02-09T12:12:12”
1354
+ # “server\_time:2018-02-09T12:12:12”
1259
1355
  #
1260
1356
  # Commit time example: --cdc-stop-position “commit\_time:
1261
- # 3018-02-09T12:12:12 “
1357
+ # 2018-02-09T12:12:12 “
1262
1358
  # @return [String]
1263
1359
  #
1264
1360
  # @!attribute [rw] tags
@@ -1276,6 +1372,20 @@ module Aws::DatabaseMigrationService
1276
1372
  # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html
1277
1373
  # @return [String]
1278
1374
  #
1375
+ # @!attribute [rw] resource_identifier
1376
+ # A friendly name for the resource identifier at the end of the
1377
+ # `EndpointArn` response parameter that is returned in the created
1378
+ # `Endpoint` object. The value for this parameter can have up to 31
1379
+ # characters. It can contain only ASCII letters, digits, and hyphen
1380
+ # ('-'). Also, it can't end with a hyphen or contain two
1381
+ # consecutive hyphens, and can only begin with a letter, such as
1382
+ # `Example-App-ARN1`. For example, this value might result in the
1383
+ # `EndpointArn` value
1384
+ # `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1`. If you
1385
+ # don't specify a `ResourceIdentifier` value, AWS DMS generates a
1386
+ # default identifier value for the end of `EndpointArn`.
1387
+ # @return [String]
1388
+ #
1279
1389
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskMessage AWS API Documentation
1280
1390
  #
1281
1391
  class CreateReplicationTaskMessage < Struct.new(
@@ -1290,7 +1400,8 @@ module Aws::DatabaseMigrationService
1290
1400
  :cdc_start_position,
1291
1401
  :cdc_stop_position,
1292
1402
  :tags,
1293
- :task_data)
1403
+ :task_data,
1404
+ :resource_identifier)
1294
1405
  SENSITIVE = []
1295
1406
  include Aws::Structure
1296
1407
  end
@@ -3000,12 +3111,19 @@ module Aws::DatabaseMigrationService
3000
3111
  # @return [String]
3001
3112
  #
3002
3113
  # @!attribute [rw] endpoint_uri
3003
- # The endpoint for the Elasticsearch cluster.
3114
+ # The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a
3115
+ # transport protocol (http/https) is not specified.
3004
3116
  # @return [String]
3005
3117
  #
3006
3118
  # @!attribute [rw] full_load_error_percentage
3007
3119
  # The maximum percentage of records that can fail to be written before
3008
3120
  # a full load operation stops.
3121
+ #
3122
+ # To avoid early failure, this counter is only effective after 1000
3123
+ # records are transferred. Elasticsearch also has the concept of error
3124
+ # monitoring during the last 10 minutes of an Observation Window. If
3125
+ # transfer of all records fail in the last 10 minutes, the full load
3126
+ # operation stops.
3009
3127
  # @return [Integer]
3010
3128
  #
3011
3129
  # @!attribute [rw] error_retry_duration
@@ -3297,7 +3415,12 @@ module Aws::DatabaseMigrationService
3297
3415
  end
3298
3416
 
3299
3417
  # Lists categories of events subscribed to, and generated by, the
3300
- # applicable AWS DMS resource type.
3418
+ # applicable AWS DMS resource type. This data type appears in response
3419
+ # to the [ `DescribeEventCategories` ][1] action.
3420
+ #
3421
+ #
3422
+ #
3423
+ # [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_EventCategoryGroup.html
3301
3424
  #
3302
3425
  # @!attribute [rw] source_type
3303
3426
  # The type of AWS DMS resource that generates events.
@@ -3390,7 +3513,8 @@ module Aws::DatabaseMigrationService
3390
3513
 
3391
3514
  # Identifies the name and value of a filter object. This filter is used
3392
3515
  # to limit the number and type of AWS DMS objects that are returned for
3393
- # a particular `Describe*` or similar operation.
3516
+ # a particular `Describe*` call or similar operation. Filters are used
3517
+ # as an optional parameter to the following APIs.
3394
3518
  #
3395
3519
  # @note When making an API call, you may pass Filter
3396
3520
  # data as a hash:
@@ -3429,6 +3553,9 @@ module Aws::DatabaseMigrationService
3429
3553
  # password: "SecretString",
3430
3554
  # port: 1,
3431
3555
  # server_name: "String",
3556
+ # set_data_capture_changes: false,
3557
+ # current_lsn: "String",
3558
+ # max_k_bytes_per_read: 1,
3432
3559
  # username: "String",
3433
3560
  # }
3434
3561
  #
@@ -3448,6 +3575,21 @@ module Aws::DatabaseMigrationService
3448
3575
  # Fully qualified domain name of the endpoint.
3449
3576
  # @return [String]
3450
3577
  #
3578
+ # @!attribute [rw] set_data_capture_changes
3579
+ # Enables ongoing replication (CDC) as a BOOLEAN value. The default is
3580
+ # true.
3581
+ # @return [Boolean]
3582
+ #
3583
+ # @!attribute [rw] current_lsn
3584
+ # For ongoing replication (CDC), use CurrentLSN to specify a log
3585
+ # sequence number (LSN) where you want the replication to start.
3586
+ # @return [String]
3587
+ #
3588
+ # @!attribute [rw] max_k_bytes_per_read
3589
+ # Maximum number of bytes per read, as a NUMBER value. The default is
3590
+ # 64 KB.
3591
+ # @return [Integer]
3592
+ #
3451
3593
  # @!attribute [rw] username
3452
3594
  # Endpoint connection user name.
3453
3595
  # @return [String]
@@ -3459,6 +3601,9 @@ module Aws::DatabaseMigrationService
3459
3601
  :password,
3460
3602
  :port,
3461
3603
  :server_name,
3604
+ :set_data_capture_changes,
3605
+ :current_lsn,
3606
+ :max_k_bytes_per_read,
3462
3607
  :username)
3463
3608
  SENSITIVE = [:password]
3464
3609
  include Aws::Structure
@@ -3686,6 +3831,8 @@ module Aws::DatabaseMigrationService
3686
3831
  # partition_include_schema_table: false,
3687
3832
  # include_table_alter_operations: false,
3688
3833
  # include_control_details: false,
3834
+ # message_max_bytes: 1,
3835
+ # include_null_and_empty: false,
3689
3836
  # }
3690
3837
  #
3691
3838
  # @!attribute [rw] broker
@@ -3712,12 +3859,12 @@ module Aws::DatabaseMigrationService
3712
3859
  # This information includes a commit timestamp, a log position, and
3713
3860
  # values for `transaction_id`, previous `transaction_id`, and
3714
3861
  # `transaction_record_id` (the record offset within a transaction).
3715
- # The default is `False`.
3862
+ # The default is `false`.
3716
3863
  # @return [Boolean]
3717
3864
  #
3718
3865
  # @!attribute [rw] include_partition_value
3719
3866
  # Shows the partition value within the Kafka message output, unless
3720
- # the partition type is `schema-table-type`. The default is `False`.
3867
+ # the partition type is `schema-table-type`. The default is `false`.
3721
3868
  # @return [Boolean]
3722
3869
  #
3723
3870
  # @!attribute [rw] partition_include_schema_table
@@ -3727,20 +3874,30 @@ module Aws::DatabaseMigrationService
3727
3874
  # SysBench schema has thousands of tables and each table has only
3728
3875
  # limited range for a primary key. In this case, the same primary key
3729
3876
  # is sent from thousands of tables to the same partition, which causes
3730
- # throttling. The default is `False`.
3877
+ # throttling. The default is `false`.
3731
3878
  # @return [Boolean]
3732
3879
  #
3733
3880
  # @!attribute [rw] include_table_alter_operations
3734
3881
  # Includes any data definition language (DDL) operations that change
3735
3882
  # the table in the control data, such as `rename-table`, `drop-table`,
3736
3883
  # `add-column`, `drop-column`, and `rename-column`. The default is
3737
- # `False`.
3884
+ # `false`.
3738
3885
  # @return [Boolean]
3739
3886
  #
3740
3887
  # @!attribute [rw] include_control_details
3741
3888
  # Shows detailed control information for table definition, column
3742
3889
  # definition, and table and column changes in the Kafka message
3743
- # output. The default is `False`.
3890
+ # output. The default is `false`.
3891
+ # @return [Boolean]
3892
+ #
3893
+ # @!attribute [rw] message_max_bytes
3894
+ # The maximum size in bytes for records created on the endpoint The
3895
+ # default is 1,000,000.
3896
+ # @return [Integer]
3897
+ #
3898
+ # @!attribute [rw] include_null_and_empty
3899
+ # Include NULL and empty columns for records migrated to the endpoint.
3900
+ # The default is `false`.
3744
3901
  # @return [Boolean]
3745
3902
  #
3746
3903
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KafkaSettings AWS API Documentation
@@ -3753,7 +3910,9 @@ module Aws::DatabaseMigrationService
3753
3910
  :include_partition_value,
3754
3911
  :partition_include_schema_table,
3755
3912
  :include_table_alter_operations,
3756
- :include_control_details)
3913
+ :include_control_details,
3914
+ :message_max_bytes,
3915
+ :include_null_and_empty)
3757
3916
  SENSITIVE = []
3758
3917
  include Aws::Structure
3759
3918
  end
@@ -3775,6 +3934,7 @@ module Aws::DatabaseMigrationService
3775
3934
  # partition_include_schema_table: false,
3776
3935
  # include_table_alter_operations: false,
3777
3936
  # include_control_details: false,
3937
+ # include_null_and_empty: false,
3778
3938
  # }
3779
3939
  #
3780
3940
  # @!attribute [rw] stream_arn
@@ -3799,12 +3959,12 @@ module Aws::DatabaseMigrationService
3799
3959
  # This information includes a commit timestamp, a log position, and
3800
3960
  # values for `transaction_id`, previous `transaction_id`, and
3801
3961
  # `transaction_record_id` (the record offset within a transaction).
3802
- # The default is `False`.
3962
+ # The default is `false`.
3803
3963
  # @return [Boolean]
3804
3964
  #
3805
3965
  # @!attribute [rw] include_partition_value
3806
3966
  # Shows the partition value within the Kinesis message output, unless
3807
- # the partition type is `schema-table-type`. The default is `False`.
3967
+ # the partition type is `schema-table-type`. The default is `false`.
3808
3968
  # @return [Boolean]
3809
3969
  #
3810
3970
  # @!attribute [rw] partition_include_schema_table
@@ -3814,20 +3974,25 @@ module Aws::DatabaseMigrationService
3814
3974
  # SysBench schema has thousands of tables and each table has only
3815
3975
  # limited range for a primary key. In this case, the same primary key
3816
3976
  # is sent from thousands of tables to the same shard, which causes
3817
- # throttling. The default is `False`.
3977
+ # throttling. The default is `false`.
3818
3978
  # @return [Boolean]
3819
3979
  #
3820
3980
  # @!attribute [rw] include_table_alter_operations
3821
3981
  # Includes any data definition language (DDL) operations that change
3822
3982
  # the table in the control data, such as `rename-table`, `drop-table`,
3823
3983
  # `add-column`, `drop-column`, and `rename-column`. The default is
3824
- # `False`.
3984
+ # `false`.
3825
3985
  # @return [Boolean]
3826
3986
  #
3827
3987
  # @!attribute [rw] include_control_details
3828
3988
  # Shows detailed control information for table definition, column
3829
3989
  # definition, and table and column changes in the Kinesis message
3830
- # output. The default is `False`.
3990
+ # output. The default is `false`.
3991
+ # @return [Boolean]
3992
+ #
3993
+ # @!attribute [rw] include_null_and_empty
3994
+ # Include NULL and empty columns for records migrated to the endpoint.
3995
+ # The default is `false`.
3831
3996
  # @return [Boolean]
3832
3997
  #
3833
3998
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KinesisSettings AWS API Documentation
@@ -3840,7 +4005,8 @@ module Aws::DatabaseMigrationService
3840
4005
  :include_partition_value,
3841
4006
  :partition_include_schema_table,
3842
4007
  :include_table_alter_operations,
3843
- :include_control_details)
4008
+ :include_control_details,
4009
+ :include_null_and_empty)
3844
4010
  SENSITIVE = []
3845
4011
  include Aws::Structure
3846
4012
  end
@@ -3884,24 +4050,72 @@ module Aws::DatabaseMigrationService
3884
4050
  #
3885
4051
  # {
3886
4052
  # port: 1,
4053
+ # bcp_packet_size: 1,
3887
4054
  # database_name: "String",
4055
+ # control_tables_file_group: "String",
3888
4056
  # password: "SecretString",
4057
+ # read_backup_only: false,
4058
+ # safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
3889
4059
  # server_name: "String",
3890
4060
  # username: "String",
4061
+ # use_bcp_full_load: false,
3891
4062
  # }
3892
4063
  #
3893
4064
  # @!attribute [rw] port
3894
4065
  # Endpoint TCP port.
3895
4066
  # @return [Integer]
3896
4067
  #
4068
+ # @!attribute [rw] bcp_packet_size
4069
+ # The maximum size of the packets (in bytes) used to transfer data
4070
+ # using BCP.
4071
+ # @return [Integer]
4072
+ #
3897
4073
  # @!attribute [rw] database_name
3898
4074
  # Database name for the endpoint.
3899
4075
  # @return [String]
3900
4076
  #
4077
+ # @!attribute [rw] control_tables_file_group
4078
+ # Specify a filegroup for the AWS DMS internal tables. When the
4079
+ # replication task starts, all the internal AWS DMS control tables
4080
+ # (awsdms\_ apply\_exception, awsdms\_apply, awsdms\_changes) are
4081
+ # created on the specified filegroup.
4082
+ # @return [String]
4083
+ #
3901
4084
  # @!attribute [rw] password
3902
4085
  # Endpoint connection password.
3903
4086
  # @return [String]
3904
4087
  #
4088
+ # @!attribute [rw] read_backup_only
4089
+ # When this attribute is set to `Y`, AWS DMS only reads changes from
4090
+ # transaction log backups and doesn't read from the active
4091
+ # transaction log file during ongoing replication. Setting this
4092
+ # parameter to `Y` enables you to control active transaction log file
4093
+ # growth during full load and ongoing replication tasks. However, it
4094
+ # can add some source latency to ongoing replication.
4095
+ # @return [Boolean]
4096
+ #
4097
+ # @!attribute [rw] safeguard_policy
4098
+ # Use this attribute to minimize the need to access the backup log and
4099
+ # enable AWS DMS to prevent truncation using one of the following two
4100
+ # methods.
4101
+ #
4102
+ # *Start transactions in the database:* This is the default method.
4103
+ # When this method is used, AWS DMS prevents TLOG truncation by
4104
+ # mimicking a transaction in the database. As long as such a
4105
+ # transaction is open, changes that appear after the transaction
4106
+ # started aren't truncated. If you need Microsoft Replication to be
4107
+ # enabled in your database, then you must choose this method.
4108
+ #
4109
+ # *Exclusively use sp\_repldone within a single task*\: When this
4110
+ # method is used, AWS DMS reads the changes and then uses sp\_repldone
4111
+ # to mark the TLOG transactions as ready for truncation. Although this
4112
+ # method doesn't involve any transactional activities, it can only be
4113
+ # used when Microsoft Replication isn't running. Also, when using
4114
+ # this method, only one AWS DMS task can access the database at any
4115
+ # given time. Therefore, if you need to run parallel AWS DMS tasks
4116
+ # against the same database, use the default method.
4117
+ # @return [String]
4118
+ #
3905
4119
  # @!attribute [rw] server_name
3906
4120
  # Fully qualified domain name of the endpoint.
3907
4121
  # @return [String]
@@ -3910,14 +4124,26 @@ module Aws::DatabaseMigrationService
3910
4124
  # Endpoint connection user name.
3911
4125
  # @return [String]
3912
4126
  #
4127
+ # @!attribute [rw] use_bcp_full_load
4128
+ # Use this to attribute to transfer data for full-load operations
4129
+ # using BCP. When the target table contains an identity column that
4130
+ # does not exist in the source table, you must disable the use BCP for
4131
+ # loading table option.
4132
+ # @return [Boolean]
4133
+ #
3913
4134
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MicrosoftSQLServerSettings AWS API Documentation
3914
4135
  #
3915
4136
  class MicrosoftSQLServerSettings < Struct.new(
3916
4137
  :port,
4138
+ :bcp_packet_size,
3917
4139
  :database_name,
4140
+ :control_tables_file_group,
3918
4141
  :password,
4142
+ :read_backup_only,
4143
+ :safeguard_policy,
3919
4144
  :server_name,
3920
- :username)
4145
+ :username,
4146
+ :use_bcp_full_load)
3921
4147
  SENSITIVE = [:password]
3922
4148
  include Aws::Structure
3923
4149
  end
@@ -3965,6 +4191,9 @@ module Aws::DatabaseMigrationService
3965
4191
  # timestamp_column_name: "String",
3966
4192
  # parquet_timestamp_in_millisecond: false,
3967
4193
  # cdc_inserts_and_updates: false,
4194
+ # date_partition_enabled: false,
4195
+ # date_partition_sequence: "YYYYMMDD", # accepts YYYYMMDD, YYYYMMDDHH, YYYYMM, MMYYYYDD, DDMMYYYY
4196
+ # date_partition_delimiter: "SLASH", # accepts SLASH, UNDERSCORE, DASH, NONE
3968
4197
  # },
3969
4198
  # dms_transfer_settings: {
3970
4199
  # service_access_role_arn: "String",
@@ -3993,6 +4222,7 @@ module Aws::DatabaseMigrationService
3993
4222
  # partition_include_schema_table: false,
3994
4223
  # include_table_alter_operations: false,
3995
4224
  # include_control_details: false,
4225
+ # include_null_and_empty: false,
3996
4226
  # },
3997
4227
  # kafka_settings: {
3998
4228
  # broker: "String",
@@ -4003,6 +4233,8 @@ module Aws::DatabaseMigrationService
4003
4233
  # partition_include_schema_table: false,
4004
4234
  # include_table_alter_operations: false,
4005
4235
  # include_control_details: false,
4236
+ # message_max_bytes: 1,
4237
+ # include_null_and_empty: false,
4006
4238
  # },
4007
4239
  # elasticsearch_settings: {
4008
4240
  # service_access_role_arn: "String", # required
@@ -4024,11 +4256,14 @@ module Aws::DatabaseMigrationService
4024
4256
  # after_connect_script: "String",
4025
4257
  # bucket_folder: "String",
4026
4258
  # bucket_name: "String",
4259
+ # case_sensitive_names: false,
4260
+ # comp_update: false,
4027
4261
  # connection_timeout: 1,
4028
4262
  # database_name: "String",
4029
4263
  # date_format: "String",
4030
4264
  # empty_as_null: false,
4031
4265
  # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
4266
+ # explicit_ids: false,
4032
4267
  # file_transfer_upload_streams: 1,
4033
4268
  # load_timeout: 1,
4034
4269
  # max_file_size: 1,
@@ -4047,26 +4282,59 @@ module Aws::DatabaseMigrationService
4047
4282
  # write_buffer_size: 1,
4048
4283
  # },
4049
4284
  # postgre_sql_settings: {
4285
+ # after_connect_script: "String",
4286
+ # capture_ddls: false,
4287
+ # max_file_size: 1,
4050
4288
  # database_name: "String",
4289
+ # ddl_artifacts_schema: "String",
4290
+ # execute_timeout: 1,
4291
+ # fail_tasks_on_lob_truncation: false,
4051
4292
  # password: "SecretString",
4052
4293
  # port: 1,
4053
4294
  # server_name: "String",
4054
4295
  # username: "String",
4296
+ # slot_name: "String",
4055
4297
  # },
4056
4298
  # my_sql_settings: {
4299
+ # after_connect_script: "String",
4057
4300
  # database_name: "String",
4301
+ # events_poll_interval: 1,
4302
+ # target_db_type: "specific-database", # accepts specific-database, multiple-databases
4303
+ # max_file_size: 1,
4304
+ # parallel_load_threads: 1,
4058
4305
  # password: "SecretString",
4059
4306
  # port: 1,
4060
4307
  # server_name: "String",
4308
+ # server_timezone: "String",
4061
4309
  # username: "String",
4062
4310
  # },
4063
4311
  # oracle_settings: {
4312
+ # add_supplemental_logging: false,
4313
+ # archived_log_dest_id: 1,
4314
+ # additional_archived_log_dest_id: 1,
4315
+ # allow_select_nested_tables: false,
4316
+ # parallel_asm_read_threads: 1,
4317
+ # read_ahead_blocks: 1,
4318
+ # access_alternate_directly: false,
4319
+ # use_alternate_folder_for_online: false,
4320
+ # oracle_path_prefix: "String",
4321
+ # use_path_prefix: "String",
4322
+ # replace_path_prefix: false,
4323
+ # enable_homogenous_tablespace: false,
4324
+ # direct_path_no_log: false,
4325
+ # archived_logs_only: false,
4064
4326
  # asm_password: "SecretString",
4065
4327
  # asm_server: "String",
4066
4328
  # asm_user: "String",
4329
+ # char_length_semantics: "default", # accepts default, char, byte
4067
4330
  # database_name: "String",
4331
+ # direct_path_parallel_load: false,
4332
+ # fail_tasks_on_lob_truncation: false,
4333
+ # number_datatype_scale: 1,
4068
4334
  # password: "SecretString",
4069
4335
  # port: 1,
4336
+ # read_table_space_name: false,
4337
+ # retry_interval: 1,
4070
4338
  # security_db_encryption: "SecretString",
4071
4339
  # security_db_encryption_name: "String",
4072
4340
  # server_name: "String",
@@ -4081,16 +4349,24 @@ module Aws::DatabaseMigrationService
4081
4349
  # },
4082
4350
  # microsoft_sql_server_settings: {
4083
4351
  # port: 1,
4352
+ # bcp_packet_size: 1,
4084
4353
  # database_name: "String",
4354
+ # control_tables_file_group: "String",
4085
4355
  # password: "SecretString",
4356
+ # read_backup_only: false,
4357
+ # safeguard_policy: "rely-on-sql-server-replication-agent", # accepts rely-on-sql-server-replication-agent, exclusive-automatic-truncation, shared-automatic-truncation
4086
4358
  # server_name: "String",
4087
4359
  # username: "String",
4360
+ # use_bcp_full_load: false,
4088
4361
  # },
4089
4362
  # ibm_db_2_settings: {
4090
4363
  # database_name: "String",
4091
4364
  # password: "SecretString",
4092
4365
  # port: 1,
4093
4366
  # server_name: "String",
4367
+ # set_data_capture_changes: false,
4368
+ # current_lsn: "String",
4369
+ # max_k_bytes_per_read: 1,
4094
4370
  # username: "String",
4095
4371
  # },
4096
4372
  # }
@@ -4538,6 +4814,9 @@ module Aws::DatabaseMigrationService
4538
4814
  #
4539
4815
  # @!attribute [rw] engine_version
4540
4816
  # The engine version number of the replication instance.
4817
+ #
4818
+ # When modifying a major engine version of an instance, also set
4819
+ # `AllowMajorVersionUpgrade` to `true`.
4541
4820
  # @return [String]
4542
4821
  #
4543
4822
  # @!attribute [rw] allow_major_version_upgrade
@@ -4736,10 +5015,10 @@ module Aws::DatabaseMigrationService
4736
5015
  # stop. The value can be either server time or commit time.
4737
5016
  #
4738
5017
  # Server time example: --cdc-stop-position
4739
- # “server\_time:3018-02-09T12:12:12”
5018
+ # “server\_time:2018-02-09T12:12:12”
4740
5019
  #
4741
5020
  # Commit time example: --cdc-stop-position “commit\_time:
4742
- # 3018-02-09T12:12:12 “
5021
+ # 2018-02-09T12:12:12 “
4743
5022
  # @return [String]
4744
5023
  #
4745
5024
  # @!attribute [rw] task_data
@@ -4903,17 +5182,63 @@ module Aws::DatabaseMigrationService
4903
5182
  # data as a hash:
4904
5183
  #
4905
5184
  # {
5185
+ # after_connect_script: "String",
4906
5186
  # database_name: "String",
5187
+ # events_poll_interval: 1,
5188
+ # target_db_type: "specific-database", # accepts specific-database, multiple-databases
5189
+ # max_file_size: 1,
5190
+ # parallel_load_threads: 1,
4907
5191
  # password: "SecretString",
4908
5192
  # port: 1,
4909
5193
  # server_name: "String",
5194
+ # server_timezone: "String",
4910
5195
  # username: "String",
4911
5196
  # }
4912
5197
  #
5198
+ # @!attribute [rw] after_connect_script
5199
+ # Specifies a script to run immediately after AWS DMS connects to the
5200
+ # endpoint. The migration task continues running regardless if the SQL
5201
+ # statement succeeds or fails.
5202
+ # @return [String]
5203
+ #
4913
5204
  # @!attribute [rw] database_name
4914
5205
  # Database name for the endpoint.
4915
5206
  # @return [String]
4916
5207
  #
5208
+ # @!attribute [rw] events_poll_interval
5209
+ # Specifies how often to check the binary log for new changes/events
5210
+ # when the database is idle.
5211
+ #
5212
+ # Example: `eventsPollInterval=5;`
5213
+ #
5214
+ # In the example, AWS DMS checks for changes in the binary logs every
5215
+ # five seconds.
5216
+ # @return [Integer]
5217
+ #
5218
+ # @!attribute [rw] target_db_type
5219
+ # Specifies where to migrate source tables on the target, either to a
5220
+ # single database or multiple databases.
5221
+ #
5222
+ # Example: `targetDbType=MULTIPLE_DATABASES`
5223
+ # @return [String]
5224
+ #
5225
+ # @!attribute [rw] max_file_size
5226
+ # Specifies the maximum size (in KB) of any .csv file used to transfer
5227
+ # data to a MySQL-compatible database.
5228
+ #
5229
+ # Example: `maxFileSize=512`
5230
+ # @return [Integer]
5231
+ #
5232
+ # @!attribute [rw] parallel_load_threads
5233
+ # Improves performance when loading data into the MySQLcompatible
5234
+ # target database. Specifies how many threads to use to load the data
5235
+ # into the MySQL-compatible target database. Setting a large number of
5236
+ # threads can have an adverse effect on database performance, because
5237
+ # a separate connection is required for each thread.
5238
+ #
5239
+ # Example: `parallelLoadThreads=1`
5240
+ # @return [Integer]
5241
+ #
4917
5242
  # @!attribute [rw] password
4918
5243
  # Endpoint connection password.
4919
5244
  # @return [String]
@@ -4926,6 +5251,14 @@ module Aws::DatabaseMigrationService
4926
5251
  # Fully qualified domain name of the endpoint.
4927
5252
  # @return [String]
4928
5253
  #
5254
+ # @!attribute [rw] server_timezone
5255
+ # Specifies the time zone for the source MySQL database.
5256
+ #
5257
+ # Example: `serverTimezone=US/Pacific;`
5258
+ #
5259
+ # Note: Do not enclose time zones in single quotes.
5260
+ # @return [String]
5261
+ #
4929
5262
  # @!attribute [rw] username
4930
5263
  # Endpoint connection user name.
4931
5264
  # @return [String]
@@ -4933,10 +5266,16 @@ module Aws::DatabaseMigrationService
4933
5266
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MySQLSettings AWS API Documentation
4934
5267
  #
4935
5268
  class MySQLSettings < Struct.new(
5269
+ :after_connect_script,
4936
5270
  :database_name,
5271
+ :events_poll_interval,
5272
+ :target_db_type,
5273
+ :max_file_size,
5274
+ :parallel_load_threads,
4937
5275
  :password,
4938
5276
  :port,
4939
5277
  :server_name,
5278
+ :server_timezone,
4940
5279
  :username)
4941
5280
  SENSITIVE = [:password]
4942
5281
  include Aws::Structure
@@ -5027,18 +5366,137 @@ module Aws::DatabaseMigrationService
5027
5366
  # data as a hash:
5028
5367
  #
5029
5368
  # {
5369
+ # add_supplemental_logging: false,
5370
+ # archived_log_dest_id: 1,
5371
+ # additional_archived_log_dest_id: 1,
5372
+ # allow_select_nested_tables: false,
5373
+ # parallel_asm_read_threads: 1,
5374
+ # read_ahead_blocks: 1,
5375
+ # access_alternate_directly: false,
5376
+ # use_alternate_folder_for_online: false,
5377
+ # oracle_path_prefix: "String",
5378
+ # use_path_prefix: "String",
5379
+ # replace_path_prefix: false,
5380
+ # enable_homogenous_tablespace: false,
5381
+ # direct_path_no_log: false,
5382
+ # archived_logs_only: false,
5030
5383
  # asm_password: "SecretString",
5031
5384
  # asm_server: "String",
5032
5385
  # asm_user: "String",
5386
+ # char_length_semantics: "default", # accepts default, char, byte
5033
5387
  # database_name: "String",
5388
+ # direct_path_parallel_load: false,
5389
+ # fail_tasks_on_lob_truncation: false,
5390
+ # number_datatype_scale: 1,
5034
5391
  # password: "SecretString",
5035
5392
  # port: 1,
5393
+ # read_table_space_name: false,
5394
+ # retry_interval: 1,
5036
5395
  # security_db_encryption: "SecretString",
5037
5396
  # security_db_encryption_name: "String",
5038
5397
  # server_name: "String",
5039
5398
  # username: "String",
5040
5399
  # }
5041
5400
  #
5401
+ # @!attribute [rw] add_supplemental_logging
5402
+ # Set this attribute to set up table-level supplemental logging for
5403
+ # the Oracle database. This attribute enables PRIMARY KEY supplemental
5404
+ # logging on all tables selected for a migration task.
5405
+ #
5406
+ # If you use this option, you still need to enable database-level
5407
+ # supplemental logging.
5408
+ # @return [Boolean]
5409
+ #
5410
+ # @!attribute [rw] archived_log_dest_id
5411
+ # Specifies the destination of the archived redo logs. The value
5412
+ # should be the same as the DEST\_ID number in the v$archived\_log
5413
+ # table. When working with multiple log destinations (DEST\_ID), we
5414
+ # recommend that you to specify an archived redo logs location
5415
+ # identifier. Doing this improves performance by ensuring that the
5416
+ # correct logs are accessed from the outset.
5417
+ # @return [Integer]
5418
+ #
5419
+ # @!attribute [rw] additional_archived_log_dest_id
5420
+ # Set this attribute with `archivedLogDestId` in a primary/ standby
5421
+ # setup. This attribute is useful in the case of a switchover. In this
5422
+ # case, AWS DMS needs to know which destination to get archive redo
5423
+ # logs from to read changes. This need arises because the previous
5424
+ # primary instance is now a standby instance after switchover.
5425
+ # @return [Integer]
5426
+ #
5427
+ # @!attribute [rw] allow_select_nested_tables
5428
+ # Set this attribute to `true` to enable replication of Oracle tables
5429
+ # containing columns that are nested tables or defined types.
5430
+ # @return [Boolean]
5431
+ #
5432
+ # @!attribute [rw] parallel_asm_read_threads
5433
+ # Set this attribute to change the number of threads that DMS
5434
+ # configures to perform a Change Data Capture (CDC) load using Oracle
5435
+ # Automatic Storage Management (ASM). You can specify an integer value
5436
+ # between 2 (the default) and 8 (the maximum). Use this attribute
5437
+ # together with the `readAheadBlocks` attribute.
5438
+ # @return [Integer]
5439
+ #
5440
+ # @!attribute [rw] read_ahead_blocks
5441
+ # Set this attribute to change the number of read-ahead blocks that
5442
+ # DMS configures to perform a Change Data Capture (CDC) load using
5443
+ # Oracle Automatic Storage Management (ASM). You can specify an
5444
+ # integer value between 1000 (the default) and 200,000 (the maximum).
5445
+ # @return [Integer]
5446
+ #
5447
+ # @!attribute [rw] access_alternate_directly
5448
+ # Set this attribute to `false` in order to use the Binary Reader to
5449
+ # capture change data for an Amazon RDS for Oracle as the source. This
5450
+ # tells the DMS instance to not access redo logs through any specified
5451
+ # path prefix replacement using direct file access.
5452
+ # @return [Boolean]
5453
+ #
5454
+ # @!attribute [rw] use_alternate_folder_for_online
5455
+ # Set this attribute to `true` in order to use the Binary Reader to
5456
+ # capture change data for an Amazon RDS for Oracle as the source. This
5457
+ # tells the DMS instance to use any specified prefix replacement to
5458
+ # access all online redo logs.
5459
+ # @return [Boolean]
5460
+ #
5461
+ # @!attribute [rw] oracle_path_prefix
5462
+ # Set this string attribute to the required value in order to use the
5463
+ # Binary Reader to capture change data for an Amazon RDS for Oracle as
5464
+ # the source. This value specifies the default Oracle root used to
5465
+ # access the redo logs.
5466
+ # @return [String]
5467
+ #
5468
+ # @!attribute [rw] use_path_prefix
5469
+ # Set this string attribute to the required value in order to use the
5470
+ # Binary Reader to capture change data for an Amazon RDS for Oracle as
5471
+ # the source. This value specifies the path prefix used to replace the
5472
+ # default Oracle root to access the redo logs.
5473
+ # @return [String]
5474
+ #
5475
+ # @!attribute [rw] replace_path_prefix
5476
+ # Set this attribute to true in order to use the Binary Reader to
5477
+ # capture change data for an Amazon RDS for Oracle as the source. This
5478
+ # setting tells DMS instance to replace the default Oracle root with
5479
+ # the specified `usePathPrefix` setting to access the redo logs.
5480
+ # @return [Boolean]
5481
+ #
5482
+ # @!attribute [rw] enable_homogenous_tablespace
5483
+ # Set this attribute to enable homogenous tablespace replication and
5484
+ # create existing tables or indexes under the same tablespace on the
5485
+ # target.
5486
+ # @return [Boolean]
5487
+ #
5488
+ # @!attribute [rw] direct_path_no_log
5489
+ # When set to `true`, this attribute helps to increase the commit rate
5490
+ # on the Oracle target database by writing directly to tables and not
5491
+ # writing a trail to database logs.
5492
+ # @return [Boolean]
5493
+ #
5494
+ # @!attribute [rw] archived_logs_only
5495
+ # When this field is set to `Y`, AWS DMS only accesses the archived
5496
+ # redo logs. If the archived redo logs are stored on Oracle ASM only,
5497
+ # the AWS DMS user account needs to be granted ASM privileges.
5498
+ # @return [Boolean]
5499
+ #
5042
5500
  # @!attribute [rw] asm_password
5043
5501
  # For an Oracle source endpoint, your Oracle Automatic Storage
5044
5502
  # Management (ASM) password. You can set this value from the `
@@ -5079,10 +5537,43 @@ module Aws::DatabaseMigrationService
5079
5537
  # [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
5080
5538
  # @return [String]
5081
5539
  #
5540
+ # @!attribute [rw] char_length_semantics
5541
+ # Specifies whether the length of a character column is in bytes or in
5542
+ # characters. To indicate that the character column length is in
5543
+ # characters, set this attribute to `CHAR`. Otherwise, the character
5544
+ # column length is in bytes.
5545
+ #
5546
+ # Example: `charLengthSemantics=CHAR;`
5547
+ # @return [String]
5548
+ #
5082
5549
  # @!attribute [rw] database_name
5083
5550
  # Database name for the endpoint.
5084
5551
  # @return [String]
5085
5552
  #
5553
+ # @!attribute [rw] direct_path_parallel_load
5554
+ # When set to `true`, this attribute specifies a parallel load when
5555
+ # `useDirectPathFullLoad` is set to `Y`. This attribute also only
5556
+ # applies when you use the AWS DMS parallel load feature. Note that
5557
+ # the target table cannot have any constraints or indexes.
5558
+ # @return [Boolean]
5559
+ #
5560
+ # @!attribute [rw] fail_tasks_on_lob_truncation
5561
+ # When set to `true`, this attribute causes a task to fail if the
5562
+ # actual size of an LOB column is greater than the specified
5563
+ # `LobMaxSize`.
5564
+ #
5565
+ # If a task is set to limited LOB mode and this option is set to
5566
+ # `true`, the task fails instead of truncating the LOB data.
5567
+ # @return [Boolean]
5568
+ #
5569
+ # @!attribute [rw] number_datatype_scale
5570
+ # Specifies the number scale. You can select a scale up to 38, or you
5571
+ # can select FLOAT. By default, the NUMBER data type is converted to
5572
+ # precision 38, scale 10.
5573
+ #
5574
+ # Example: `numberDataTypeScale=12`
5575
+ # @return [Integer]
5576
+ #
5086
5577
  # @!attribute [rw] password
5087
5578
  # Endpoint connection password.
5088
5579
  # @return [String]
@@ -5091,6 +5582,17 @@ module Aws::DatabaseMigrationService
5091
5582
  # Endpoint TCP port.
5092
5583
  # @return [Integer]
5093
5584
  #
5585
+ # @!attribute [rw] read_table_space_name
5586
+ # When set to `true`, this attribute supports tablespace replication.
5587
+ # @return [Boolean]
5588
+ #
5589
+ # @!attribute [rw] retry_interval
5590
+ # Specifies the number of seconds that the system waits before
5591
+ # resending a query.
5592
+ #
5593
+ # Example: `retryInterval=6;`
5594
+ # @return [Integer]
5595
+ #
5094
5596
  # @!attribute [rw] security_db_encryption
5095
5597
  # For an Oracle source endpoint, the transparent data encryption (TDE)
5096
5598
  # password required by AWM DMS to access Oracle redo logs encrypted by
@@ -5134,12 +5636,32 @@ module Aws::DatabaseMigrationService
5134
5636
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OracleSettings AWS API Documentation
5135
5637
  #
5136
5638
  class OracleSettings < Struct.new(
5639
+ :add_supplemental_logging,
5640
+ :archived_log_dest_id,
5641
+ :additional_archived_log_dest_id,
5642
+ :allow_select_nested_tables,
5643
+ :parallel_asm_read_threads,
5644
+ :read_ahead_blocks,
5645
+ :access_alternate_directly,
5646
+ :use_alternate_folder_for_online,
5647
+ :oracle_path_prefix,
5648
+ :use_path_prefix,
5649
+ :replace_path_prefix,
5650
+ :enable_homogenous_tablespace,
5651
+ :direct_path_no_log,
5652
+ :archived_logs_only,
5137
5653
  :asm_password,
5138
5654
  :asm_server,
5139
5655
  :asm_user,
5656
+ :char_length_semantics,
5140
5657
  :database_name,
5658
+ :direct_path_parallel_load,
5659
+ :fail_tasks_on_lob_truncation,
5660
+ :number_datatype_scale,
5141
5661
  :password,
5142
5662
  :port,
5663
+ :read_table_space_name,
5664
+ :retry_interval,
5143
5665
  :security_db_encryption,
5144
5666
  :security_db_encryption_name,
5145
5667
  :server_name,
@@ -5287,17 +5809,70 @@ module Aws::DatabaseMigrationService
5287
5809
  # data as a hash:
5288
5810
  #
5289
5811
  # {
5812
+ # after_connect_script: "String",
5813
+ # capture_ddls: false,
5814
+ # max_file_size: 1,
5290
5815
  # database_name: "String",
5816
+ # ddl_artifacts_schema: "String",
5817
+ # execute_timeout: 1,
5818
+ # fail_tasks_on_lob_truncation: false,
5291
5819
  # password: "SecretString",
5292
5820
  # port: 1,
5293
5821
  # server_name: "String",
5294
5822
  # username: "String",
5823
+ # slot_name: "String",
5295
5824
  # }
5296
5825
  #
5826
+ # @!attribute [rw] after_connect_script
5827
+ # For use with change data capture (CDC) only, this attribute has AWS
5828
+ # DMS bypass foreign keys and user triggers to reduce the time it
5829
+ # takes to bulk load data.
5830
+ #
5831
+ # Example: `afterConnectScript=SET session_replication_role='replica'`
5832
+ # @return [String]
5833
+ #
5834
+ # @!attribute [rw] capture_ddls
5835
+ # To capture DDL events, AWS DMS creates various artifacts in the
5836
+ # PostgreSQL database when the task starts. You can later remove these
5837
+ # artifacts.
5838
+ #
5839
+ # If this value is set to `N`, you don't have to create tables or
5840
+ # triggers on the source database.
5841
+ # @return [Boolean]
5842
+ #
5843
+ # @!attribute [rw] max_file_size
5844
+ # Specifies the maximum size (in KB) of any .csv file used to transfer
5845
+ # data to PostgreSQL.
5846
+ #
5847
+ # Example: `maxFileSize=512`
5848
+ # @return [Integer]
5849
+ #
5297
5850
  # @!attribute [rw] database_name
5298
5851
  # Database name for the endpoint.
5299
5852
  # @return [String]
5300
5853
  #
5854
+ # @!attribute [rw] ddl_artifacts_schema
5855
+ # The schema in which the operational DDL database artifacts are
5856
+ # created.
5857
+ #
5858
+ # Example: `ddlArtifactsSchema=xyzddlschema;`
5859
+ # @return [String]
5860
+ #
5861
+ # @!attribute [rw] execute_timeout
5862
+ # Sets the client statement timeout for the PostgreSQL instance, in
5863
+ # seconds. The default value is 60 seconds.
5864
+ #
5865
+ # Example: `executeTimeout=100;`
5866
+ # @return [Integer]
5867
+ #
5868
+ # @!attribute [rw] fail_tasks_on_lob_truncation
5869
+ # When set to `true`, this value causes a task to fail if the actual
5870
+ # size of a LOB column is greater than the specified `LobMaxSize`.
5871
+ #
5872
+ # If task is set to Limited LOB mode and this option is set to true,
5873
+ # the task fails instead of truncating the LOB data.
5874
+ # @return [Boolean]
5875
+ #
5301
5876
  # @!attribute [rw] password
5302
5877
  # Endpoint connection password.
5303
5878
  # @return [String]
@@ -5314,14 +5889,29 @@ module Aws::DatabaseMigrationService
5314
5889
  # Endpoint connection user name.
5315
5890
  # @return [String]
5316
5891
  #
5892
+ # @!attribute [rw] slot_name
5893
+ # Sets the name of a previously created logical replication slot for a
5894
+ # CDC load of the PostgreSQL source instance.
5895
+ #
5896
+ # When used with the AWS DMS API `CdcStartPosition` request parameter,
5897
+ # this attribute also enables using native CDC start points.
5898
+ # @return [String]
5899
+ #
5317
5900
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/PostgreSQLSettings AWS API Documentation
5318
5901
  #
5319
5902
  class PostgreSQLSettings < Struct.new(
5903
+ :after_connect_script,
5904
+ :capture_ddls,
5905
+ :max_file_size,
5320
5906
  :database_name,
5907
+ :ddl_artifacts_schema,
5908
+ :execute_timeout,
5909
+ :fail_tasks_on_lob_truncation,
5321
5910
  :password,
5322
5911
  :port,
5323
5912
  :server_name,
5324
- :username)
5913
+ :username,
5914
+ :slot_name)
5325
5915
  SENSITIVE = [:password]
5326
5916
  include Aws::Structure
5327
5917
  end
@@ -5375,11 +5965,14 @@ module Aws::DatabaseMigrationService
5375
5965
  # after_connect_script: "String",
5376
5966
  # bucket_folder: "String",
5377
5967
  # bucket_name: "String",
5968
+ # case_sensitive_names: false,
5969
+ # comp_update: false,
5378
5970
  # connection_timeout: 1,
5379
5971
  # database_name: "String",
5380
5972
  # date_format: "String",
5381
5973
  # empty_as_null: false,
5382
5974
  # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
5975
+ # explicit_ids: false,
5383
5976
  # file_transfer_upload_streams: 1,
5384
5977
  # load_timeout: 1,
5385
5978
  # max_file_size: 1,
@@ -5415,14 +6008,43 @@ module Aws::DatabaseMigrationService
5415
6008
  # @return [String]
5416
6009
  #
5417
6010
  # @!attribute [rw] bucket_folder
5418
- # The location where the comma-separated value (.csv) files are stored
5419
- # before being uploaded to the S3 bucket.
6011
+ # An S3 folder where the comma-separated-value (.csv) files are stored
6012
+ # before being uploaded to the target Redshift cluster.
6013
+ #
6014
+ # For full load mode, AWS DMS converts source records into .csv files
6015
+ # and loads them to the *BucketFolder/TableID* path. AWS DMS uses the
6016
+ # Redshift `COPY` command to upload the .csv files to the target
6017
+ # table. The files are deleted once the `COPY` operation has finished.
6018
+ # For more information, see [Amazon Redshift Database Developer
6019
+ # Guide][1]
6020
+ #
6021
+ # For change-data-capture (CDC) mode, AWS DMS creates a *NetChanges*
6022
+ # table, and loads the .csv files to this
6023
+ # *BucketFolder/NetChangesTableID* path.
6024
+ #
6025
+ #
6026
+ #
6027
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html
5420
6028
  # @return [String]
5421
6029
  #
5422
6030
  # @!attribute [rw] bucket_name
5423
- # The name of the S3 bucket you want to use
6031
+ # The name of the intermediate S3 bucket used to store .csv files
6032
+ # before uploading data to Redshift.
5424
6033
  # @return [String]
5425
6034
  #
6035
+ # @!attribute [rw] case_sensitive_names
6036
+ # If Amazon Redshift is configured to support case sensitive schema
6037
+ # names, set `CaseSensitiveNames` to `true`. The default is `false`.
6038
+ # @return [Boolean]
6039
+ #
6040
+ # @!attribute [rw] comp_update
6041
+ # If you set `CompUpdate` to `true` Amazon Redshift applies automatic
6042
+ # compression if the table is empty. This applies even if the table
6043
+ # columns already have encodings other than `RAW`. If you set
6044
+ # `CompUpdate` to `false`, automatic compression is disabled and
6045
+ # existing column encodings aren't changed. The default is `true`.
6046
+ # @return [Boolean]
6047
+ #
5426
6048
  # @!attribute [rw] connection_timeout
5427
6049
  # A value that sets the amount of time to wait (in milliseconds)
5428
6050
  # before timing out, beginning from when you initially establish a
@@ -5455,26 +6077,53 @@ module Aws::DatabaseMigrationService
5455
6077
  # The type of server-side encryption that you want to use for your
5456
6078
  # data. This encryption type is part of the endpoint settings or the
5457
6079
  # extra connections attributes for Amazon S3. You can choose either
5458
- # `SSE_S3` (the default) or `SSE_KMS`. To use `SSE_S3`, create an AWS
5459
- # Identity and Access Management (IAM) role with a policy that allows
5460
- # `"arn:aws:s3:::*"` to use the following actions: `"s3:PutObject",
5461
- # "s3:ListBucket"`
6080
+ # `SSE_S3` (the default) or `SSE_KMS`.
6081
+ #
6082
+ # <note markdown="1"> For the `ModifyEndpoint` operation, you can change the existing
6083
+ # value of the `EncryptionMode` parameter from `SSE_KMS` to `SSE_S3`.
6084
+ # But you can’t change the existing value from `SSE_S3` to `SSE_KMS`.
6085
+ #
6086
+ # </note>
6087
+ #
6088
+ # To use `SSE_S3`, create an AWS Identity and Access Management (IAM)
6089
+ # role with a policy that allows `"arn:aws:s3:::*"` to use the
6090
+ # following actions: `"s3:PutObject", "s3:ListBucket"`
5462
6091
  # @return [String]
5463
6092
  #
6093
+ # @!attribute [rw] explicit_ids
6094
+ # This setting is only valid for a full-load migration task. Set
6095
+ # `ExplicitIds` to `true` to have tables with `IDENTITY` columns
6096
+ # override their auto-generated values with explicit values loaded
6097
+ # from the source data files used to populate the tables. The default
6098
+ # is `false`.
6099
+ # @return [Boolean]
6100
+ #
5464
6101
  # @!attribute [rw] file_transfer_upload_streams
5465
6102
  # The number of threads used to upload a single file. This parameter
5466
6103
  # accepts a value from 1 through 64. It defaults to 10.
6104
+ #
6105
+ # The number of parallel streams used to upload a single .csv file to
6106
+ # an S3 bucket using S3 Multipart Upload. For more information, see
6107
+ # [Multipart upload overview][1].
6108
+ #
6109
+ # `FileTransferUploadStreams` accepts a value from 1 through 64. It
6110
+ # defaults to 10.
6111
+ #
6112
+ #
6113
+ #
6114
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
5467
6115
  # @return [Integer]
5468
6116
  #
5469
6117
  # @!attribute [rw] load_timeout
5470
- # The amount of time to wait (in milliseconds) before timing out,
5471
- # beginning from when you begin loading.
6118
+ # The amount of time to wait (in milliseconds) before timing out of
6119
+ # operations performed by AWS DMS on a Redshift cluster, such as
6120
+ # Redshift COPY, INSERT, DELETE, and UPDATE.
5472
6121
  # @return [Integer]
5473
6122
  #
5474
6123
  # @!attribute [rw] max_file_size
5475
- # The maximum size (in KB) of any .csv file used to transfer data to
5476
- # Amazon Redshift. This accepts a value from 1 through 1,048,576. It
5477
- # defaults to 32,768 KB (32 MB).
6124
+ # The maximum size (in KB) of any .csv file used to load data on an S3
6125
+ # bucket and transfer data to Amazon Redshift. It defaults to
6126
+ # 1048576KB (1 GB).
5478
6127
  # @return [Integer]
5479
6128
  #
5480
6129
  # @!attribute [rw] password
@@ -5550,9 +6199,9 @@ module Aws::DatabaseMigrationService
5550
6199
  # @return [String]
5551
6200
  #
5552
6201
  # @!attribute [rw] write_buffer_size
5553
- # The size of the write buffer to use in rows. Valid values range from
5554
- # 1 through 2,048. The default is 1,024. Use this setting to tune
5555
- # performance.
6202
+ # The size (in KB) of the in-memory file write buffer used when
6203
+ # generating .csv files on the local disk at the DMS replication
6204
+ # instance. The default value is 1000 (buffer size is 1000KB).
5556
6205
  # @return [Integer]
5557
6206
  #
5558
6207
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RedshiftSettings AWS API Documentation
@@ -5562,11 +6211,14 @@ module Aws::DatabaseMigrationService
5562
6211
  :after_connect_script,
5563
6212
  :bucket_folder,
5564
6213
  :bucket_name,
6214
+ :case_sensitive_names,
6215
+ :comp_update,
5565
6216
  :connection_timeout,
5566
6217
  :database_name,
5567
6218
  :date_format,
5568
6219
  :empty_as_null,
5569
6220
  :encryption_mode,
6221
+ :explicit_ids,
5570
6222
  :file_transfer_upload_streams,
5571
6223
  :load_timeout,
5572
6224
  :max_file_size,
@@ -5751,8 +6403,8 @@ module Aws::DatabaseMigrationService
5751
6403
  # Provides information that defines a replication instance.
5752
6404
  #
5753
6405
  # @!attribute [rw] replication_instance_identifier
5754
- # The replication instance identifier. This parameter is stored as a
5755
- # lowercase string.
6406
+ # The replication instance identifier is a required parameter. This
6407
+ # parameter is stored as a lowercase string.
5756
6408
  #
5757
6409
  # Constraints:
5758
6410
  #
@@ -5767,7 +6419,9 @@ module Aws::DatabaseMigrationService
5767
6419
  #
5768
6420
  # @!attribute [rw] replication_instance_class
5769
6421
  # The compute and memory capacity of the replication instance as
5770
- # defined for the specified replication instance class.
6422
+ # defined for the specified replication instance class. It is a
6423
+ # required parameter, although a defualt value is pre-selected in the
6424
+ # DMS console.
5771
6425
  #
5772
6426
  # For more information on the settings and capacities for the
5773
6427
  # available replication instance classes, see [ Selecting the right
@@ -5831,7 +6485,9 @@ module Aws::DatabaseMigrationService
5831
6485
  # @return [Types::ReplicationSubnetGroup]
5832
6486
  #
5833
6487
  # @!attribute [rw] preferred_maintenance_window
5834
- # The maintenance window times for the replication instance.
6488
+ # The maintenance window times for the replication instance. Any
6489
+ # pending upgrades to the replication instance are performed during
6490
+ # this time.
5835
6491
  # @return [String]
5836
6492
  #
5837
6493
  # @!attribute [rw] pending_modified_values
@@ -5846,6 +6502,13 @@ module Aws::DatabaseMigrationService
5846
6502
  #
5847
6503
  # @!attribute [rw] engine_version
5848
6504
  # The engine version number of the replication instance.
6505
+ #
6506
+ # If an engine version number is not specified when a replication
6507
+ # instance is created, the default is the latest engine version
6508
+ # available.
6509
+ #
6510
+ # When modifying a major engine version of an instance, also set
6511
+ # `AllowMajorVersionUpgrade` to `true`.
5849
6512
  # @return [String]
5850
6513
  #
5851
6514
  # @!attribute [rw] auto_minor_version_upgrade
@@ -5962,8 +6625,12 @@ module Aws::DatabaseMigrationService
5962
6625
  end
5963
6626
 
5964
6627
  # Provides information about the values of pending modifications to a
5965
- # replication instance. This data type is an object of the
5966
- # `ReplicationInstance` user-defined data type.
6628
+ # replication instance. This data type is an object of the [
6629
+ # `ReplicationInstance` ][1] user-defined data type.
6630
+ #
6631
+ #
6632
+ #
6633
+ # [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_ReplicationInstance.html
5967
6634
  #
5968
6635
  # @!attribute [rw] replication_instance_class
5969
6636
  # The compute and memory capacity of the replication instance as
@@ -6005,7 +6672,7 @@ module Aws::DatabaseMigrationService
6005
6672
  end
6006
6673
 
6007
6674
  # Describes a subnet group in response to a request by the
6008
- # `DescribeReplicationSubnetGroup` operation.
6675
+ # `DescribeReplicationSubnetGroups` operation.
6009
6676
  #
6010
6677
  # @!attribute [rw] replication_subnet_group_identifier
6011
6678
  # The identifier of the replication instance subnet group.
@@ -6099,8 +6766,7 @@ module Aws::DatabaseMigrationService
6099
6766
  # @return [String]
6100
6767
  #
6101
6768
  # @!attribute [rw] last_failure_message
6102
- # The last error (failure) message generated for the replication
6103
- # instance.
6769
+ # The last error (failure) message generated for the replication task.
6104
6770
  # @return [String]
6105
6771
  #
6106
6772
  # @!attribute [rw] stop_reason
@@ -6150,10 +6816,10 @@ module Aws::DatabaseMigrationService
6150
6816
  # stop. The value can be either server time or commit time.
6151
6817
  #
6152
6818
  # Server time example: --cdc-stop-position
6153
- # “server\_time:3018-02-09T12:12:12”
6819
+ # “server\_time:2018-02-09T12:12:12”
6154
6820
  #
6155
6821
  # Commit time example: --cdc-stop-position “commit\_time:
6156
- # 3018-02-09T12:12:12 “
6822
+ # 2018-02-09T12:12:12 “
6157
6823
  # @return [String]
6158
6824
  #
6159
6825
  # @!attribute [rw] recovery_checkpoint
@@ -6632,24 +7298,29 @@ module Aws::DatabaseMigrationService
6632
7298
  # timestamp_column_name: "String",
6633
7299
  # parquet_timestamp_in_millisecond: false,
6634
7300
  # cdc_inserts_and_updates: false,
7301
+ # date_partition_enabled: false,
7302
+ # date_partition_sequence: "YYYYMMDD", # accepts YYYYMMDD, YYYYMMDDHH, YYYYMM, MMYYYYDD, DDMMYYYY
7303
+ # date_partition_delimiter: "SLASH", # accepts SLASH, UNDERSCORE, DASH, NONE
6635
7304
  # }
6636
7305
  #
6637
7306
  # @!attribute [rw] service_access_role_arn
6638
7307
  # The Amazon Resource Name (ARN) used by the service access IAM role.
7308
+ # It is a required parameter that enables DMS to write and read
7309
+ # objects from an 3S bucket.
6639
7310
  # @return [String]
6640
7311
  #
6641
7312
  # @!attribute [rw] external_table_definition
6642
- # The external table definition.
7313
+ # Specifies how tables are defined in the S3 source files only.
6643
7314
  # @return [String]
6644
7315
  #
6645
7316
  # @!attribute [rw] csv_row_delimiter
6646
- # The delimiter used to separate rows in the source files. The default
6647
- # is a carriage return (`\n`).
7317
+ # The delimiter used to separate rows in the .csv file for both source
7318
+ # and target. The default is a carriage return (`\n`).
6648
7319
  # @return [String]
6649
7320
  #
6650
7321
  # @!attribute [rw] csv_delimiter
6651
- # The delimiter used to separate columns in the source files. The
6652
- # default is a comma.
7322
+ # The delimiter used to separate columns in the .csv file for both
7323
+ # source and target. The default is a comma.
6653
7324
  # @return [String]
6654
7325
  #
6655
7326
  # @!attribute [rw] bucket_folder
@@ -6674,9 +7345,17 @@ module Aws::DatabaseMigrationService
6674
7345
  # The type of server-side encryption that you want to use for your
6675
7346
  # data. This encryption type is part of the endpoint settings or the
6676
7347
  # extra connections attributes for Amazon S3. You can choose either
6677
- # `SSE_S3` (the default) or `SSE_KMS`. To use `SSE_S3`, you need an
6678
- # AWS Identity and Access Management (IAM) role with permission to
6679
- # allow `"arn:aws:s3:::dms-*"` to use the following actions:
7348
+ # `SSE_S3` (the default) or `SSE_KMS`.
7349
+ #
7350
+ # <note markdown="1"> For the `ModifyEndpoint` operation, you can change the existing
7351
+ # value of the `EncryptionMode` parameter from `SSE_KMS` to `SSE_S3`.
7352
+ # But you can’t change the existing value from `SSE_S3` to `SSE_KMS`.
7353
+ #
7354
+ # </note>
7355
+ #
7356
+ # To use `SSE_S3`, you need an AWS Identity and Access Management
7357
+ # (IAM) role with permission to allow `"arn:aws:s3:::dms-*"` to use
7358
+ # the following actions:
6680
7359
  #
6681
7360
  # * `s3:CreateBucket`
6682
7361
  #
@@ -6912,8 +7591,9 @@ module Aws::DatabaseMigrationService
6912
7591
  # A value that enables a change data capture (CDC) load to write
6913
7592
  # INSERT and UPDATE operations to .csv or .parquet (columnar storage)
6914
7593
  # output files. The default setting is `false`, but when
6915
- # `CdcInsertsAndUpdates` is set to `true`or `y`, INSERTs and UPDATEs
6916
- # from the source database are migrated to the .csv or .parquet file.
7594
+ # `CdcInsertsAndUpdates` is set to `true` or `y`, only INSERTs and
7595
+ # UPDATEs from the source database are migrated to the .csv or
7596
+ # .parquet file.
6917
7597
  #
6918
7598
  # For .csv file format only, how these INSERTs and UPDATEs are
6919
7599
  # recorded depends on the value of the `IncludeOpForFullLoad`
@@ -6941,6 +7621,29 @@ module Aws::DatabaseMigrationService
6941
7621
  # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring.InsertOps
6942
7622
  # @return [Boolean]
6943
7623
  #
7624
+ # @!attribute [rw] date_partition_enabled
7625
+ # When set to `true`, this parameter partitions S3 bucket folders
7626
+ # based on transaction commit dates. The default value is `false`. For
7627
+ # more information about date-based folder partitoning, see [Using
7628
+ # date-based folder partitioning][1]
7629
+ #
7630
+ #
7631
+ #
7632
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib
7633
+ # @return [Boolean]
7634
+ #
7635
+ # @!attribute [rw] date_partition_sequence
7636
+ # Identifies the sequence of the date format to use during folder
7637
+ # partitioning. The default value is `YYYYMMDD`. Use this parameter
7638
+ # when `DatePartitionedEnabled` is set to `true`.
7639
+ # @return [String]
7640
+ #
7641
+ # @!attribute [rw] date_partition_delimiter
7642
+ # Specifies a date separating delimiter to use during folder
7643
+ # partitioning. The default value is `SLASH`. Use this parameter when
7644
+ # `DatePartitionedEnabled` is set to `true`.
7645
+ # @return [String]
7646
+ #
6944
7647
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings AWS API Documentation
6945
7648
  #
6946
7649
  class S3Settings < Struct.new(
@@ -6964,7 +7667,10 @@ module Aws::DatabaseMigrationService
6964
7667
  :cdc_inserts_only,
6965
7668
  :timestamp_column_name,
6966
7669
  :parquet_timestamp_in_millisecond,
6967
- :cdc_inserts_and_updates)
7670
+ :cdc_inserts_and_updates,
7671
+ :date_partition_enabled,
7672
+ :date_partition_sequence,
7673
+ :date_partition_delimiter)
6968
7674
  SENSITIVE = []
6969
7675
  include Aws::Structure
6970
7676
  end
@@ -7162,7 +7868,7 @@ module Aws::DatabaseMigrationService
7162
7868
  # @return [String]
7163
7869
  #
7164
7870
  # @!attribute [rw] start_replication_task_type
7165
- # The type of replication task.
7871
+ # A type of replication task.
7166
7872
  # @return [String]
7167
7873
  #
7168
7874
  # @!attribute [rw] cdc_start_time
@@ -7208,10 +7914,10 @@ module Aws::DatabaseMigrationService
7208
7914
  # stop. The value can be either server time or commit time.
7209
7915
  #
7210
7916
  # Server time example: --cdc-stop-position
7211
- # “server\_time:3018-02-09T12:12:12”
7917
+ # “server\_time:2018-02-09T12:12:12”
7212
7918
  #
7213
7919
  # Commit time example: --cdc-stop-position “commit\_time:
7214
- # 3018-02-09T12:12:12 “
7920
+ # 2018-02-09T12:12:12 “
7215
7921
  # @return [String]
7216
7922
  #
7217
7923
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage AWS API Documentation
@@ -7282,7 +7988,7 @@ module Aws::DatabaseMigrationService
7282
7988
  include Aws::Structure
7283
7989
  end
7284
7990
 
7285
- # In response to a request by the `DescribeReplicationSubnetGroup`
7991
+ # In response to a request by the `DescribeReplicationSubnetGroups`
7286
7992
  # operation, this object identifies a subnet by its given Availability
7287
7993
  # Zone, subnet identifier, and status.
7288
7994
  #
@@ -7497,29 +8203,37 @@ module Aws::DatabaseMigrationService
7497
8203
  #
7498
8204
  # This parameter can have the following values:
7499
8205
  #
7500
- # * Not enabled - Validation isn't enabled for the table in the
8206
+ # * Not enabled Validation isn't enabled for the table in the
7501
8207
  # migration task.
7502
8208
  #
7503
- # * Pending records - Some records in the table are waiting for
8209
+ # * Pending records Some records in the table are waiting for
7504
8210
  # validation.
7505
8211
  #
7506
- # * Mismatched records - Some records in the table don't match
8212
+ # * Mismatched records Some records in the table don't match
7507
8213
  # between the source and target.
7508
8214
  #
7509
- # * Suspended records - Some records in the table couldn't be
8215
+ # * Suspended records Some records in the table couldn't be
7510
8216
  # validated.
7511
8217
  #
7512
- # * No primary key - The table couldn't be validated because it has
7513
- # no primary key.
8218
+ # * No primary key The table couldn't be validated because it has no
8219
+ # primary key.
7514
8220
  #
7515
- # * Table error - The table wasn't validated because it's in an
8221
+ # * Table error The table wasn't validated because it's in an
7516
8222
  # error state and some data wasn't migrated.
7517
8223
  #
7518
- # * Validated - All rows in the table are validated. If the table is
8224
+ # * Validated All rows in the table are validated. If the table is
7519
8225
  # updated, the status can change from Validated.
7520
8226
  #
7521
- # * Error - The table couldn't be validated because of an unexpected
8227
+ # * Error The table couldn't be validated because of an unexpected
7522
8228
  # error.
8229
+ #
8230
+ # * Pending validation – The table is waiting validation.
8231
+ #
8232
+ # * Preparing table – Preparing the table enabled in the migration
8233
+ # task for validation.
8234
+ #
8235
+ # * Pending revalidation – All rows in the table are pending
8236
+ # validation after the table was updated.
7523
8237
  # @return [String]
7524
8238
  #
7525
8239
  # @!attribute [rw] validation_state_details