aws-sdk-databasemigrationservice 1.80.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -436,6 +436,108 @@ module Aws::DatabaseMigrationService
436
436
  include Aws::Structure
437
437
  end
438
438
 
439
+ # Configuration parameters for provisioning an DMS Serverless
440
+ # replication.
441
+ #
442
+ # @!attribute [rw] availability_zone
443
+ # The Availability Zone where the DMS Serverless replication using
444
+ # this configuration will run. The default value is a random,
445
+ # system-chosen Availability Zone in the configuration's Amazon Web
446
+ # Services Region, for example, `"us-west-2"`. You can't set this
447
+ # parameter if the `MultiAZ` parameter is set to `true`.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] dns_name_servers
451
+ # A list of custom DNS name servers supported for the DMS Serverless
452
+ # replication to access your source or target database. This list
453
+ # overrides the default name servers supported by the DMS Serverless
454
+ # replication. You can specify a comma-separated list of internet
455
+ # addresses for up to four DNS name servers. For example:
456
+ # `"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"`
457
+ # @return [String]
458
+ #
459
+ # @!attribute [rw] kms_key_id
460
+ # An Key Management Service (KMS) key Amazon Resource Name (ARN) that
461
+ # is used to encrypt the data during DMS Serverless replication.
462
+ #
463
+ # If you don't specify a value for the `KmsKeyId` parameter, DMS uses
464
+ # your default encryption key.
465
+ #
466
+ # KMS creates the default encryption key for your Amazon Web Services
467
+ # account. Your Amazon Web Services account has a different default
468
+ # encryption key for each Amazon Web Services Region.
469
+ # @return [String]
470
+ #
471
+ # @!attribute [rw] max_capacity_units
472
+ # Specifies the maximum value of the DMS capacity units (DCUs) for
473
+ # which a given DMS Serverless replication can be provisioned. A
474
+ # single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed.
475
+ # The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192,
476
+ # 256, and 384. So, the maximum value that you can specify for DMS
477
+ # Serverless is 384. The `MaxCapacityUnits` parameter is the only DCU
478
+ # parameter you are required to specify.
479
+ # @return [Integer]
480
+ #
481
+ # @!attribute [rw] min_capacity_units
482
+ # Specifies the minimum value of the DMS capacity units (DCUs) for
483
+ # which a given DMS Serverless replication can be provisioned. A
484
+ # single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed.
485
+ # The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192,
486
+ # 256, and 384. So, the minimum DCU value that you can specify for DMS
487
+ # Serverless is 2. You don't have to specify a value for the
488
+ # `MinCapacityUnits` parameter. If you don't set this value, DMS
489
+ # scans the current activity of available source tables to identify an
490
+ # optimum setting for this parameter. If there is no current source
491
+ # activity or DMS can't otherwise identify a more appropriate value,
492
+ # it sets this parameter to the minimum DCU value allowed, 2.
493
+ # @return [Integer]
494
+ #
495
+ # @!attribute [rw] multi_az
496
+ # Specifies whether the DMS Serverless replication is a Multi-AZ
497
+ # deployment. You can't set the `AvailabilityZone` parameter if the
498
+ # `MultiAZ` parameter is set to `true`.
499
+ # @return [Boolean]
500
+ #
501
+ # @!attribute [rw] preferred_maintenance_window
502
+ # The weekly time range during which system maintenance can occur for
503
+ # the DMS Serverless replication, in Universal Coordinated Time (UTC).
504
+ # The format is `ddd:hh24:mi-ddd:hh24:mi`.
505
+ #
506
+ # The default is a 30-minute window selected at random from an 8-hour
507
+ # block of time per Amazon Web Services Region. This maintenance
508
+ # occurs on a random day of the week. Valid values for days of the
509
+ # week include `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, and `Sun`.
510
+ #
511
+ # Constraints include a minimum 30-minute window.
512
+ # @return [String]
513
+ #
514
+ # @!attribute [rw] replication_subnet_group_id
515
+ # Specifies a subnet group identifier to associate with the DMS
516
+ # Serverless replication.
517
+ # @return [String]
518
+ #
519
+ # @!attribute [rw] vpc_security_group_ids
520
+ # Specifies the virtual private cloud (VPC) security group to use with
521
+ # the DMS Serverless replication. The VPC security group must work
522
+ # with the VPC containing the replication.
523
+ # @return [Array<String>]
524
+ #
525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ComputeConfig AWS API Documentation
526
+ #
527
+ class ComputeConfig < Struct.new(
528
+ :availability_zone,
529
+ :dns_name_servers,
530
+ :kms_key_id,
531
+ :max_capacity_units,
532
+ :min_capacity_units,
533
+ :multi_az,
534
+ :preferred_maintenance_window,
535
+ :replication_subnet_group_id,
536
+ :vpc_security_group_ids)
537
+ SENSITIVE = []
538
+ include Aws::Structure
539
+ end
540
+
439
541
  # Status of the connection between an endpoint and a replication
440
542
  # instance, including Amazon Resource Names (ARNs) and the last error
441
543
  # message issued.
@@ -783,6 +885,10 @@ module Aws::DatabaseMigrationService
783
885
  # Settings in JSON format for the source GCP MySQL endpoint.
784
886
  # @return [Types::GcpMySQLSettings]
785
887
  #
888
+ # @!attribute [rw] timestream_settings
889
+ # Settings in JSON format for the target Amazon Timestream endpoint.
890
+ # @return [Types::TimestreamSettings]
891
+ #
786
892
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage AWS API Documentation
787
893
  #
788
894
  class CreateEndpointMessage < Struct.new(
@@ -819,7 +925,8 @@ module Aws::DatabaseMigrationService
819
925
  :resource_identifier,
820
926
  :doc_db_settings,
821
927
  :redis_settings,
822
- :gcp_my_sql_settings)
928
+ :gcp_my_sql_settings,
929
+ :timestream_settings)
823
930
  SENSITIVE = [:password]
824
931
  include Aws::Structure
825
932
  end
@@ -977,6 +1084,128 @@ module Aws::DatabaseMigrationService
977
1084
  include Aws::Structure
978
1085
  end
979
1086
 
