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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3522655a53e4981e1ca565e61466b7069837b98
4
- data.tar.gz: 0275281682f64f07b05e162b3aaac9de78d58129
3
+ metadata.gz: 8730f3c8f0ec3a8b0d2993c7fe6fbb51f80742d8
4
+ data.tar.gz: b3c1483397431a10cd58de39da88cb491fd2824c
5
5
  SHA512:
6
- metadata.gz: ca381c36c8822bc01fde7faa28922048b9b913de088f66db3570ec8f82c1344bb163ae65acaa49af732f3ea05fb614328b4df68edb59a4c21ef5ad86adea8f82
7
- data.tar.gz: 71676e4414b091130ee400a7134ce6d4e60434fce76b4925619137cff5feb00d8e538c27bb6319170dc6fc33379835d1a9301900eeaccbc733e9764cc1afd4c2
6
+ metadata.gz: 328a8d3f672ab37c6843487502012731b2d1f0cdc953c48941cae90bebb755a5f61bdfa864d0c2cb3889262ecdd1e20408adb48d8f103a46405e8e0c3aa03979
7
+ data.tar.gz: 2d14416aa024784d06a063be3944b9692171005f34b61fc727a7087d10b41bf6991498e2a0f7d2cdb622580b97aef7b0473127903c74a7aa1a80792498c1f3f0
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-databasemigrationservice/customizations'
42
42
  # @service
43
43
  module Aws::DatabaseMigrationService
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -202,8 +202,9 @@ module Aws::DatabaseMigrationService
202
202
  # The type of endpoint.
203
203
  #
204
204
  # @option params [required, String] :engine_name
205
- # The type of engine for the endpoint. Valid values include MYSQL,
206
- # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.
205
+ # The type of engine for the endpoint. Valid values, depending on the
206
+ # EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
207
+ # REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
207
208
  #
208
209
  # @option params [String] :username
209
210
  # The user name to be used to login to the endpoint database.
@@ -244,6 +245,37 @@ module Aws::DatabaseMigrationService
244
245
  #
245
246
  # The default value is none.
246
247
  #
248
+ # @option params [Types::DynamoDbSettings] :dynamo_db_settings
249
+ # Settings in JSON format for the target Amazon DynamoDB endpoint. For
250
+ # more information about the available settings, see the **Using Object
251
+ # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon
252
+ # DynamoDB Database as a Target for AWS Database Migration Service][1].
253
+ #
254
+ #
255
+ #
256
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
257
+ #
258
+ # @option params [Types::S3Settings] :s3_settings
259
+ # Settings in JSON format for the target S3 endpoint. For more
260
+ # information about the available settings, see the **Extra Connection
261
+ # Attributes** section at [ Using Amazon S3 as a Target for AWS Database
262
+ # Migration Service][1].
263
+ #
264
+ #
265
+ #
266
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
267
+ #
268
+ # @option params [Types::MongoDbSettings] :mongo_db_settings
269
+ # Settings in JSON format for the source MongoDB endpoint. For more
270
+ # information about the available settings, see the **Configuration
271
+ # Properties When Using MongoDB as a Source for AWS Database Migration
272
+ # Service** section at [ Using Amazon S3 as a Target for AWS Database
273
+ # Migration Service][1].
274
+ #
275
+ #
276
+ #
277
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
278
+ #
247
279
  # @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
248
280
  #
249
281
  # * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
@@ -269,6 +301,31 @@ module Aws::DatabaseMigrationService
269
301
  # ],
270
302
  # certificate_arn: "String",
271
303
  # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
304
+ # dynamo_db_settings: {
305
+ # service_access_role_arn: "String", # required
306
+ # },
307
+ # s3_settings: {
308
+ # service_access_role_arn: "String",
309
+ # external_table_definition: "String",
310
+ # csv_row_delimiter: "String",
311
+ # csv_delimiter: "String",
312
+ # bucket_folder: "String",
313
+ # bucket_name: "String",
314
+ # compression_type: "none", # accepts none, gzip
315
+ # },
316
+ # mongo_db_settings: {
317
+ # username: "String",
318
+ # password: "SecretString",
319
+ # server_name: "String",
320
+ # port: 1,
321
+ # database_name: "String",
322
+ # auth_type: "no", # accepts no, password
323
+ # auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
324
+ # nesting_level: "none", # accepts none, one
325
+ # extract_doc_id: "String",
326
+ # docs_to_investigate: "String",
327
+ # auth_source: "String",
328
+ # },
272
329
  # })
273
330
  #
274
331
  # @example Response structure
@@ -286,6 +343,26 @@ module Aws::DatabaseMigrationService
286
343
  # resp.endpoint.endpoint_arn #=> String
287
344
  # resp.endpoint.certificate_arn #=> String
288
345
  # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
