aws-sdk-docdb 1.12.0 → 1.17.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.
@@ -217,6 +217,8 @@ module Aws::DocDB
217
217
 
218
218
  AttributeValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "AttributeValue")
219
219
 
220
+ AuthorizationNotFoundFault.struct_class = Types::AuthorizationNotFoundFault
221
+
220
222
  AvailabilityZone.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
221
223
  AvailabilityZone.struct_class = Types::AvailabilityZone
222
224
 
@@ -238,6 +240,8 @@ module Aws::DocDB
238
240
  CertificateMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
239
241
  CertificateMessage.struct_class = Types::CertificateMessage
240
242
 
243
+ CertificateNotFoundFault.struct_class = Types::CertificateNotFoundFault
244
+
241
245
  CloudwatchLogsExportConfiguration.add_member(:enable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableLogTypes"))
242
246
  CloudwatchLogsExportConfiguration.add_member(:disable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "DisableLogTypes"))
243
247
  CloudwatchLogsExportConfiguration.struct_class = Types::CloudwatchLogsExportConfiguration
@@ -356,6 +360,8 @@ module Aws::DocDB
356
360
  DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
357
361
  DBCluster.struct_class = Types::DBCluster
358
362
 
363
+ DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
364
+
359
365
  DBClusterList.member = Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster")
360
366
 
361
367
  DBClusterMember.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceIdentifier"))
@@ -370,6 +376,8 @@ module Aws::DocDB
370
376
  DBClusterMessage.add_member(:db_clusters, Shapes::ShapeRef.new(shape: DBClusterList, location_name: "DBClusters"))
371
377
  DBClusterMessage.struct_class = Types::DBClusterMessage
372
378
 
379
+ DBClusterNotFoundFault.struct_class = Types::DBClusterNotFoundFault
380
+
373
381
  DBClusterParameterGroup.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
374
382
  DBClusterParameterGroup.add_member(:db_parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "DBParameterGroupFamily"))
375
383
  DBClusterParameterGroup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -385,10 +393,14 @@ module Aws::DocDB
385
393
  DBClusterParameterGroupNameMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
386
394
  DBClusterParameterGroupNameMessage.struct_class = Types::DBClusterParameterGroupNameMessage
387
395
 
396
+ DBClusterParameterGroupNotFoundFault.struct_class = Types::DBClusterParameterGroupNotFoundFault
397
+
388
398
  DBClusterParameterGroupsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
389
399
  DBClusterParameterGroupsMessage.add_member(:db_cluster_parameter_groups, Shapes::ShapeRef.new(shape: DBClusterParameterGroupList, location_name: "DBClusterParameterGroups"))
390
400
  DBClusterParameterGroupsMessage.struct_class = Types::DBClusterParameterGroupsMessage
391
401
 
402
+ DBClusterQuotaExceededFault.struct_class = Types::DBClusterQuotaExceededFault
403
+
392
404
  DBClusterRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "RoleArn"))
393
405
  DBClusterRole.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
394
406
  DBClusterRole.struct_class = Types::DBClusterRole
@@ -414,6 +426,8 @@ module Aws::DocDB
414
426
  DBClusterSnapshot.add_member(:source_db_cluster_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterSnapshotArn"))
415
427
  DBClusterSnapshot.struct_class = Types::DBClusterSnapshot
416
428
 
429
+ DBClusterSnapshotAlreadyExistsFault.struct_class = Types::DBClusterSnapshotAlreadyExistsFault
430
+
417
431
  DBClusterSnapshotAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
418
432
  DBClusterSnapshotAttribute.add_member(:attribute_values, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "AttributeValues"))
419
433
  DBClusterSnapshotAttribute.struct_class = Types::DBClusterSnapshotAttribute
@@ -430,6 +444,8 @@ module Aws::DocDB
430
444
  DBClusterSnapshotMessage.add_member(:db_cluster_snapshots, Shapes::ShapeRef.new(shape: DBClusterSnapshotList, location_name: "DBClusterSnapshots"))
431
445
  DBClusterSnapshotMessage.struct_class = Types::DBClusterSnapshotMessage