1087
+ # @!attribute [rw] replication_config_identifier
1088
+ # A unique identifier that you want to use to create a
1089
+ # `ReplicationConfigArn` that is returned as part of the output from
1090
+ # this action. You can then pass this output `ReplicationConfigArn` as
1091
+ # the value of the `ReplicationConfigArn` option for other actions to
1092
+ # identify both DMS Serverless replications and replication
1093
+ # configurations that you want those actions to operate on. For some
1094
+ # actions, you can also use either this unique identifier or a
1095
+ # corresponding ARN in action filters to identify the specific
1096
+ # replication and replication configuration to operate on.
1097
+ # @return [String]
1098
+ #
1099
+ # @!attribute [rw] source_endpoint_arn
1100
+ # The Amazon Resource Name (ARN) of the source endpoint for this DMS
1101
+ # Serverless replication configuration.
1102
+ # @return [String]
1103
+ #
1104
+ # @!attribute [rw] target_endpoint_arn
1105
+ # The Amazon Resource Name (ARN) of the target endpoint for this DMS
1106
+ # serverless replication configuration.
1107
+ # @return [String]
1108
+ #
1109
+ # @!attribute [rw] compute_config
1110
+ # Configuration parameters for provisioning an DMS Serverless
1111
+ # replication.
1112
+ # @return [Types::ComputeConfig]
1113
+ #
1114
+ # @!attribute [rw] replication_type
1115
+ # The type of DMS Serverless replication to provision using this
1116
+ # replication configuration.
1117
+ #
1118
+ # Possible values:
1119
+ #
1120
+ # * `"full-load"`
1121
+ #
1122
+ # * `"cdc"`
1123
+ #
1124
+ # * `"full-load-and-cdc"`
1125
+ # @return [String]
1126
+ #
1127
+ # @!attribute [rw] table_mappings
1128
+ # JSON table mappings for DMS Serverless replications that are
1129
+ # provisioned using this replication configuration. For more
1130
+ # information, see [ Specifying table selection and transformations
1131
+ # rules using JSON][1].
1132
+ #
1133
+ #
1134
+ #
1135
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.html
1136
+ # @return [String]
1137
+ #
1138
+ # @!attribute [rw] replication_settings
1139
+ # Optional JSON settings for DMS Serverless replications that are
1140
+ # provisioned using this replication configuration. For example, see [
1141
+ # Change processing tuning settings][1].
1142
+ #
1143
+ #
1144
+ #
1145
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html
1146
+ # @return [String]
1147
+ #
1148
+ # @!attribute [rw] supplemental_settings
1149
+ # Optional JSON settings for specifying supplemental data. For more
1150
+ # information, see [ Specifying supplemental data for task
1151
+ # settings][1].
1152
+ #
1153
+ #
1154
+ #
1155
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html
1156
+ # @return [String]
1157
+ #
1158
+ # @!attribute [rw] resource_identifier
1159
+ # Optional unique value or name that you set for a given resource that
1160
+ # can be used to construct an Amazon Resource Name (ARN) for that
1161
+ # resource. For more information, see [ Fine-grained access control
1162
+ # using resource names and tags][1].
1163
+ #
1164
+ #
1165
+ #
1166
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess
1167
+ # @return [String]
1168
+ #
1169
+ # @!attribute [rw] tags
1170
+ # One or more optional tags associated with resources used by the DMS
1171
+ # Serverless replication. For more information, see [ Tagging
1172
+ # resources in Database Migration Service][1].
1173
+ #
1174
+ #
1175
+ #
1176
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tagging.html
1177
+ # @return [Array<Types::Tag>]
1178
+ #
1179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationConfigMessage AWS API Documentation
1180
+ #
1181
+ class CreateReplicationConfigMessage < Struct.new(
1182
+ :replication_config_identifier,
1183
+ :source_endpoint_arn,
1184
+ :target_endpoint_arn,
1185
+ :compute_config,
1186
+ :replication_type,
1187
+ :table_mappings,
1188
+ :replication_settings,
1189
+ :supplemental_settings,
1190
+ :resource_identifier,
1191
+ :tags)
1192
+ SENSITIVE = []
1193
+ include Aws::Structure
1194
+ end
1195
+
1196
+ # @!attribute [rw] replication_config
1197
+ # Configuration parameters returned from the DMS Serverless
1198
+ # replication after it is created.
1199
+ # @return [Types::ReplicationConfig]
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationConfigResponse AWS API Documentation
1202
+ #
1203
+ class CreateReplicationConfigResponse < Struct.new(
1204
+ :replication_config)
1205
+ SENSITIVE = []
1206
+ include Aws::Structure
1207
+ end
1208
+
980
1209
  # @!attribute [rw] replication_instance_identifier
981
1210
  # The replication instance identifier. This parameter is stored as a
982
1211
  # lowercase string.
@@ -1004,12 +1233,14 @@ module Aws::DatabaseMigrationService
1004
1233
  # `"dms.c4.large"`.
1005
1234
  #
1006
1235
  # For more information on the settings and capacities for the
1007
- # available replication instance classes, see [ Selecting the right
1008
- # DMS replication instance for your migration][1].
1236
+ # available replication instance classes, see [ Choosing the right DMS
1237
+ # replication instance][1]; and, [Selecting the best size for a
1238
+ # replication instance][2].
1009
1239
  #
1010
1240
  #
1011
1241
  #
1012
- # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth
1242
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.Types.html
1243
+ # [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_BestPractices.SizingReplicationInstance.html
1013
1244
  # @return [String]
1014
1245
  #
1015
1246
  # @!attribute [rw] vpc_security_group_ids
@@ -1022,7 +1253,7 @@ module Aws::DatabaseMigrationService
1022
1253
  # The Availability Zone where the replication instance will be
1023
1254
  # created. The default value is a random, system-chosen Availability
1024
1255
  # Zone in the endpoint's Amazon Web Services Region, for example:
1025
- # `us-east-1d`
1256
+ # `us-east-1d`.
1026
1257
  # @return [String]
1027
1258
  #
1028
1259
  # @!attribute [rw] replication_subnet_group_identifier
@@ -1633,6 +1864,31 @@ module Aws::DatabaseMigrationService
1633
1864
  include Aws::Structure
1634
1865
  end
1635
1866
 
1867
+ # @!attribute [rw] replication_config_arn
1868
+ # The replication config to delete.
1869
+ # @return [String]
1870
+ #
1871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationConfigMessage AWS API Documentation
1872
+ #
1873
+ class DeleteReplicationConfigMessage < Struct.new(
1874
+ :replication_config_arn)
1875
+ SENSITIVE = []
1876
+ include Aws::Structure
1877
+ end
1878
+
1879
+ # @!attribute [rw] replication_config
1880
+ # Configuration parameters returned for the DMS Serverless replication
1881
+ # after it is deleted.
1882
+ # @return [Types::ReplicationConfig]
1883
+ #
1884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationConfigResponse AWS API Documentation
1885
+ #
1886
+ class DeleteReplicationConfigResponse < Struct.new(
1887
+ :replication_config)
1888
+ SENSITIVE = []
1889
+ include Aws::Structure
1890
+ end
1891
+
1636
1892
  # @!attribute [rw] replication_instance_arn
1637
1893
  # The Amazon Resource Name (ARN) of the replication instance to be
1638
1894
  # deleted.
@@ -1943,7 +2199,7 @@ module Aws::DatabaseMigrationService
1943
2199
  end
1944
2200
 
1945
2201
  # @!attribute [rw] engine_name
1946
- # The databse engine used for your source or target endpoint.
2202
+ # The database engine used for your source or target endpoint.
1947
2203
  # @return [String]
1948
2204
  #
1949
2205
  # @!attribute [rw] max_records
@@ -2783,6 +3039,53 @@ module Aws::DatabaseMigrationService
2783
3039
  include Aws::Structure
2784
3040
  end
2785
3041
 
3042
+ # @!attribute [rw] filters
3043
+ # Filters applied to the replication configs.
3044
+ # @return [Array<Types::Filter>]
3045
+ #
3046
+ # @!attribute [rw] max_records
3047
+ # The maximum number of records to include in the response. If more
3048
+ # records exist than the specified `MaxRecords` value, a pagination
3049
+ # token called a marker is included in the response so that the
3050
+ # remaining results can be retrieved.
3051
+ # @return [Integer]
3052
+ #
3053
+ # @!attribute [rw] marker
3054
+ # An optional pagination token provided by a previous request. If this
3055
+ # parameter is specified, the response includes only records beyond
3056
+ # the marker, up to the value specified by `MaxRecords`.
3057
+ # @return [String]
3058
+ #
3059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationConfigsMessage AWS API Documentation
3060
+ #
3061
+ class DescribeReplicationConfigsMessage < Struct.new(
3062
+ :filters,
3063
+ :max_records,
3064
+ :marker)
3065
+ SENSITIVE = []
3066
+ include Aws::Structure
3067
+ end
3068
+
3069
+ # @!attribute [rw] marker
3070
+ # An optional pagination token provided by a previous request. If this
3071
+ # parameter is specified, the response includes only records beyond
3072
+ # the marker, up to the value specified by `MaxRecords`.
3073
+ # @return [String]
3074
+ #
3075
+ # @!attribute [rw] replication_configs
3076
+ # Returned configuration parameters that describe each provisioned DMS
3077
+ # Serverless replication.
3078
+ # @return [Array<Types::ReplicationConfig>]
3079
+ #
3080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationConfigsResponse AWS API Documentation
3081
+ #
3082
+ class DescribeReplicationConfigsResponse < Struct.new(
3083
+ :marker,
3084
+ :replication_configs)
3085
+ SENSITIVE = []
3086
+ include Aws::Structure
3087
+ end
3088
+
2786
3089
  # @!attribute [rw] replication_instance_arn
