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.
@@ -13,6 +13,8 @@ module Aws::DocDB
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AddSourceIdentifierToSubscriptionMessage = Shapes::StructureShape.new(name: 'AddSourceIdentifierToSubscriptionMessage')
17
+ AddSourceIdentifierToSubscriptionResult = Shapes::StructureShape.new(name: 'AddSourceIdentifierToSubscriptionResult')
16
18
  AddTagsToResourceMessage = Shapes::StructureShape.new(name: 'AddTagsToResourceMessage')
17
19
  ApplyMethod = Shapes::StringShape.new(name: 'ApplyMethod')
18
20
  ApplyPendingMaintenanceActionMessage = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionMessage')
@@ -43,6 +45,8 @@ module Aws::DocDB
43
45
  CreateDBInstanceResult = Shapes::StructureShape.new(name: 'CreateDBInstanceResult')
44
46
  CreateDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'CreateDBSubnetGroupMessage')
45
47
  CreateDBSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateDBSubnetGroupResult')
48
+ CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
49
+ CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
46
50
  DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
47
51
  DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault')
48
52
  DBClusterList = Shapes::ListShape.new(name: 'DBClusterList')
@@ -100,6 +104,8 @@ module Aws::DocDB
100
104
  DeleteDBInstanceMessage = Shapes::StructureShape.new(name: 'DeleteDBInstanceMessage')
101
105
  DeleteDBInstanceResult = Shapes::StructureShape.new(name: 'DeleteDBInstanceResult')
102
106
  DeleteDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBSubnetGroupMessage')
107
+ DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
108
+ DeleteEventSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionResult')
103
109
  DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
104
110
  DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
105
111
  DescribeDBClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParametersMessage')
@@ -113,6 +119,7 @@ module Aws::DocDB
113
119
  DescribeEngineDefaultClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeEngineDefaultClusterParametersMessage')
114
120
  DescribeEngineDefaultClusterParametersResult = Shapes::StructureShape.new(name: 'DescribeEngineDefaultClusterParametersResult')
115
121
  DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
122
+ DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
116
123
  DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
117
124
  DescribeOrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableDBInstanceOptionsMessage')
118
125
  DescribePendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsMessage')
@@ -124,6 +131,10 @@ module Aws::DocDB
124
131
  EventCategoriesMapList = Shapes::ListShape.new(name: 'EventCategoriesMapList')
125
132
  EventCategoriesMessage = Shapes::StructureShape.new(name: 'EventCategoriesMessage')
126
133
  EventList = Shapes::ListShape.new(name: 'EventList')
134
+ EventSubscription = Shapes::StructureShape.new(name: 'EventSubscription')
135
+ EventSubscriptionQuotaExceededFault = Shapes::StructureShape.new(name: 'EventSubscriptionQuotaExceededFault')
136
+ EventSubscriptionsList = Shapes::ListShape.new(name: 'EventSubscriptionsList')
137
+ EventSubscriptionsMessage = Shapes::StructureShape.new(name: 'EventSubscriptionsMessage')
127
138
  EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
128
139
  FailoverDBClusterMessage = Shapes::StructureShape.new(name: 'FailoverDBClusterMessage')
129
140
  FailoverDBClusterResult = Shapes::StructureShape.new(name: 'FailoverDBClusterResult')
@@ -144,6 +155,7 @@ module Aws::DocDB
144
155
  InvalidDBSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidDBSnapshotStateFault')
145
156
  InvalidDBSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetGroupStateFault')
146
157
  InvalidDBSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetStateFault')
158
+ InvalidEventSubscriptionStateFault = Shapes::StructureShape.new(name: 'InvalidEventSubscriptionStateFault')
147
159
  InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
148
160
  InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
149
161
  InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
@@ -160,6 +172,8 @@ module Aws::DocDB
160
172
  ModifyDBInstanceResult = Shapes::StructureShape.new(name: 'ModifyDBInstanceResult')
161
173
  ModifyDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'ModifyDBSubnetGroupMessage')
162
174
  ModifyDBSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyDBSubnetGroupResult')
175
+ ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
176
+ ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
163
177
  OrderableDBInstanceOption = Shapes::StructureShape.new(name: 'OrderableDBInstanceOption')
164
178
  OrderableDBInstanceOptionsList = Shapes::ListShape.new(name: 'OrderableDBInstanceOptionsList')