346
+ # resp.endpoint.external_id #=> String
347
+ # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String
348
+ # resp.endpoint.s3_settings.service_access_role_arn #=> String
349
+ # resp.endpoint.s3_settings.external_table_definition #=> String
350
+ # resp.endpoint.s3_settings.csv_row_delimiter #=> String
351
+ # resp.endpoint.s3_settings.csv_delimiter #=> String
352
+ # resp.endpoint.s3_settings.bucket_folder #=> String
353
+ # resp.endpoint.s3_settings.bucket_name #=> String
354
+ # resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
355
+ # resp.endpoint.mongo_db_settings.username #=> String
356
+ # resp.endpoint.mongo_db_settings.password #=> String
357
+ # resp.endpoint.mongo_db_settings.server_name #=> String
358
+ # resp.endpoint.mongo_db_settings.port #=> Integer
359
+ # resp.endpoint.mongo_db_settings.database_name #=> String
360
+ # resp.endpoint.mongo_db_settings.auth_type #=> String, one of "no", "password"
361
+ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
362
+ # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
363
+ # resp.endpoint.mongo_db_settings.extract_doc_id #=> String
364
+ # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
365
+ # resp.endpoint.mongo_db_settings.auth_source #=> String
289
366
  #
290
367
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation
291
368
  #
@@ -296,6 +373,116 @@ module Aws::DatabaseMigrationService
296
373
  req.send_request(options)
297
374
  end
298
375
 
376
+ # Creates an AWS DMS event notification subscription.
377
+ #
378
+ # You can specify the type of source (`SourceType`) you want to be
379
+ # notified of, provide a list of AWS DMS source IDs (`SourceIds`) that
380
+ # triggers the events, and provide a list of event categories
381
+ # (`EventCategories`) for events you want to be notified of. If you
382
+ # specify both the `SourceType` and `SourceIds`, such as `SourceType =
383
+ # replication-instance` and `SourceIdentifier = my-replinstance`, you
384
+ # will be notified of all the replication instance events for the
385
+ # specified source. If you specify a `SourceType` but don't specify a
386
+ # `SourceIdentifier`, you receive notice of the events for that source
387
+ # type for all your AWS DMS sources. If you don't specify either
388
+ # `SourceType` nor `SourceIdentifier`, you will be notified of events
389
+ # generated from all AWS DMS sources belonging to your customer account.
390
+ #
391
+ # For more information about AWS DMS events, see [ Working with Events
392
+ # and Notifications ][1] in the AWS Database MIgration Service User
393
+ # Guide.
394
+ #
395
+ #
396
+ #
397
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
398
+ #
399
+ # @option params [required, String] :subscription_name
400
+ # The name of the DMS event notification subscription.
401
+ #
402
+ # Constraints: The name must be less than 255 characters.
403
+ #
404
+ # @option params [required, String] :sns_topic_arn
405
+ # The Amazon Resource Name (ARN) of the Amazon SNS topic created for
406
+ # event notification. The ARN is created by Amazon SNS when you create a
407
+ # topic and subscribe to it.
408
+ #
409
+ # @option params [String] :source_type
410
+ # The type of AWS DMS resource that generates the events. For example,
411
+ # if you want to be notified of events generated by a replication
412
+ # instance, you set this parameter to `replication-instance`. If this
413
+ # value is not specified, all events are returned.
414
+ #
415
+ # Valid values: replication-instance \| migration-task
416
+ #
417
+ # @option params [Array<String>] :event_categories
418
+ # A list of event categories for a source type that you want to
419
+ # subscribe to. You can see a list of the categories for a given source
420
+ # type by calling the **DescribeEventCategories** action or in the topic
421
+ # [ Working with Events and Notifications][1] in the AWS Database
422
+ # Migration Service User Guide.
423
+ #
424
+ #
425
+ #
426
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
427
+ #
428
+ # @option params [Array<String>] :source_ids
429
+ # The list of identifiers of the event sources for which events will be
430
+ # returned. If not specified, then all sources are included in the
431
+ # response. An identifier must begin with a letter and must contain only
432
+ # ASCII letters, digits, and hyphens; it cannot end with a hyphen or
433
+ # contain two consecutive hyphens.
434
+ #
435
+ # @option params [Boolean] :enabled
436
+ # A Boolean value; set to **true** to activate the subscription, or set
437
+ # to **false** to create the subscription but not activate it.
438
+ #
439
+ # @option params [Array<Types::Tag>] :tags
440
+ # A tag to be attached to the event subscription.
441
+ #
442
+ # @return [Types::CreateEventSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
443
+ #
444
+ # * {Types::CreateEventSubscriptionResponse#event_subscription #event_subscription} => Types::EventSubscription
445
+ #
446
+ # @example Request syntax with placeholder values
447
+ #
448
+ # resp = client.create_event_subscription({
449
+ # subscription_name: "String", # required
450
+ # sns_topic_arn: "String", # required
451
+ # source_type: "String",
452
+ # event_categories: ["String"],
453
+ # source_ids: ["String"],
454
+ # enabled: false,
455
+ # tags: [
456
+ # {
457
+ # key: "String",
458
+ # value: "String",
459
+ # },
460
+ # ],
461
+ # })
462
+ #
463
+ # @example Response structure
464
+ #
465
+ # resp.event_subscription.customer_aws_id #=> String
466
+ # resp.event_subscription.cust_subscription_id #=> String
467
+ # resp.event_subscription.sns_topic_arn #=> String
468
+ # resp.event_subscription.status #=> String
469
+ # resp.event_subscription.subscription_creation_time #=> String
470
+ # resp.event_subscription.source_type #=> String
471
+ # resp.event_subscription.source_ids_list #=> Array
472
+ # resp.event_subscription.source_ids_list[0] #=> String
473
+ # resp.event_subscription.event_categories_list #=> Array
474
+ # resp.event_subscription.event_categories_list[0] #=> String
475
+ # resp.event_subscription.enabled #=> Boolean
476
+ #
477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription AWS API Documentation
478
+ #
479
+ # @overload create_event_subscription(params = {})
480
+ # @param [Hash] params ({})
481
+ def create_event_subscription(params = {}, options = {})
482
+ req = build_request(:create_event_subscription, params)
483
+ req.send_request(options)
484
+ end
485
+
299
486
  # Creates the replication instance using the specified parameters.