432
446
 
447
+ DBClusterSnapshotNotFoundFault.struct_class = Types::DBClusterSnapshotNotFoundFault
448
+
433
449
  DBEngineVersion.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
434
450
  DBEngineVersion.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
435
451
  DBEngineVersion.add_member(:db_parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "DBParameterGroupFamily"))
@@ -474,12 +490,16 @@ module Aws::DocDB
474
490
  DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
475
491
  DBInstance.struct_class = Types::DBInstance
476
492
 
493
+ DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
494
+
477
495
  DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
478
496
 
479
497
  DBInstanceMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
480
498
  DBInstanceMessage.add_member(:db_instances, Shapes::ShapeRef.new(shape: DBInstanceList, location_name: "DBInstances"))
481
499
  DBInstanceMessage.struct_class = Types::DBInstanceMessage
482
500
 
501
+ DBInstanceNotFoundFault.struct_class = Types::DBInstanceNotFoundFault
502
+
483
503
  DBInstanceStatusInfo.add_member(:status_type, Shapes::ShapeRef.new(shape: String, location_name: "StatusType"))
484
504
  DBInstanceStatusInfo.add_member(:normal, Shapes::ShapeRef.new(shape: Boolean, location_name: "Normal"))
485
505
  DBInstanceStatusInfo.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
@@ -488,6 +508,18 @@ module Aws::DocDB
488
508
 
489
509
  DBInstanceStatusInfoList.member = Shapes::ShapeRef.new(shape: DBInstanceStatusInfo, location_name: "DBInstanceStatusInfo")
490
510
 
511
+ DBParameterGroupAlreadyExistsFault.struct_class = Types::DBParameterGroupAlreadyExistsFault
512
+
513
+ DBParameterGroupNotFoundFault.struct_class = Types::DBParameterGroupNotFoundFault
514
+
515
+ DBParameterGroupQuotaExceededFault.struct_class = Types::DBParameterGroupQuotaExceededFault
516
+
517
+ DBSecurityGroupNotFoundFault.struct_class = Types::DBSecurityGroupNotFoundFault
518
+
519
+ DBSnapshotAlreadyExistsFault.struct_class = Types::DBSnapshotAlreadyExistsFault
520
+
521
+ DBSnapshotNotFoundFault.struct_class = Types::DBSnapshotNotFoundFault
522
+
491
523
  DBSubnetGroup.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupName"))