165
179
  OrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'OrderableDBInstanceOptionsMessage')
@@ -173,6 +187,8 @@ module Aws::DocDB
173
187
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
174
188
  RebootDBInstanceMessage = Shapes::StructureShape.new(name: 'RebootDBInstanceMessage')
175
189
  RebootDBInstanceResult = Shapes::StructureShape.new(name: 'RebootDBInstanceResult')
190
+ RemoveSourceIdentifierFromSubscriptionMessage = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionMessage')
191
+ RemoveSourceIdentifierFromSubscriptionResult = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionResult')
176
192
  RemoveTagsFromResourceMessage = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceMessage')
177
193
  ResetDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'ResetDBClusterParameterGroupMessage')
178
194
  ResourceNotFoundFault = Shapes::StructureShape.new(name: 'ResourceNotFoundFault')
@@ -181,8 +197,13 @@ module Aws::DocDB
181
197
  RestoreDBClusterFromSnapshotResult = Shapes::StructureShape.new(name: 'RestoreDBClusterFromSnapshotResult')
182
198
  RestoreDBClusterToPointInTimeMessage = Shapes::StructureShape.new(name: 'RestoreDBClusterToPointInTimeMessage')
183
199
  RestoreDBClusterToPointInTimeResult = Shapes::StructureShape.new(name: 'RestoreDBClusterToPointInTimeResult')
200
+ SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault')
201
+ SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault')
202
+ SNSTopicArnNotFoundFault = Shapes::StructureShape.new(name: 'SNSTopicArnNotFoundFault')
184
203
  SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault')
185
204
  SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault')
205
+ SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
206
+ SourceNotFoundFault = Shapes::StructureShape.new(name: 'SourceNotFoundFault')
186
207
  SourceType = Shapes::StringShape.new(name: 'SourceType')
187
208
  StartDBClusterMessage = Shapes::StructureShape.new(name: 'StartDBClusterMessage')
188
209
  StartDBClusterResult = Shapes::StructureShape.new(name: 'StartDBClusterResult')
@@ -195,6 +216,9 @@ module Aws::DocDB
195
216
  SubnetAlreadyInUse = Shapes::StructureShape.new(name: 'SubnetAlreadyInUse')
196
217
  SubnetIdentifierList = Shapes::ListShape.new(name: 'SubnetIdentifierList')
197
218
  SubnetList = Shapes::ListShape.new(name: 'SubnetList')
219
+ SubscriptionAlreadyExistFault = Shapes::StructureShape.new(name: 'SubscriptionAlreadyExistFault')
220
+ SubscriptionCategoryNotFoundFault = Shapes::StructureShape.new(name: 'SubscriptionCategoryNotFoundFault')
221
+ SubscriptionNotFoundFault = Shapes::StructureShape.new(name: 'SubscriptionNotFoundFault')
198
222
  TStamp = Shapes::TimestampShape.new(name: 'TStamp')
199
223
  Tag = Shapes::StructureShape.new(name: 'Tag')
200
224
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -205,6 +229,13 @@ module Aws::DocDB
205
229
  VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
206
230
  VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
207
231
 
232
+ AddSourceIdentifierToSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
233
+ AddSourceIdentifierToSubscriptionMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceIdentifier"))
234
+ AddSourceIdentifierToSubscriptionMessage.struct_class = Types::AddSourceIdentifierToSubscriptionMessage
235
+
236
+ AddSourceIdentifierToSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
237
+ AddSourceIdentifierToSubscriptionResult.struct_class = Types::AddSourceIdentifierToSubscriptionResult
238
+
208
239
  AddTagsToResourceMessage.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
209
240
  AddTagsToResourceMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
210
241
  AddTagsToResourceMessage.struct_class = Types::AddTagsToResourceMessage
@@ -334,6 +365,18 @@ module Aws::DocDB
334
365
  CreateDBSubnetGroupResult.add_member(:db_subnet_group, Shapes::ShapeRef.new(shape: DBSubnetGroup, location_name: "DBSubnetGroup"))
335
366
  CreateDBSubnetGroupResult.struct_class = Types::CreateDBSubnetGroupResult
336
367
 