300
487
  #
301
488
  # @option params [required, String] :replication_instance_identifier
@@ -524,7 +711,7 @@ module Aws::DatabaseMigrationService
524
711
  #
525
712
  # Constraints:
526
713
  #
527
- # * Must contain from 1 to 63 alphanumeric characters or hyphens.
714
+ # * Must contain from 1 to 255 alphanumeric characters or hyphens.
528
715
  #
529
716
  # * First character must be a letter.
530
717
  #
@@ -545,8 +732,10 @@ module Aws::DatabaseMigrationService
545
732
  # The migration type.
546
733
  #
547
734
  # @option params [required, String] :table_mappings
548
- # The path of the JSON file that contains the table mappings. Preceed
549
- # the path with "file://".
735
+ # When using the AWS CLI or boto3, provide the path of the JSON file
736
+ # that contains the table mappings. Precede the path with "file://".
737
+ # When working with the DMS API, provide the JSON as the parameter
738
+ # value.
550
739
  #
551
740
  # For example, --table-mappings file://mappingfile.json
552
741
  #
@@ -692,6 +881,26 @@ module Aws::DatabaseMigrationService
692
881
  # resp.endpoint.endpoint_arn #=> String
693
882
  # resp.endpoint.certificate_arn #=> String
694
883
  # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
884
+ # resp.endpoint.external_id #=> String
885
+ # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String
886
+ # resp.endpoint.s3_settings.service_access_role_arn #=> String
887
+ # resp.endpoint.s3_settings.external_table_definition #=> String
888
+ # resp.endpoint.s3_settings.csv_row_delimiter #=> String
889
+ # resp.endpoint.s3_settings.csv_delimiter #=> String
890
+ # resp.endpoint.s3_settings.bucket_folder #=> String
891
+ # resp.endpoint.s3_settings.bucket_name #=> String
892
+ # resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
893
+ # resp.endpoint.mongo_db_settings.username #=> String
894
+ # resp.endpoint.mongo_db_settings.password #=> String
895
+ # resp.endpoint.mongo_db_settings.server_name #=> String
896
+ # resp.endpoint.mongo_db_settings.port #=> Integer
897
+ # resp.endpoint.mongo_db_settings.database_name #=> String
898
+ # resp.endpoint.mongo_db_settings.auth_type #=> String, one of "no", "password"
899
+ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
900
+ # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
901
+ # resp.endpoint.mongo_db_settings.extract_doc_id #=> String
902
+ # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
903
+ # resp.endpoint.mongo_db_settings.auth_source #=> String
695
904
  #
696
905
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation
697
906
  #
@@ -702,6 +911,44 @@ module Aws::DatabaseMigrationService
702
911
  req.send_request(options)
703
912
  end
704
913
 
914
+ # Deletes an AWS DMS event subscription.
915
+ #
916
+ # @option params [required, String] :subscription_name
917
+ # The name of the DMS event notification subscription to be deleted.
918
+ #
919
+ # @return [Types::DeleteEventSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
920
+ #
921
+ # * {Types::DeleteEventSubscriptionResponse#event_subscription #event_subscription} => Types::EventSubscription
922
+ #
923
+ # @example Request syntax with placeholder values
924
+ #
925
+ # resp = client.delete_event_subscription({
926
+ # subscription_name: "String", # required
927
+ # })
928
+ #
929
+ # @example Response structure
930
+ #
931
+ # resp.event_subscription.customer_aws_id #=> String
932
+ # resp.event_subscription.cust_subscription_id #=> String
933
+ # resp.event_subscription.sns_topic_arn #=> String
934
+ # resp.event_subscription.status #=> String
935
+ # resp.event_subscription.subscription_creation_time #=> String
936
+ # resp.event_subscription.source_type #=> String
937
+ # resp.event_subscription.source_ids_list #=> Array
938
+ # resp.event_subscription.source_ids_list[0] #=> String
939
+ # resp.event_subscription.event_categories_list #=> Array
940
+ # resp.event_subscription.event_categories_list[0] #=> String
941
+ # resp.event_subscription.enabled #=> Boolean
942
+ #
943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription AWS API Documentation
944
+ #
945
+ # @overload delete_event_subscription(params = {})
946
+ # @param [Hash] params ({})
947
+ def delete_event_subscription(params = {}, options = {})
948
+ req = build_request(:delete_event_subscription, params)
949
+ req.send_request(options)
950
+ end
951
+
705
952
  # Deletes the specified replication instance.
706
953
  #