492
524
  DBSubnetGroup.add_member(:db_subnet_group_description, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupDescription"))
493
525
  DBSubnetGroup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
@@ -496,12 +528,24 @@ module Aws::DocDB
496
528
  DBSubnetGroup.add_member(:db_subnet_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupArn"))
497
529
  DBSubnetGroup.struct_class = Types::DBSubnetGroup
498
530
 
531
+ DBSubnetGroupAlreadyExistsFault.struct_class = Types::DBSubnetGroupAlreadyExistsFault
532
+
533
+ DBSubnetGroupDoesNotCoverEnoughAZs.struct_class = Types::DBSubnetGroupDoesNotCoverEnoughAZs
534
+
499
535
  DBSubnetGroupMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
500
536
  DBSubnetGroupMessage.add_member(:db_subnet_groups, Shapes::ShapeRef.new(shape: DBSubnetGroups, location_name: "DBSubnetGroups"))
501
537
  DBSubnetGroupMessage.struct_class = Types::DBSubnetGroupMessage
502
538
 
539
+ DBSubnetGroupNotFoundFault.struct_class = Types::DBSubnetGroupNotFoundFault
540
+
541
+ DBSubnetGroupQuotaExceededFault.struct_class = Types::DBSubnetGroupQuotaExceededFault
542
+
503
543
  DBSubnetGroups.member = Shapes::ShapeRef.new(shape: DBSubnetGroup, location_name: "DBSubnetGroup")
504
544
 
545
+ DBSubnetQuotaExceededFault.struct_class = Types::DBSubnetQuotaExceededFault
546
+
547
+ DBUpgradeDependencyFailureFault.struct_class = Types::DBUpgradeDependencyFailureFault
548
+
505
549
  DeleteDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
506
550
  DeleteDBClusterMessage.add_member(:skip_final_snapshot, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipFinalSnapshot"))
507
551
  DeleteDBClusterMessage.add_member(:final_db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "FinalDBSnapshotIdentifier"))
@@ -682,6 +726,38 @@ module Aws::DocDB
682
726
 
683
727
  FilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
684
728
 
729
+ InstanceQuotaExceededFault.struct_class = Types::InstanceQuotaExceededFault
730
+
731
+ InsufficientDBClusterCapacityFault.struct_class = Types::InsufficientDBClusterCapacityFault
732
+
733
+ InsufficientDBInstanceCapacityFault.struct_class = Types::InsufficientDBInstanceCapacityFault
734
+
735
+ InsufficientStorageClusterCapacityFault.struct_class = Types::InsufficientStorageClusterCapacityFault
736
+
737
+ InvalidDBClusterSnapshotStateFault.struct_class = Types::InvalidDBClusterSnapshotStateFault
738
+
739
+ InvalidDBClusterStateFault.struct_class = Types::InvalidDBClusterStateFault
740
+
741
+ InvalidDBInstanceStateFault.struct_class = Types::InvalidDBInstanceStateFault
742
+
743
+ InvalidDBParameterGroupStateFault.struct_class = Types::InvalidDBParameterGroupStateFault
744
+
745
+ InvalidDBSecurityGroupStateFault.struct_class = Types::InvalidDBSecurityGroupStateFault
746
+
747
+ InvalidDBSnapshotStateFault.struct_class = Types::InvalidDBSnapshotStateFault
748
+
749
+ InvalidDBSubnetGroupStateFault.struct_class = Types::InvalidDBSubnetGroupStateFault
750
+
751
+ InvalidDBSubnetStateFault.struct_class = Types::InvalidDBSubnetStateFault
752
+
753
+ InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
754
+
755
+ InvalidSubnet.struct_class = Types::InvalidSubnet
756
+
757
+ InvalidVPCNetworkStateFault.struct_class = Types::InvalidVPCNetworkStateFault
758
+
759
+ KMSKeyNotAccessibleFault.struct_class = Types::KMSKeyNotAccessibleFault
760
+
685
761
  KeyList.member = Shapes::ShapeRef.new(shape: String)
686
762
 
687
763
  ListTagsForResourceMessage.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
@@ -822,6 +898,8 @@ module Aws::DocDB
822
898
  ResetDBClusterParameterGroupMessage.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
823
899
  ResetDBClusterParameterGroupMessage.struct_class = Types::ResetDBClusterParameterGroupMessage
824
900
 
901
+ ResourceNotFoundFault.struct_class = Types::ResourceNotFoundFault
902
+
825
903
  ResourcePendingMaintenanceActions.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ResourceIdentifier"))
826
904
  ResourcePendingMaintenanceActions.add_member(:pending_maintenance_action_details, Shapes::ShapeRef.new(shape: PendingMaintenanceActionDetails, location_name: "PendingMaintenanceActionDetails"))
827
905
  ResourcePendingMaintenanceActions.struct_class = Types::ResourcePendingMaintenanceActions
@@ -859,6 +937,10 @@ module Aws::DocDB
859
937
  RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
860
938
  RestoreDBClusterToPointInTimeResult.struct_class = Types::RestoreDBClusterToPointInTimeResult
861
939
 
940
+ SharedSnapshotQuotaExceededFault.struct_class = Types::SharedSnapshotQuotaExceededFault
941
+
942
+ SnapshotQuotaExceededFault.struct_class = Types::SnapshotQuotaExceededFault
943
+
862
944
  StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
863
945
  StartDBClusterMessage.struct_class = Types::StartDBClusterMessage
864
946
 
@@ -871,11 +953,17 @@ module Aws::DocDB
871
953
  StopDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
872
954
  StopDBClusterResult.struct_class = Types::StopDBClusterResult
873
955
 
956
+ StorageQuotaExceededFault.struct_class = Types::StorageQuotaExceededFault
957
+
958
+ StorageTypeNotSupportedFault.struct_class = Types::StorageTypeNotSupportedFault
959
+
874
960
  Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
875
961
  Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "SubnetAvailabilityZone"))