2787
3090
  # The Amazon Resource Name (ARN) of the replication instance.
2788
3091
  # @return [String]
@@ -2946,6 +3249,63 @@ module Aws::DatabaseMigrationService
2946
3249
  include Aws::Structure
2947
3250
  end
2948
3251
 
3252
+ # @!attribute [rw] replication_config_arn
3253
+ # The replication config to describe.
3254
+ # @return [String]
3255
+ #
3256
+ # @!attribute [rw] max_records
3257
+ # The maximum number of records to include in the response. If more
3258
+ # records exist than the specified `MaxRecords` value, a pagination
3259
+ # token called a marker is included in the response so that the
3260
+ # remaining results can be retrieved.
3261
+ # @return [Integer]
3262
+ #
3263
+ # @!attribute [rw] marker
3264
+ # An optional pagination token provided by a previous request. If this
3265
+ # parameter is specified, the response includes only records beyond
3266
+ # the marker, up to the value specified by `MaxRecords`.
3267
+ # @return [String]
3268
+ #
3269
+ # @!attribute [rw] filters
3270
+ # Filters applied to the replication table statistics.
3271
+ # @return [Array<Types::Filter>]
3272
+ #
3273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTableStatisticsMessage AWS API Documentation
3274
+ #
3275
+ class DescribeReplicationTableStatisticsMessage < Struct.new(
3276
+ :replication_config_arn,
3277
+ :max_records,
3278
+ :marker,
3279
+ :filters)
3280
+ SENSITIVE = []
3281
+ include Aws::Structure
3282
+ end
3283
+
3284
+ # @!attribute [rw] replication_config_arn
3285
+ # The Amazon Resource Name of the replication config.
3286
+ # @return [String]
3287
+ #
3288
+ # @!attribute [rw] marker
3289
+ # An optional pagination token provided by a previous request. If this
3290
+ # parameter is specified, the response includes only records beyond
3291
+ # the marker, up to the value specified by `MaxRecords`.
3292
+ # @return [String]
3293
+ #
3294
+ # @!attribute [rw] replication_table_statistics
3295
+ # Returns table statistics on the replication, including table name,
3296
+ # rows inserted, rows updated, and rows deleted.
3297
+ # @return [Array<Types::TableStatistics>]
3298
+ #
3299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTableStatisticsResponse AWS API Documentation
3300
+ #
3301
+ class DescribeReplicationTableStatisticsResponse < Struct.new(
3302
+ :replication_config_arn,
3303
+ :marker,
3304
+ :replication_table_statistics)
3305
+ SENSITIVE = []
3306
+ include Aws::Structure
3307
+ end
3308
+
2949
3309
  # @!attribute [rw] replication_task_arn
2950
3310
  # The Amazon Resource Name (ARN) string that uniquely identifies the
2951
3311
  # task. When this input parameter is specified, the API returns only
@@ -3167,6 +3527,52 @@ module Aws::DatabaseMigrationService
3167
3527
  include Aws::Structure
3168
3528
  end
3169
3529
 
3530
+ # @!attribute [rw] filters
3531
+ # Filters applied to the replications.
3532
+ # @return [Array<Types::Filter>]
3533
+ #
3534
+ # @!attribute [rw] max_records
3535
+ # The maximum number of records to include in the response. If more
3536
+ # records exist than the specified `MaxRecords` value, a pagination
3537
+ # token called a marker is included in the response so that the
3538
+ # remaining results can be retrieved.
3539
+ # @return [Integer]
3540
+ #
3541
+ # @!attribute [rw] marker
3542
+ # An optional pagination token provided by a previous request. If this
3543
+ # parameter is specified, the response includes only records beyond
3544
+ # the marker, up to the value specified by `MaxRecords`.
3545
+ # @return [String]
3546
+ #
3547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationsMessage AWS API Documentation
3548
+ #
3549
+ class DescribeReplicationsMessage < Struct.new(
3550
+ :filters,
3551
+ :max_records,
3552
+ :marker)
3553
+ SENSITIVE = []
3554
+ include Aws::Structure
3555
+ end
3556
+
3557
+ # @!attribute [rw] marker
3558
+ # An optional pagination token provided by a previous request. If this
3559
+ # parameter is specified, the response includes only records beyond
3560
+ # the marker, up to the value specified by `MaxRecords`.
3561
+ # @return [String]
3562
+ #
3563
+ # @!attribute [rw] replications
3564
+ # The replication descriptions.
3565
+ # @return [Array<Types::Replication>]
3566
+ #
3567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationsResponse AWS API Documentation
3568
+ #
3569
+ class DescribeReplicationsResponse < Struct.new(
3570
+ :marker,
3571
+ :replications)
3572
+ SENSITIVE = []
3573
+ include Aws::Structure
3574
+ end
3575
+
3170
3576
  # @!attribute [rw] endpoint_arn
3171
3577
  # The Amazon Resource Name (ARN) string that uniquely identifies the
3172
3578
  # endpoint.
@@ -3388,6 +3794,24 @@ module Aws::DatabaseMigrationService
3388
3794
  # connection details.
3389
3795
  # @return [String]
3390
3796
  #
3797
+ # @!attribute [rw] use_update_look_up
3798
+ # If `true`, DMS retrieves the entire document from the DocumentDB
3799
+ # source during migration. This may cause a migration failure if the
3800
+ # server response exceeds bandwidth limits. To fetch only updates and
3801
+ # deletes during migration, set this parameter to `false`.
3802
+ # @return [Boolean]
3803
+ #
3804
+ # @!attribute [rw] replicate_shard_collections
3805
+ # If `true`, DMS replicates data to shard collections. DMS only uses
3806
+ # this setting if the target endpoint is a DocumentDB elastic cluster.
3807
+ #
3808
+ # When this setting is `true`, note the following:
3809
+ #
3810
+ # * You must set `TargetTablePrepMode` to `nothing`.
3811
+ #
3812
+ # * DMS automatically sets `useUpdateLookup` to `false`.
3813
+ # @return [Boolean]
3814
+ #
3391
3815
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DocDbSettings AWS API Documentation
3392
3816
  #
3393
3817
  class DocDbSettings < Struct.new(
@@ -3401,7 +3825,9 @@ module Aws::DatabaseMigrationService
3401
3825
  :docs_to_investigate,
3402
3826
  :kms_key_id,
3403
3827
  :secrets_manager_access_role_arn,
3404
- :secrets_manager_secret_id)
3828
+ :secrets_manager_secret_id,
3829
+ :use_update_look_up,
3830
+ :replicate_shard_collections)
3405
3831
  SENSITIVE = [:password]
3406
3832
  include Aws::Structure
3407
3833
  end
@@ -3658,6 +4084,11 @@ module Aws::DatabaseMigrationService
3658
4084
  # Settings in JSON format for the source GCP MySQL endpoint.
3659
4085
  # @return [Types::GcpMySQLSettings]
3660
4086
  #
4087
+ # @!attribute [rw] timestream_settings
4088
+ # The settings for the Amazon Timestream target endpoint. For more
4089
+ # information, see the `TimestreamSettings` structure.
4090
+ # @return [Types::TimestreamSettings]
4091
+ #
3661
4092
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint AWS API Documentation
3662
4093
  #
3663
4094
  class Endpoint < Struct.new(
@@ -3695,7 +4126,8 @@ module Aws::DatabaseMigrationService
3695
4126
  :ibm_db_2_settings,
3696
4127
  :doc_db_settings,
3697
4128
  :redis_settings,
3698
- :gcp_my_sql_settings)
4129
+ :gcp_my_sql_settings,
4130
+ :timestream_settings)
3699
4131
  SENSITIVE = []
