aws-sdk-docdb 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-docdb.rb +2 -2
- data/lib/aws-sdk-docdb/client.rb +409 -1
- data/lib/aws-sdk-docdb/client_api.rb +184 -0
- data/lib/aws-sdk-docdb/errors.rb +99 -0
- data/lib/aws-sdk-docdb/types.rb +508 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef51d22dcd47b94c5fade5a5dfe4ce3e4d7d4585078bc7b80152e674a5a9eb7c
|
4
|
+
data.tar.gz: 12389a846a9044e80cd07ff2026196558219f625f485cfb4122d31e5aa0fe31a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3196274150d93474fa61a2a814f5a495e503abc2272f6c2e48a6ec2a9c37de3b7b19d96cc59e29b01b6e64e9f824a35730394ecd7300d7676189aa409ada3fe1
|
7
|
+
data.tar.gz: b13aaf10d58211ba700adbc917e62f149aef202d47ca38c5a3e2bedd4dbc0f9d7a9efadd6f6be37936fb6cbbbffa1e3f911df8aecb99abe238cf70e81d8fbe3c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-docdb.rb
CHANGED
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-docdb/customizations'
|
|
29
29
|
# structure.
|
30
30
|
#
|
31
31
|
# doc_db = Aws::DocDB::Client.new
|
32
|
-
# resp = doc_db.
|
32
|
+
# resp = doc_db.add_source_identifier_to_subscription(params)
|
33
33
|
#
|
34
34
|
# See {Client} for more information.
|
35
35
|
#
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-docdb/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::DocDB
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.30.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-docdb/client.rb
CHANGED
@@ -329,6 +329,63 @@ module Aws::DocDB
|
|
329
329
|
|
330
330
|
# @!group API Operations
|
331
331
|
|
332
|
+
# Adds a source identifier to an existing event notification
|
333
|
+
# subscription.
|
334
|
+
#
|
335
|
+
# @option params [required, String] :subscription_name
|
336
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
337
|
+
# you want to add a source identifier to.
|
338
|
+
#
|
339
|
+
# @option params [required, String] :source_identifier
|
340
|
+
# The identifier of the event source to be added:
|
341
|
+
#
|
342
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must be
|
343
|
+
# provided.
|
344
|
+
#
|
345
|
+
# * If the source type is a security group, a `DBSecurityGroupName` must
|
346
|
+
# be provided.
|
347
|
+
#
|
348
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
349
|
+
# must be provided.
|
350
|
+
#
|
351
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
352
|
+
# provided.
|
353
|
+
#
|
354
|
+
# @return [Types::AddSourceIdentifierToSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
355
|
+
#
|
356
|
+
# * {Types::AddSourceIdentifierToSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
357
|
+
#
|
358
|
+
# @example Request syntax with placeholder values
|
359
|
+
#
|
360
|
+
# resp = client.add_source_identifier_to_subscription({
|
361
|
+
# subscription_name: "String", # required
|
362
|
+
# source_identifier: "String", # required
|
363
|
+
# })
|
364
|
+
#
|
365
|
+
# @example Response structure
|
366
|
+
#
|
367
|
+
# resp.event_subscription.customer_aws_id #=> String
|
368
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
369
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
370
|
+
# resp.event_subscription.status #=> String
|
371
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
372
|
+
# resp.event_subscription.source_type #=> String
|
373
|
+
# resp.event_subscription.source_ids_list #=> Array
|
374
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
375
|
+
# resp.event_subscription.event_categories_list #=> Array
|
376
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
377
|
+
# resp.event_subscription.enabled #=> Boolean
|
378
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
379
|
+
#
|
380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscription AWS API Documentation
|
381
|
+
#
|
382
|
+
# @overload add_source_identifier_to_subscription(params = {})
|
383
|
+
# @param [Hash] params ({})
|
384
|
+
def add_source_identifier_to_subscription(params = {}, options = {})
|
385
|
+
req = build_request(:add_source_identifier_to_subscription, params)
|
386
|
+
req.send_request(options)
|
387
|
+
end
|
388
|
+
|
332
389
|
# Adds metadata tags to an Amazon DocumentDB resource. You can use these
|
333
390
|
# tags with cost allocation reporting to track costs that are associated
|
334
391
|
# with Amazon DocumentDB resources. or in a `Condition` statement in an
|
@@ -1284,6 +1341,129 @@ module Aws::DocDB
|
|
1284
1341
|
req.send_request(options)
|
1285
1342
|
end
|
1286
1343
|
|
1344
|
+
# Creates an Amazon DocumentDB event notification subscription. This
|
1345
|
+
# action requires a topic Amazon Resource Name (ARN) created by using
|
1346
|
+
# the Amazon DocumentDB console, the Amazon SNS console, or the Amazon
|
1347
|
+
# SNS API. To obtain an ARN with Amazon SNS, you must create a topic in
|
1348
|
+
# Amazon SNS and subscribe to the topic. The ARN is displayed in the
|
1349
|
+
# Amazon SNS console.
|
1350
|
+
#
|
1351
|
+
# You can specify the type of source (`SourceType`) that you want to be
|
1352
|
+
# notified of. You can also provide a list of Amazon DocumentDB sources
|
1353
|
+
# (`SourceIds`) that trigger the events, and you can provide a list of
|
1354
|
+
# event categories (`EventCategories`) for events that you want to be
|
1355
|
+
# notified of. For example, you can specify `SourceType = db-instance`,
|
1356
|
+
# `SourceIds = mydbinstance1, mydbinstance2` and `EventCategories =
|
1357
|
+
# Availability, Backup`.
|
1358
|
+
#
|
1359
|
+
# If you specify both the `SourceType` and `SourceIds` (such as
|
1360
|
+
# `SourceType = db-instance` and `SourceIdentifier = myDBInstance1`),
|
1361
|
+
# you are notified of all the `db-instance` events for the specified
|
1362
|
+
# source. If you specify a `SourceType` but do not specify a
|
1363
|
+
# `SourceIdentifier`, you receive notice of the events for that source
|
1364
|
+
# type for all your Amazon DocumentDB sources. If you do not specify
|
1365
|
+
# either the `SourceType` or the `SourceIdentifier`, you are notified of
|
1366
|
+
# events generated from all Amazon DocumentDB sources belonging to your
|
1367
|
+
# customer account.
|
1368
|
+
#
|
1369
|
+
# @option params [required, String] :subscription_name
|
1370
|
+
# The name of the subscription.
|
1371
|
+
#
|
1372
|
+
# Constraints: The name must be fewer than 255 characters.
|
1373
|
+
#
|
1374
|
+
# @option params [required, String] :sns_topic_arn
|
1375
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
1376
|
+
# notification. Amazon SNS creates the ARN when you create a topic and
|
1377
|
+
# subscribe to it.
|
1378
|
+
#
|
1379
|
+
# @option params [String] :source_type
|
1380
|
+
# The type of source that is generating the events. For example, if you
|
1381
|
+
# want to be notified of events generated by an instance, you would set
|
1382
|
+
# this parameter to `db-instance`. If this value is not specified, all
|
1383
|
+
# events are returned.
|
1384
|
+
#
|
1385
|
+
# Valid values: `db-instance`, `db-cluster`, `db-parameter-group`,
|
1386
|
+
# `db-security-group`, `db-snapshot`, `db-cluster-snapshot`
|
1387
|
+
#
|
1388
|
+
# @option params [Array<String>] :event_categories
|
1389
|
+
# A list of event categories for a `SourceType` that you want to
|
1390
|
+
# subscribe to.
|
1391
|
+
#
|
1392
|
+
# @option params [Array<String>] :source_ids
|
1393
|
+
# The list of identifiers of the event sources for which events are
|
1394
|
+
# returned. If not specified, then all sources are included in the
|
1395
|
+
# response. An identifier must begin with a letter and must contain only
|
1396
|
+
# ASCII letters, digits, and hyphens; it can't end with a hyphen or
|
1397
|
+
# contain two consecutive hyphens.
|
1398
|
+
#
|
1399
|
+
# Constraints:
|
1400
|
+
#
|
1401
|
+
# * If `SourceIds` are provided, `SourceType` must also be provided.
|
1402
|
+
#
|
1403
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must be
|
1404
|
+
# provided.
|
1405
|
+
#
|
1406
|
+
# * If the source type is a security group, a `DBSecurityGroupName` must
|
1407
|
+
# be provided.
|
1408
|
+
#
|
1409
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
1410
|
+
# must be provided.
|
1411
|
+
#
|
1412
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
1413
|
+
# provided.
|
1414
|
+
#
|
1415
|
+
# @option params [Boolean] :enabled
|
1416
|
+
# A Boolean value; set to `true` to activate the subscription, set to
|
1417
|
+
# `false` to create the subscription but not active it.
|
1418
|
+
#
|
1419
|
+
# @option params [Array<Types::Tag>] :tags
|
1420
|
+
# The tags to be assigned to the event subscription.
|
1421
|
+
#
|
1422
|
+
# @return [Types::CreateEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1423
|
+
#
|
1424
|
+
# * {Types::CreateEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
1425
|
+
#
|
1426
|
+
# @example Request syntax with placeholder values
|
1427
|
+
#
|
1428
|
+
# resp = client.create_event_subscription({
|
1429
|
+
# subscription_name: "String", # required
|
1430
|
+
# sns_topic_arn: "String", # required
|
1431
|
+
# source_type: "String",
|
1432
|
+
# event_categories: ["String"],
|
1433
|
+
# source_ids: ["String"],
|
1434
|
+
# enabled: false,
|
1435
|
+
# tags: [
|
1436
|
+
# {
|
1437
|
+
# key: "String",
|
1438
|
+
# value: "String",
|
1439
|
+
# },
|
1440
|
+
# ],
|
1441
|
+
# })
|
1442
|
+
#
|
1443
|
+
# @example Response structure
|
1444
|
+
#
|
1445
|
+
# resp.event_subscription.customer_aws_id #=> String
|
1446
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
1447
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
1448
|
+
# resp.event_subscription.status #=> String
|
1449
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
1450
|
+
# resp.event_subscription.source_type #=> String
|
1451
|
+
# resp.event_subscription.source_ids_list #=> Array
|
1452
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
1453
|
+
# resp.event_subscription.event_categories_list #=> Array
|
1454
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
1455
|
+
# resp.event_subscription.enabled #=> Boolean
|
1456
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
1457
|
+
#
|
1458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscription AWS API Documentation
|
1459
|
+
#
|
1460
|
+
# @overload create_event_subscription(params = {})
|
1461
|
+
# @param [Hash] params ({})
|
1462
|
+
def create_event_subscription(params = {}, options = {})
|
1463
|
+
req = build_request(:create_event_subscription, params)
|
1464
|
+
req.send_request(options)
|
1465
|
+
end
|
1466
|
+
|
1287
1467
|
# Deletes a previously provisioned cluster. When you delete a cluster,
|
1288
1468
|
# all automated backups for that cluster are deleted and can't be
|
1289
1469
|
# recovered. Manual DB cluster snapshots of the specified cluster are
|
@@ -1607,6 +1787,46 @@ module Aws::DocDB
|
|
1607
1787
|
req.send_request(options)
|
1608
1788
|
end
|
1609
1789
|
|
1790
|
+
# Deletes an Amazon DocumentDB event notification subscription.
|
1791
|
+
#
|
1792
|
+
# @option params [required, String] :subscription_name
|
1793
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
1794
|
+
# you want to delete.
|
1795
|
+
#
|
1796
|
+
# @return [Types::DeleteEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1797
|
+
#
|
1798
|
+
# * {Types::DeleteEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
1799
|
+
#
|
1800
|
+
# @example Request syntax with placeholder values
|
1801
|
+
#
|
1802
|
+
# resp = client.delete_event_subscription({
|
1803
|
+
# subscription_name: "String", # required
|
1804
|
+
# })
|
1805
|
+
#
|
1806
|
+
# @example Response structure
|
1807
|
+
#
|
1808
|
+
# resp.event_subscription.customer_aws_id #=> String
|
1809
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
1810
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
1811
|
+
# resp.event_subscription.status #=> String
|
1812
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
1813
|
+
# resp.event_subscription.source_type #=> String
|
1814
|
+
# resp.event_subscription.source_ids_list #=> Array
|
1815
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
1816
|
+
# resp.event_subscription.event_categories_list #=> Array
|
1817
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
1818
|
+
# resp.event_subscription.enabled #=> Boolean
|
1819
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
1820
|
+
#
|
1821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscription AWS API Documentation
|
1822
|
+
#
|
1823
|
+
# @overload delete_event_subscription(params = {})
|
1824
|
+
# @param [Hash] params ({})
|
1825
|
+
def delete_event_subscription(params = {}, options = {})
|
1826
|
+
req = build_request(:delete_event_subscription, params)
|
1827
|
+
req.send_request(options)
|
1828
|
+
end
|
1829
|
+
|
1610
1830
|
# Returns a list of certificate authority (CA) certificates provided by
|
1611
1831
|
# Amazon DocumentDB for this AWS account.
|
1612
1832
|
#
|
@@ -2568,6 +2788,83 @@ module Aws::DocDB
|
|
2568
2788
|
req.send_request(options)
|
2569
2789
|
end
|
2570
2790
|
|
2791
|
+
# Lists all the subscription descriptions for a customer account. The
|
2792
|
+
# description for a subscription includes `SubscriptionName`,
|
2793
|
+
# `SNSTopicARN`, `CustomerID`, `SourceType`, `SourceID`, `CreationTime`,
|
2794
|
+
# and `Status`.
|
2795
|
+
#
|
2796
|
+
# If you specify a `SubscriptionName`, lists the description for that
|
2797
|
+
# subscription.
|
2798
|
+
#
|
2799
|
+
# @option params [String] :subscription_name
|
2800
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
2801
|
+
# you want to describe.
|
2802
|
+
#
|
2803
|
+
# @option params [Array<Types::Filter>] :filters
|
2804
|
+
# This parameter is not currently supported.
|
2805
|
+
#
|
2806
|
+
# @option params [Integer] :max_records
|
2807
|
+
# The maximum number of records to include in the response. If more
|
2808
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2809
|
+
# token (marker) is included in the response so that the remaining
|
2810
|
+
# results can be retrieved.
|
2811
|
+
#
|
2812
|
+
# Default: 100
|
2813
|
+
#
|
2814
|
+
# Constraints: Minimum 20, maximum 100.
|
2815
|
+
#
|
2816
|
+
# @option params [String] :marker
|
2817
|
+
# An optional pagination token provided by a previous request. If this
|
2818
|
+
# parameter is specified, the response includes only records beyond the
|
2819
|
+
# marker, up to the value specified by `MaxRecords`.
|
2820
|
+
#
|
2821
|
+
# @return [Types::EventSubscriptionsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2822
|
+
#
|
2823
|
+
# * {Types::EventSubscriptionsMessage#marker #marker} => String
|
2824
|
+
# * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array<Types::EventSubscription>
|
2825
|
+
#
|
2826
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2827
|
+
#
|
2828
|
+
# @example Request syntax with placeholder values
|
2829
|
+
#
|
2830
|
+
# resp = client.describe_event_subscriptions({
|
2831
|
+
# subscription_name: "String",
|
2832
|
+
# filters: [
|
2833
|
+
# {
|
2834
|
+
# name: "String", # required
|
2835
|
+
# values: ["String"], # required
|
2836
|
+
# },
|
2837
|
+
# ],
|
2838
|
+
# max_records: 1,
|
2839
|
+
# marker: "String",
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# @example Response structure
|
2843
|
+
#
|
2844
|
+
# resp.marker #=> String
|
2845
|
+
# resp.event_subscriptions_list #=> Array
|
2846
|
+
# resp.event_subscriptions_list[0].customer_aws_id #=> String
|
2847
|
+
# resp.event_subscriptions_list[0].cust_subscription_id #=> String
|
2848
|
+
# resp.event_subscriptions_list[0].sns_topic_arn #=> String
|
2849
|
+
# resp.event_subscriptions_list[0].status #=> String
|
2850
|
+
# resp.event_subscriptions_list[0].subscription_creation_time #=> String
|
2851
|
+
# resp.event_subscriptions_list[0].source_type #=> String
|
2852
|
+
# resp.event_subscriptions_list[0].source_ids_list #=> Array
|
2853
|
+
# resp.event_subscriptions_list[0].source_ids_list[0] #=> String
|
2854
|
+
# resp.event_subscriptions_list[0].event_categories_list #=> Array
|
2855
|
+
# resp.event_subscriptions_list[0].event_categories_list[0] #=> String
|
2856
|
+
# resp.event_subscriptions_list[0].enabled #=> Boolean
|
2857
|
+
# resp.event_subscriptions_list[0].event_subscription_arn #=> String
|
2858
|
+
#
|
2859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventSubscriptions AWS API Documentation
|
2860
|
+
#
|
2861
|
+
# @overload describe_event_subscriptions(params = {})
|
2862
|
+
# @param [Hash] params ({})
|
2863
|
+
def describe_event_subscriptions(params = {}, options = {})
|
2864
|
+
req = build_request(:describe_event_subscriptions, params)
|
2865
|
+
req.send_request(options)
|
2866
|
+
end
|
2867
|
+
|
2571
2868
|
# Returns events related to instances, security groups, snapshots, and
|
2572
2869
|
# DB parameter groups for the past 14 days. You can obtain events
|
2573
2870
|
# specific to a particular DB instance, security group, snapshot, or
|
@@ -3556,6 +3853,71 @@ module Aws::DocDB
|
|
3556
3853
|
req.send_request(options)
|
3557
3854
|
end
|
3558
3855
|
|
3856
|
+
# Modifies an existing Amazon DocumentDB event notification
|
3857
|
+
# subscription.
|
3858
|
+
#
|
3859
|
+
# @option params [required, String] :subscription_name
|
3860
|
+
# The name of the Amazon DocumentDB event notification subscription.
|
3861
|
+
#
|
3862
|
+
# @option params [String] :sns_topic_arn
|
3863
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
3864
|
+
# notification. The ARN is created by Amazon SNS when you create a topic
|
3865
|
+
# and subscribe to it.
|
3866
|
+
#
|
3867
|
+
# @option params [String] :source_type
|
3868
|
+
# The type of source that is generating the events. For example, if you
|
3869
|
+
# want to be notified of events generated by an instance, set this
|
3870
|
+
# parameter to `db-instance`. If this value is not specified, all events
|
3871
|
+
# are returned.
|
3872
|
+
#
|
3873
|
+
# Valid values: `db-instance`, `db-parameter-group`,
|
3874
|
+
# `db-security-group`, `db-snapshot`
|
3875
|
+
#
|
3876
|
+
# @option params [Array<String>] :event_categories
|
3877
|
+
# A list of event categories for a `SourceType` that you want to
|
3878
|
+
# subscribe to.
|
3879
|
+
#
|
3880
|
+
# @option params [Boolean] :enabled
|
3881
|
+
# A Boolean value; set to `true` to activate the subscription.
|
3882
|
+
#
|
3883
|
+
# @return [Types::ModifyEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3884
|
+
#
|
3885
|
+
# * {Types::ModifyEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
3886
|
+
#
|
3887
|
+
# @example Request syntax with placeholder values
|
3888
|
+
#
|
3889
|
+
# resp = client.modify_event_subscription({
|
3890
|
+
# subscription_name: "String", # required
|
3891
|
+
# sns_topic_arn: "String",
|
3892
|
+
# source_type: "String",
|
3893
|
+
# event_categories: ["String"],
|
3894
|
+
# enabled: false,
|
3895
|
+
# })
|
3896
|
+
#
|
3897
|
+
# @example Response structure
|
3898
|
+
#
|
3899
|
+
# resp.event_subscription.customer_aws_id #=> String
|
3900
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
3901
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
3902
|
+
# resp.event_subscription.status #=> String
|
3903
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
3904
|
+
# resp.event_subscription.source_type #=> String
|
3905
|
+
# resp.event_subscription.source_ids_list #=> Array
|
3906
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
3907
|
+
# resp.event_subscription.event_categories_list #=> Array
|
3908
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
3909
|
+
# resp.event_subscription.enabled #=> Boolean
|
3910
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
3911
|
+
#
|
3912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscription AWS API Documentation
|
3913
|
+
#
|
3914
|
+
# @overload modify_event_subscription(params = {})
|
3915
|
+
# @param [Hash] params ({})
|
3916
|
+
def modify_event_subscription(params = {}, options = {})
|
3917
|
+
req = build_request(:modify_event_subscription, params)
|
3918
|
+
req.send_request(options)
|
3919
|
+
end
|
3920
|
+
|
3559
3921
|
# You might need to reboot your instance, usually for maintenance
|
3560
3922
|
# reasons. For example, if you make certain changes, or if you change
|
3561
3923
|
# the cluster parameter group that is associated with the instance, you
|
@@ -3663,6 +4025,52 @@ module Aws::DocDB
|
|
3663
4025
|
req.send_request(options)
|
3664
4026
|
end
|
3665
4027
|
|
4028
|
+
# Removes a source identifier from an existing Amazon DocumentDB event
|
4029
|
+
# notification subscription.
|
4030
|
+
#
|
4031
|
+
# @option params [required, String] :subscription_name
|
4032
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
4033
|
+
# you want to remove a source identifier from.
|
4034
|
+
#
|
4035
|
+
# @option params [required, String] :source_identifier
|
4036
|
+
# The source identifier to be removed from the subscription, such as the
|
4037
|
+
# instance identifier for an instance, or the name of a security group.
|
4038
|
+
#
|
4039
|
+
# @return [Types::RemoveSourceIdentifierFromSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4040
|
+
#
|
4041
|
+
# * {Types::RemoveSourceIdentifierFromSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
4042
|
+
#
|
4043
|
+
# @example Request syntax with placeholder values
|
4044
|
+
#
|
4045
|
+
# resp = client.remove_source_identifier_from_subscription({
|
4046
|
+
# subscription_name: "String", # required
|
4047
|
+
# source_identifier: "String", # required
|
4048
|
+
# })
|
4049
|
+
#
|
4050
|
+
# @example Response structure
|
4051
|
+
#
|
4052
|
+
# resp.event_subscription.customer_aws_id #=> String
|
4053
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
4054
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
4055
|
+
# resp.event_subscription.status #=> String
|
4056
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
4057
|
+
# resp.event_subscription.source_type #=> String
|
4058
|
+
# resp.event_subscription.source_ids_list #=> Array
|
4059
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
4060
|
+
# resp.event_subscription.event_categories_list #=> Array
|
4061
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
4062
|
+
# resp.event_subscription.enabled #=> Boolean
|
4063
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
4064
|
+
#
|
4065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscription AWS API Documentation
|
4066
|
+
#
|
4067
|
+
# @overload remove_source_identifier_from_subscription(params = {})
|
4068
|
+
# @param [Hash] params ({})
|
4069
|
+
def remove_source_identifier_from_subscription(params = {}, options = {})
|
4070
|
+
req = build_request(:remove_source_identifier_from_subscription, params)
|
4071
|
+
req.send_request(options)
|
4072
|
+
end
|
4073
|
+
|
3666
4074
|
# Removes metadata tags from an Amazon DocumentDB resource.
|
3667
4075
|
#
|
3668
4076
|
# @option params [required, String] :resource_name
|
@@ -4282,7 +4690,7 @@ module Aws::DocDB
|
|
4282
4690
|
params: params,
|
4283
4691
|
config: config)
|
4284
4692
|
context[:gem_name] = 'aws-sdk-docdb'
|
4285
|
-
context[:gem_version] = '1.
|
4693
|
+
context[:gem_version] = '1.30.0'
|
4286
4694
|
Seahorse::Client::Request.new(handlers, context)
|
4287
4695
|
end
|
4288
4696
|
|