876
962
  Subnet.add_member(:subnet_status, Shapes::ShapeRef.new(shape: String, location_name: "SubnetStatus"))
877
963
  Subnet.struct_class = Types::Subnet
878
964
 
965
+ SubnetAlreadyInUse.struct_class = Types::SubnetAlreadyInUse
966
+
879
967
  SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier")
880
968
 
881
969
  SubnetList.member = Shapes::ShapeRef.new(shape: Subnet, location_name: "Subnet")
@@ -6,9 +6,515 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DocDB
9
+
10
+ # When DocDB returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::DocDB::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all DocDB errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::DocDB::Errors::ServiceError
18
+ # # rescues all DocDB API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AuthorizationNotFoundFault}
29
+ # * {CertificateNotFoundFault}
30
+ # * {DBClusterAlreadyExistsFault}
31
+ # * {DBClusterNotFoundFault}
32
+ # * {DBClusterParameterGroupNotFoundFault}
33
+ # * {DBClusterQuotaExceededFault}
34
+ # * {DBClusterSnapshotAlreadyExistsFault}
35
+ # * {DBClusterSnapshotNotFoundFault}
36
+ # * {DBInstanceAlreadyExistsFault}
37
+ # * {DBInstanceNotFoundFault}
38
+ # * {DBParameterGroupAlreadyExistsFault}
39
+ # * {DBParameterGroupNotFoundFault}
40
+ # * {DBParameterGroupQuotaExceededFault}
41
+ # * {DBSecurityGroupNotFoundFault}
42
+ # * {DBSnapshotAlreadyExistsFault}
43
+ # * {DBSnapshotNotFoundFault}
44
+ # * {DBSubnetGroupAlreadyExistsFault}
45
+ # * {DBSubnetGroupDoesNotCoverEnoughAZs}
46
+ # * {DBSubnetGroupNotFoundFault}
47
+ # * {DBSubnetGroupQuotaExceededFault}
48
+ # * {DBSubnetQuotaExceededFault}
49
+ # * {DBUpgradeDependencyFailureFault}
50
+ # * {InstanceQuotaExceededFault}
51
+ # * {InsufficientDBClusterCapacityFault}
52
+ # * {InsufficientDBInstanceCapacityFault}
53
+ # * {InsufficientStorageClusterCapacityFault}
54
+ # * {InvalidDBClusterSnapshotStateFault}
55
+ # * {InvalidDBClusterStateFault}
56
+ # * {InvalidDBInstanceStateFault}
57
+ # * {InvalidDBParameterGroupStateFault}
58
+ # * {InvalidDBSecurityGroupStateFault}
59
+ # * {InvalidDBSnapshotStateFault}
60
+ # * {InvalidDBSubnetGroupStateFault}
61
+ # * {InvalidDBSubnetStateFault}
62
+ # * {InvalidRestoreFault}
63
+ # * {InvalidSubnet}
64
+ # * {InvalidVPCNetworkStateFault}
65
+ # * {KMSKeyNotAccessibleFault}
66
+ # * {ResourceNotFoundFault}
67
+ # * {SharedSnapshotQuotaExceededFault}
68
+ # * {SnapshotQuotaExceededFault}
69
+ # * {StorageQuotaExceededFault}
70
+ # * {StorageTypeNotSupportedFault}
71
+ # * {SubnetAlreadyInUse}
72
+ #
73
+ # Additionally, error classes are dynamically generated for service errors based on the error code
74
+ # if they are not defined above.
9
75
  module Errors
10
76
 
11
77
  extend Aws::Errors::DynamicErrors
12
78
 