3700
4132
  include Aws::Structure
3701
4133
  end
@@ -4306,7 +4738,7 @@ module Aws::DatabaseMigrationService
4306
4738
  include Aws::Structure
4307
4739
  end
4308
4740
 
4309
- # The subnet provided is invalid.
4741
+ # The subnet provided isn't valid.
4310
4742
  #
4311
4743
  # @!attribute [rw] message
4312
4744
  # @return [String]
@@ -4562,6 +4994,11 @@ module Aws::DatabaseMigrationService
4562
4994
  # to `PLAIN.`
4563
4995
  # @return [String]
4564
4996
  #
4997
+ # @!attribute [rw] ssl_endpoint_identification_algorithm
4998
+ # Sets hostname verification for the certificate. This setting is
4999
+ # supported in DMS version 3.5.1 and later.
5000
+ # @return [String]
5001
+ #
4565
5002
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KafkaSettings AWS API Documentation
4566
5003
  #
4567
5004
  class KafkaSettings < Struct.new(
@@ -4583,7 +5020,8 @@ module Aws::DatabaseMigrationService
4583
5020
  :sasl_username,
4584
5021
  :sasl_password,
4585
5022
  :no_hex_prefix,
4586
- :sasl_mechanism)
5023
+ :sasl_mechanism,
5024
+ :ssl_endpoint_identification_algorithm)
4587
5025
  SENSITIVE = [:ssl_client_key_password, :sasl_password]
4588
5026
  include Aws::Structure
4589
5027
  end
@@ -5218,6 +5656,10 @@ module Aws::DatabaseMigrationService
5218
5656
  # Settings in JSON format for the source GCP MySQL endpoint.
5219
5657
  # @return [Types::GcpMySQLSettings]
5220
5658
  #
5659
+ # @!attribute [rw] timestream_settings
5660
+ # Settings in JSON format for the target Amazon Timestream endpoint.
5661
+ # @return [Types::TimestreamSettings]
5662
+ #
5221
5663
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage AWS API Documentation
5222
5664
  #
5223
5665
  class ModifyEndpointMessage < Struct.new(
@@ -5253,7 +5695,8 @@ module Aws::DatabaseMigrationService
5253
5695
  :doc_db_settings,
5254
5696
  :redis_settings,
5255
5697
  :exact_settings,
5256
- :gcp_my_sql_settings)
5698
+ :gcp_my_sql_settings,
5699
+ :timestream_settings)
5257
5700
  SENSITIVE = [:password]
5258
5701
  include Aws::Structure
5259
5702
  end
@@ -5321,14 +5764,82 @@ module Aws::DatabaseMigrationService
5321
5764
  include Aws::Structure
5322
5765
  end
5323
5766
 
5324
- # @!attribute [rw] replication_instance_arn
5325
- # The Amazon Resource Name (ARN) of the replication instance.
5767
+ # @!attribute [rw] replication_config_arn
5768
+ # The Amazon Resource Name of the replication to modify.
5326
5769
  # @return [String]
5327
5770
  #
5328
- # @!attribute [rw] allocated_storage
5329
- # The amount of storage (in gigabytes) to be allocated for the
5330
- # replication instance.
5331
- # @return [Integer]
5771
+ # @!attribute [rw] replication_config_identifier
5772
+ # The new replication config to apply to the replication.
5773
+ # @return [String]
5774
+ #
5775
+ # @!attribute [rw] replication_type
5776
+ # The type of replication.
5777
+ # @return [String]
5778
+ #
5779
+ # @!attribute [rw] table_mappings
5780
+ # Table mappings specified in the replication.
5781
+ # @return [String]
5782
+ #
5783
+ # @!attribute [rw] replication_settings
5784
+ # The settings for the replication.
5785
+ # @return [String]
5786
+ #
5787
+ # @!attribute [rw] supplemental_settings
5788
+ # Additional settings for the replication.
5789
+ # @return [String]
5790
+ #
5791
+ # @!attribute [rw] compute_config
5792
+ # Configuration parameters for provisioning an DMS Serverless
5793
+ # replication.
5794
+ # @return [Types::ComputeConfig]
5795
+ #
5796
+ # @!attribute [rw] source_endpoint_arn
5797
+ # The Amazon Resource Name (ARN) of the source endpoint for this DMS
5798
+ # serverless replication configuration.
5799
+ # @return [String]
5800
+ #
5801
+ # @!attribute [rw] target_endpoint_arn
5802
+ # The Amazon Resource Name (ARN) of the target endpoint for this DMS
5803
+ # serverless replication configuration.
5804
+ # @return [String]
5805
+ #
5806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationConfigMessage AWS API Documentation
5807
+ #
5808
+ class ModifyReplicationConfigMessage < Struct.new(
5809
+ :replication_config_arn,
5810
+ :replication_config_identifier,
5811
+ :replication_type,
5812
+ :table_mappings,
5813
+ :replication_settings,
5814
+ :supplemental_settings,
5815
+ :compute_config,
5816
+ :source_endpoint_arn,
5817
+ :target_endpoint_arn)
5818
+ SENSITIVE = []
5819
+ include Aws::Structure
5820
+ end
5821
+
5822
+ # @!attribute [rw] replication_config
5823
+ # Information about the serverless replication config that was
5824
+ # modified.
5825
+ # @return [Types::ReplicationConfig]
5826
+ #
5827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationConfigResponse AWS API Documentation
5828
+ #
5829
+ class ModifyReplicationConfigResponse < Struct.new(
5830
+ :replication_config)
5831
+ SENSITIVE = []
5832
+ include Aws::Structure
5833
+ end
5834
+
5835
+ # @!attribute [rw] replication_instance_arn
5836
+ # The Amazon Resource Name (ARN) of the replication instance.
5837
+ # @return [String]
5838
+ #
5839
+ # @!attribute [rw] allocated_storage
5840
+ # The amount of storage (in gigabytes) to be allocated for the
5841
+ # replication instance.
5842
+ # @return [Integer]
5332
5843
  #
5333
5844
  # @!attribute [rw] apply_immediately
5334
5845
  # Indicates whether the changes should be applied immediately or
@@ -5729,6 +6240,24 @@ module Aws::DatabaseMigrationService
5729
6240
  # details.
5730
6241
  # @return [String]
5731
6242
  #
6243
+ # @!attribute [rw] use_update_look_up
6244
+ # If `true`, DMS retrieves the entire document from the MongoDB source
6245
+ # during migration. This may cause a migration failure if the server
6246
+ # response exceeds bandwidth limits. To fetch only updates and deletes
6247
+ # during migration, set this parameter to `false`.
6248
+ # @return [Boolean]
6249
+ #
6250
+ # @!attribute [rw] replicate_shard_collections
6251
+ # If `true`, DMS replicates data to shard collections. DMS only uses
6252
+ # this setting if the target endpoint is a DocumentDB elastic cluster.
6253
+ #
6254
+ # When this setting is `true`, note the following:
6255
+ #
6256
+ # * You must set `TargetTablePrepMode` to `nothing`.
6257
+ #
6258
+ # * DMS automatically sets `useUpdateLookup` to `false`.
6259
+ # @return [Boolean]
6260
+ #
5732
6261
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings AWS API Documentation
5733
6262
  #
5734
6263
  class MongoDbSettings < Struct.new(
@@ -5745,7 +6274,9 @@ module Aws::DatabaseMigrationService
5745
6274
  :auth_source,
5746
6275
  :kms_key_id,
5747
6276
  :secrets_manager_access_role_arn,
5748
- :secrets_manager_secret_id)
6277
+ :secrets_manager_secret_id,
6278
+ :use_update_look_up,
6279
+ :replicate_shard_collections)
5749
6280
  SENSITIVE = [:password]
5750
6281
  include Aws::Structure
5751
6282
  end
