aws-sdk-databasemigrationservice 1.0.0.rc6 → 1.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
@@ -201,6 +201,31 @@ module Aws::DatabaseMigrationService
|
|
201
201
|
# ],
|
202
202
|
# certificate_arn: "String",
|
203
203
|
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
204
|
+
# dynamo_db_settings: {
|
205
|
+
# service_access_role_arn: "String", # required
|
206
|
+
# },
|
207
|
+
# s3_settings: {
|
208
|
+
# service_access_role_arn: "String",
|
209
|
+
# external_table_definition: "String",
|
210
|
+
# csv_row_delimiter: "String",
|
211
|
+
# csv_delimiter: "String",
|
212
|
+
# bucket_folder: "String",
|
213
|
+
# bucket_name: "String",
|
214
|
+
# compression_type: "none", # accepts none, gzip
|
215
|
+
# },
|
216
|
+
# mongo_db_settings: {
|
217
|
+
# username: "String",
|
218
|
+
# password: "SecretString",
|
219
|
+
# server_name: "String",
|
220
|
+
# port: 1,
|
221
|
+
# database_name: "String",
|
222
|
+
# auth_type: "no", # accepts no, password
|
223
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
224
|
+
# nesting_level: "none", # accepts none, one
|
225
|
+
# extract_doc_id: "String",
|
226
|
+
# docs_to_investigate: "String",
|
227
|
+
# auth_source: "String",
|
228
|
+
# },
|
204
229
|
# }
|
205
230
|
#
|
206
231
|
# @!attribute [rw] endpoint_identifier
|
@@ -214,8 +239,9 @@ module Aws::DatabaseMigrationService
|
|
214
239
|
# @return [String]
|
215
240
|
#
|
216
241
|
# @!attribute [rw] engine_name
|
217
|
-
# The type of engine for the endpoint. Valid values
|
218
|
-
# ORACLE, POSTGRES, MARIADB, AURORA,
|
242
|
+
# The type of engine for the endpoint. Valid values, depending on the
|
243
|
+
# EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
|
244
|
+
# REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
|
219
245
|
# @return [String]
|
220
246
|
#
|
221
247
|
# @!attribute [rw] username
|
@@ -268,6 +294,41 @@ module Aws::DatabaseMigrationService
|
|
268
294
|
# The default value is none.
|
269
295
|
# @return [String]
|
270
296
|
#
|
297
|
+
# @!attribute [rw] dynamo_db_settings
|
298
|
+
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
|
299
|
+
# more information about the available settings, see the **Using
|
300
|
+
# Object Mapping to Migrate Data to DynamoDB** section at [ Using an
|
301
|
+
# Amazon DynamoDB Database as a Target for AWS Database Migration
|
302
|
+
# Service][1].
|
303
|
+
#
|
304
|
+
#
|
305
|
+
#
|
306
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
|
307
|
+
# @return [Types::DynamoDbSettings]
|
308
|
+
#
|
309
|
+
# @!attribute [rw] s3_settings
|
310
|
+
# Settings in JSON format for the target S3 endpoint. For more
|
311
|
+
# information about the available settings, see the **Extra Connection
|
312
|
+
# Attributes** section at [ Using Amazon S3 as a Target for AWS
|
313
|
+
# Database Migration Service][1].
|
314
|
+
#
|
315
|
+
#
|
316
|
+
#
|
317
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
|
318
|
+
# @return [Types::S3Settings]
|
319
|
+
#
|
320
|
+
# @!attribute [rw] mongo_db_settings
|
321
|
+
# Settings in JSON format for the source MongoDB endpoint. For more
|
322
|
+
# information about the available settings, see the **Configuration
|
323
|
+
# Properties When Using MongoDB as a Source for AWS Database Migration
|
324
|
+
# Service** section at [ Using Amazon S3 as a Target for AWS Database
|
325
|
+
# Migration Service][1].
|
326
|
+
#
|
327
|
+
#
|
328
|
+
#
|
329
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
|
330
|
+
# @return [Types::MongoDbSettings]
|
331
|
+
#
|
271
332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage AWS API Documentation
|
272
333
|
#
|
273
334
|
class CreateEndpointMessage < Struct.new(
|
@@ -283,7 +344,10 @@ module Aws::DatabaseMigrationService
|
|
283
344
|
:kms_key_id,
|
284
345
|
:tags,
|
285
346
|
:certificate_arn,
|
286
|
-
:ssl_mode
|
347
|
+
:ssl_mode,
|
348
|
+
:dynamo_db_settings,
|
349
|
+
:s3_settings,
|
350
|
+
:mongo_db_settings)
|
287
351
|
include Aws::Structure
|
288
352
|
end
|
289
353
|
|
@@ -298,6 +362,98 @@ module Aws::DatabaseMigrationService
|
|
298
362
|
include Aws::Structure
|
299
363
|
end
|
300
364
|
|
365
|
+
# @note When making an API call, you may pass CreateEventSubscriptionMessage
|
366
|
+
# data as a hash:
|
367
|
+
#
|
368
|
+
# {
|
369
|
+
# subscription_name: "String", # required
|
370
|
+
# sns_topic_arn: "String", # required
|
371
|
+
# source_type: "String",
|
372
|
+
# event_categories: ["String"],
|
373
|
+
# source_ids: ["String"],
|
374
|
+
# enabled: false,
|
375
|
+
# tags: [
|
376
|
+
# {
|
377
|
+
# key: "String",
|
378
|
+
# value: "String",
|
379
|
+
# },
|
380
|
+
# ],
|
381
|
+
# }
|
382
|
+
#
|
383
|
+
# @!attribute [rw] subscription_name
|
384
|
+
# The name of the DMS event notification subscription.
|
385
|
+
#
|
386
|
+
# Constraints: The name must be less than 255 characters.
|
387
|
+
# @return [String]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] sns_topic_arn
|
390
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic created for
|
391
|
+
# event notification. The ARN is created by Amazon SNS when you create
|
392
|
+
# a topic and subscribe to it.
|
393
|
+
# @return [String]
|
394
|
+
#
|
395
|
+
# @!attribute [rw] source_type
|
396
|
+
# The type of AWS DMS resource that generates the events. For example,
|
397
|
+
# if you want to be notified of events generated by a replication
|
398
|
+
# instance, you set this parameter to `replication-instance`. If this
|
399
|
+
# value is not specified, all events are returned.
|
400
|
+
#
|
401
|
+
# Valid values: replication-instance \| migration-task
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] event_categories
|
405
|
+
# A list of event categories for a source type that you want to
|
406
|
+
# subscribe to. You can see a list of the categories for a given
|
407
|
+
# source type by calling the **DescribeEventCategories** action or in
|
408
|
+
# the topic [ Working with Events and Notifications][1] in the AWS
|
409
|
+
# Database Migration Service User Guide.
|
410
|
+
#
|
411
|
+
#
|
412
|
+
#
|
413
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
|
414
|
+
# @return [Array<String>]
|
415
|
+
#
|
416
|
+
# @!attribute [rw] source_ids
|
417
|
+
# The list of identifiers of the event sources for which events will
|
418
|
+
# be returned. If not specified, then all sources are included in the
|
419
|
+
# response. An identifier must begin with a letter and must contain
|
420
|
+
# only ASCII letters, digits, and hyphens; it cannot end with a hyphen
|
421
|
+
# or contain two consecutive hyphens.
|
422
|
+
# @return [Array<String>]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] enabled
|
425
|
+
# A Boolean value; set to **true** to activate the subscription, or
|
426
|
+
# set to **false** to create the subscription but not activate it.
|
427
|
+
# @return [Boolean]
|
428
|
+
#
|
429
|
+
# @!attribute [rw] tags
|
430
|
+
# A tag to be attached to the event subscription.
|
431
|
+
# @return [Array<Types::Tag>]
|
432
|
+
#
|
433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage AWS API Documentation
|
434
|
+
#
|
435
|
+
class CreateEventSubscriptionMessage < Struct.new(
|
436
|
+
:subscription_name,
|
437
|
+
:sns_topic_arn,
|
438
|
+
:source_type,
|
439
|
+
:event_categories,
|
440
|
+
:source_ids,
|
441
|
+
:enabled,
|
442
|
+
:tags)
|
443
|
+
include Aws::Structure
|
444
|
+
end
|
445
|
+
|
446
|
+
# @!attribute [rw] event_subscription
|
447
|
+
# The event subscription that was created.
|
448
|
+
# @return [Types::EventSubscription]
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionResponse AWS API Documentation
|
451
|
+
#
|
452
|
+
class CreateEventSubscriptionResponse < Struct.new(
|
453
|
+
:event_subscription)
|
454
|
+
include Aws::Structure
|
455
|
+
end
|
456
|
+
|
301
457
|
# @note When making an API call, you may pass CreateReplicationInstanceMessage
|
302
458
|
# data as a hash:
|
303
459
|
#
|
@@ -535,7 +691,7 @@ module Aws::DatabaseMigrationService
|
|
535
691
|
#
|
536
692
|
# Constraints:
|
537
693
|
#
|
538
|
-
# * Must contain from 1 to
|
694
|
+
# * Must contain from 1 to 255 alphanumeric characters or hyphens.
|
539
695
|
#
|
540
696
|
# * First character must be a letter.
|
541
697
|
#
|
@@ -561,8 +717,10 @@ module Aws::DatabaseMigrationService
|
|
561
717
|
# @return [String]
|
562
718
|
#
|
563
719
|
# @!attribute [rw] table_mappings
|
564
|
-
#
|
565
|
-
# the path with "file://".
|
720
|
+
# When using the AWS CLI or boto3, provide the path of the JSON file
|
721
|
+
# that contains the table mappings. Precede the path with "file://".
|
722
|
+
# When working with the DMS API, provide the JSON as the parameter
|
723
|
+
# value.
|
566
724
|
#
|
567
725
|
# For example, --table-mappings file://mappingfile.json
|
568
726
|
# @return [String]
|
@@ -670,6 +828,35 @@ module Aws::DatabaseMigrationService
|
|
670
828
|
include Aws::Structure
|
671
829
|
end
|
672
830
|
|
831
|
+
# @note When making an API call, you may pass DeleteEventSubscriptionMessage
|
832
|
+
# data as a hash:
|
833
|
+
#
|
834
|
+
# {
|
835
|
+
# subscription_name: "String", # required
|
836
|
+
# }
|
837
|
+
#
|
838
|
+
# @!attribute [rw] subscription_name
|
839
|
+
# The name of the DMS event notification subscription to be deleted.
|
840
|
+
# @return [String]
|
841
|
+
#
|
842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionMessage AWS API Documentation
|
843
|
+
#
|
844
|
+
class DeleteEventSubscriptionMessage < Struct.new(
|
845
|
+
:subscription_name)
|
846
|
+
include Aws::Structure
|
847
|
+
end
|
848
|
+
|
849
|
+
# @!attribute [rw] event_subscription
|
850
|
+
# The event subscription that was deleted.
|
851
|
+
# @return [Types::EventSubscription]
|
852
|
+
#
|
853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse AWS API Documentation
|
854
|
+
#
|
855
|
+
class DeleteEventSubscriptionResponse < Struct.new(
|
856
|
+
:event_subscription)
|
857
|
+
include Aws::Structure
|
858
|
+
end
|
859
|
+
|
673
860
|
# @note When making an API call, you may pass DeleteReplicationInstanceMessage
|
674
861
|
# data as a hash:
|
675
862
|
#
|
@@ -1022,6 +1209,219 @@ module Aws::DatabaseMigrationService
|
|
1022
1209
|
include Aws::Structure
|
1023
1210
|
end
|
1024
1211
|
|
1212
|
+
# @note When making an API call, you may pass DescribeEventCategoriesMessage
|
1213
|
+
# data as a hash:
|
1214
|
+
#
|
1215
|
+
# {
|
1216
|
+
# source_type: "String",
|
1217
|
+
# filters: [
|
1218
|
+
# {
|
1219
|
+
# name: "String", # required
|
1220
|
+
# values: ["String"], # required
|
1221
|
+
# },
|
1222
|
+
# ],
|
1223
|
+
# }
|
1224
|
+
#
|
1225
|
+
# @!attribute [rw] source_type
|
1226
|
+
# The type of AWS DMS resource that generates events.
|
1227
|
+
#
|
1228
|
+
# Valid values: replication-instance \| migration-task
|
1229
|
+
# @return [String]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] filters
|
1232
|
+
# Filters applied to the action.
|
1233
|
+
# @return [Array<Types::Filter>]
|
1234
|
+
#
|
1235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage AWS API Documentation
|
1236
|
+
#
|
1237
|
+
class DescribeEventCategoriesMessage < Struct.new(
|
1238
|
+
:source_type,
|
1239
|
+
:filters)
|
1240
|
+
include Aws::Structure
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# @!attribute [rw] event_category_group_list
|
1244
|
+
# A list of event categories.
|
1245
|
+
# @return [Array<Types::EventCategoryGroup>]
|
1246
|
+
#
|
1247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesResponse AWS API Documentation
|
1248
|
+
#
|
1249
|
+
class DescribeEventCategoriesResponse < Struct.new(
|
1250
|
+
:event_category_group_list)
|
1251
|
+
include Aws::Structure
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# @note When making an API call, you may pass DescribeEventSubscriptionsMessage
|
1255
|
+
# data as a hash:
|
1256
|
+
#
|
1257
|
+
# {
|
1258
|
+
# subscription_name: "String",
|
1259
|
+
# filters: [
|
1260
|
+
# {
|
1261
|
+
# name: "String", # required
|
1262
|
+
# values: ["String"], # required
|
1263
|
+
# },
|
1264
|
+
# ],
|
1265
|
+
# max_records: 1,
|
1266
|
+
# marker: "String",
|
1267
|
+
# }
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] subscription_name
|
1270
|
+
# The name of the AWS DMS event subscription to be described.
|
1271
|
+
# @return [String]
|
1272
|
+
#
|
1273
|
+
# @!attribute [rw] filters
|
1274
|
+
# Filters applied to the action.
|
1275
|
+
# @return [Array<Types::Filter>]
|
1276
|
+
#
|
1277
|
+
# @!attribute [rw] max_records
|
1278
|
+
# The maximum number of records to include in the response. If more
|
1279
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
1280
|
+
# token called a marker is included in the response so that the
|
1281
|
+
# remaining results can be retrieved.
|
1282
|
+
#
|
1283
|
+
# Default: 100
|
1284
|
+
#
|
1285
|
+
# Constraints: Minimum 20, maximum 100.
|
1286
|
+
# @return [Integer]
|
1287
|
+
#
|
1288
|
+
# @!attribute [rw] marker
|
1289
|
+
# An optional pagination token provided by a previous request. If this
|
1290
|
+
# parameter is specified, the response includes only records beyond
|
1291
|
+
# the marker, up to the value specified by `MaxRecords`.
|
1292
|
+
# @return [String]
|
1293
|
+
#
|
1294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsMessage AWS API Documentation
|
1295
|
+
#
|
1296
|
+
class DescribeEventSubscriptionsMessage < Struct.new(
|
1297
|
+
:subscription_name,
|
1298
|
+
:filters,
|
1299
|
+
:max_records,
|
1300
|
+
:marker)
|
1301
|
+
include Aws::Structure
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# @!attribute [rw] marker
|
1305
|
+
# An optional pagination token provided by a previous request. If this
|
1306
|
+
# parameter is specified, the response includes only records beyond
|
1307
|
+
# the marker, up to the value specified by `MaxRecords`.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @!attribute [rw] event_subscriptions_list
|
1311
|
+
# A list of event subscriptions.
|
1312
|
+
# @return [Array<Types::EventSubscription>]
|
1313
|
+
#
|
1314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsResponse AWS API Documentation
|
1315
|
+
#
|
1316
|
+
class DescribeEventSubscriptionsResponse < Struct.new(
|
1317
|
+
:marker,
|
1318
|
+
:event_subscriptions_list)
|
1319
|
+
include Aws::Structure
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# @note When making an API call, you may pass DescribeEventsMessage
|
1323
|
+
# data as a hash:
|
1324
|
+
#
|
1325
|
+
# {
|
1326
|
+
# source_identifier: "String",
|
1327
|
+
# source_type: "replication-instance", # accepts replication-instance
|
1328
|
+
# start_time: Time.now,
|
1329
|
+
# end_time: Time.now,
|
1330
|
+
# duration: 1,
|
1331
|
+
# event_categories: ["String"],
|
1332
|
+
# filters: [
|
1333
|
+
# {
|
1334
|
+
# name: "String", # required
|
1335
|
+
# values: ["String"], # required
|
1336
|
+
# },
|
1337
|
+
# ],
|
1338
|
+
# max_records: 1,
|
1339
|
+
# marker: "String",
|
1340
|
+
# }
|
1341
|
+
#
|
1342
|
+
# @!attribute [rw] source_identifier
|
1343
|
+
# The identifier of the event source. An identifier must begin with a
|
1344
|
+
# letter and must contain only ASCII letters, digits, and hyphens. It
|
1345
|
+
# cannot end with a hyphen or contain two consecutive hyphens.
|
1346
|
+
# @return [String]
|
1347
|
+
#
|
1348
|
+
# @!attribute [rw] source_type
|
1349
|
+
# The type of AWS DMS resource that generates events.
|
1350
|
+
#
|
1351
|
+
# Valid values: replication-instance \| migration-task
|
1352
|
+
# @return [String]
|
1353
|
+
#
|
1354
|
+
# @!attribute [rw] start_time
|
1355
|
+
# The start time for the events to be listed.
|
1356
|
+
# @return [Time]
|
1357
|
+
#
|
1358
|
+
# @!attribute [rw] end_time
|
1359
|
+
# The end time for the events to be listed.
|
1360
|
+
# @return [Time]
|
1361
|
+
#
|
1362
|
+
# @!attribute [rw] duration
|
1363
|
+
# The duration of the events to be listed.
|
1364
|
+
# @return [Integer]
|
1365
|
+
#
|
1366
|
+
# @!attribute [rw] event_categories
|
1367
|
+
# A list of event categories for a source type that you want to
|
1368
|
+
# subscribe to.
|
1369
|
+
# @return [Array<String>]
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] filters
|
1372
|
+
# Filters applied to the action.
|
1373
|
+
# @return [Array<Types::Filter>]
|
1374
|
+
#
|
1375
|
+
# @!attribute [rw] max_records
|
1376
|
+
# The maximum number of records to include in the response. If more
|
1377
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
1378
|
+
# token called a marker is included in the response so that the
|
1379
|
+
# remaining results can be retrieved.
|
1380
|
+
#
|
1381
|
+
# Default: 100
|
1382
|
+
#
|
1383
|
+
# Constraints: Minimum 20, maximum 100.
|
1384
|
+
# @return [Integer]
|
1385
|
+
#
|
1386
|
+
# @!attribute [rw] marker
|
1387
|
+
# An optional pagination token provided by a previous request. If this
|
1388
|
+
# parameter is specified, the response includes only records beyond
|
1389
|
+
# the marker, up to the value specified by `MaxRecords`.
|
1390
|
+
# @return [String]
|
1391
|
+
#
|
1392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsMessage AWS API Documentation
|
1393
|
+
#
|
1394
|
+
class DescribeEventsMessage < Struct.new(
|
1395
|
+
:source_identifier,
|
1396
|
+
:source_type,
|
1397
|
+
:start_time,
|
1398
|
+
:end_time,
|
1399
|
+
:duration,
|
1400
|
+
:event_categories,
|
1401
|
+
:filters,
|
1402
|
+
:max_records,
|
1403
|
+
:marker)
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# @!attribute [rw] marker
|
1408
|
+
# An optional pagination token provided by a previous request. If this
|
1409
|
+
# parameter is specified, the response includes only records beyond
|
1410
|
+
# the marker, up to the value specified by `MaxRecords`.
|
1411
|
+
# @return [String]
|
1412
|
+
#
|
1413
|
+
# @!attribute [rw] events
|
1414
|
+
# The events described.
|
1415
|
+
# @return [Array<Types::Event>]
|
1416
|
+
#
|
1417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsResponse AWS API Documentation
|
1418
|
+
#
|
1419
|
+
class DescribeEventsResponse < Struct.new(
|
1420
|
+
:marker,
|
1421
|
+
:events)
|
1422
|
+
include Aws::Structure
|
1423
|
+
end
|
1424
|
+
|
1025
1425
|
# @note When making an API call, you may pass DescribeOrderableReplicationInstancesMessage
|
1026
1426
|
# data as a hash:
|
1027
1427
|
#
|
@@ -1416,6 +1816,24 @@ module Aws::DatabaseMigrationService
|
|
1416
1816
|
include Aws::Structure
|
1417
1817
|
end
|
1418
1818
|
|
1819
|
+
# @note When making an API call, you may pass DynamoDbSettings
|
1820
|
+
# data as a hash:
|
1821
|
+
#
|
1822
|
+
# {
|
1823
|
+
# service_access_role_arn: "String", # required
|
1824
|
+
# }
|
1825
|
+
#
|
1826
|
+
# @!attribute [rw] service_access_role_arn
|
1827
|
+
# The Amazon Resource Name (ARN) used by the service access IAM role.
|
1828
|
+
# @return [String]
|
1829
|
+
#
|
1830
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DynamoDbSettings AWS API Documentation
|
1831
|
+
#
|
1832
|
+
class DynamoDbSettings < Struct.new(
|
1833
|
+
:service_access_role_arn)
|
1834
|
+
include Aws::Structure
|
1835
|
+
end
|
1836
|
+
|
1419
1837
|
# @!attribute [rw] endpoint_identifier
|
1420
1838
|
# The database endpoint identifier. Identifiers must begin with a
|
1421
1839
|
# letter; must contain only ASCII letters, digits, and hyphens; and
|
@@ -1427,8 +1845,9 @@ module Aws::DatabaseMigrationService
|
|
1427
1845
|
# @return [String]
|
1428
1846
|
#
|
1429
1847
|
# @!attribute [rw] engine_name
|
1430
|
-
# The database engine name. Valid values
|
1431
|
-
#
|
1848
|
+
# The database engine name. Valid values, depending on the
|
1849
|
+
# EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
|
1850
|
+
# REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
|
1432
1851
|
# @return [String]
|
1433
1852
|
#
|
1434
1853
|
# @!attribute [rw] username
|
@@ -1483,6 +1902,27 @@ module Aws::DatabaseMigrationService
|
|
1483
1902
|
# The default value is none.
|
1484
1903
|
# @return [String]
|
1485
1904
|
#
|
1905
|
+
# @!attribute [rw] external_id
|
1906
|
+
# Value returned by a call to CreateEndpoint that can be used for
|
1907
|
+
# cross-account validation. Use it on a subsequent call to
|
1908
|
+
# CreateEndpoint to create the endpoint with a cross-account.
|
1909
|
+
# @return [String]
|
1910
|
+
#
|
1911
|
+
# @!attribute [rw] dynamo_db_settings
|
1912
|
+
# The settings for the target DynamoDB database. For more information,
|
1913
|
+
# see the `DynamoDBSettings` structure.
|
1914
|
+
# @return [Types::DynamoDbSettings]
|
1915
|
+
#
|
1916
|
+
# @!attribute [rw] s3_settings
|
1917
|
+
# The settings for the S3 target endpoint. For more information, see
|
1918
|
+
# the `S3Settings` structure.
|
1919
|
+
# @return [Types::S3Settings]
|
1920
|
+
#
|
1921
|
+
# @!attribute [rw] mongo_db_settings
|
1922
|
+
# The settings for the MongoDB source endpoint. For more information,
|
1923
|
+
# see the `MongoDbSettings` structure.
|
1924
|
+
# @return [Types::MongoDbSettings]
|
1925
|
+
#
|
1486
1926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint AWS API Documentation
|
1487
1927
|
#
|
1488
1928
|
class Endpoint < Struct.new(
|
@@ -1498,7 +1938,133 @@ module Aws::DatabaseMigrationService
|
|
1498
1938
|
:kms_key_id,
|
1499
1939
|
:endpoint_arn,
|
1500
1940
|
:certificate_arn,
|
1501
|
-
:ssl_mode
|
1941
|
+
:ssl_mode,
|
1942
|
+
:external_id,
|
1943
|
+
:dynamo_db_settings,
|
1944
|
+
:s3_settings,
|
1945
|
+
:mongo_db_settings)
|
1946
|
+
include Aws::Structure
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# @!attribute [rw] source_identifier
|
1950
|
+
# The identifier of the event source. An identifier must begin with a
|
1951
|
+
# letter and must contain only ASCII letters, digits, and hyphens; it
|
1952
|
+
# cannot end with a hyphen or contain two consecutive hyphens.
|
1953
|
+
#
|
1954
|
+
# Constraints:replication instance, endpoint, migration task
|
1955
|
+
# @return [String]
|
1956
|
+
#
|
1957
|
+
# @!attribute [rw] source_type
|
1958
|
+
# The type of AWS DMS resource that generates events.
|
1959
|
+
#
|
1960
|
+
# Valid values: replication-instance \| endpoint \| migration-task
|
1961
|
+
# @return [String]
|
1962
|
+
#
|
1963
|
+
# @!attribute [rw] message
|
1964
|
+
# The event message.
|
1965
|
+
# @return [String]
|
1966
|
+
#
|
1967
|
+
# @!attribute [rw] event_categories
|
1968
|
+
# The event categories available for the specified source type.
|
1969
|
+
# @return [Array<String>]
|
1970
|
+
#
|
1971
|
+
# @!attribute [rw] date
|
1972
|
+
# The date of the event.
|
1973
|
+
# @return [Time]
|
1974
|
+
#
|
1975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Event AWS API Documentation
|
1976
|
+
#
|
1977
|
+
class Event < Struct.new(
|
1978
|
+
:source_identifier,
|
1979
|
+
:source_type,
|
1980
|
+
:message,
|
1981
|
+
:event_categories,
|
1982
|
+
:date)
|
1983
|
+
include Aws::Structure
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# @!attribute [rw] source_type
|
1987
|
+
# The type of AWS DMS resource that generates events.
|
1988
|
+
#
|
1989
|
+
# Valid values: replication-instance \| replication-server \|
|
1990
|
+
# security-group \| migration-task
|
1991
|
+
# @return [String]
|
1992
|
+
#
|
1993
|
+
# @!attribute [rw] event_categories
|
1994
|
+
# A list of event categories for a `SourceType` that you want to
|
1995
|
+
# subscribe to.
|
1996
|
+
# @return [Array<String>]
|
1997
|
+
#
|
1998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventCategoryGroup AWS API Documentation
|
1999
|
+
#
|
2000
|
+
class EventCategoryGroup < Struct.new(
|
2001
|
+
:source_type,
|
2002
|
+
:event_categories)
|
2003
|
+
include Aws::Structure
|
2004
|
+
end
|
2005
|
+
|
2006
|
+
# @!attribute [rw] customer_aws_id
|
2007
|
+
# The AWS customer account associated with the AWS DMS event
|
2008
|
+
# notification subscription.
|
2009
|
+
# @return [String]
|
2010
|
+
#
|
2011
|
+
# @!attribute [rw] cust_subscription_id
|
2012
|
+
# The AWS DMS event notification subscription Id.
|
2013
|
+
# @return [String]
|
2014
|
+
#
|
2015
|
+
# @!attribute [rw] sns_topic_arn
|
2016
|
+
# The topic ARN of the AWS DMS event notification subscription.
|
2017
|
+
# @return [String]
|
2018
|
+
#
|
2019
|
+
# @!attribute [rw] status
|
2020
|
+
# The status of the AWS DMS event notification subscription.
|
2021
|
+
#
|
2022
|
+
# Constraints:
|
2023
|
+
#
|
2024
|
+
# Can be one of the following: creating \| modifying \| deleting \|
|
2025
|
+
# active \| no-permission \| topic-not-exist
|
2026
|
+
#
|
2027
|
+
# The status "no-permission" indicates that AWS DMS no longer has
|
2028
|
+
# permission to post to the SNS topic. The status "topic-not-exist"
|
2029
|
+
# indicates that the topic was deleted after the subscription was
|
2030
|
+
# created.
|
2031
|
+
# @return [String]
|
2032
|
+
#
|
2033
|
+
# @!attribute [rw] subscription_creation_time
|
2034
|
+
# The time the RDS event notification subscription was created.
|
2035
|
+
# @return [String]
|
2036
|
+
#
|
2037
|
+
# @!attribute [rw] source_type
|
2038
|
+
# The type of AWS DMS resource that generates events.
|
2039
|
+
#
|
2040
|
+
# Valid values: replication-instance \| replication-server \|
|
2041
|
+
# security-group \| migration-task
|
2042
|
+
# @return [String]
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] source_ids_list
|
2045
|
+
# A list of source Ids for the event subscription.
|
2046
|
+
# @return [Array<String>]
|
2047
|
+
#
|
2048
|
+
# @!attribute [rw] event_categories_list
|
2049
|
+
# A lists of event categories.
|
2050
|
+
# @return [Array<String>]
|
2051
|
+
#
|
2052
|
+
# @!attribute [rw] enabled
|
2053
|
+
# Boolean value that indicates if the event subscription is enabled.
|
2054
|
+
# @return [Boolean]
|
2055
|
+
#
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventSubscription AWS API Documentation
|
2057
|
+
#
|
2058
|
+
class EventSubscription < Struct.new(
|
2059
|
+
:customer_aws_id,
|
2060
|
+
:cust_subscription_id,
|
2061
|
+
:sns_topic_arn,
|
2062
|
+
:status,
|
2063
|
+
:subscription_creation_time,
|
2064
|
+
:source_type,
|
2065
|
+
:source_ids_list,
|
2066
|
+
:event_categories_list,
|
2067
|
+
:enabled)
|
1502
2068
|
include Aws::Structure
|
1503
2069
|
end
|
1504
2070
|
|
@@ -1533,6 +2099,12 @@ module Aws::DatabaseMigrationService
|
|
1533
2099
|
# certificate_identifier: "String", # required
|
1534
2100
|
# certificate_pem: "String",
|
1535
2101
|
# certificate_wallet: "data",
|
2102
|
+
# tags: [
|
2103
|
+
# {
|
2104
|
+
# key: "String",
|
2105
|
+
# value: "String",
|
2106
|
+
# },
|
2107
|
+
# ],
|
1536
2108
|
# }
|
1537
2109
|
#
|
1538
2110
|
# @!attribute [rw] certificate_identifier
|
@@ -1549,12 +2121,17 @@ module Aws::DatabaseMigrationService
|
|
1549
2121
|
# SSL.
|
1550
2122
|
# @return [String]
|
1551
2123
|
#
|
2124
|
+
# @!attribute [rw] tags
|
2125
|
+
# The tags associated with the certificate.
|
2126
|
+
# @return [Array<Types::Tag>]
|
2127
|
+
#
|
1552
2128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateMessage AWS API Documentation
|
1553
2129
|
#
|
1554
2130
|
class ImportCertificateMessage < Struct.new(
|
1555
2131
|
:certificate_identifier,
|
1556
2132
|
:certificate_pem,
|
1557
|
-
:certificate_wallet
|
2133
|
+
:certificate_wallet,
|
2134
|
+
:tags)
|
1558
2135
|
include Aws::Structure
|
1559
2136
|
end
|
1560
2137
|
|
@@ -1615,6 +2192,31 @@ module Aws::DatabaseMigrationService
|
|
1615
2192
|
# extra_connection_attributes: "String",
|
1616
2193
|
# certificate_arn: "String",
|
1617
2194
|
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
2195
|
+
# dynamo_db_settings: {
|
2196
|
+
# service_access_role_arn: "String", # required
|
2197
|
+
# },
|
2198
|
+
# s3_settings: {
|
2199
|
+
# service_access_role_arn: "String",
|
2200
|
+
# external_table_definition: "String",
|
2201
|
+
# csv_row_delimiter: "String",
|
2202
|
+
# csv_delimiter: "String",
|
2203
|
+
# bucket_folder: "String",
|
2204
|
+
# bucket_name: "String",
|
2205
|
+
# compression_type: "none", # accepts none, gzip
|
2206
|
+
# },
|
2207
|
+
# mongo_db_settings: {
|
2208
|
+
# username: "String",
|
2209
|
+
# password: "SecretString",
|
2210
|
+
# server_name: "String",
|
2211
|
+
# port: 1,
|
2212
|
+
# database_name: "String",
|
2213
|
+
# auth_type: "no", # accepts no, password
|
2214
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
2215
|
+
# nesting_level: "none", # accepts none, one
|
2216
|
+
# extract_doc_id: "String",
|
2217
|
+
# docs_to_investigate: "String",
|
2218
|
+
# auth_source: "String",
|
2219
|
+
# },
|
1618
2220
|
# }
|
1619
2221
|
#
|
1620
2222
|
# @!attribute [rw] endpoint_arn
|
@@ -1633,8 +2235,9 @@ module Aws::DatabaseMigrationService
|
|
1633
2235
|
# @return [String]
|
1634
2236
|
#
|
1635
2237
|
# @!attribute [rw] engine_name
|
1636
|
-
# The type of engine for the endpoint. Valid values
|
1637
|
-
# ORACLE, POSTGRES, MARIADB, AURORA,
|
2238
|
+
# The type of engine for the endpoint. Valid values, depending on the
|
2239
|
+
# EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
|
2240
|
+
# REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER.
|
1638
2241
|
# @return [String]
|
1639
2242
|
#
|
1640
2243
|
# @!attribute [rw] username
|
@@ -1675,6 +2278,41 @@ module Aws::DatabaseMigrationService
|
|
1675
2278
|
# The default value is none.
|
1676
2279
|
# @return [String]
|
1677
2280
|
#
|
2281
|
+
# @!attribute [rw] dynamo_db_settings
|
2282
|
+
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
|
2283
|
+
# more information about the available settings, see the **Using
|
2284
|
+
# Object Mapping to Migrate Data to DynamoDB** section at [ Using an
|
2285
|
+
# Amazon DynamoDB Database as a Target for AWS Database Migration
|
2286
|
+
# Service][1].
|
2287
|
+
#
|
2288
|
+
#
|
2289
|
+
#
|
2290
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
|
2291
|
+
# @return [Types::DynamoDbSettings]
|
2292
|
+
#
|
2293
|
+
# @!attribute [rw] s3_settings
|
2294
|
+
# Settings in JSON format for the target S3 endpoint. For more
|
2295
|
+
# information about the available settings, see the **Extra Connection
|
2296
|
+
# Attributes** section at [ Using Amazon S3 as a Target for AWS
|
2297
|
+
# Database Migration Service][1].
|
2298
|
+
#
|
2299
|
+
#
|
2300
|
+
#
|
2301
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
|
2302
|
+
# @return [Types::S3Settings]
|
2303
|
+
#
|
2304
|
+
# @!attribute [rw] mongo_db_settings
|
2305
|
+
# Settings in JSON format for the source MongoDB endpoint. For more
|
2306
|
+
# information about the available settings, see the **Configuration
|
2307
|
+
# Properties When Using MongoDB as a Source for AWS Database Migration
|
2308
|
+
# Service** section at [ Using Amazon S3 as a Target for AWS Database
|
2309
|
+
# Migration Service][1].
|
2310
|
+
#
|
2311
|
+
#
|
2312
|
+
#
|
2313
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
|
2314
|
+
# @return [Types::MongoDbSettings]
|
2315
|
+
#
|
1678
2316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage AWS API Documentation
|
1679
2317
|
#
|
1680
2318
|
class ModifyEndpointMessage < Struct.new(
|
@@ -1689,7 +2327,10 @@ module Aws::DatabaseMigrationService
|
|
1689
2327
|
:database_name,
|
1690
2328
|
:extra_connection_attributes,
|
1691
2329
|
:certificate_arn,
|
1692
|
-
:ssl_mode
|
2330
|
+
:ssl_mode,
|
2331
|
+
:dynamo_db_settings,
|
2332
|
+
:s3_settings,
|
2333
|
+
:mongo_db_settings)
|
1693
2334
|
include Aws::Structure
|
1694
2335
|
end
|
1695
2336
|
|
@@ -1704,6 +2345,67 @@ module Aws::DatabaseMigrationService
|
|
1704
2345
|
include Aws::Structure
|
1705
2346
|
end
|
1706
2347
|
|
2348
|
+
# @note When making an API call, you may pass ModifyEventSubscriptionMessage
|
2349
|
+
# data as a hash:
|
2350
|
+
#
|
2351
|
+
# {
|
2352
|
+
# subscription_name: "String", # required
|
2353
|
+
# sns_topic_arn: "String",
|
2354
|
+
# source_type: "String",
|
2355
|
+
# event_categories: ["String"],
|
2356
|
+
# enabled: false,
|
2357
|
+
# }
|
2358
|
+
#
|
2359
|
+
# @!attribute [rw] subscription_name
|
2360
|
+
# The name of the AWS DMS event notification subscription to be
|
2361
|
+
# modified.
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] sns_topic_arn
|
2365
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic created for
|
2366
|
+
# event notification. The ARN is created by Amazon SNS when you create
|
2367
|
+
# a topic and subscribe to it.
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] source_type
|
2371
|
+
# The type of AWS DMS resource that generates the events you want to
|
2372
|
+
# subscribe to.
|
2373
|
+
#
|
2374
|
+
# Valid values: replication-instance \| migration-task
|
2375
|
+
# @return [String]
|
2376
|
+
#
|
2377
|
+
# @!attribute [rw] event_categories
|
2378
|
+
# A list of event categories for a source type that you want to
|
2379
|
+
# subscribe to. Use the `DescribeEventCategories` action to see a list
|
2380
|
+
# of event categories.
|
2381
|
+
# @return [Array<String>]
|
2382
|
+
#
|
2383
|
+
# @!attribute [rw] enabled
|
2384
|
+
# A Boolean value; set to **true** to activate the subscription.
|
2385
|
+
# @return [Boolean]
|
2386
|
+
#
|
2387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionMessage AWS API Documentation
|
2388
|
+
#
|
2389
|
+
class ModifyEventSubscriptionMessage < Struct.new(
|
2390
|
+
:subscription_name,
|
2391
|
+
:sns_topic_arn,
|
2392
|
+
:source_type,
|
2393
|
+
:event_categories,
|
2394
|
+
:enabled)
|
2395
|
+
include Aws::Structure
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
# @!attribute [rw] event_subscription
|
2399
|
+
# The modified event subscription.
|
2400
|
+
# @return [Types::EventSubscription]
|
2401
|
+
#
|
2402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionResponse AWS API Documentation
|
2403
|
+
#
|
2404
|
+
class ModifyEventSubscriptionResponse < Struct.new(
|
2405
|
+
:event_subscription)
|
2406
|
+
include Aws::Structure
|
2407
|
+
end
|
2408
|
+
|
1707
2409
|
# @note When making an API call, you may pass ModifyReplicationInstanceMessage
|
1708
2410
|
# data as a hash:
|
1709
2411
|
#
|
@@ -1892,7 +2594,7 @@ module Aws::DatabaseMigrationService
|
|
1892
2594
|
#
|
1893
2595
|
# Constraints:
|
1894
2596
|
#
|
1895
|
-
# * Must contain from 1 to
|
2597
|
+
# * Must contain from 1 to 255 alphanumeric characters or hyphens.
|
1896
2598
|
#
|
1897
2599
|
# * First character must be a letter.
|
1898
2600
|
#
|
@@ -1906,8 +2608,10 @@ module Aws::DatabaseMigrationService
|
|
1906
2608
|
# @return [String]
|
1907
2609
|
#
|
1908
2610
|
# @!attribute [rw] table_mappings
|
1909
|
-
#
|
1910
|
-
# the path with "file://".
|
2611
|
+
# When using the AWS CLI or boto3, provide the path of the JSON file
|
2612
|
+
# that contains the table mappings. Precede the path with "file://".
|
2613
|
+
# When working with the DMS API, provide the JSON as the parameter
|
2614
|
+
# value.
|
1911
2615
|
#
|
1912
2616
|
# For example, --table-mappings file://mappingfile.json
|
1913
2617
|
# @return [String]
|
@@ -1944,6 +2648,113 @@ module Aws::DatabaseMigrationService
|
|
1944
2648
|
include Aws::Structure
|
1945
2649
|
end
|
1946
2650
|
|
2651
|
+
# @note When making an API call, you may pass MongoDbSettings
|
2652
|
+
# data as a hash:
|
2653
|
+
#
|
2654
|
+
# {
|
2655
|
+
# username: "String",
|
2656
|
+
# password: "SecretString",
|
2657
|
+
# server_name: "String",
|
2658
|
+
# port: 1,
|
2659
|
+
# database_name: "String",
|
2660
|
+
# auth_type: "no", # accepts no, password
|
2661
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
2662
|
+
# nesting_level: "none", # accepts none, one
|
2663
|
+
# extract_doc_id: "String",
|
2664
|
+
# docs_to_investigate: "String",
|
2665
|
+
# auth_source: "String",
|
2666
|
+
# }
|
2667
|
+
#
|
2668
|
+
# @!attribute [rw] username
|
2669
|
+
# The user name you use to access the MongoDB source endpoint.
|
2670
|
+
# @return [String]
|
2671
|
+
#
|
2672
|
+
# @!attribute [rw] password
|
2673
|
+
# The password for the user account you use to access the MongoDB
|
2674
|
+
# source endpoint.
|
2675
|
+
# @return [String]
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] server_name
|
2678
|
+
# The name of the server on the MongoDB source endpoint.
|
2679
|
+
# @return [String]
|
2680
|
+
#
|
2681
|
+
# @!attribute [rw] port
|
2682
|
+
# The port value for the MongoDB source endpoint.
|
2683
|
+
# @return [Integer]
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] database_name
|
2686
|
+
# The database name on the MongoDB source endpoint.
|
2687
|
+
# @return [String]
|
2688
|
+
#
|
2689
|
+
# @!attribute [rw] auth_type
|
2690
|
+
# The authentication type you use to access the MongoDB source
|
2691
|
+
# endpoint.
|
2692
|
+
#
|
2693
|
+
# Valid values: NO, PASSWORD
|
2694
|
+
#
|
2695
|
+
# When NO is selected, user name and password parameters are not used
|
2696
|
+
# and can be empty.
|
2697
|
+
# @return [String]
|
2698
|
+
#
|
2699
|
+
# @!attribute [rw] auth_mechanism
|
2700
|
+
# The authentication mechanism you use to access the MongoDB source
|
2701
|
+
# endpoint.
|
2702
|
+
#
|
2703
|
+
# Valid values: DEFAULT, MONGODB\_CR, SCRAM\_SHA\_1
|
2704
|
+
#
|
2705
|
+
# DEFAULT – For MongoDB version 2.x, use MONGODB\_CR. For MongoDB
|
2706
|
+
# version 3.x, use SCRAM\_SHA\_1. This attribute is not used when
|
2707
|
+
# authType=No.
|
2708
|
+
# @return [String]
|
2709
|
+
#
|
2710
|
+
# @!attribute [rw] nesting_level
|
2711
|
+
# Specifies either document or table mode.
|
2712
|
+
#
|
2713
|
+
# Valid values: NONE, ONE
|
2714
|
+
#
|
2715
|
+
# Default value is NONE. Specify NONE to use document mode. Specify
|
2716
|
+
# ONE to use table mode.
|
2717
|
+
# @return [String]
|
2718
|
+
#
|
2719
|
+
# @!attribute [rw] extract_doc_id
|
2720
|
+
# Specifies the document ID. Use this attribute when `NestingLevel` is
|
2721
|
+
# set to NONE.
|
2722
|
+
#
|
2723
|
+
# Default value is false.
|
2724
|
+
# @return [String]
|
2725
|
+
#
|
2726
|
+
# @!attribute [rw] docs_to_investigate
|
2727
|
+
# Indicates the number of documents to preview to determine the
|
2728
|
+
# document organization. Use this attribute when `NestingLevel` is set
|
2729
|
+
# to ONE.
|
2730
|
+
#
|
2731
|
+
# Must be a positive value greater than 0. Default value is 1000.
|
2732
|
+
# @return [String]
|
2733
|
+
#
|
2734
|
+
# @!attribute [rw] auth_source
|
2735
|
+
# The MongoDB database name. This attribute is not used when
|
2736
|
+
# `authType=NO`.
|
2737
|
+
#
|
2738
|
+
# The default is admin.
|
2739
|
+
# @return [String]
|
2740
|
+
#
|
2741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings AWS API Documentation
|
2742
|
+
#
|
2743
|
+
class MongoDbSettings < Struct.new(
|
2744
|
+
:username,
|
2745
|
+
:password,
|
2746
|
+
:server_name,
|
2747
|
+
:port,
|
2748
|
+
:database_name,
|
2749
|
+
:auth_type,
|
2750
|
+
:auth_mechanism,
|
2751
|
+
:nesting_level,
|
2752
|
+
:extract_doc_id,
|
2753
|
+
:docs_to_investigate,
|
2754
|
+
:auth_source)
|
2755
|
+
include Aws::Structure
|
2756
|
+
end
|
2757
|
+
|
1947
2758
|
# @!attribute [rw] engine_version
|
1948
2759
|
# The version of the replication engine.
|
1949
2760
|
# @return [String]
|
@@ -2061,6 +2872,46 @@ module Aws::DatabaseMigrationService
|
|
2061
2872
|
include Aws::Structure
|
2062
2873
|
end
|
2063
2874
|
|
2875
|
+
# @note When making an API call, you may pass ReloadTablesMessage
|
2876
|
+
# data as a hash:
|
2877
|
+
#
|
2878
|
+
# {
|
2879
|
+
# replication_task_arn: "String", # required
|
2880
|
+
# tables_to_reload: [ # required
|
2881
|
+
# {
|
2882
|
+
# schema_name: "String",
|
2883
|
+
# table_name: "String",
|
2884
|
+
# },
|
2885
|
+
# ],
|
2886
|
+
# }
|
2887
|
+
#
|
2888
|
+
# @!attribute [rw] replication_task_arn
|
2889
|
+
# The Amazon Resource Name (ARN) of the replication instance.
|
2890
|
+
# @return [String]
|
2891
|
+
#
|
2892
|
+
# @!attribute [rw] tables_to_reload
|
2893
|
+
# The name and schema of the table to be reloaded.
|
2894
|
+
# @return [Array<Types::TableToReload>]
|
2895
|
+
#
|
2896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesMessage AWS API Documentation
|
2897
|
+
#
|
2898
|
+
class ReloadTablesMessage < Struct.new(
|
2899
|
+
:replication_task_arn,
|
2900
|
+
:tables_to_reload)
|
2901
|
+
include Aws::Structure
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
# @!attribute [rw] replication_task_arn
|
2905
|
+
# The Amazon Resource Name (ARN) of the replication task.
|
2906
|
+
# @return [String]
|
2907
|
+
#
|
2908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesResponse AWS API Documentation
|
2909
|
+
#
|
2910
|
+
class ReloadTablesResponse < Struct.new(
|
2911
|
+
:replication_task_arn)
|
2912
|
+
include Aws::Structure
|
2913
|
+
end
|
2914
|
+
|
2064
2915
|
# @note When making an API call, you may pass RemoveTagsFromResourceMessage
|
2065
2916
|
# data as a hash:
|
2066
2917
|
#
|
@@ -2298,7 +3149,7 @@ module Aws::DatabaseMigrationService
|
|
2298
3149
|
#
|
2299
3150
|
# Constraints:
|
2300
3151
|
#
|
2301
|
-
# * Must contain from 1 to
|
3152
|
+
# * Must contain from 1 to 255 alphanumeric characters or hyphens.
|
2302
3153
|
#
|
2303
3154
|
# * First character must be a letter.
|
2304
3155
|
#
|
@@ -2417,6 +3268,67 @@ module Aws::DatabaseMigrationService
|
|
2417
3268
|
include Aws::Structure
|
2418
3269
|
end
|
2419
3270
|
|
3271
|
+
# @note When making an API call, you may pass S3Settings
|
3272
|
+
# data as a hash:
|
3273
|
+
#
|
3274
|
+
# {
|
3275
|
+
# service_access_role_arn: "String",
|
3276
|
+
# external_table_definition: "String",
|
3277
|
+
# csv_row_delimiter: "String",
|
3278
|
+
# csv_delimiter: "String",
|
3279
|
+
# bucket_folder: "String",
|
3280
|
+
# bucket_name: "String",
|
3281
|
+
# compression_type: "none", # accepts none, gzip
|
3282
|
+
# }
|
3283
|
+
#
|
3284
|
+
# @!attribute [rw] service_access_role_arn
|
3285
|
+
# The Amazon Resource Name (ARN) used by the service access IAM role.
|
3286
|
+
# @return [String]
|
3287
|
+
#
|
3288
|
+
# @!attribute [rw] external_table_definition
|
3289
|
+
# @return [String]
|
3290
|
+
#
|
3291
|
+
# @!attribute [rw] csv_row_delimiter
|
3292
|
+
# The delimiter used to separate rows in the source files. The default
|
3293
|
+
# is a carriage return (\\n).
|
3294
|
+
# @return [String]
|
3295
|
+
#
|
3296
|
+
# @!attribute [rw] csv_delimiter
|
3297
|
+
# The delimiter used to separate columns in the source files. The
|
3298
|
+
# default is a comma.
|
3299
|
+
# @return [String]
|
3300
|
+
#
|
3301
|
+
# @!attribute [rw] bucket_folder
|
3302
|
+
# An optional parameter to set a folder name in the S3 bucket. If
|
3303
|
+
# provided, tables are created in the path
|
3304
|
+
# <bucketFolder>/<schema\_name>/<table\_name>/. If
|
3305
|
+
# this parameter is not specified, then the path used is
|
3306
|
+
# <schema\_name>/<table\_name>/.
|
3307
|
+
# @return [String]
|
3308
|
+
#
|
3309
|
+
# @!attribute [rw] bucket_name
|
3310
|
+
# The name of the S3 bucket.
|
3311
|
+
# @return [String]
|
3312
|
+
#
|
3313
|
+
# @!attribute [rw] compression_type
|
3314
|
+
# An optional parameter to use GZIP to compress the target files. Set
|
3315
|
+
# to GZIP to compress the target files. Set to NONE (the default) or
|
3316
|
+
# do not use to leave the files uncompressed.
|
3317
|
+
# @return [String]
|
3318
|
+
#
|
3319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings AWS API Documentation
|
3320
|
+
#
|
3321
|
+
class S3Settings < Struct.new(
|
3322
|
+
:service_access_role_arn,
|
3323
|
+
:external_table_definition,
|
3324
|
+
:csv_row_delimiter,
|
3325
|
+
:csv_delimiter,
|
3326
|
+
:bucket_folder,
|
3327
|
+
:bucket_name,
|
3328
|
+
:compression_type)
|
3329
|
+
include Aws::Structure
|
3330
|
+
end
|
3331
|
+
|
2420
3332
|
# @note When making an API call, you may pass StartReplicationTaskMessage
|
2421
3333
|
# data as a hash:
|
2422
3334
|
#
|
@@ -2511,8 +3423,9 @@ module Aws::DatabaseMigrationService
|
|
2511
3423
|
end
|
2512
3424
|
|
2513
3425
|
# @!attribute [rw] engine_name
|
2514
|
-
# The database engine name. Valid values
|
2515
|
-
#
|
3426
|
+
# The database engine name. Valid values, depending on the
|
3427
|
+
# EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
|
3428
|
+
# REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
|
2516
3429
|
# @return [String]
|
2517
3430
|
#
|
2518
3431
|
# @!attribute [rw] supports_cdc
|
@@ -2561,6 +3474,16 @@ module Aws::DatabaseMigrationService
|
|
2561
3474
|
# The number of rows added during the Full Load operation.
|
2562
3475
|
# @return [Integer]
|
2563
3476
|
#
|
3477
|
+
# @!attribute [rw] full_load_condtnl_chk_failed_rows
|
3478
|
+
# The number of rows that failed conditional checks during the Full
|
3479
|
+
# Load operation (valid only for DynamoDB as a target migrations).
|
3480
|
+
# @return [Integer]
|
3481
|
+
#
|
3482
|
+
# @!attribute [rw] full_load_error_rows
|
3483
|
+
# The number of rows that failed to load during the Full Load
|
3484
|
+
# operation (valid only for DynamoDB as a target migrations).
|
3485
|
+
# @return [Integer]
|
3486
|
+
#
|
2564
3487
|
# @!attribute [rw] last_update_time
|
2565
3488
|
# The last time the table was updated.
|
2566
3489
|
# @return [Time]
|
@@ -2579,11 +3502,37 @@ module Aws::DatabaseMigrationService
|
|
2579
3502
|
:updates,
|
2580
3503
|
:ddls,
|
2581
3504
|
:full_load_rows,
|
3505
|
+
:full_load_condtnl_chk_failed_rows,
|
3506
|
+
:full_load_error_rows,
|
2582
3507
|
:last_update_time,
|
2583
3508
|
:table_state)
|
2584
3509
|
include Aws::Structure
|
2585
3510
|
end
|
2586
3511
|
|
3512
|
+
# @note When making an API call, you may pass TableToReload
|
3513
|
+
# data as a hash:
|
3514
|
+
#
|
3515
|
+
# {
|
3516
|
+
# schema_name: "String",
|
3517
|
+
# table_name: "String",
|
3518
|
+
# }
|
3519
|
+
#
|
3520
|
+
# @!attribute [rw] schema_name
|
3521
|
+
# The schema name of the table to be reloaded.
|
3522
|
+
# @return [String]
|
3523
|
+
#
|
3524
|
+
# @!attribute [rw] table_name
|
3525
|
+
# The table name of the table to be reloaded.
|
3526
|
+
# @return [String]
|
3527
|
+
#
|
3528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableToReload AWS API Documentation
|
3529
|
+
#
|
3530
|
+
class TableToReload < Struct.new(
|
3531
|
+
:schema_name,
|
3532
|
+
:table_name)
|
3533
|
+
include Aws::Structure
|
3534
|
+
end
|
3535
|
+
|
2587
3536
|
# @note When making an API call, you may pass Tag
|
2588
3537
|
# data as a hash:
|
2589
3538
|
#
|