368
+ CreateEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
369
+ CreateEventSubscriptionMessage.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnsTopicArn"))
370
+ CreateEventSubscriptionMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
371
+ CreateEventSubscriptionMessage.add_member(:event_categories, Shapes::ShapeRef.new(shape: EventCategoriesList, location_name: "EventCategories"))
372
+ CreateEventSubscriptionMessage.add_member(:source_ids, Shapes::ShapeRef.new(shape: SourceIdsList, location_name: "SourceIds"))
373
+ CreateEventSubscriptionMessage.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Enabled"))
374
+ CreateEventSubscriptionMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
375
+ CreateEventSubscriptionMessage.struct_class = Types::CreateEventSubscriptionMessage
376
+
377
+ CreateEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
378
+ CreateEventSubscriptionResult.struct_class = Types::CreateEventSubscriptionResult
379
+
337
380
  DBCluster.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
338
381
  DBCluster.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
339
382
  DBCluster.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
@@ -577,6 +620,12 @@ module Aws::DocDB
577
620
  DeleteDBSubnetGroupMessage.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBSubnetGroupName"))
578
621
  DeleteDBSubnetGroupMessage.struct_class = Types::DeleteDBSubnetGroupMessage
579
622
 
623
+ DeleteEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
624
+ DeleteEventSubscriptionMessage.struct_class = Types::DeleteEventSubscriptionMessage
625
+
626
+ DeleteEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
627
+ DeleteEventSubscriptionResult.struct_class = Types::DeleteEventSubscriptionResult
628
+
580
629
  DescribeCertificatesMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
581
630
  DescribeCertificatesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
582
631
  DescribeCertificatesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
@@ -654,6 +703,12 @@ module Aws::DocDB
654
703
  DescribeEventCategoriesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
655
704
  DescribeEventCategoriesMessage.struct_class = Types::DescribeEventCategoriesMessage
656
705
 
706
+ DescribeEventSubscriptionsMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, location_name: "SubscriptionName"))
707
+ DescribeEventSubscriptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
708
+ DescribeEventSubscriptionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
709
+ DescribeEventSubscriptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
710
+ DescribeEventSubscriptionsMessage.struct_class = Types::DescribeEventSubscriptionsMessage
711
+
657
712
  DescribeEventsMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentifier"))
658
713
  DescribeEventsMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
659
714
  DescribeEventsMessage.add_member(:start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "StartTime"))
@@ -712,6 +767,26 @@ module Aws::DocDB
712
767
 
713
768
  EventList.member = Shapes::ShapeRef.new(shape: Event, location_name: "Event")
714
769
 
770
+ EventSubscription.add_member(:customer_aws_id, Shapes::ShapeRef.new(shape: String, location_name: "CustomerAwsId"))
771
+ EventSubscription.add_member(:cust_subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "CustSubscriptionId"))
772
+ EventSubscription.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
773
+ EventSubscription.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
774
+ EventSubscription.add_member(:subscription_creation_time, Shapes::ShapeRef.new(shape: String, location_name: "SubscriptionCreationTime"))
775
+ EventSubscription.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
776
+ EventSubscription.add_member(:source_ids_list, Shapes::ShapeRef.new(shape: SourceIdsList, location_name: "SourceIdsList"))
777
+ EventSubscription.add_member(:event_categories_list, Shapes::ShapeRef.new(shape: EventCategoriesList, location_name: "EventCategoriesList"))
778
+ EventSubscription.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
779
+ EventSubscription.add_member(:event_subscription_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventSubscriptionArn"))
780
+ EventSubscription.struct_class = Types::EventSubscription
781
+
782
+ EventSubscriptionQuotaExceededFault.struct_class = Types::EventSubscriptionQuotaExceededFault
783
+
784
+ EventSubscriptionsList.member = Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription")
785
+
786
+ EventSubscriptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
787
+ EventSubscriptionsMessage.add_member(:event_subscriptions_list, Shapes::ShapeRef.new(shape: EventSubscriptionsList, location_name: "EventSubscriptionsList"))
788
+ EventSubscriptionsMessage.struct_class = Types::EventSubscriptionsMessage
789
+
715
790
  EventsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
716
791
  EventsMessage.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "Events"))
717
792
  EventsMessage.struct_class = Types::EventsMessage
@@ -755,6 +830,8 @@ module Aws::DocDB
755
830
 
756
831
  InvalidDBSubnetStateFault.struct_class = Types::InvalidDBSubnetStateFault
757
832
 
833
+ InvalidEventSubscriptionStateFault.struct_class = Types::InvalidEventSubscriptionStateFault
834
+
758
835
  InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