@@ -6415,6 +6946,20 @@ module Aws::DatabaseMigrationService
6415
6946
  # UTC value.
6416
6947
  # @return [Boolean]
6417
6948
  #
6949
+ # @!attribute [rw] open_transaction_window
6950
+ # The timeframe in minutes to check for open transactions for a
6951
+ # CDC-only task.
6952
+ #
6953
+ # You can specify an integer value between 0 (the default) and 240
6954
+ # (the maximum).
6955
+ #
6956
+ # <note markdown="1"> This parameter is only valid in DMS version 3.5.0 and later. DMS
6957
+ # supports a window of up to 9.5 hours including the value for
6958
+ # `OpenTransactionWindow`.
6959
+ #
6960
+ # </note>
6961
+ # @return [Integer]
6962
+ #
6418
6963
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OracleSettings AWS API Documentation
6419
6964
  #
6420
6965
  class OracleSettings < Struct.new(
@@ -6459,7 +7004,8 @@ module Aws::DatabaseMigrationService
6459
7004
  :secrets_manager_oracle_asm_access_role_arn,
6460
7005
  :secrets_manager_oracle_asm_secret_id,
6461
7006
  :trim_space_in_char,
6462
- :convert_timestamp_with_zone_to_utc)
7007
+ :convert_timestamp_with_zone_to_utc,
7008
+ :open_transaction_window)
6463
7009
  SENSITIVE = [:asm_password, :password, :security_db_encryption]
6464
7010
  include Aws::Structure
6465
7011
  end
@@ -6705,17 +7251,17 @@ module Aws::DatabaseMigrationService
6705
7251
  # `CdcStartPosition` setting, DMS raises an error.
6706
7252
  #
6707
7253
  # For more information about setting the `CdcStartPosition` request
6708
- # parameter, see [Determining a CDC native start
6709
- # point](dms/latest/userguide/CHAP_Task.CDC.html#CHAP_Task.CDC.StartPoint.Native)
6710
- # in the *Database Migration Service User Guide*. For more information
6711
- # about using `CdcStartPosition`, see [CreateReplicationTask][1],
6712
- # [StartReplicationTask][2], and [ModifyReplicationTask][3].
7254
+ # parameter, see [Determining a CDC native start point][1] in the
7255
+ # *Database Migration Service User Guide*. For more information about
7256
+ # using `CdcStartPosition`, see [CreateReplicationTask][2],
7257
+ # [StartReplicationTask][3], and [ModifyReplicationTask][4].
6713
7258
  #
6714
7259
  #
6715
7260
  #
6716
- # [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationTask.html
6717
- # [2]: https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html
6718
- # [3]: https://docs.aws.amazon.com/dms/latest/APIReference/API_ModifyReplicationTask.html
7261
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Task.CDC.html#CHAP_Task.CDC.StartPoint.Native
7262
+ # [2]: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationTask.html
7263
+ # [3]: https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html
7264
+ # [4]: https://docs.aws.amazon.com/dms/latest/APIReference/API_ModifyReplicationTask.html
6719
7265
  # @return [String]
6720
7266
  #
6721
7267
  # @!attribute [rw] plugin_name
@@ -6764,6 +7310,14 @@ module Aws::DatabaseMigrationService
6764
7310
  # default, PostgreSQL migrates booleans as `varchar(5)`.
6765
7311
  # @return [Boolean]
6766
7312
  #
7313
+ # @!attribute [rw] map_jsonb_as_clob
7314
+ # When true, DMS migrates JSONB values as CLOB.
7315
+ # @return [Boolean]
7316
+ #
7317
+ # @!attribute [rw] map_long_varchar_as
7318
+ # When true, DMS migrates LONG values as VARCHAR.
7319
+ # @return [String]
7320
+ #
6767
7321
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/PostgreSQLSettings AWS API Documentation
6768
7322
  #
6769
7323
  class PostgreSQLSettings < Struct.new(
@@ -6786,11 +7340,54 @@ module Aws::DatabaseMigrationService
6786
7340
  :secrets_manager_access_role_arn,
6787
7341
  :secrets_manager_secret_id,
6788
7342
  :trim_space_in_char,
6789
- :map_boolean_as_boolean)
7343
+ :map_boolean_as_boolean,
7344
+ :map_jsonb_as_clob,
7345
+ :map_long_varchar_as)
6790
7346
  SENSITIVE = [:password]
6791
7347
  include Aws::Structure
6792
7348
  end
6793
7349
 
7350
+ # Information about provisioning resources for an DMS serverless
7351
+ # replication.
7352
+ #
7353
+ # @!attribute [rw] provision_state
7354
+ # The current provisioning state
7355
+ # @return [String]
7356
+ #
7357
+ # @!attribute [rw] provisioned_capacity_units
7358
+ # The number of capacity units the replication is using.
7359
+ # @return [Integer]
7360
+ #
7361
+ # @!attribute [rw] date_provisioned
7362
+ # The timestamp when DMS provisioned replication resources.
7363
+ # @return [Time]
7364
+ #
7365
+ # @!attribute [rw] is_new_provisioning_available
7366
+ # Whether the new provisioning is available to the replication.
7367
+ # @return [Boolean]
7368
+ #
7369
+ # @!attribute [rw] date_new_provisioning_data_available
7370
+ # The timestamp when provisioning became available.
7371
+ # @return [Time]
7372
+ #
7373
+ # @!attribute [rw] reason_for_new_provisioning_data
7374
+ # A message describing the reason that DMS provisioned new resources
7375
+ # for the serverless replication.
7376
+ # @return [String]
7377
+ #
7378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ProvisionData AWS API Documentation
7379
+ #
7380
+ class ProvisionData < Struct.new(
7381
+ :provision_state,
7382
+ :provisioned_capacity_units,
7383
+ :date_provisioned,
7384
+ :is_new_provisioning_available,
7385
+ :date_new_provisioning_data_available,
7386
+ :reason_for_new_provisioning_data)
7387
+ SENSITIVE = []
7388
+ include Aws::Structure
7389
+ end
7390
+
6794
7391
  # Provides information that describes the configuration of the
6795
7392
  # recommended target engine on Amazon RDS.
6796
7393
  #
@@ -6838,6 +7435,10 @@ module Aws::DatabaseMigrationService
6838
7435
  # deployments. Valid values include `"MULTI_AZ"` and `"SINGLE_AZ"`.
6839
7436
  # @return [String]
6840
7437
  #
7438
+ # @!attribute [rw] engine_version
7439
+ # Describes the recommended target Amazon RDS engine version.
7440
+ # @return [String]
7441
+ #
6841
7442
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RdsConfiguration AWS API Documentation
6842
7443
  #
6843
7444
  class RdsConfiguration < Struct.new(
@@ -6848,7 +7449,8 @@ module Aws::DatabaseMigrationService
6848
7449
  :storage_type,
6849
7450
  :storage_size,
6850
7451
  :storage_iops,
6851
- :deployment_option)
7452
+ :deployment_option,
7453
+ :engine_version)
6852
7454
  SENSITIVE = []
6853
7455
  include Aws::Structure
6854
7456
  end
@@ -6906,6 +7508,10 @@ module Aws::DatabaseMigrationService
6906
7508
  # `"SINGLE_AZ"` for Single-AZ deployments.
6907
7509
  # @return [String]
6908
7510
  #
7511
+ # @!attribute [rw] engine_version
7512
+ # The required target Amazon RDS engine version.
7513
+ # @return [String]
7514
+ #
6909
7515
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RdsRequirements AWS API Documentation
6910
7516
  #
6911
7517
  class RdsRequirements < Struct.new(
@@ -6914,7 +7520,8 @@ module Aws::DatabaseMigrationService
6914
7520
  :instance_memory,
6915
7521
  :storage_size,
6916
7522
  :storage_iops,
6917
- :deployment_option)
7523
+ :deployment_option,
7524
+ :engine_version)
6918
7525
  SENSITIVE = []
