aws-sdk-docdb 1.13.0 → 1.18.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3b5229f6fbb1fb78df66a004ef06d3d7d918a2df
4
- data.tar.gz: 4634d5b5e8f6f13ed1f79c9d00362345934577c6
2
+ SHA256:
3
+ metadata.gz: 04e7040430af17fcd6772173e29a86e4dce3d8ca08dcbb5e5d31619b8ea7f6ea
4
+ data.tar.gz: 3e8d5f083a9ed13f1395ace5cf4d27a4aec3e9834701cac1b8e7583b0b849d36
5
5
  SHA512:
6
- metadata.gz: a16793def2cb24469d5f8658be7090a82f15783597b3e06d26c3bd03f02bfd8909f4d079a6078f062be84833826655637574fedb7549327ccf3ca5c976e8fb5b
7
- data.tar.gz: fb3ba5d0534e37c2a683f25a5a1a36b9a2984d24831abb032e7d09dc1b504c8ed60a8dc312b856bdc2faf95cd21d05fa602f7f1595e4a605eac7b709ff2c607a
6
+ metadata.gz: e33c661f4ce348baece38ead57b02570f4eff87d6d77c32339301b5d207bc450ec723bd1dda6e796f0feaa4ca81faa9293fa4ca4711cde4b7e4033f5f0c86e16
7
+ data.tar.gz: a519714a740c275746535d4e29b264de7ce9cc6868f9755b7148ec68cfb123e14c2cfc2485b4a2303431fe4838296e83a7875346ae1145525aba00d1bb58cd36
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-docdb/customizations'
25
25
  # methods each accept a hash of request parameters and return a response
26
26
  # structure.
27
27
  #
28
+ # doc_db = Aws::DocDB::Client.new
29
+ # resp = doc_db.add_tags_to_resource(params)
30
+ #
28
31
  # See {Client} for more information.
29
32
  #
30
33
  # # Errors
31
34
  #
32
- # Errors returned from Amazon DocumentDB with MongoDB compatibility all
33
- # extend {Errors::ServiceError}.
35
+ # Errors returned from Amazon DocumentDB with MongoDB compatibility are defined in the
36
+ # {Errors} module and all extend {Errors::ServiceError}.
34
37
  #
35
38
  # begin
36
39
  # # do stuff
37
40
  # rescue Aws::DocDB::Errors::ServiceError
38
- # # rescues all service API errors
41
+ # # rescues all Amazon DocumentDB with MongoDB compatibility API errors
39
42
  # end
40
43
  #
41
44
  # See {Errors} for more information.
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-docdb/customizations'
43
46
  # @service
44
47
  module Aws::DocDB
45
48
 
46
- GEM_VERSION = '1.13.0'
49
+ GEM_VERSION = '1.18.1'
47
50
 
48
51
  end
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:docdb)
31
32
 
32
33
  module Aws::DocDB
34
+ # An API client for DocDB. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::DocDB::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
33
46
  class Client < Seahorse::Client::Base
34
47
 
35
48
  include Aws::ClientStubs
@@ -57,6 +70,7 @@ module Aws::DocDB
57
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
60
74
  add_plugin(Aws::Plugins::SignatureV4)
61
75
  add_plugin(Aws::Plugins::Protocols::Query)
62
76
 
@@ -93,7 +107,7 @@ module Aws::DocDB
93
107
  # @option options [required, String] :region
94
108
  # The AWS region to connect to. The configured `:region` is
95
109
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
97
111
  #
98
112
  # * `Aws.config[:region]`
99
113
  # * `ENV['AWS_REGION']`
@@ -108,6 +122,12 @@ module Aws::DocDB
108
122
  # When set to `true`, a thread polling for endpoints will be running in
109
123
  # the background every 60 secs (default). Defaults to `false`.
110
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
111
131
  # @option options [Boolean] :client_side_monitoring (false)
112
132
  # When `true`, client-side metrics will be collected for all API requests from
113
133
  # this client.
@@ -132,6 +152,10 @@ module Aws::DocDB
132
152
  # When `true`, an attempt is made to coerce request parameters into
133
153
  # the required types.
134
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
135
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
160
  # Set to true to disable SDK automatically adding host prefix
137
161
  # to default service endpoint when available.
@@ -139,7 +163,7 @@ module Aws::DocDB
139
163
  # @option options [String] :endpoint