759
836
 
760
837
  InvalidSubnet.struct_class = Types::InvalidSubnet
@@ -823,6 +900,16 @@ module Aws::DocDB
823
900
  ModifyDBSubnetGroupResult.add_member(:db_subnet_group, Shapes::ShapeRef.new(shape: DBSubnetGroup, location_name: "DBSubnetGroup"))
824
901
  ModifyDBSubnetGroupResult.struct_class = Types::ModifyDBSubnetGroupResult
825
902
 
903
+ ModifyEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
904
+ ModifyEventSubscriptionMessage.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
905
+ ModifyEventSubscriptionMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
906
+ ModifyEventSubscriptionMessage.add_member(:event_categories, Shapes::ShapeRef.new(shape: EventCategoriesList, location_name: "EventCategories"))
907
+ ModifyEventSubscriptionMessage.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Enabled"))
908
+ ModifyEventSubscriptionMessage.struct_class = Types::ModifyEventSubscriptionMessage
909
+
910
+ ModifyEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
911
+ ModifyEventSubscriptionResult.struct_class = Types::ModifyEventSubscriptionResult
912
+
826
913
  OrderableDBInstanceOption.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
827
914
  OrderableDBInstanceOption.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
828
915
  OrderableDBInstanceOption.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
@@ -894,6 +981,13 @@ module Aws::DocDB
894
981
  RebootDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
895
982
  RebootDBInstanceResult.struct_class = Types::RebootDBInstanceResult
896
983
 
984
+ RemoveSourceIdentifierFromSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
985
+ RemoveSourceIdentifierFromSubscriptionMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceIdentifier"))
986
+ RemoveSourceIdentifierFromSubscriptionMessage.struct_class = Types::RemoveSourceIdentifierFromSubscriptionMessage
987
+
988
+ RemoveSourceIdentifierFromSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
989
+ RemoveSourceIdentifierFromSubscriptionResult.struct_class = Types::RemoveSourceIdentifierFromSubscriptionResult
990
+
897
991
  RemoveTagsFromResourceMessage.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
898
992
  RemoveTagsFromResourceMessage.add_member(:tag_keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "TagKeys"))
899
993
  RemoveTagsFromResourceMessage.struct_class = Types::RemoveTagsFromResourceMessage
@@ -942,10 +1036,20 @@ module Aws::DocDB
942
1036
  RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
943
1037
  RestoreDBClusterToPointInTimeResult.struct_class = Types::RestoreDBClusterToPointInTimeResult
944
1038
 
1039
+ SNSInvalidTopicFault.struct_class = Types::SNSInvalidTopicFault
1040
+
1041
+ SNSNoAuthorizationFault.struct_class = Types::SNSNoAuthorizationFault
1042
+
1043
+ SNSTopicArnNotFoundFault.struct_class = Types::SNSTopicArnNotFoundFault
1044
+
945
1045
  SharedSnapshotQuotaExceededFault.struct_class = Types::SharedSnapshotQuotaExceededFault
946
1046
 
947
1047
  SnapshotQuotaExceededFault.struct_class = Types::SnapshotQuotaExceededFault
948
1048
 
1049
+ SourceIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SourceId")
1050
+
1051
+ SourceNotFoundFault.struct_class = Types::SourceNotFoundFault
1052
+
949
1053
  StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
950
1054
  StartDBClusterMessage.struct_class = Types::StartDBClusterMessage
951
1055
 
@@ -973,6 +1077,12 @@ module Aws::DocDB
973
1077
 
974
1078
  SubnetList.member = Shapes::ShapeRef.new(shape: Subnet, location_name: "Subnet")
975
1079
 
1080
+ SubscriptionAlreadyExistFault.struct_class = Types::SubscriptionAlreadyExistFault
1081
+
1082
+ SubscriptionCategoryNotFoundFault.struct_class = Types::SubscriptionCategoryNotFoundFault
1083
+
1084
+ SubscriptionNotFoundFault.struct_class = Types::SubscriptionNotFoundFault
1085
+
976
1086
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
977
1087
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
978
1088
  Tag.struct_class = Types::Tag
@@ -1018,6 +1128,16 @@ module Aws::DocDB
1018
1128
  "xmlNamespace" => "http://rds.amazonaws.com/doc/2014-10-31/",
1019
1129
  }
1020
1130
 