79
+ class AuthorizationNotFoundFault < ServiceError
80
+
81
+ # @param [Seahorse::Client::RequestContext] context
82
+ # @param [String] message
83
+ # @param [Aws::DocDB::Types::AuthorizationNotFoundFault] data
84
+ def initialize(context, message, data = Aws::EmptyStructure.new)
85
+ super(context, message, data)
86
+ end
87
+ end
88
+
89
+ class CertificateNotFoundFault < ServiceError
90
+
91
+ # @param [Seahorse::Client::RequestContext] context
92
+ # @param [String] message
93
+ # @param [Aws::DocDB::Types::CertificateNotFoundFault] data
94
+ def initialize(context, message, data = Aws::EmptyStructure.new)
95
+ super(context, message, data)
96
+ end
97
+ end
98
+
99
+ class DBClusterAlreadyExistsFault < ServiceError
100
+
101
+ # @param [Seahorse::Client::RequestContext] context
102
+ # @param [String] message
103
+ # @param [Aws::DocDB::Types::DBClusterAlreadyExistsFault] data
104
+ def initialize(context, message, data = Aws::EmptyStructure.new)
105
+ super(context, message, data)
106
+ end
107
+ end
108
+
109
+ class DBClusterNotFoundFault < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::DocDB::Types::DBClusterNotFoundFault] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+ end
118
+
119
+ class DBClusterParameterGroupNotFoundFault < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::DocDB::Types::DBClusterParameterGroupNotFoundFault] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+ end
128
+
129
+ class DBClusterQuotaExceededFault < ServiceError
130
+
131
+ # @param [Seahorse::Client::RequestContext] context
132
+ # @param [String] message
133
+ # @param [Aws::DocDB::Types::DBClusterQuotaExceededFault] data
134
+ def initialize(context, message, data = Aws::EmptyStructure.new)
135
+ super(context, message, data)
136
+ end
137
+ end
138
+
139
+ class DBClusterSnapshotAlreadyExistsFault < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::DocDB::Types::DBClusterSnapshotAlreadyExistsFault] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
147
+ end
148
+
149
+ class DBClusterSnapshotNotFoundFault < ServiceError
150
+
151
+ # @param [Seahorse::Client::RequestContext] context
152
+ # @param [String] message
153
+ # @param [Aws::DocDB::Types::DBClusterSnapshotNotFoundFault] data
154
+ def initialize(context, message, data = Aws::EmptyStructure.new)
155
+ super(context, message, data)
156
+ end
157
+ end
158
+
159
+ class DBInstanceAlreadyExistsFault < ServiceError
160
+
161
+ # @param [Seahorse::Client::RequestContext] context
162
+ # @param [String] message
163
+ # @param [Aws::DocDB::Types::DBInstanceAlreadyExistsFault] data
164
+ def initialize(context, message, data = Aws::EmptyStructure.new)
165
+ super(context, message, data)
166
+ end
167
+ end
168
+
169
+ class DBInstanceNotFoundFault < ServiceError
170
+
171
+ # @param [Seahorse::Client::RequestContext] context
172
+ # @param [String] message
173
+ # @param [Aws::DocDB::Types::DBInstanceNotFoundFault] data
174
+ def initialize(context, message, data = Aws::EmptyStructure.new)
175
+ super(context, message, data)
176
+ end
177
+ end
178
+
179
+ class DBParameterGroupAlreadyExistsFault < ServiceError
180
+
181
+ # @param [Seahorse::Client::RequestContext] context
182
+ # @param [String] message
183
+ # @param [Aws::DocDB::Types::DBParameterGroupAlreadyExistsFault] data
184
+ def initialize(context, message, data = Aws::EmptyStructure.new)
185
+ super(context, message, data)
186
+ end
187
+ end
188
+
189
+ class DBParameterGroupNotFoundFault < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::DocDB::Types::DBParameterGroupNotFoundFault] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+ end
198
+
199
+ class DBParameterGroupQuotaExceededFault < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::DocDB::Types::DBParameterGroupQuotaExceededFault] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+ end
208
+
209
+ class DBSecurityGroupNotFoundFault < ServiceError
210
+
211
+ # @param [Seahorse::Client::RequestContext] context
212
+ # @param [String] message
213
+ # @param [Aws::DocDB::Types::DBSecurityGroupNotFoundFault] data
214
+ def initialize(context, message, data = Aws::EmptyStructure.new)
215
+ super(context, message, data)
216
+ end
217
+ end
218
+
219
+ class DBSnapshotAlreadyExistsFault < ServiceError
220
+
221
+ # @param [Seahorse::Client::RequestContext] context
222
+ # @param [String] message
223
+ # @param [Aws::DocDB::Types::DBSnapshotAlreadyExistsFault] data
224
+ def initialize(context, message, data = Aws::EmptyStructure.new)
225
+ super(context, message, data)
226
+ end
227
+ end
228
+
229
+ class DBSnapshotNotFoundFault < ServiceError
230
+
231
+ # @param [Seahorse::Client::RequestContext] context
232
+ # @param [String] message
233
+ # @param [Aws::DocDB::Types::DBSnapshotNotFoundFault] data
234
+ def initialize(context, message, data = Aws::EmptyStructure.new)
235
+ super(context, message, data)
236
+ end
237
+ end
238
+
239
+ class DBSubnetGroupAlreadyExistsFault < ServiceError
240
+
241
+ # @param [Seahorse::Client::RequestContext] context
242
+ # @param [String] message
243
+ # @param [Aws::DocDB::Types::DBSubnetGroupAlreadyExistsFault] data
244
+ def initialize(context, message, data = Aws::EmptyStructure.new)
245
+ super(context, message, data)
246
+ end
247
+ end
248
+
249
+ class DBSubnetGroupDoesNotCoverEnoughAZs < ServiceError
250
+
251
+ # @param [Seahorse::Client::RequestContext] context
252
+ # @param [String] message
253
+ # @param [Aws::DocDB::Types::DBSubnetGroupDoesNotCoverEnoughAZs] data
254
+ def initialize(context, message, data = Aws::EmptyStructure.new)
255
+ super(context, message, data)
256
+ end
257
+ end
258
+
259
+ class DBSubnetGroupNotFoundFault < ServiceError
260
+
261
+ # @param [Seahorse::Client::RequestContext] context
262
+ # @param [String] message
263
+ # @param [Aws::DocDB::Types::DBSubnetGroupNotFoundFault] data
264
+ def initialize(context, message, data = Aws::EmptyStructure.new)
265
+ super(context, message, data)
266
+ end
267
+ end
268
+
269
+ class DBSubnetGroupQuotaExceededFault < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::DocDB::Types::DBSubnetGroupQuotaExceededFault] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+ end
278
+
279
+ class DBSubnetQuotaExceededFault < ServiceError
280
+
281
+ # @param [Seahorse::Client::RequestContext] context
282
+ # @param [String] message
283
+ # @param [Aws::DocDB::Types::DBSubnetQuotaExceededFault] data
284
+ def initialize(context, message, data = Aws::EmptyStructure.new)
285
+ super(context, message, data)
286
+ end
287
+ end
288
+
289
+ class DBUpgradeDependencyFailureFault < ServiceError
290
+
291
+ # @param [Seahorse::Client::RequestContext] context
292
+ # @param [String] message
293
+ # @param [Aws::DocDB::Types::DBUpgradeDependencyFailureFault] data
294
+ def initialize(context, message, data = Aws::EmptyStructure.new)
295
+ super(context, message, data)
296
+ end
297
+ end
298
+
299
+ class InstanceQuotaExceededFault < ServiceError
300
+
301
+ # @param [Seahorse::Client::RequestContext] context
302
+ # @param [String] message
303
+ # @param [Aws::DocDB::Types::InstanceQuotaExceededFault] data
304
+ def initialize(context, message, data = Aws::EmptyStructure.new)
305
+ super(context, message, data)
306
+ end
307
+ end
308
+
309
+ class InsufficientDBClusterCapacityFault < ServiceError
310
+
311
+ # @param [Seahorse::Client::RequestContext] context
312
+ # @param [String] message
313
+ # @param [Aws::DocDB::Types::InsufficientDBClusterCapacityFault] data
314
+ def initialize(context, message, data = Aws::EmptyStructure.new)
315
+ super(context, message, data)
316
+ end
317
+ end
318
+
319
+ class InsufficientDBInstanceCapacityFault < ServiceError
320
+
321
+ # @param [Seahorse::Client::RequestContext] context
322
+ # @param [String] message
323
+ # @param [Aws::DocDB::Types::InsufficientDBInstanceCapacityFault] data
324
+ def initialize(context, message, data = Aws::EmptyStructure.new)
325
+ super(context, message, data)
326
+ end
327
+ end
328
+
329
+ class InsufficientStorageClusterCapacityFault < ServiceError
330
+
331
+ # @param [Seahorse::Client::RequestContext] context
332
+ # @param [String] message
333
+ # @param [Aws::DocDB::Types::InsufficientStorageClusterCapacityFault] data
334
+ def initialize(context, message, data = Aws::EmptyStructure.new)
335
+ super(context, message, data)
336
+ end
337
+ end
338
+
339
+ class InvalidDBClusterSnapshotStateFault < ServiceError
340
+
341
+ # @param [Seahorse::Client::RequestContext] context
342
+ # @param [String] message
343
+ # @param [Aws::DocDB::Types::InvalidDBClusterSnapshotStateFault] data
344
+ def initialize(context, message, data = Aws::EmptyStructure.new)
345
+ super(context, message, data)
346
+ end
347
+ end
348
+
349
+ class InvalidDBClusterStateFault < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::DocDB::Types::InvalidDBClusterStateFault] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+ end
358
+
359
+ class InvalidDBInstanceStateFault < ServiceError
360
+
361
+ # @param [Seahorse::Client::RequestContext] context
362
+ # @param [String] message
363
+ # @param [Aws::DocDB::Types::InvalidDBInstanceStateFault] data
364
+ def initialize(context, message, data = Aws::EmptyStructure.new)
365
+ super(context, message, data)
366
+ end
367
+ end
368
+
369
+ class InvalidDBParameterGroupStateFault < ServiceError
370
+
371
+ # @param [Seahorse::Client::RequestContext] context
372
+ # @param [String] message
373
+ # @param [Aws::DocDB::Types::InvalidDBParameterGroupStateFault] data
374
+ def initialize(context, message, data = Aws::EmptyStructure.new)
375
+ super(context, message, data)
376
+ end
377
+ end
378
+
379
+ class InvalidDBSecurityGroupStateFault < ServiceError
380
+
381
+ # @param [Seahorse::Client::RequestContext] context
382
+ # @param [String] message
383
+ # @param [Aws::DocDB::Types::InvalidDBSecurityGroupStateFault] data
384
+ def initialize(context, message, data = Aws::EmptyStructure.new)
385
+ super(context, message, data)
386
+ end
387
+ end
388
+
389
+ class InvalidDBSnapshotStateFault < ServiceError
390
+
391
+ # @param [Seahorse::Client::RequestContext] context
392
+ # @param [String] message
393
+ # @param [Aws::DocDB::Types::InvalidDBSnapshotStateFault] data
394
+ def initialize(context, message, data = Aws::EmptyStructure.new)
395
+ super(context, message, data)
396
+ end
397
+ end
398
+
399
+ class InvalidDBSubnetGroupStateFault < ServiceError
400
+
401
+ # @param [Seahorse::Client::RequestContext] context
402
+ # @param [String] message
403
+ # @param [Aws::DocDB::Types::InvalidDBSubnetGroupStateFault] data
404
+ def initialize(context, message, data = Aws::EmptyStructure.new)
405
+ super(context, message, data)
406
+ end
407
+ end
408
+
409
+ class InvalidDBSubnetStateFault < ServiceError
410
+
411
+ # @param [Seahorse::Client::RequestContext] context
412
+ # @param [String] message
413
+ # @param [Aws::DocDB::Types::InvalidDBSubnetStateFault] data
414
+ def initialize(context, message, data = Aws::EmptyStructure.new)
415
+ super(context, message, data)
416
+ end
417
+ end
418
+
419
+ class InvalidRestoreFault < ServiceError
420
+
421
+ # @param [Seahorse::Client::RequestContext] context
422
+ # @param [String] message
423
+ # @param [Aws::DocDB::Types::InvalidRestoreFault] data
424
+ def initialize(context, message, data = Aws::EmptyStructure.new)
425
+ super(context, message, data)
426
+ end
427
+ end
428
+
429
+ class InvalidSubnet < ServiceError
430
+
431
+ # @param [Seahorse::Client::RequestContext] context
432
+ # @param [String] message
433
+ # @param [Aws::DocDB::Types::InvalidSubnet] data
434
+ def initialize(context, message, data = Aws::EmptyStructure.new)
435
+ super(context, message, data)
436
+ end
437
+ end
438
+
439
+ class InvalidVPCNetworkStateFault < ServiceError
440
+
441
+ # @param [Seahorse::Client::RequestContext] context
442
+ # @param [String] message
443
+ # @param [Aws::DocDB::Types::InvalidVPCNetworkStateFault] data
444
+ def initialize(context, message, data = Aws::EmptyStructure.new)
445
+ super(context, message, data)
446
+ end
447
+ end
448
+
449
+ class KMSKeyNotAccessibleFault < ServiceError
450
+
451
+ # @param [Seahorse::Client::RequestContext] context
452
+ # @param [String] message
453
+ # @param [Aws::DocDB::Types::KMSKeyNotAccessibleFault] data
454
+ def initialize(context, message, data = Aws::EmptyStructure.new)
455
+ super(context, message, data)
456
+ end
457
+ end
458
+
459
+ class ResourceNotFoundFault < ServiceError
460
+
461
+ # @param [Seahorse::Client::RequestContext] context
462
+ # @param [String] message
463
+ # @param [Aws::DocDB::Types::ResourceNotFoundFault] data
464
+ def initialize(context, message, data = Aws::EmptyStructure.new)
465
+ super(context, message, data)
466
+ end
467
+ end
468
+
469
+ class SharedSnapshotQuotaExceededFault < ServiceError
470
+
471
+ # @param [Seahorse::Client::RequestContext] context
472
+ # @param [String] message
473
+ # @param [Aws::DocDB::Types::SharedSnapshotQuotaExceededFault] data
474
+ def initialize(context, message, data = Aws::EmptyStructure.new)
475
+ super(context, message, data)
476
+ end
477
+ end
478
+
479
+ class SnapshotQuotaExceededFault < ServiceError
480
+
481
+ # @param [Seahorse::Client::RequestContext] context
482
+ # @param [String] message
483
+ # @param [Aws::DocDB::Types::SnapshotQuotaExceededFault] data
484
+ def initialize(context, message, data = Aws::EmptyStructure.new)
485
+ super(context, message, data)
486
+ end
487
+ end
488
+
489
+ class StorageQuotaExceededFault < ServiceError
490
+
491
+ # @param [Seahorse::Client::RequestContext] context
492
+ # @param [String] message
493
+ # @param [Aws::DocDB::Types::StorageQuotaExceededFault] data
494
+ def initialize(context, message, data = Aws::EmptyStructure.new)
495
+ super(context, message, data)
496
+ end
497
+ end
498
+
499
+ class StorageTypeNotSupportedFault < ServiceError
500
+
501
+ # @param [Seahorse::Client::RequestContext] context
502
+ # @param [String] message
503
+ # @param [Aws::DocDB::Types::StorageTypeNotSupportedFault] data
504
+ def initialize(context, message, data = Aws::EmptyStructure.new)
505
+ super(context, message, data)
506
+ end
507
+ end
508
+
509
+ class SubnetAlreadyInUse < ServiceError
510
+
511
+ # @param [Seahorse::Client::RequestContext] context
512
+ # @param [String] message
513
+ # @param [Aws::DocDB::Types::SubnetAlreadyInUse] data
514
+ def initialize(context, message, data = Aws::EmptyStructure.new)
515
+ super(context, message, data)
516
+ end
517
+ end
518
+
13
519
  end
14
520
  end