6919
7526
  include Aws::Structure
6920
7527
  end
@@ -7481,6 +8088,45 @@ module Aws::DatabaseMigrationService
7481
8088
  include Aws::Structure
7482
8089
  end
7483
8090
 
8091
+ # @!attribute [rw] replication_config_arn
8092
+ # The Amazon Resource Name of the replication config for which to
8093
+ # reload tables.
8094
+ # @return [String]
8095
+ #
8096
+ # @!attribute [rw] tables_to_reload
8097
+ # The list of tables to reload.
8098
+ # @return [Array<Types::TableToReload>]
8099
+ #
8100
+ # @!attribute [rw] reload_option
8101
+ # Options for reload. Specify `data-reload` to reload the data and
8102
+ # re-validate it if validation is enabled. Specify `validate-only` to
8103
+ # re-validate the table. This option applies only when validation is
8104
+ # enabled for the replication.
8105
+ # @return [String]
8106
+ #
8107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadReplicationTablesMessage AWS API Documentation
8108
+ #
8109
+ class ReloadReplicationTablesMessage < Struct.new(
8110
+ :replication_config_arn,
8111
+ :tables_to_reload,
8112
+ :reload_option)
8113
+ SENSITIVE = []
8114
+ include Aws::Structure
8115
+ end
8116
+
8117
+ # @!attribute [rw] replication_config_arn
8118
+ # The Amazon Resource Name of the replication config for which to
8119
+ # reload tables.
8120
+ # @return [String]
8121
+ #
8122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadReplicationTablesResponse AWS API Documentation
8123
+ #
8124
+ class ReloadReplicationTablesResponse < Struct.new(
8125
+ :replication_config_arn)
8126
+ SENSITIVE = []
8127
+ include Aws::Structure
8128
+ end
8129
+
7484
8130
  # @!attribute [rw] replication_task_arn
7485
8131
  # The Amazon Resource Name (ARN) of the replication task.
7486
8132
  # @return [String]
@@ -7546,6 +8192,227 @@ module Aws::DatabaseMigrationService
7546
8192
  #
7547
8193
  class RemoveTagsFromResourceResponse < Aws::EmptyStructure; end
7548
8194
 
8195
+ # Provides information that describes a serverless replication created
8196
+ # by the `CreateReplication` operation.
8197
+ #
8198
+ # @!attribute [rw] replication_config_identifier
8199
+ # The identifier for the `ReplicationConfig` associated with the
8200
+ # replication.
8201
+ # @return [String]
8202
+ #
8203
+ # @!attribute [rw] replication_config_arn
8204
+ # The Amazon Resource Name for the `ReplicationConfig` associated with
8205
+ # the replication.
8206
+ # @return [String]
8207
+ #
8208
+ # @!attribute [rw] source_endpoint_arn
8209
+ # The Amazon Resource Name for an existing `Endpoint` the serverless
8210
+ # replication uses for its data source.
8211
+ # @return [String]
8212
+ #
8213
+ # @!attribute [rw] target_endpoint_arn
8214
+ # The Amazon Resource Name for an existing `Endpoint` the serverless
8215
+ # replication uses for its data target.
8216
+ # @return [String]
8217
+ #
8218
+ # @!attribute [rw] replication_type
8219
+ # The type of the serverless replication.
8220
+ # @return [String]
8221
+ #
8222
+ # @!attribute [rw] status
8223
+ # The current status of the serverless replication.
8224
+ # @return [String]
8225
+ #
8226
+ # @!attribute [rw] provision_data
8227
+ # Information about provisioning resources for an DMS serverless
8228
+ # replication.
8229
+ # @return [Types::ProvisionData]
8230
+ #
8231
+ # @!attribute [rw] stop_reason
8232
+ # The reason the replication task was stopped. This response parameter
8233
+ # can return one of the following values:
8234
+ #
8235
+ # * `"Stop Reason NORMAL"`
8236
+ #
8237
+ # * `"Stop Reason RECOVERABLE_ERROR"`
8238
+ #
8239
+ # * `"Stop Reason FATAL_ERROR"`
8240
+ #
8241
+ # * `"Stop Reason FULL_LOAD_ONLY_FINISHED"`
8242
+ #
8243
+ # * `"Stop Reason STOPPED_AFTER_FULL_LOAD"` – Full load completed,
8244
+ # with cached changes not applied
8245
+ #
8246
+ # * `"Stop Reason STOPPED_AFTER_CACHED_EVENTS"` – Full load completed,
8247
+ # with cached changes applied
8248
+ #
8249
+ # * `"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"`
8250
+ #
8251
+ # * `"Stop Reason STOPPED_AFTER_DDL_APPLY"` – User-defined stop task
8252
+ # after DDL applied
8253
+ #
8254
+ # * `"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"`
8255
+ #
8256
+ # * `"Stop Reason STOPPED_DUE_TO_LOW_DISK"`
8257
+ #
8258
+ # * `"Stop Reason STOPPED_AT_SERVER_TIME"` – User-defined server time
8259
+ # for stopping task
8260
+ #
8261
+ # * `"Stop Reason STOPPED_AT_COMMIT_TIME"` – User-defined commit time
8262
+ # for stopping task
8263
+ #
8264
+ # * `"Stop Reason RECONFIGURATION_RESTART"`
8265
+ #
8266
+ # * `"Stop Reason RECYCLE_TASK"`
8267
+ # @return [String]
8268
+ #
8269
+ # @!attribute [rw] failure_messages
8270
+ # Error and other information about why a serverless replication
8271
+ # failed.
8272
+ # @return [Array<String>]
8273
+ #
8274
+ # @!attribute [rw] replication_stats
8275
+ # This object provides a collection of statistics about a serverless
8276
+ # replication.
8277
+ # @return [Types::ReplicationStats]
8278
+ #
8279
+ # @!attribute [rw] start_replication_type
8280
+ # The replication type.
8281
+ # @return [String]
8282
+ #
8283
+ # @!attribute [rw] cdc_start_time
8284
+ # Indicates the start time for a change data capture (CDC) operation.
8285
+ # Use either `CdcStartTime` or `CdcStartPosition` to specify when you
8286
+ # want a CDC operation to start. Specifying both values results in an
8287
+ # error.
8288
+ # @return [Time]
8289
+ #
8290
+ # @!attribute [rw] cdc_start_position
8291
+ # Indicates the start time for a change data capture (CDC) operation.
8292
+ # Use either `CdcStartTime` or `CdcStartPosition` to specify when you
8293
+ # want a CDC operation to start. Specifying both values results in an
8294
+ # error.
8295
+ # @return [String]
8296
+ #
8297
+ # @!attribute [rw] cdc_stop_position
8298
+ # Indicates when you want a change data capture (CDC) operation to
8299
+ # stop. The value can be either server time or commit time.
8300
+ # @return [String]
8301
+ #
8302
+ # @!attribute [rw] recovery_checkpoint
8303
+ # Indicates the last checkpoint that occurred during a change data
8304
+ # capture (CDC) operation. You can provide this value to the
8305
+ # `CdcStartPosition` parameter to start a CDC operation that begins at
8306
+ # that checkpoint.
8307
+ # @return [String]
8308
+ #
8309
+ # @!attribute [rw] replication_create_time
8310
+ # The time the serverless replication was created.
8311
+ # @return [Time]
8312
+ #
8313
+ # @!attribute [rw] replication_update_time
8314
+ # The time the serverless replication was updated.
8315
+ # @return [Time]
8316
+ #
8317
+ # @!attribute [rw] replication_last_stop_time
8318
+ # The timestamp when replication was last stopped.
8319
+ # @return [Time]
8320
+ #
8321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Replication AWS API Documentation
8322
+ #
8323
+ class Replication < Struct.new(
8324
+ :replication_config_identifier,
8325
+ :replication_config_arn,
8326
+ :source_endpoint_arn,
8327
+ :target_endpoint_arn,
8328
+ :replication_type,
8329
+ :status,
8330
+ :provision_data,
8331
+ :stop_reason,
8332
+ :failure_messages,
8333
+ :replication_stats,
8334
+ :start_replication_type,
8335
+ :cdc_start_time,
8336
+ :cdc_start_position,
8337
+ :cdc_stop_position,
8338
+ :recovery_checkpoint,
8339
+ :replication_create_time,
8340
+ :replication_update_time,
8341
+ :replication_last_stop_time)
8342
+ SENSITIVE = []
8343
+ include Aws::Structure
8344
+ end
8345
+
8346
+ # This object provides configuration information about a serverless
8347
+ # replication.
8348
+ #
8349
+ # @!attribute [rw] replication_config_identifier
8350
+ # The identifier for the `ReplicationConfig` associated with the
8351
+ # replication.
8352
+ # @return [String]
8353
+ #
8354
+ # @!attribute [rw] replication_config_arn
8355
+ # The Amazon Resource Name (ARN) of this DMS Serverless replication
8356
+ # configuration.
8357
+ # @return [String]
8358
+ #
8359
+ # @!attribute [rw] source_endpoint_arn
8360
+ # The Amazon Resource Name (ARN) of the source endpoint for this DMS
8361
+ # serverless replication configuration.
8362
+ # @return [String]
8363
+ #
8364
+ # @!attribute [rw] target_endpoint_arn
8365
+ # The Amazon Resource Name (ARN) of the target endpoint for this DMS
8366
+ # serverless replication configuration.
8367
+ # @return [String]
8368
+ #
8369
+ # @!attribute [rw] replication_type
8370
+ # The type of the replication.
8371
+ # @return [String]
8372
+ #
8373
+ # @!attribute [rw] compute_config
8374
+ # Configuration parameters for provisioning an DMS serverless
8375
+ # replication.
8376
+ # @return [Types::ComputeConfig]
8377
+ #
8378
+ # @!attribute [rw] replication_settings
8379
+ # Configuration parameters for an DMS serverless replication.
8380
+ # @return [String]
8381
+ #
8382
+ # @!attribute [rw] supplemental_settings
8383
+ # Additional parameters for an DMS serverless replication.
8384
+ # @return [String]
8385
+ #
8386
+ # @!attribute [rw] table_mappings
8387
+ # Table mappings specified in the replication.
8388
+ # @return [String]
8389
+ #
8390
+ # @!attribute [rw] replication_config_create_time
8391
+ # The time the serverless replication config was created.
8392
+ # @return [Time]
8393
+ #
8394
+ # @!attribute [rw] replication_config_update_time
8395
+ # The time the serverless replication config was updated.
8396
+ # @return [Time]
8397
+ #
8398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationConfig AWS API Documentation
8399
+ #
8400
+ class ReplicationConfig < Struct.new(
8401
+ :replication_config_identifier,
8402
+ :replication_config_arn,
8403
+ :source_endpoint_arn,
8404
+ :target_endpoint_arn,
8405
+ :replication_type,
8406
+ :compute_config,
8407
+ :replication_settings,
8408
+ :supplemental_settings,
8409
+ :table_mappings,
8410
+ :replication_config_create_time,
8411
+ :replication_config_update_time)
8412
+ SENSITIVE = []
8413
+ include Aws::Structure
8414
+ end
8415
+
7549
8416
  # Provides information that defines a replication instance.