1131
+ api.add_operation(:add_source_identifier_to_subscription, Seahorse::Model::Operation.new.tap do |o|
1132
+ o.name = "AddSourceIdentifierToSubscription"
1133
+ o.http_method = "POST"
1134
+ o.http_request_uri = "/"
1135
+ o.input = Shapes::ShapeRef.new(shape: AddSourceIdentifierToSubscriptionMessage)
1136
+ o.output = Shapes::ShapeRef.new(shape: AddSourceIdentifierToSubscriptionResult)
1137
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionNotFoundFault)
1138
+ o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
1139
+ end)
1140
+
1021
1141
  api.add_operation(:add_tags_to_resource, Seahorse::Model::Operation.new.tap do |o|
1022
1142
  o.name = "AddTagsToResource"
1023
1143
  o.http_method = "POST"
@@ -1147,6 +1267,21 @@ module Aws::DocDB
1147
1267
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
1148
1268
  end)
1149
1269
 
1270
+ api.add_operation(:create_event_subscription, Seahorse::Model::Operation.new.tap do |o|
1271
+ o.name = "CreateEventSubscription"
1272
+ o.http_method = "POST"
1273
+ o.http_request_uri = "/"
1274
+ o.input = Shapes::ShapeRef.new(shape: CreateEventSubscriptionMessage)
1275
+ o.output = Shapes::ShapeRef.new(shape: CreateEventSubscriptionResult)
1276
+ o.errors << Shapes::ShapeRef.new(shape: EventSubscriptionQuotaExceededFault)
1277
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionAlreadyExistFault)
1278
+ o.errors << Shapes::ShapeRef.new(shape: SNSInvalidTopicFault)
1279
+ o.errors << Shapes::ShapeRef.new(shape: SNSNoAuthorizationFault)
1280
+ o.errors << Shapes::ShapeRef.new(shape: SNSTopicArnNotFoundFault)
1281
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionCategoryNotFoundFault)
1282
+ o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
1283
+ end)
1284
+
1150
1285
  api.add_operation(:delete_db_cluster, Seahorse::Model::Operation.new.tap do |o|
1151
1286
  o.name = "DeleteDBCluster"
1152
1287
  o.http_method = "POST"
@@ -1204,6 +1339,16 @@ module Aws::DocDB
1204
1339
  o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
1205
1340
  end)
1206
1341
 
1342
+ api.add_operation(:delete_event_subscription, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "DeleteEventSubscription"
1344
+ o.http_method = "POST"
1345
+ o.http_request_uri = "/"
1346
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventSubscriptionMessage)
1347
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventSubscriptionResult)
1348
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionNotFoundFault)
1349
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventSubscriptionStateFault)
1350
+ end)
1351
+
1207
1352
  api.add_operation(:describe_certificates, Seahorse::Model::Operation.new.tap do |o|
1208
1353
  o.name = "DescribeCertificates"
1209
1354
  o.http_method = "POST"
@@ -1348,6 +1493,21 @@ module Aws::DocDB
1348
1493
  o.output = Shapes::ShapeRef.new(shape: EventCategoriesMessage)
1349
1494
  end)
1350
1495
 
1496
+ api.add_operation(:describe_event_subscriptions, Seahorse::Model::Operation.new.tap do |o|
1497
+ o.name = "DescribeEventSubscriptions"
1498
+ o.http_method = "POST"
1499
+ o.http_request_uri = "/"
1500
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventSubscriptionsMessage)
1501
+ o.output = Shapes::ShapeRef.new(shape: EventSubscriptionsMessage)
1502
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionNotFoundFault)
1503
+ o[:pager] = Aws::Pager.new(
1504
+ limit_key: "max_records",
1505
+ tokens: {
1506
+ "marker" => "marker"
1507
+ }
1508
+ )
1509
+ end)
1510
+
1351
1511
  api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
1352
1512
  o.name = "DescribeEvents"
1353
1513
  o.http_method = "POST"
@@ -1487,6 +1647,20 @@ module Aws::DocDB
1487
1647
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
1488
1648
  end)
1489
1649
 