707
954
  # <note markdown="1"> You must delete any migration tasks that are associated with the
@@ -1105,6 +1352,26 @@ module Aws::DatabaseMigrationService
1105
1352
  # resp.endpoints[0].endpoint_arn #=> String
1106
1353
  # resp.endpoints[0].certificate_arn #=> String
1107
1354
  # resp.endpoints[0].ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
1355
+ # resp.endpoints[0].external_id #=> String
1356
+ # resp.endpoints[0].dynamo_db_settings.service_access_role_arn #=> String
1357
+ # resp.endpoints[0].s3_settings.service_access_role_arn #=> String
1358
+ # resp.endpoints[0].s3_settings.external_table_definition #=> String
1359
+ # resp.endpoints[0].s3_settings.csv_row_delimiter #=> String
1360
+ # resp.endpoints[0].s3_settings.csv_delimiter #=> String
1361
+ # resp.endpoints[0].s3_settings.bucket_folder #=> String
1362
+ # resp.endpoints[0].s3_settings.bucket_name #=> String
1363
+ # resp.endpoints[0].s3_settings.compression_type #=> String, one of "none", "gzip"
1364
+ # resp.endpoints[0].mongo_db_settings.username #=> String
1365
+ # resp.endpoints[0].mongo_db_settings.password #=> String
1366
+ # resp.endpoints[0].mongo_db_settings.server_name #=> String
1367
+ # resp.endpoints[0].mongo_db_settings.port #=> Integer
1368
+ # resp.endpoints[0].mongo_db_settings.database_name #=> String
1369
+ # resp.endpoints[0].mongo_db_settings.auth_type #=> String, one of "no", "password"
1370
+ # resp.endpoints[0].mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
1371
+ # resp.endpoints[0].mongo_db_settings.nesting_level #=> String, one of "none", "one"
1372
+ # resp.endpoints[0].mongo_db_settings.extract_doc_id #=> String
1373
+ # resp.endpoints[0].mongo_db_settings.docs_to_investigate #=> String
1374
+ # resp.endpoints[0].mongo_db_settings.auth_source #=> String
1108
1375
  #
1109
1376
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints AWS API Documentation
1110
1377
  #
@@ -1115,6 +1382,221 @@ module Aws::DatabaseMigrationService
1115
1382
  req.send_request(options)
1116
1383
  end
1117
1384
 