7550
8417
  #
7551
8418
  # @!attribute [rw] replication_instance_identifier
@@ -7836,6 +8703,72 @@ module Aws::DatabaseMigrationService
7836
8703
  include Aws::Structure
7837
8704
  end
7838
8705
 
8706
+ # This object provides a collection of statistics about a serverless
8707
+ # replication.
8708
+ #
8709
+ # @!attribute [rw] full_load_progress_percent
8710
+ # The percent complete for the full load serverless replication.
8711
+ # @return [Integer]
8712
+ #
8713
+ # @!attribute [rw] elapsed_time_millis
8714
+ # The elapsed time of the replication, in milliseconds.
8715
+ # @return [Integer]
8716
+ #
8717
+ # @!attribute [rw] tables_loaded
8718
+ # The number of tables loaded for this replication.
8719
+ # @return [Integer]
8720
+ #
8721
+ # @!attribute [rw] tables_loading
8722
+ # The number of tables currently loading for this replication.
8723
+ # @return [Integer]
8724
+ #
8725
+ # @!attribute [rw] tables_queued
8726
+ # The number of tables queued for this replication.
8727
+ # @return [Integer]
8728
+ #
8729
+ # @!attribute [rw] tables_errored
8730
+ # The number of errors that have occured for this replication.
8731
+ # @return [Integer]
8732
+ #
8733
+ # @!attribute [rw] fresh_start_date
8734
+ # The date the replication was started either with a fresh start or a
8735
+ # target reload.
8736
+ # @return [Time]
8737
+ #
8738
+ # @!attribute [rw] start_date
8739
+ # The date the replication is scheduled to start.
8740
+ # @return [Time]
8741
+ #
8742
+ # @!attribute [rw] stop_date
8743
+ # The date the replication was stopped.
8744
+ # @return [Time]
8745
+ #
8746
+ # @!attribute [rw] full_load_start_date
8747
+ # The date the replication full load was started.
8748
+ # @return [Time]
8749
+ #
8750
+ # @!attribute [rw] full_load_finish_date
8751
+ # The date the replication full load was finished.
8752
+ # @return [Time]
8753
+ #
8754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationStats AWS API Documentation
8755
+ #
8756
+ class ReplicationStats < Struct.new(
8757
+ :full_load_progress_percent,
8758
+ :elapsed_time_millis,
8759
+ :tables_loaded,
8760
+ :tables_loading,
8761
+ :tables_queued,
8762
+ :tables_errored,
8763
+ :fresh_start_date,
8764
+ :start_date,
8765
+ :stop_date,
8766
+ :full_load_start_date,
8767
+ :full_load_finish_date)
8768
+ SENSITIVE = []
8769
+ include Aws::Structure
8770
+ end
8771
+
7839
8772
  # Describes a subnet group in response to a request by the
7840
8773
  # `DescribeReplicationSubnetGroups` operation.
7841
8774
  #
@@ -8727,12 +9660,15 @@ module Aws::DatabaseMigrationService
8727
9660
  #
8728
9661
  # @!attribute [rw] include_op_for_full_load
8729
9662
  # A value that enables a full load to write INSERT operations to the
8730
- # comma-separated value (.csv) output files only to indicate how the
8731
- # rows were added to the source database.
9663
+ # comma-separated value (.csv) or .parquet output files only to
9664
+ # indicate how the rows were added to the source database.
8732
9665
  #
8733
9666
  # <note markdown="1"> DMS supports the `IncludeOpForFullLoad` parameter in versions 3.1.4
8734
9667
  # and later.
8735
9668
  #
9669
+ # DMS supports the use of the .parquet files with the
9670
+ # `IncludeOpForFullLoad` parameter in versions 3.4.7 and later.
9671
+ #
8736
9672
  # </note>
8737
9673
  #
8738
9674
  # For full load, records can only be inserted. By default (the `false`
@@ -8862,15 +9798,17 @@ module Aws::DatabaseMigrationService
8862
9798
  # UPDATEs from the source database are migrated to the .csv or
8863
9799
  # .parquet file.
8864
9800
  #