1650
+ api.add_operation(:modify_event_subscription, Seahorse::Model::Operation.new.tap do |o|
1651
+ o.name = "ModifyEventSubscription"
1652
+ o.http_method = "POST"
1653
+ o.http_request_uri = "/"
1654
+ o.input = Shapes::ShapeRef.new(shape: ModifyEventSubscriptionMessage)
1655
+ o.output = Shapes::ShapeRef.new(shape: ModifyEventSubscriptionResult)
1656
+ o.errors << Shapes::ShapeRef.new(shape: EventSubscriptionQuotaExceededFault)
1657
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionNotFoundFault)
1658
+ o.errors << Shapes::ShapeRef.new(shape: SNSInvalidTopicFault)
1659
+ o.errors << Shapes::ShapeRef.new(shape: SNSNoAuthorizationFault)
1660
+ o.errors << Shapes::ShapeRef.new(shape: SNSTopicArnNotFoundFault)
1661
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionCategoryNotFoundFault)
1662
+ end)
1663
+
1490
1664
  api.add_operation(:reboot_db_instance, Seahorse::Model::Operation.new.tap do |o|
1491
1665
  o.name = "RebootDBInstance"
1492
1666
  o.http_method = "POST"
@@ -1497,6 +1671,16 @@ module Aws::DocDB
1497
1671
  o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
1498
1672
  end)
1499
1673
 