1385
+ # Lists categories for all event source types, or, if specified, for a
1386
+ # specified source type. You can see a list of the event categories and
1387
+ # source types in [ Working with Events and Notifications ][1] in the
1388
+ # AWS Database Migration Service User Guide.
1389
+ #
1390
+ #
1391
+ #
1392
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
1393
+ #
1394
+ # @option params [String] :source_type
1395
+ # The type of AWS DMS resource that generates events.
1396
+ #
1397
+ # Valid values: replication-instance \| migration-task
1398
+ #
1399
+ # @option params [Array<Types::Filter>] :filters
1400
+ # Filters applied to the action.
1401
+ #
1402
+ # @return [Types::DescribeEventCategoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1403
+ #
1404
+ # * {Types::DescribeEventCategoriesResponse#event_category_group_list #event_category_group_list} => Array&lt;Types::EventCategoryGroup&gt;
1405
+ #
1406
+ # @example Request syntax with placeholder values
1407
+ #
1408
+ # resp = client.describe_event_categories({
1409
+ # source_type: "String",
1410
+ # filters: [
1411
+ # {
1412
+ # name: "String", # required
1413
+ # values: ["String"], # required
1414
+ # },
1415
+ # ],
1416
+ # })
1417
+ #
1418
+ # @example Response structure
1419
+ #
1420
+ # resp.event_category_group_list #=> Array
1421
+ # resp.event_category_group_list[0].source_type #=> String
1422
+ # resp.event_category_group_list[0].event_categories #=> Array
1423
+ # resp.event_category_group_list[0].event_categories[0] #=> String
1424
+ #
1425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories AWS API Documentation
1426
+ #
1427
+ # @overload describe_event_categories(params = {})
1428
+ # @param [Hash] params ({})
1429
+ def describe_event_categories(params = {}, options = {})
1430
+ req = build_request(:describe_event_categories, params)
1431
+ req.send_request(options)
1432
+ end
1433
+
1434
+ # Lists all the event subscriptions for a customer account. The
1435
+ # description of a subscription includes `SubscriptionName`,
1436
+ # `SNSTopicARN`, `CustomerID`, `SourceType`, `SourceID`, `CreationTime`,
1437
+ # and `Status`.
1438
+ #
1439
+ # If you specify `SubscriptionName`, this action lists the description
1440
+ # for that subscription.
1441
+ #
1442
+ # @option params [String] :subscription_name
1443
+ # The name of the AWS DMS event subscription to be described.
1444
+ #
1445
+ # @option params [Array<Types::Filter>] :filters
1446
+ # Filters applied to the action.
1447
+ #
1448
+ # @option params [Integer] :max_records
1449
+ # The maximum number of records to include in the response. If more
1450
+ # records exist than the specified `MaxRecords` value, a pagination
1451
+ # token called a marker is included in the response so that the
1452
+ # remaining results can be retrieved.
1453
+ #
1454
+ # Default: 100
1455
+ #
1456
+ # Constraints: Minimum 20, maximum 100.
1457
+ #
1458
+ # @option params [String] :marker
1459
+ # An optional pagination token provided by a previous request. If this
1460
+ # parameter is specified, the response includes only records beyond the
1461
+ # marker, up to the value specified by `MaxRecords`.
1462
+ #
1463
+ # @return [Types::DescribeEventSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1464
+ #
1465
+ # * {Types::DescribeEventSubscriptionsResponse#marker #marker} => String
1466
+ # * {Types::DescribeEventSubscriptionsResponse#event_subscriptions_list #event_subscriptions_list} => Array&lt;Types::EventSubscription&gt;
1467
+ #
1468
+ # @example Request syntax with placeholder values
1469
+ #
1470
+ # resp = client.describe_event_subscriptions({
1471
+ # subscription_name: "String",
1472
+ # filters: [
1473
+ # {
1474
+ # name: "String", # required
1475
+ # values: ["String"], # required
1476
+ # },
1477
+ # ],
1478
+ # max_records: 1,
1479
+ # marker: "String",
1480
+ # })
1481
+ #
1482
+ # @example Response structure
1483
+ #
1484
+ # resp.marker #=> String
1485
+ # resp.event_subscriptions_list #=> Array
1486
+ # resp.event_subscriptions_list[0].customer_aws_id #=> String
1487
+ # resp.event_subscriptions_list[0].cust_subscription_id #=> String
1488
+ # resp.event_subscriptions_list[0].sns_topic_arn #=> String
1489
+ # resp.event_subscriptions_list[0].status #=> String
1490
+ # resp.event_subscriptions_list[0].subscription_creation_time #=> String
1491
+ # resp.event_subscriptions_list[0].source_type #=> String
1492
+ # resp.event_subscriptions_list[0].source_ids_list #=> Array
1493
+ # resp.event_subscriptions_list[0].source_ids_list[0] #=> String
1494
+ # resp.event_subscriptions_list[0].event_categories_list #=> Array
1495
+ # resp.event_subscriptions_list[0].event_categories_list[0] #=> String
1496
+ # resp.event_subscriptions_list[0].enabled #=> Boolean
1497
+ #
1498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions AWS API Documentation
1499
+ #
1500
+ # @overload describe_event_subscriptions(params = {})
1501
+ # @param [Hash] params ({})
1502
+ def describe_event_subscriptions(params = {}, options = {})
1503
+ req = build_request(:describe_event_subscriptions, params)
1504
+ req.send_request(options)
1505
+ end
1506
+
1507
+ # Lists events for a given source identifier and source type. You can
1508
+ # also specify a start and end time. For more information on AWS DMS
1509
+ # events, see [ Working with Events and Notifications ][1].
1510
+ #
1511
+ #
1512
+ #
1513
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
1514
+ #
1515
+ # @option params [String] :source_identifier
1516
+ # The identifier of the event source. An identifier must begin with a
1517
+ # letter and must contain only ASCII letters, digits, and hyphens. It
1518
+ # cannot end with a hyphen or contain two consecutive hyphens.
1519
+ #
1520
+ # @option params [String] :source_type
1521
+ # The type of AWS DMS resource that generates events.
1522
+ #
1523
+ # Valid values: replication-instance \| migration-task
1524
+ #
1525
+ # @option params [Time,DateTime,Date,Integer,String] :start_time
1526
+ # The start time for the events to be listed.
1527
+ #
1528
+ # @option params [Time,DateTime,Date,Integer,String] :end_time
1529
+ # The end time for the events to be listed.
1530
+ #
1531
+ # @option params [Integer] :duration
1532
+ # The duration of the events to be listed.
1533
+ #
1534
+ # @option params [Array<String>] :event_categories
1535
+ # A list of event categories for a source type that you want to
1536
+ # subscribe to.
1537
+ #
1538
+ # @option params [Array<Types::Filter>] :filters
1539
+ # Filters applied to the action.
1540
+ #
1541
+ # @option params [Integer] :max_records
1542
+ # The maximum number of records to include in the response. If more
1543
+ # records exist than the specified `MaxRecords` value, a pagination
1544
+ # token called a marker is included in the response so that the
1545
+ # remaining results can be retrieved.
1546
+ #
1547
+ # Default: 100
1548
+ #
1549
+ # Constraints: Minimum 20, maximum 100.
1550
+ #
1551
+ # @option params [String] :marker
1552
+ # An optional pagination token provided by a previous request. If this
1553
+ # parameter is specified, the response includes only records beyond the
1554
+ # marker, up to the value specified by `MaxRecords`.
1555
+ #
1556
+ # @return [Types::DescribeEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1557
+ #
1558
+ # * {Types::DescribeEventsResponse#marker #marker} => String
1559
+ # * {Types::DescribeEventsResponse#events #events} => Array&lt;Types::Event&gt;
1560
+ #
1561
+ # @example Request syntax with placeholder values
1562
+ #
1563
+ # resp = client.describe_events({
1564
+ # source_identifier: "String",
1565
+ # source_type: "replication-instance", # accepts replication-instance
1566
+ # start_time: Time.now,
1567
+ # end_time: Time.now,
1568
+ # duration: 1,
1569
+ # event_categories: ["String"],
1570
+ # filters: [
1571
+ # {
1572
+ # name: "String", # required
1573
+ # values: ["String"], # required
1574
+ # },
1575
+ # ],
1576
+ # max_records: 1,
1577
+ # marker: "String",
1578
+ # })
1579
+ #
1580
+ # @example Response structure
1581
+ #
1582
+ # resp.marker #=> String
1583
+ # resp.events #=> Array
1584
+ # resp.events[0].source_identifier #=> String
1585
+ # resp.events[0].source_type #=> String, one of "replication-instance"
1586
+ # resp.events[0].message #=> String
1587
+ # resp.events[0].event_categories #=> Array
1588
+ # resp.events[0].event_categories[0] #=> String
1589
+ # resp.events[0].date #=> Time
1590
+ #
1591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents AWS API Documentation
1592
+ #
1593
+ # @overload describe_events(params = {})
1594
+ # @param [Hash] params ({})
1595
+ def describe_events(params = {}, options = {})
1596
+ req = build_request(:describe_events, params)
1597
+ req.send_request(options)
1598
+ end
1599
+
1118
1600
  # Returns information about the replication instance types that can be