140
164
  # The client endpoint is normally constructed from the `:region`
141
165
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
167
  #
144
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +178,7 @@ module Aws::DocDB
154
178
  # requests fetching endpoints information. Defaults to 60 sec.
155
179
  #
156
180
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
182
  #
159
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
184
  # The log formatter.
@@ -166,15 +190,29 @@ module Aws::DocDB
166
190
  # The Logger instance to send log messages to. If this option
167
191
  # is not set, logging will be disabled.
168
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
169
199
  # @option options [String] :profile ("default")
170
200
  # Used when loading credentials from the shared credentials file
171
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
173
207
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
175
210
  #
176
211
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
178
216
  #
179
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
218
  #
@@ -182,11 +220,30 @@ module Aws::DocDB
182
220
  # The maximum number of times to retry failed requests. Only
183
221
  # ~ 500 level server errors and certain ~ 400 level client errors
184
222
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
187
226
  #
188
227
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
190
247
  #
191
248
  # @option options [String] :secret_access_key
192
249
  #
@@ -209,16 +266,15 @@ module Aws::DocDB
209
266
  # requests through. Formatted like 'http://proxy.com:123'.
210
267
  #
211
268
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
269
+ # seconds to wait when opening a HTTP session before raising a
213
270
  # `Timeout::Error`.
214
271
  #
215
272
  # @option options [Integer] :http_read_timeout (60) The default
216
273
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
274
+ # safely be set per-request on the session.
219
275
  #
220
276
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
277
+ # seconds a connection is allowed to sit idle before it is
222
278
  # considered stale. Stale connections are closed and removed
223
279
  # from the pool before making a request.
224
280
  #
@@ -227,7 +283,7 @@ module Aws::DocDB
227
283
  # request body. This option has no effect unless the request has
228
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
285
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
286
+ # request on the session.
231
287
  #
232
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
289
  # HTTP debug output will be sent to the `:logger`.
@@ -841,7 +897,7 @@ module Aws::DocDB
841
897
  #
842
898
  # Constraints:
843
899
  #
844
- # * Must match the name of an existing `DBClusterParameterGroup`.
900
+ # * Must not match the name of an existing `DBClusterParameterGroup`.
845
901
  #
846
902
  # ^
847
903
  #
@@ -1521,11 +1577,7 @@ module Aws::DocDB
1521
1577
  end
1522
1578
 
1523
1579
  # Returns a list of certificate authority (CA) certificates provided by
1524
- # Amazon DocumentDB for this AWS account. For certain management
1525
- # features such as cluster and instance lifecycle management, Amazon
1526
- # DocumentDB leverages operational technology that is shared with Amazon
1527
- # RDS and Amazon Neptune. Use the `filterName=engine,Values=docdb`
1528
- # filter parameter to return only Amazon DocumentDB clusters.
1580
+ # Amazon DocumentDB for this AWS account.
1529
1581
  #
1530
1582
  # @option params [String] :certificate_identifier
1531
1583
  # The user-supplied certificate identifier. If this parameter is
@@ -1931,7 +1983,11 @@ module Aws::DocDB
1931
1983
  end
1932
1984
 
1933
1985
  # Returns information about provisioned Amazon DocumentDB clusters. This
1934
- # API operation supports pagination.
1986
+ # API operation supports pagination. For certain management features
1987
+ # such as cluster and instance lifecycle management, Amazon DocumentDB
1988
+ # leverages operational technology that is shared with Amazon RDS and
1989
+ # Amazon Neptune. Use the `filterName=engine,Values=docdb` filter
1990
+ # parameter to return only Amazon DocumentDB clusters.
1935
1991
  #
1936
1992
  # @option params [String] :db_cluster_identifier
1937
1993
  # The user-provided cluster identifier. If this parameter is specified,
@@ -1975,6 +2031,8 @@ module Aws::DocDB
1975
2031
  # * {Types::DBClusterMessage#marker #marker} => String
1976
2032
  # * {Types::DBClusterMessage#db_clusters #db_clusters} => Array&lt;Types::DBCluster&gt;
1977
2033
  #
2034
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2035
+ #
1978
2036
  # @example Request syntax with placeholder values
1979
2037
  #
1980
2038
  # resp = client.describe_db_clusters({
@@ -2098,6 +2156,8 @@ module Aws::DocDB
2098
2156
  # * {Types::DBEngineVersionMessage#marker #marker} => String