1674
+ api.add_operation(:remove_source_identifier_from_subscription, Seahorse::Model::Operation.new.tap do |o|
1675
+ o.name = "RemoveSourceIdentifierFromSubscription"
1676
+ o.http_method = "POST"
1677
+ o.http_request_uri = "/"
1678
+ o.input = Shapes::ShapeRef.new(shape: RemoveSourceIdentifierFromSubscriptionMessage)
1679
+ o.output = Shapes::ShapeRef.new(shape: RemoveSourceIdentifierFromSubscriptionResult)
1680
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionNotFoundFault)
1681
+ o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
1682
+ end)
1683
+
1500
1684
  api.add_operation(:remove_tags_from_resource, Seahorse::Model::Operation.new.tap do |o|
1501
1685
  o.name = "RemoveTagsFromResource"
1502
1686
  o.http_method = "POST"
@@ -49,6 +49,7 @@ module Aws::DocDB
49
49
  # * {DBSubnetGroupQuotaExceededFault}
50
50
  # * {DBSubnetQuotaExceededFault}
51
51
  # * {DBUpgradeDependencyFailureFault}
52
+ # * {EventSubscriptionQuotaExceededFault}
52
53
  # * {InstanceQuotaExceededFault}
53
54
  # * {InsufficientDBClusterCapacityFault}
54
55
  # * {InsufficientDBInstanceCapacityFault}
@@ -61,16 +62,24 @@ module Aws::DocDB
61
62
  # * {InvalidDBSnapshotStateFault}
62
63
  # * {InvalidDBSubnetGroupStateFault}
63
64
  # * {InvalidDBSubnetStateFault}
65
+ # * {InvalidEventSubscriptionStateFault}
64
66
  # * {InvalidRestoreFault}
65
67
  # * {InvalidSubnet}
66
68
  # * {InvalidVPCNetworkStateFault}
67
69
  # * {KMSKeyNotAccessibleFault}
68
70
  # * {ResourceNotFoundFault}
71
+ # * {SNSInvalidTopicFault}
72
+ # * {SNSNoAuthorizationFault}
73
+ # * {SNSTopicArnNotFoundFault}
69
74
  # * {SharedSnapshotQuotaExceededFault}
70
75
  # * {SnapshotQuotaExceededFault}
76
+ # * {SourceNotFoundFault}
71
77
  # * {StorageQuotaExceededFault}
72
78
  # * {StorageTypeNotSupportedFault}
73
79
  # * {SubnetAlreadyInUse}
80
+ # * {SubscriptionAlreadyExistFault}
81
+ # * {SubscriptionCategoryNotFoundFault}
82
+ # * {SubscriptionNotFoundFault}
74
83
  #
75
84
  # Additionally, error classes are dynamically generated for service errors based on the error code
76
85
  # if they are not defined above.
@@ -298,6 +307,16 @@ module Aws::DocDB
298
307
  end
299
308
  end
300
309
 
310
+ class EventSubscriptionQuotaExceededFault < ServiceError
311
+
312
+ # @param [Seahorse::Client::RequestContext] context
313
+ # @param [String] message
314
+ # @param [Aws::DocDB::Types::EventSubscriptionQuotaExceededFault] data
315
+ def initialize(context, message, data = Aws::EmptyStructure.new)
316
+ super(context, message, data)
317
+ end
318
+ end
319
+
301
320
  class InstanceQuotaExceededFault < ServiceError
302
321
 
303
322
  # @param [Seahorse::Client::RequestContext] context
@@ -418,6 +437,16 @@ module Aws::DocDB
418
437
  end
419
438
  end
420
439
 
440
+ class InvalidEventSubscriptionStateFault < ServiceError
441
+
442
+ # @param [Seahorse::Client::RequestContext] context
443
+ # @param [String] message
444
+ # @param [Aws::DocDB::Types::InvalidEventSubscriptionStateFault] data
445
+ def initialize(context, message, data = Aws::EmptyStructure.new)
446
+ super(context, message, data)
447
+ end
448
+ end
449
+
421
450
  class InvalidRestoreFault < ServiceError
422
451
 
423
452
  # @param [Seahorse::Client::RequestContext] context
@@ -468,6 +497,36 @@ module Aws::DocDB
468
497
  end
469
498
  end
470
499
 
500
+ class SNSInvalidTopicFault < ServiceError
501
+
502
+ # @param [Seahorse::Client::RequestContext] context
503
+ # @param [String] message
504
+ # @param [Aws::DocDB::Types::SNSInvalidTopicFault] data
505
+ def initialize(context, message, data = Aws::EmptyStructure.new)
506
+ super(context, message, data)
507
+ end
508
+ end
509
+
510
+ class SNSNoAuthorizationFault < ServiceError
511
+
512
+ # @param [Seahorse::Client::RequestContext] context
513
+ # @param [String] message
514
+ # @param [Aws::DocDB::Types::SNSNoAuthorizationFault] data
515
+ def initialize(context, message, data = Aws::EmptyStructure.new)
516
+ super(context, message, data)
517
+ end
518
+ end
519
+
520
+ class SNSTopicArnNotFoundFault < ServiceError
521
+
522
+ # @param [Seahorse::Client::RequestContext] context
523
+ # @param [String] message
524
+ # @param [Aws::DocDB::Types::SNSTopicArnNotFoundFault] data
525
+ def initialize(context, message, data = Aws::EmptyStructure.new)
526
+ super(context, message, data)
527
+ end
528
+ end
529
+
471
530
  class SharedSnapshotQuotaExceededFault < ServiceError
472
531
 
473
532
  # @param [Seahorse::Client::RequestContext] context
@@ -488,6 +547,16 @@ module Aws::DocDB
488
547
  end
489
548
  end
490
549
 
550
+ class SourceNotFoundFault < ServiceError
551
+
552
+ # @param [Seahorse::Client::RequestContext] context
553
+ # @param [String] message
554
+ # @param [Aws::DocDB::Types::SourceNotFoundFault] data
555
+ def initialize(context, message, data = Aws::EmptyStructure.new)
556
+ super(context, message, data)
557
+ end
558
+ end
559
+
491
560
  class StorageQuotaExceededFault < ServiceError
492
561
 
493
562
  # @param [Seahorse::Client::RequestContext] context
@@ -518,5 +587,35 @@ module Aws::DocDB
518
587
  end
519
588
  end
520
589
 
590
+ class SubscriptionAlreadyExistFault < ServiceError
591
+
592
+ # @param [Seahorse::Client::RequestContext] context
593
+ # @param [String] message
594
+ # @param [Aws::DocDB::Types::SubscriptionAlreadyExistFault] data
595
+ def initialize(context, message, data = Aws::EmptyStructure.new)
596
+ super(context, message, data)
597
+ end
598
+ end
599
+
600
+ class SubscriptionCategoryNotFoundFault < ServiceError
601
+
602
+ # @param [Seahorse::Client::RequestContext] context
603
+ # @param [String] message
604
+ # @param [Aws::DocDB::Types::SubscriptionCategoryNotFoundFault] data
605
+ def initialize(context, message, data = Aws::EmptyStructure.new)
606
+ super(context, message, data)
607
+ end
608
+ end
609
+
610
+ class SubscriptionNotFoundFault < ServiceError
611
+
612
+ # @param [Seahorse::Client::RequestContext] context
613
+ # @param [String] message
614
+ # @param [Aws::DocDB::Types::SubscriptionNotFoundFault] data
615
+ def initialize(context, message, data = Aws::EmptyStructure.new)
616
+ super(context, message, data)
617
+ end
618
+ end
619
+
521
620
  end
522
621
  end