1119
1601
  # created in the specified region.
1120
1602
  #
@@ -1521,6 +2003,8 @@ module Aws::DatabaseMigrationService
1521
2003
  # resp.table_statistics[0].updates #=> Integer
1522
2004
  # resp.table_statistics[0].ddls #=> Integer
1523
2005
  # resp.table_statistics[0].full_load_rows #=> Integer
2006
+ # resp.table_statistics[0].full_load_condtnl_chk_failed_rows #=> Integer
2007
+ # resp.table_statistics[0].full_load_error_rows #=> Integer
1524
2008
  # resp.table_statistics[0].last_update_time #=> Time
1525
2009
  # resp.table_statistics[0].table_state #=> String
1526
2010
  # resp.marker #=> String
@@ -1547,6 +2031,9 @@ module Aws::DatabaseMigrationService
1547
2031
  # The location of the imported Oracle Wallet certificate for use with
1548
2032
  # SSL.
1549
2033
  #
2034
+ # @option params [Array<Types::Tag>] :tags
2035
+ # The tags associated with the certificate.
2036
+ #
1550
2037
  # @return [Types::ImportCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1551
2038
  #
1552
2039
  # * {Types::ImportCertificateResponse#certificate #certificate} => Types::Certificate
@@ -1557,6 +2044,12 @@ module Aws::DatabaseMigrationService
1557
2044
  # certificate_identifier: "String", # required
1558
2045
  # certificate_pem: "String",
1559
2046
  # certificate_wallet: "data",
2047
+ # tags: [
2048
+ # {
2049
+ # key: "String",
2050
+ # value: "String",
2051
+ # },
2052
+ # ],
1560
2053
  # })
1561
2054
  #
1562
2055
  # @example Response structure
@@ -1627,8 +2120,9 @@ module Aws::DatabaseMigrationService
1627
2120
  # The type of endpoint.
1628
2121
  #
1629
2122
  # @option params [String] :engine_name
1630
- # The type of engine for the endpoint. Valid values include MYSQL,
1631
- # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.
2123
+ # The type of engine for the endpoint. Valid values, depending on the
2124
+ # EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
2125
+ # REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER.
1632
2126
  #
1633
2127
  # @option params [String] :username
1634
2128
  # The user name to be used to login to the endpoint database.
@@ -1660,6 +2154,37 @@ module Aws::DatabaseMigrationService
1660
2154
  #
1661
2155
  # The default value is none.
1662
2156
  #
2157
+ # @option params [Types::DynamoDbSettings] :dynamo_db_settings
2158
+ # Settings in JSON format for the target Amazon DynamoDB endpoint. For
2159
+ # more information about the available settings, see the **Using Object
2160
+ # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon
2161
+ # DynamoDB Database as a Target for AWS Database Migration Service][1].
2162
+ #
2163
+ #
2164
+ #
2165
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
2166
+ #
2167
+ # @option params [Types::S3Settings] :s3_settings
2168
+ # Settings in JSON format for the target S3 endpoint. For more
2169
+ # information about the available settings, see the **Extra Connection
2170
+ # Attributes** section at [ Using Amazon S3 as a Target for AWS Database
2171
+ # Migration Service][1].
2172
+ #
2173
+ #
2174
+ #
2175
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
2176
+ #
2177
+ # @option params [Types::MongoDbSettings] :mongo_db_settings
2178
+ # Settings in JSON format for the source MongoDB endpoint. For more
2179
+ # information about the available settings, see the **Configuration
2180
+ # Properties When Using MongoDB as a Source for AWS Database Migration
2181
+ # Service** section at [ Using Amazon S3 as a Target for AWS Database
2182
+ # Migration Service][1].
2183
+ #
2184
+ #
2185
+ #
2186
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
2187
+ #
1663
2188
  # @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1664
2189
  #
1665
2190
  # * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
@@ -1679,6 +2204,31 @@ module Aws::DatabaseMigrationService
1679
2204
  # extra_connection_attributes: "String",
