aws-sdk-docdb 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/lib/aws-sdk-docdb/types.rb
CHANGED
@@ -10,6 +10,58 @@
|
|
10
10
|
module Aws::DocDB
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Represents the input to AddSourceIdentifierToSubscription.
|
14
|
+
#
|
15
|
+
# @note When making an API call, you may pass AddSourceIdentifierToSubscriptionMessage
|
16
|
+
# data as a hash:
|
17
|
+
#
|
18
|
+
# {
|
19
|
+
# subscription_name: "String", # required
|
20
|
+
# source_identifier: "String", # required
|
21
|
+
# }
|
22
|
+
#
|
23
|
+
# @!attribute [rw] subscription_name
|
24
|
+
# The name of the Amazon DocumentDB event notification subscription
|
25
|
+
# that you want to add a source identifier to.
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
# @!attribute [rw] source_identifier
|
29
|
+
# The identifier of the event source to be added:
|
30
|
+
#
|
31
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must
|
32
|
+
# be provided.
|
33
|
+
#
|
34
|
+
# * If the source type is a security group, a `DBSecurityGroupName`
|
35
|
+
# must be provided.
|
36
|
+
#
|
37
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
38
|
+
# must be provided.
|
39
|
+
#
|
40
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
41
|
+
# provided.
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscriptionMessage AWS API Documentation
|
45
|
+
#
|
46
|
+
class AddSourceIdentifierToSubscriptionMessage < Struct.new(
|
47
|
+
:subscription_name,
|
48
|
+
:source_identifier)
|
49
|
+
SENSITIVE = []
|
50
|
+
include Aws::Structure
|
51
|
+
end
|
52
|
+
|
53
|
+
# @!attribute [rw] event_subscription
|
54
|
+
# Detailed information about an event to which you have subscribed.
|
55
|
+
# @return [Types::EventSubscription]
|
56
|
+
#
|
57
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscriptionResult AWS API Documentation
|
58
|
+
#
|
59
|
+
class AddSourceIdentifierToSubscriptionResult < Struct.new(
|
60
|
+
:event_subscription)
|
61
|
+
SENSITIVE = []
|
62
|
+
include Aws::Structure
|
63
|
+
end
|
64
|
+
|
13
65
|
# Represents the input to AddTagsToResource.
|
14
66
|
#
|
15
67
|
# @note When making an API call, you may pass AddTagsToResourceMessage
|
@@ -1047,6 +1099,112 @@ module Aws::DocDB
|
|
1047
1099
|
include Aws::Structure
|
1048
1100
|
end
|
1049
1101
|
|
1102
|
+
# Represents the input to CreateEventSubscription.
|
1103
|
+
#
|
1104
|
+
# @note When making an API call, you may pass CreateEventSubscriptionMessage
|
1105
|
+
# data as a hash:
|
1106
|
+
#
|
1107
|
+
# {
|
1108
|
+
# subscription_name: "String", # required
|
1109
|
+
# sns_topic_arn: "String", # required
|
1110
|
+
# source_type: "String",
|
1111
|
+
# event_categories: ["String"],
|
1112
|
+
# source_ids: ["String"],
|
1113
|
+
# enabled: false,
|
1114
|
+
# tags: [
|
1115
|
+
# {
|
1116
|
+
# key: "String",
|
1117
|
+
# value: "String",
|
1118
|
+
# },
|
1119
|
+
# ],
|
1120
|
+
# }
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] subscription_name
|
1123
|
+
# The name of the subscription.
|
1124
|
+
#
|
1125
|
+
# Constraints: The name must be fewer than 255 characters.
|
1126
|
+
# @return [String]
|
1127
|
+
#
|
1128
|
+
# @!attribute [rw] sns_topic_arn
|
1129
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
1130
|
+
# notification. Amazon SNS creates the ARN when you create a topic and
|
1131
|
+
# subscribe to it.
|
1132
|
+
# @return [String]
|
1133
|
+
#
|
1134
|
+
# @!attribute [rw] source_type
|
1135
|
+
# The type of source that is generating the events. For example, if
|
1136
|
+
# you want to be notified of events generated by an instance, you
|
1137
|
+
# would set this parameter to `db-instance`. If this value is not
|
1138
|
+
# specified, all events are returned.
|
1139
|
+
#
|
1140
|
+
# Valid values: `db-instance`, `db-cluster`, `db-parameter-group`,
|
1141
|
+
# `db-security-group`, `db-snapshot`, `db-cluster-snapshot`
|
1142
|
+
# @return [String]
|
1143
|
+
#
|
1144
|
+
# @!attribute [rw] event_categories
|
1145
|
+
# A list of event categories for a `SourceType` that you want to
|
1146
|
+
# subscribe to.
|
1147
|
+
# @return [Array<String>]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] source_ids
|
1150
|
+
# The list of identifiers of the event sources for which events are
|
1151
|
+
# returned. If not specified, then all sources are included in the
|
1152
|
+
# response. An identifier must begin with a letter and must contain
|
1153
|
+
# only ASCII letters, digits, and hyphens; it can't end with a hyphen
|
1154
|
+
# or contain two consecutive hyphens.
|
1155
|
+
#
|
1156
|
+
# Constraints:
|
1157
|
+
#
|
1158
|
+
# * If `SourceIds` are provided, `SourceType` must also be provided.
|
1159
|
+
#
|
1160
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must
|
1161
|
+
# be provided.
|
1162
|
+
#
|
1163
|
+
# * If the source type is a security group, a `DBSecurityGroupName`
|
1164
|
+
# must be provided.
|
1165
|
+
#
|
1166
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
1167
|
+
# must be provided.
|
1168
|
+
#
|
1169
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
1170
|
+
# provided.
|
1171
|
+
# @return [Array<String>]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] enabled
|
1174
|
+
# A Boolean value; set to `true` to activate the subscription, set to
|
1175
|
+
# `false` to create the subscription but not active it.
|
1176
|
+
# @return [Boolean]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] tags
|
1179
|
+
# The tags to be assigned to the event subscription.
|
1180
|
+
# @return [Array<Types::Tag>]
|
1181
|
+
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscriptionMessage AWS API Documentation
|
1183
|
+
#
|
1184
|
+
class CreateEventSubscriptionMessage < Struct.new(
|
1185
|
+
:subscription_name,
|
1186
|
+
:sns_topic_arn,
|
1187
|
+
:source_type,
|
1188
|
+
:event_categories,
|
1189
|
+
:source_ids,
|
1190
|
+
:enabled,
|
1191
|
+
:tags)
|
1192
|
+
SENSITIVE = []
|
1193
|
+
include Aws::Structure
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
# @!attribute [rw] event_subscription
|
1197
|
+
# Detailed information about an event to which you have subscribed.
|
1198
|
+
# @return [Types::EventSubscription]
|
1199
|
+
#
|
1200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscriptionResult AWS API Documentation
|
1201
|
+
#
|
1202
|
+
class CreateEventSubscriptionResult < Struct.new(
|
1203
|
+
:event_subscription)
|
1204
|
+
SENSITIVE = []
|
1205
|
+
include Aws::Structure
|
1206
|
+
end
|
1207
|
+
|
1050
1208
|
# Detailed information about a cluster.
|
1051
1209
|
#
|
1052
1210
|
# @!attribute [rw] availability_zones
|
@@ -2290,6 +2448,40 @@ module Aws::DocDB
|
|
2290
2448
|
include Aws::Structure
|
2291
2449
|
end
|
2292
2450
|
|
2451
|
+
# Represents the input to DeleteEventSubscription.
|
2452
|
+
#
|
2453
|
+
# @note When making an API call, you may pass DeleteEventSubscriptionMessage
|
2454
|
+
# data as a hash:
|
2455
|
+
#
|
2456
|
+
# {
|
2457
|
+
# subscription_name: "String", # required
|
2458
|
+
# }
|
2459
|
+
#
|
2460
|
+
# @!attribute [rw] subscription_name
|
2461
|
+
# The name of the Amazon DocumentDB event notification subscription
|
2462
|
+
# that you want to delete.
|
2463
|
+
# @return [String]
|
2464
|
+
#
|
2465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscriptionMessage AWS API Documentation
|
2466
|
+
#
|
2467
|
+
class DeleteEventSubscriptionMessage < Struct.new(
|
2468
|
+
:subscription_name)
|
2469
|
+
SENSITIVE = []
|
2470
|
+
include Aws::Structure
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
# @!attribute [rw] event_subscription
|
2474
|
+
# Detailed information about an event to which you have subscribed.
|
2475
|
+
# @return [Types::EventSubscription]
|
2476
|
+
#
|
2477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscriptionResult AWS API Documentation
|
2478
|
+
#
|
2479
|
+
class DeleteEventSubscriptionResult < Struct.new(
|
2480
|
+
:event_subscription)
|
2481
|
+
SENSITIVE = []
|
2482
|
+
include Aws::Structure
|
2483
|
+
end
|
2484
|
+
|
2293
2485
|
# @note When making an API call, you may pass DescribeCertificatesMessage
|
2294
2486
|
# data as a hash:
|
2295
2487
|
#
|
@@ -3036,6 +3228,60 @@ module Aws::DocDB
|
|
3036
3228
|
include Aws::Structure
|
3037
3229
|
end
|
3038
3230
|
|
3231
|
+
# Represents the input to DescribeEventSubscriptions.
|
3232
|
+
#
|
3233
|
+
# @note When making an API call, you may pass DescribeEventSubscriptionsMessage
|
3234
|
+
# data as a hash:
|
3235
|
+
#
|
3236
|
+
# {
|
3237
|
+
# subscription_name: "String",
|
3238
|
+
# filters: [
|
3239
|
+
# {
|
3240
|
+
# name: "String", # required
|
3241
|
+
# values: ["String"], # required
|
3242
|
+
# },
|
3243
|
+
# ],
|
3244
|
+
# max_records: 1,
|
3245
|
+
# marker: "String",
|
3246
|
+
# }
|
3247
|
+
#
|
3248
|
+
# @!attribute [rw] subscription_name
|
3249
|
+
# The name of the Amazon DocumentDB event notification subscription
|
3250
|
+
# that you want to describe.
|
3251
|
+
# @return [String]
|
3252
|
+
#
|
3253
|
+
# @!attribute [rw] filters
|
3254
|
+
# This parameter is not currently supported.
|
3255
|
+
# @return [Array<Types::Filter>]
|
3256
|
+
#
|
3257
|
+
# @!attribute [rw] max_records
|
3258
|
+
# The maximum number of records to include in the response. If more
|
3259
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
3260
|
+
# token (marker) is included in the response so that the remaining
|
3261
|
+
# results can be retrieved.
|
3262
|
+
#
|
3263
|
+
# Default: 100
|
3264
|
+
#
|
3265
|
+
# Constraints: Minimum 20, maximum 100.
|
3266
|
+
# @return [Integer]
|
3267
|
+
#
|
3268
|
+
# @!attribute [rw] marker
|
3269
|
+
# An optional pagination token provided by a previous request. If this
|
3270
|
+
# parameter is specified, the response includes only records beyond
|
3271
|
+
# the marker, up to the value specified by `MaxRecords`.
|
3272
|
+
# @return [String]
|
3273
|
+
#
|
3274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventSubscriptionsMessage AWS API Documentation
|
3275
|
+
#
|
3276
|
+
class DescribeEventSubscriptionsMessage < Struct.new(
|
3277
|
+
:subscription_name,
|
3278
|
+
:filters,
|
3279
|
+
:max_records,
|
3280
|
+
:marker)
|
3281
|
+
SENSITIVE = []
|
3282
|
+
include Aws::Structure
|
3283
|
+
end
|
3284
|
+
|
3039
3285
|
# Represents the input to DescribeEvents.
|
3040
3286
|
#
|
3041
3287
|
# @note When making an API call, you may pass DescribeEventsMessage
|
@@ -3421,6 +3667,109 @@ module Aws::DocDB
|
|
3421
3667
|
include Aws::Structure
|
3422
3668
|
end
|
3423
3669
|
|
3670
|
+
# Detailed information about an event to which you have subscribed.
|
3671
|
+
#
|
3672
|
+
# @!attribute [rw] customer_aws_id
|
3673
|
+
# The AWS customer account that is associated with the Amazon
|
3674
|
+
# DocumentDB event notification subscription.
|
3675
|
+
# @return [String]
|
3676
|
+
#
|
3677
|
+
# @!attribute [rw] cust_subscription_id
|
3678
|
+
# The Amazon DocumentDB event notification subscription ID.
|
3679
|
+
# @return [String]
|
3680
|
+
#
|
3681
|
+
# @!attribute [rw] sns_topic_arn
|
3682
|
+
# The topic ARN of the Amazon DocumentDB event notification
|
3683
|
+
# subscription.
|
3684
|
+
# @return [String]
|
3685
|
+
#
|
3686
|
+
# @!attribute [rw] status
|
3687
|
+
# The status of the Amazon DocumentDB event notification subscription.
|
3688
|
+
#
|
3689
|
+
# Constraints:
|
3690
|
+
#
|
3691
|
+
# Can be one of the following: `creating`, `modifying`, `deleting`,
|
3692
|
+
# `active`, `no-permission`, `topic-not-exist`
|
3693
|
+
#
|
3694
|
+
# The `no-permission` status indicates that Amazon DocumentDB no
|
3695
|
+
# longer has permission to post to the SNS topic. The
|
3696
|
+
# `topic-not-exist` status indicates that the topic was deleted after
|
3697
|
+
# the subscription was created.
|
3698
|
+
# @return [String]
|
3699
|
+
#
|
3700
|
+
# @!attribute [rw] subscription_creation_time
|
3701
|
+
# The time at which the Amazon DocumentDB event notification
|
3702
|
+
# subscription was created.
|
3703
|
+
# @return [String]
|
3704
|
+
#
|
3705
|
+
# @!attribute [rw] source_type
|
3706
|
+
# The source type for the Amazon DocumentDB event notification
|
3707
|
+
# subscription.
|
3708
|
+
# @return [String]
|
3709
|
+
#
|
3710
|
+
# @!attribute [rw] source_ids_list
|
3711
|
+
# A list of source IDs for the Amazon DocumentDB event notification
|
3712
|
+
# subscription.
|
3713
|
+
# @return [Array<String>]
|
3714
|
+
#
|
3715
|
+
# @!attribute [rw] event_categories_list
|
3716
|
+
# A list of event categories for the Amazon DocumentDB event
|
3717
|
+
# notification subscription.
|
3718
|
+
# @return [Array<String>]
|
3719
|
+
#
|
3720
|
+
# @!attribute [rw] enabled
|
3721
|
+
# A Boolean value indicating whether the subscription is enabled. A
|
3722
|
+
# value of `true` indicates that the subscription is enabled.
|
3723
|
+
# @return [Boolean]
|
3724
|
+
#
|
3725
|
+
# @!attribute [rw] event_subscription_arn
|
3726
|
+
# The Amazon Resource Name (ARN) for the event subscription.
|
3727
|
+
# @return [String]
|
3728
|
+
#
|
3729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/EventSubscription AWS API Documentation
|
3730
|
+
#
|
3731
|
+
class EventSubscription < Struct.new(
|
3732
|
+
:customer_aws_id,
|
3733
|
+
:cust_subscription_id,
|
3734
|
+
:sns_topic_arn,
|
3735
|
+
:status,
|
3736
|
+
:subscription_creation_time,
|
3737
|
+
:source_type,
|
3738
|
+
:source_ids_list,
|
3739
|
+
:event_categories_list,
|
3740
|
+
:enabled,
|
3741
|
+
:event_subscription_arn)
|
3742
|
+
SENSITIVE = []
|
3743
|
+
include Aws::Structure
|
3744
|
+
end
|
3745
|
+
|
3746
|
+
# You have reached the maximum number of event subscriptions.
|
3747
|
+
#
|
3748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/EventSubscriptionQuotaExceededFault AWS API Documentation
|
3749
|
+
#
|
3750
|
+
class EventSubscriptionQuotaExceededFault < Aws::EmptyStructure; end
|
3751
|
+
|
3752
|
+
# Represents the output of DescribeEventSubscriptions.
|
3753
|
+
#
|
3754
|
+
# @!attribute [rw] marker
|
3755
|
+
# An optional pagination token provided by a previous request. If this
|
3756
|
+
# parameter is specified, the response includes only records beyond
|
3757
|
+
# the marker, up to the value specified by `MaxRecords`.
|
3758
|
+
# @return [String]
|
3759
|
+
#
|
3760
|
+
# @!attribute [rw] event_subscriptions_list
|
3761
|
+
# A list of event subscriptions.
|
3762
|
+
# @return [Array<Types::EventSubscription>]
|
3763
|
+
#
|
3764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/EventSubscriptionsMessage AWS API Documentation
|
3765
|
+
#
|
3766
|
+
class EventSubscriptionsMessage < Struct.new(
|
3767
|
+
:marker,
|
3768
|
+
:event_subscriptions_list)
|
3769
|
+
SENSITIVE = []
|
3770
|
+
include Aws::Structure
|
3771
|
+
end
|
3772
|
+
|
3424
3773
|
# Represents the output of DescribeEvents.
|
3425
3774
|
#
|
3426
3775
|
# @!attribute [rw] marker
|
@@ -3599,6 +3948,13 @@ module Aws::DocDB
|
|
3599
3948
|
#
|
3600
3949
|
class InvalidDBSubnetStateFault < Aws::EmptyStructure; end
|
3601
3950
|
|
3951
|
+
# Someone else might be modifying a subscription. Wait a few seconds,
|
3952
|
+
# and try again.
|
3953
|
+
#
|
3954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/InvalidEventSubscriptionStateFault AWS API Documentation
|
3955
|
+
#
|
3956
|
+
class InvalidEventSubscriptionStateFault < Aws::EmptyStructure; end
|
3957
|
+
|
3602
3958
|
# You cannot restore from a virtual private cloud (VPC) backup to a
|
3603
3959
|
# non-VPC DB instance.
|
3604
3960
|
#
|
@@ -4159,6 +4515,72 @@ module Aws::DocDB
|
|
4159
4515
|
include Aws::Structure
|
4160
4516
|
end
|
4161
4517
|
|
4518
|
+
# Represents the input to ModifyEventSubscription.
|
4519
|
+
#
|
4520
|
+
# @note When making an API call, you may pass ModifyEventSubscriptionMessage
|
4521
|
+
# data as a hash:
|
4522
|
+
#
|
4523
|
+
# {
|
4524
|
+
# subscription_name: "String", # required
|
4525
|
+
# sns_topic_arn: "String",
|
4526
|
+
# source_type: "String",
|
4527
|
+
# event_categories: ["String"],
|
4528
|
+
# enabled: false,
|
4529
|
+
# }
|
4530
|
+
#
|
4531
|
+
# @!attribute [rw] subscription_name
|
4532
|
+
# The name of the Amazon DocumentDB event notification subscription.
|
4533
|
+
# @return [String]
|
4534
|
+
#
|
4535
|
+
# @!attribute [rw] sns_topic_arn
|
4536
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
4537
|
+
# notification. The ARN is created by Amazon SNS when you create a
|
4538
|
+
# topic and subscribe to it.
|
4539
|
+
# @return [String]
|
4540
|
+
#
|
4541
|
+
# @!attribute [rw] source_type
|
4542
|
+
# The type of source that is generating the events. For example, if
|
4543
|
+
# you want to be notified of events generated by an instance, set this
|
4544
|
+
# parameter to `db-instance`. If this value is not specified, all
|
4545
|
+
# events are returned.
|
4546
|
+
#
|
4547
|
+
# Valid values: `db-instance`, `db-parameter-group`,
|
4548
|
+
# `db-security-group`, `db-snapshot`
|
4549
|
+
# @return [String]
|
4550
|
+
#
|
4551
|
+
# @!attribute [rw] event_categories
|
4552
|
+
# A list of event categories for a `SourceType` that you want to
|
4553
|
+
# subscribe to.
|
4554
|
+
# @return [Array<String>]
|
4555
|
+
#
|
4556
|
+
# @!attribute [rw] enabled
|
4557
|
+
# A Boolean value; set to `true` to activate the subscription.
|
4558
|
+
# @return [Boolean]
|
4559
|
+
#
|
4560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscriptionMessage AWS API Documentation
|
4561
|
+
#
|
4562
|
+
class ModifyEventSubscriptionMessage < Struct.new(
|
4563
|
+
:subscription_name,
|
4564
|
+
:sns_topic_arn,
|
4565
|
+
:source_type,
|
4566
|
+
:event_categories,
|
4567
|
+
:enabled)
|
4568
|
+
SENSITIVE = []
|
4569
|
+
include Aws::Structure
|
4570
|
+
end
|
4571
|
+
|
4572
|
+
# @!attribute [rw] event_subscription
|
4573
|
+
# Detailed information about an event to which you have subscribed.
|
4574
|
+
# @return [Types::EventSubscription]
|
4575
|
+
#
|
4576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscriptionResult AWS API Documentation
|
4577
|
+
#
|
4578
|
+
class ModifyEventSubscriptionResult < Struct.new(
|
4579
|
+
:event_subscription)
|
4580
|
+
SENSITIVE = []
|
4581
|
+
include Aws::Structure
|
4582
|
+
end
|
4583
|
+
|
4162
4584
|
# The options that are available for an instance.
|
4163
4585
|
#
|
4164
4586
|
# @!attribute [rw] engine
|
@@ -4530,6 +4952,48 @@ module Aws::DocDB
|
|
4530
4952
|
include Aws::Structure
|
4531
4953
|
end
|
4532
4954
|
|
4955
|
+
# Represents the input to RemoveSourceIdentifierFromSubscription.
|
4956
|
+
#
|
4957
|
+
# @note When making an API call, you may pass RemoveSourceIdentifierFromSubscriptionMessage
|
4958
|
+
# data as a hash:
|
4959
|
+
#
|
4960
|
+
# {
|
4961
|
+
# subscription_name: "String", # required
|
4962
|
+
# source_identifier: "String", # required
|
4963
|
+
# }
|
4964
|
+
#
|
4965
|
+
# @!attribute [rw] subscription_name
|
4966
|
+
# The name of the Amazon DocumentDB event notification subscription
|
4967
|
+
# that you want to remove a source identifier from.
|
4968
|
+
# @return [String]
|
4969
|
+
#
|
4970
|
+
# @!attribute [rw] source_identifier
|
4971
|
+
# The source identifier to be removed from the subscription, such as
|
4972
|
+
# the instance identifier for an instance, or the name of a security
|
4973
|
+
# group.
|
4974
|
+
# @return [String]
|
4975
|
+
#
|
4976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscriptionMessage AWS API Documentation
|
4977
|
+
#
|
4978
|
+
class RemoveSourceIdentifierFromSubscriptionMessage < Struct.new(
|
4979
|
+
:subscription_name,
|
4980
|
+
:source_identifier)
|
4981
|
+
SENSITIVE = []
|
4982
|
+
include Aws::Structure
|
4983
|
+
end
|
4984
|
+
|
4985
|
+
# @!attribute [rw] event_subscription
|
4986
|
+
# Detailed information about an event to which you have subscribed.
|
4987
|
+
# @return [Types::EventSubscription]
|
4988
|
+
#
|
4989
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscriptionResult AWS API Documentation
|
4990
|
+
#
|
4991
|
+
class RemoveSourceIdentifierFromSubscriptionResult < Struct.new(
|
4992
|
+
:event_subscription)
|
4993
|
+
SENSITIVE = []
|
4994
|
+
include Aws::Structure
|
4995
|
+
end
|
4996
|
+
|
4533
4997
|
# Represents the input to RemoveTagsFromResource.
|
4534
4998
|
#
|
4535
4999
|
# @note When making an API call, you may pass RemoveTagsFromResourceMessage
|
@@ -4973,6 +5437,26 @@ module Aws::DocDB
|
|
4973
5437
|
include Aws::Structure
|
4974
5438
|
end
|
4975
5439
|
|
5440
|
+
# Amazon SNS has responded that there is a problem with the specified
|
5441
|
+
# topic.
|
5442
|
+
#
|
5443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SNSInvalidTopicFault AWS API Documentation
|
5444
|
+
#
|
5445
|
+
class SNSInvalidTopicFault < Aws::EmptyStructure; end
|
5446
|
+
|
5447
|
+
# You do not have permission to publish to the SNS topic Amazon Resource
|
5448
|
+
# Name (ARN).
|
5449
|
+
#
|
5450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SNSNoAuthorizationFault AWS API Documentation
|
5451
|
+
#
|
5452
|
+
class SNSNoAuthorizationFault < Aws::EmptyStructure; end
|
5453
|
+
|
5454
|
+
# The SNS topic Amazon Resource Name (ARN) does not exist.
|
5455
|
+
#
|
5456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SNSTopicArnNotFoundFault AWS API Documentation
|
5457
|
+
#
|
5458
|
+
class SNSTopicArnNotFoundFault < Aws::EmptyStructure; end
|
5459
|
+
|
4976
5460
|
# You have exceeded the maximum number of accounts that you can share a
|
4977
5461
|
# manual DB snapshot with.
|
4978
5462
|
#
|
@@ -4986,6 +5470,12 @@ module Aws::DocDB
|
|
4986
5470
|
#
|
4987
5471
|
class SnapshotQuotaExceededFault < Aws::EmptyStructure; end
|
4988
5472
|
|
5473
|
+
# The requested source could not be found.
|
5474
|
+
#
|
5475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SourceNotFoundFault AWS API Documentation
|
5476
|
+
#
|
5477
|
+
class SourceNotFoundFault < Aws::EmptyStructure; end
|
5478
|
+
|
4989
5479
|
# @note When making an API call, you may pass StartDBClusterMessage
|
4990
5480
|
# data as a hash:
|
4991
5481
|
#
|
@@ -5094,6 +5584,24 @@ module Aws::DocDB
|
|
5094
5584
|
#
|
5095
5585
|
class SubnetAlreadyInUse < Aws::EmptyStructure; end
|
5096
5586
|
|
5587
|
+
# The provided subscription name already exists.
|
5588
|
+
#
|
5589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SubscriptionAlreadyExistFault AWS API Documentation
|
5590
|
+
#
|
5591
|
+
class SubscriptionAlreadyExistFault < Aws::EmptyStructure; end
|
5592
|
+
|
5593
|
+
# The provided category does not exist.
|
5594
|
+
#
|
5595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SubscriptionCategoryNotFoundFault AWS API Documentation
|
5596
|
+
#
|
5597
|
+
class SubscriptionCategoryNotFoundFault < Aws::EmptyStructure; end
|
5598
|
+
|
5599
|
+
# The subscription name does not exist.
|
5600
|
+
#
|
5601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SubscriptionNotFoundFault AWS API Documentation
|
5602
|
+
#
|
5603
|
+
class SubscriptionNotFoundFault < Aws::EmptyStructure; end
|
5604
|
+
|
5097
5605
|
# Metadata assigned to an Amazon DocumentDB resource consisting of a
|
5098
5606
|
# key-value pair.
|
5099
5607
|
#
|