2099
2157
  # * {Types::DBEngineVersionMessage#db_engine_versions #db_engine_versions} => Array&lt;Types::DBEngineVersion&gt;
2100
2158
  #
2159
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2160
+ #
2101
2161
  # @example Request syntax with placeholder values
2102
2162
  #
2103
2163
  # resp = client.describe_db_engine_versions({
@@ -2193,6 +2253,8 @@ module Aws::DocDB
2193
2253
  # * {Types::DBInstanceMessage#marker #marker} => String
2194
2254
  # * {Types::DBInstanceMessage#db_instances #db_instances} => Array&lt;Types::DBInstance&gt;
2195
2255
  #
2256
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2257
+ #
2196
2258
  # @example Request syntax with placeholder values
2197
2259
  #
2198
2260
  # resp = client.describe_db_instances({
@@ -2271,6 +2333,12 @@ module Aws::DocDB
2271
2333
  # resp.db_instances[0].enabled_cloudwatch_logs_exports #=> Array
2272
2334
  # resp.db_instances[0].enabled_cloudwatch_logs_exports[0] #=> String
2273
2335
  #
2336
+ #
2337
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2338
+ #
2339
+ # * db_instance_available
2340
+ # * db_instance_deleted
2341
+ #
2274
2342
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBInstances AWS API Documentation
2275
2343
  #
2276
2344
  # @overload describe_db_instances(params = {})
@@ -2310,6 +2378,8 @@ module Aws::DocDB
2310
2378
  # * {Types::DBSubnetGroupMessage#marker #marker} => String
2311
2379
  # * {Types::DBSubnetGroupMessage#db_subnet_groups #db_subnet_groups} => Array&lt;Types::DBSubnetGroup&gt;
2312
2380
  #
2381
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2382
+ #
2313
2383
  # @example Request syntax with placeholder values
2314
2384
  #
2315
2385
  # resp = client.describe_db_subnet_groups({
@@ -2536,6 +2606,8 @@ module Aws::DocDB
2536
2606
  # * {Types::EventsMessage#marker #marker} => String
2537
2607
  # * {Types::EventsMessage#events #events} => Array&lt;Types::Event&gt;
2538
2608
  #
2609
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2610
+ #
2539
2611
  # @example Request syntax with placeholder values
2540
2612
  #
2541
2613
  # resp = client.describe_events({
@@ -2620,6 +2692,8 @@ module Aws::DocDB
2620
2692
  # * {Types::OrderableDBInstanceOptionsMessage#orderable_db_instance_options #orderable_db_instance_options} => Array&lt;Types::OrderableDBInstanceOption&gt;
2621
2693
  # * {Types::OrderableDBInstanceOptionsMessage#marker #marker} => String
2622
2694
  #
2695
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2696
+ #
2623
2697
  # @example Request syntax with placeholder values
2624
2698
  #
2625
2699
  # resp = client.describe_orderable_db_instance_options({
@@ -4167,7 +4241,7 @@ module Aws::DocDB
4167
4241
  params: params,
4168
4242
  config: config)
4169
4243
  context[:gem_name] = 'aws-sdk-docdb'
4170
- context[:gem_version] = '1.13.0'
4244
+ context[:gem_version] = '1.18.1'
4171
4245
  Seahorse::Client::Request.new(handlers, context)
4172
4246
  end
4173
4247
 
@@ -4233,10 +4307,10 @@ module Aws::DocDB
4233
4307
  # The following table lists the valid waiter names, the operations they call,
4234
4308
  # and the default `:delay` and `:max_attempts` values.
4235
4309
  #
4236
- # | waiter_name | params | :delay | :max_attempts |
4237
- # | --------------------- | ------------------------ | -------- | ------------- |
4238
- # | db_instance_available | {#describe_db_instances} | 30 | 60 |
4239
- # | db_instance_deleted | {#describe_db_instances} | 30 | 60 |
4310
+ # | waiter_name | params | :delay | :max_attempts |
4311
+ # | --------------------- | ------------------------------ | -------- | ------------- |
4312
+ # | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
4313
+ # | db_instance_deleted | {Client#describe_db_instances} | 30 | 60 |
4240
4314
  #
4241
4315
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4242
4316
  # because the waiter has entered a state that it will not transition
@@ -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")