1680
2205
  # certificate_arn: "String",
1681
2206
  # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
2207
+ # dynamo_db_settings: {
2208
+ # service_access_role_arn: "String", # required
2209
+ # },
2210
+ # s3_settings: {
2211
+ # service_access_role_arn: "String",
2212
+ # external_table_definition: "String",
2213
+ # csv_row_delimiter: "String",
2214
+ # csv_delimiter: "String",
2215
+ # bucket_folder: "String",
2216
+ # bucket_name: "String",
2217
+ # compression_type: "none", # accepts none, gzip
2218
+ # },
2219
+ # mongo_db_settings: {
2220
+ # username: "String",
2221
+ # password: "SecretString",
2222
+ # server_name: "String",
2223
+ # port: 1,
2224
+ # database_name: "String",
2225
+ # auth_type: "no", # accepts no, password
2226
+ # auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
2227
+ # nesting_level: "none", # accepts none, one
2228
+ # extract_doc_id: "String",
2229
+ # docs_to_investigate: "String",
2230
+ # auth_source: "String",
2231
+ # },
1682
2232
  # })
1683
2233
  #
1684
2234
  # @example Response structure
@@ -1696,6 +2246,26 @@ module Aws::DatabaseMigrationService
1696
2246
  # resp.endpoint.endpoint_arn #=> String
1697
2247
  # resp.endpoint.certificate_arn #=> String
1698
2248
  # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
2249
+ # resp.endpoint.external_id #=> String
2250
+ # resp.endpoint.dynamo_db_settings.service_access_role_arn #=> String
2251
+ # resp.endpoint.s3_settings.service_access_role_arn #=> String
2252
+ # resp.endpoint.s3_settings.external_table_definition #=> String
2253
+ # resp.endpoint.s3_settings.csv_row_delimiter #=> String
2254
+ # resp.endpoint.s3_settings.csv_delimiter #=> String
2255
+ # resp.endpoint.s3_settings.bucket_folder #=> String
2256
+ # resp.endpoint.s3_settings.bucket_name #=> String
2257
+ # resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
2258
+ # resp.endpoint.mongo_db_settings.username #=> String
2259
+ # resp.endpoint.mongo_db_settings.password #=> String
2260
+ # resp.endpoint.mongo_db_settings.server_name #=> String
2261
+ # resp.endpoint.mongo_db_settings.port #=> Integer
2262
+ # resp.endpoint.mongo_db_settings.database_name #=> String
2263
+ # resp.endpoint.mongo_db_settings.auth_type #=> String, one of "no", "password"
2264
+ # resp.endpoint.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
2265
+ # resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
2266
+ # resp.endpoint.mongo_db_settings.extract_doc_id #=> String
2267
+ # resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
2268
+ # resp.endpoint.mongo_db_settings.auth_source #=> String
1699
2269
  #
1700
2270
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation
1701
2271
  #
@@ -1706,6 +2276,68 @@ module Aws::DatabaseMigrationService
1706
2276
  req.send_request(options)
1707
2277
  end
1708
2278
 
2279
+ # Modifies an existing AWS DMS event notification subscription.
2280
+ #
2281
+ # @option params [required, String] :subscription_name
2282
+ # The name of the AWS DMS event notification subscription to be
2283
+ # modified.
2284
+ #
2285
+ # @option params [String] :sns_topic_arn
2286
+ # The Amazon Resource Name (ARN) of the Amazon SNS topic created for
2287
+ # event notification. The ARN is created by Amazon SNS when you create a
2288
+ # topic and subscribe to it.
2289
+ #
2290
+ # @option params [String] :source_type
2291
+ # The type of AWS DMS resource that generates the events you want to
2292
+ # subscribe to.
2293
+ #
2294
+ # Valid values: replication-instance \| migration-task
2295
+ #
2296
+ # @option params [Array<String>] :event_categories
2297
+ # A list of event categories for a source type that you want to
2298
+ # subscribe to. Use the `DescribeEventCategories` action to see a list
2299
+ # of event categories.
2300
+ #
2301
+ # @option params [Boolean] :enabled
2302
+ # A Boolean value; set to **true** to activate the subscription.
2303
+ #
2304
+ # @return [Types::ModifyEventSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2305
+ #
2306
+ # * {Types::ModifyEventSubscriptionResponse#event_subscription #event_subscription} => Types::EventSubscription
2307
+ #
2308
+ # @example Request syntax with placeholder values
2309
+ #
2310
+ # resp = client.modify_event_subscription({
2311
+ # subscription_name: "String", # required
2312
+ # sns_topic_arn: "String",
2313
+ # source_type: "String",
2314
+ # event_categories: ["String"],
2315
+ # enabled: false,
2316
+ # })
2317
+ #
2318
+ # @example Response structure
2319
+ #
2320
+ # resp.event_subscription.customer_aws_id #=> String
2321
+ # resp.event_subscription.cust_subscription_id #=> String
2322
+ # resp.event_subscription.sns_topic_arn #=> String
2323
+ # resp.event_subscription.status #=> String
2324
+ # resp.event_subscription.subscription_creation_time #=> String
2325
+ # resp.event_subscription.source_type #=> String
2326
+ # resp.event_subscription.source_ids_list #=> Array
2327
+ # resp.event_subscription.source_ids_list[0] #=> String
2328
+ # resp.event_subscription.event_categories_list #=> Array
2329
+ # resp.event_subscription.event_categories_list[0] #=> String
2330
+ # resp.event_subscription.enabled #=> Boolean
2331
+ #
2332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription AWS API Documentation
2333
+ #
2334
+ # @overload modify_event_subscription(params = {})
2335
+ # @param [Hash] params ({})
2336
+ def modify_event_subscription(params = {}, options = {})
2337
+ req = build_request(:modify_event_subscription, params)
2338
+ req.send_request(options)
2339
+ end
2340
+
1709
2341
  # Modifies the replication instance to apply new settings. You can