8865
- # For .csv file format only, how these INSERTs and UPDATEs are
8866
- # recorded depends on the value of the `IncludeOpForFullLoad`
8867
- # parameter. If `IncludeOpForFullLoad` is set to `true`, the first
8868
- # field of every CDC record is set to either `I` or `U` to indicate
8869
- # INSERT and UPDATE operations at the source. But if
8870
- # `IncludeOpForFullLoad` is set to `false`, CDC records are written
8871
- # without an indication of INSERT or UPDATE operations at the source.
8872
- # For more information about how these settings work together, see
8873
- # [Indicating Source DB Operations in Migrated S3 Data][1] in the
9801
+ # DMS supports the use of the .parquet files in versions 3.4.7 and
9802
+ # later.
9803
+ #
9804
+ # How these INSERTs and UPDATEs are recorded depends on the value of
9805
+ # the `IncludeOpForFullLoad` parameter. If `IncludeOpForFullLoad` is
9806
+ # set to `true`, the first field of every CDC record is set to either
9807
+ # `I` or `U` to indicate INSERT and UPDATE operations at the source.
9808
+ # But if `IncludeOpForFullLoad` is set to `false`, CDC records are
9809
+ # written without an indication of INSERT or UPDATE operations at the
9810
+ # source. For more information about how these settings work together,
9811
+ # see [Indicating Source DB Operations in Migrated S3 Data][1] in the
8874
9812
  # *Database Migration Service User Guide.*.
8875
9813
  #
8876
9814
  # <note markdown="1"> DMS supports the use of the `CdcInsertsAndUpdates` parameter in
@@ -9379,6 +10317,60 @@ module Aws::DatabaseMigrationService
9379
10317
  include Aws::Structure
9380
10318
  end
9381
10319
 
10320
+ # @!attribute [rw] replication_config_arn
10321
+ # The Amazon Resource Name of the replication for which to start
10322
+ # replication.
10323
+ # @return [String]
10324
+ #
10325
+ # @!attribute [rw] start_replication_type
10326
+ # The replication type.
10327
+ # @return [String]
10328
+ #
10329
+ # @!attribute [rw] cdc_start_time
10330
+ # Indicates the start time for a change data capture (CDC) operation.
10331
+ # Use either `CdcStartTime` or `CdcStartPosition` to specify when you
10332
+ # want a CDC operation to start. Specifying both values results in an
10333
+ # error.
10334
+ # @return [Time]
10335
+ #
10336
+ # @!attribute [rw] cdc_start_position
10337
+ # Indicates when you want a change data capture (CDC) operation to
10338
+ # start. Use either `CdcStartPosition` or `CdcStartTime` to specify
10339
+ # when you want a CDC operation to start. Specifying both values
10340
+ # results in an error.
10341
+ #
10342
+ # The value can be in date, checkpoint, or LSN/SCN format.
10343
+ # @return [String]
10344
+ #
10345
+ # @!attribute [rw] cdc_stop_position
10346
+ # Indicates when you want a change data capture (CDC) operation to
10347
+ # stop. The value can be either server time or commit time.
10348
+ # @return [String]
10349
+ #
10350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationMessage AWS API Documentation
10351
+ #
10352
+ class StartReplicationMessage < Struct.new(
10353
+ :replication_config_arn,
10354
+ :start_replication_type,
10355
+ :cdc_start_time,
10356
+ :cdc_start_position,
10357
+ :cdc_stop_position)
10358
+ SENSITIVE = []
10359
+ include Aws::Structure
10360
+ end
10361
+
10362
+ # @!attribute [rw] replication
10363
+ # The replication that DMS started.
10364
+ # @return [Types::Replication]
10365
+ #
10366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationResponse AWS API Documentation
10367
+ #
10368
+ class StartReplicationResponse < Struct.new(
10369
+ :replication)
10370
+ SENSITIVE = []
10371
+ include Aws::Structure
10372
+ end
10373
+
9382
10374
  # @!attribute [rw] replication_task_arn
9383
10375
  # The Amazon Resource Name (ARN) of the replication task.
9384
10376
  # @return [String]
@@ -9607,6 +10599,30 @@ module Aws::DatabaseMigrationService
9607
10599
  include Aws::Structure
9608
10600
  end
9609
10601
 
10602
+ # @!attribute [rw] replication_config_arn
10603
+ # The Amazon Resource Name of the replication to stop.
10604
+ # @return [String]
10605
+ #
10606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationMessage AWS API Documentation
10607
+ #
10608
+ class StopReplicationMessage < Struct.new(
10609
+ :replication_config_arn)
10610
+ SENSITIVE = []
10611
+ include Aws::Structure
10612
+ end
10613
+
10614
+ # @!attribute [rw] replication
10615
+ # The replication that DMS stopped.
10616
+ # @return [Types::Replication]
10617
+ #
10618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationResponse AWS API Documentation
10619
+ #
10620
+ class StopReplicationResponse < Struct.new(
10621
+ :replication)
10622
+ SENSITIVE = []
10623
+ include Aws::Structure
10624
+ end
10625
+
9610
10626
  # @!attribute [rw] replication_task_arn
9611
10627
  # The Amazon Resource Name(ARN) of the replication task to be stopped.
9612
10628
  # @return [String]
@@ -10056,6 +11072,67 @@ module Aws::DatabaseMigrationService
10056
11072
  include Aws::Structure
10057
11073
  end
10058
11074
 
11075
+ # Provides information that defines an Amazon Timestream endpoint.
11076
+ #
11077
+ # @!attribute [rw] database_name
11078
+ # Database name for the endpoint.
11079
+ # @return [String]
11080
+ #
11081
+ # @!attribute [rw] memory_duration
11082
+ # Set this attribute to specify the length of time to store all of the
11083
+ # tables in memory that are migrated into Amazon Timestream from the
11084
+ # source database. Time is measured in units of hours. When Timestream
11085
+ # data comes in, it first resides in memory for the specified
11086
+ # duration, which allows quick access to it.
11087
+ # @return [Integer]
11088
+ #
11089
+ # @!attribute [rw] magnetic_duration
11090
+ # Set this attribute to specify the default magnetic duration applied
11091
+ # to the Amazon Timestream tables in days. This is the number of days
11092
+ # that records remain in magnetic store before being discarded. For
11093
+ # more information, see [Storage][1] in the [Amazon Timestream
11094
+ # Developer Guide][2].
11095
+ #
11096
+ #
11097
+ #
11098
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html
11099
+ # [2]: https://docs.aws.amazon.com/timestream/latest/developerguide/
11100
+ # @return [Integer]
11101
+ #
11102
+ # @!attribute [rw] cdc_inserts_and_updates
11103
+ # Set this attribute to `true` to specify that DMS only applies
11104
+ # inserts and updates, and not deletes. Amazon Timestream does not
11105
+ # allow deleting records, so if this value is `false`, DMS nulls out
11106
+ # the corresponding record in the Timestream database rather than
11107
+ # deleting it.
11108
+ # @return [Boolean]
11109
+ #
11110
+ # @!attribute [rw] enable_magnetic_store_writes
11111
+ # Set this attribute to `true` to enable memory store writes. When
11112
+ # this value is `false`, DMS does not write records that are older in
11113
+ # days than the value specified in `MagneticDuration`, because Amazon
11114
+ # Timestream does not allow memory writes by default. For more
11115
+ # information, see [Storage][1] in the [Amazon Timestream Developer
11116
+ # Guide][2].
11117
+ #
11118
+ #
11119
+ #
11120
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html
11121
+ # [2]: https://docs.aws.amazon.com/timestream/latest/developerguide/
11122
+ # @return [Boolean]
11123
+ #
11124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TimestreamSettings AWS API Documentation
11125
+ #
11126
+ class TimestreamSettings < Struct.new(
11127
+ :database_name,
11128
+ :memory_duration,
11129
+ :magnetic_duration,
11130
+ :cdc_inserts_and_updates,
11131
+ :enable_magnetic_store_writes)
11132
+ SENSITIVE = []
11133
+ include Aws::Structure
11134
+ end
11135
+
10059
11136
  # @!attribute [rw] force_move
10060
11137
  # When set to true, this operation migrates DMS subscriptions for
10061
11138
  # Amazon SNS notifications no matter what your replication instance