1710
2342
  # change one or more parameters by specifying these parameters and the
1711
2343
  # new values in the request.
@@ -1897,6 +2529,13 @@ module Aws::DatabaseMigrationService
1897
2529
  # You can't modify the task endpoints. The task must be stopped before
1898
2530
  # you can modify it.
1899
2531
  #
2532
+ # For more information about AWS DMS tasks, see the AWS DMS user guide
2533
+ # at [ Working with Migration Tasks ][1]
2534
+ #
2535
+ #
2536
+ #
2537
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
2538
+ #
1900
2539
  # @option params [required, String] :replication_task_arn
1901
2540
  # The Amazon Resource Name (ARN) of the replication task.
1902
2541
  #
@@ -1905,7 +2544,7 @@ module Aws::DatabaseMigrationService
1905
2544
  #
1906
2545
  # Constraints:
1907
2546
  #
1908
- # * Must contain from 1 to 63 alphanumeric characters or hyphens.
2547
+ # * Must contain from 1 to 255 alphanumeric characters or hyphens.
1909
2548
  #
1910
2549
  # * First character must be a letter.
1911
2550
  #
@@ -1917,8 +2556,10 @@ module Aws::DatabaseMigrationService
1917
2556
  # Valid values: full-load \| cdc \| full-load-and-cdc
1918
2557
  #
1919
2558
  # @option params [String] :table_mappings
1920
- # The path of the JSON file that contains the table mappings. Preceed
1921
- # the path with "file://".
2559
+ # When using the AWS CLI or boto3, provide the path of the JSON file
2560
+ # that contains the table mappings. Precede the path with "file://".
2561
+ # When working with the DMS API, provide the JSON as the parameter
2562
+ # value.
1922
2563
  #
1923
2564
  # For example, --table-mappings file://mappingfile.json
1924
2565
  #
@@ -2015,6 +2656,43 @@ module Aws::DatabaseMigrationService
2015
2656
  req.send_request(options)
2016
2657
  end
2017
2658
 
2659
+ # Reloads the target database table with the source data.
2660
+ #
2661
+ # @option params [required, String] :replication_task_arn
2662
+ # The Amazon Resource Name (ARN) of the replication instance.
2663
+ #
2664
+ # @option params [required, Array<Types::TableToReload>] :tables_to_reload
2665
+ # The name and schema of the table to be reloaded.
2666
+ #
2667
+ # @return [Types::ReloadTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2668
+ #
2669
+ # * {Types::ReloadTablesResponse#replication_task_arn #replication_task_arn} => String
2670
+ #
2671
+ # @example Request syntax with placeholder values
2672
+ #
2673
+ # resp = client.reload_tables({
2674
+ # replication_task_arn: "String", # required
2675
+ # tables_to_reload: [ # required
2676
+ # {
2677
+ # schema_name: "String",
2678
+ # table_name: "String",
2679
+ # },
2680
+ # ],
2681
+ # })
2682
+ #
2683
+ # @example Response structure
2684
+ #
2685
+ # resp.replication_task_arn #=> String
2686
+ #
2687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables AWS API Documentation
2688
+ #
2689
+ # @overload reload_tables(params = {})
2690
+ # @param [Hash] params ({})
2691
+ def reload_tables(params = {}, options = {})
2692
+ req = build_request(:reload_tables, params)
2693
+ req.send_request(options)
2694
+ end
2695
+
2018
2696
  # Removes metadata tags from a DMS resource.
2019
2697
  #
2020
2698
  # @option params [required, String] :resource_arn
@@ -2044,6 +2722,13 @@ module Aws::DatabaseMigrationService
2044
2722
 
2045
2723
  # Starts the replication task.
2046
2724
  #
2725
+ # For more information about AWS DMS tasks, see the AWS DMS user guide
2726
+ # at [ Working with Migration Tasks ][1]
2727
+ #
2728
+ #
2729
+ #
2730
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
2731
+ #
2047
2732
  # @option params [required, String] :replication_task_arn
2048
2733
  # The Amazon Resource Number (ARN) of the replication task to be
2049
2734
  # started.
@@ -2195,7 +2880,7 @@ module Aws::DatabaseMigrationService
2195
2880
  params: params,
2196
2881
  config: config)
2197
2882
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
2198
- context[:gem_version] = '1.0.0.rc6'
2883
+ context[:gem_version] = '1.0.0.rc7'
2199
2884
  Seahorse::Client::Request.new(handlers, context)
2200
2885
  end
2201
2886