aws-sdk-docdb 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbbfa6c3e8726095329fa2926516d8a89192d175ab28225716440d93da421ed0
4
- data.tar.gz: 82e4899a17d0d4292f30b461ff45b8381152d5e984565fb155282148deaa0def
3
+ metadata.gz: ec2852b5408579d796b5dd016b914912312125c3f978d85ee833bc5de7f895c2
4
+ data.tar.gz: aba76ff29b63566e94aaab2e16e43cd2bd6acea717b8e02ae7aa8a1ddc7fa89a
5
5
  SHA512:
6
- metadata.gz: d0a834af8eedd96600ce92b5ba87006b310eb7d20ec9d02d3cfc228aaf438f859b6db7a7c8dec7973223711bb4e88e4612854269b77fe0208ae4703562fcfd4d
7
- data.tar.gz: 0746ca598870a6bd388fa4e834e66824e616e0783fd0cedcc89ca4a1e061ce97f235d4bc419bab3e8a7050ac7ba9b4d6d494ff98630ae81c32188433fea0cd03
6
+ metadata.gz: ef456b8ffd3d9230d7fc9994316bd1b4bbaa5e82b92371ff36b00d350dc687d971e10086d522fbe78ea1de4e78e3687b64dd17f360f9b0f709eabdd8624d78fa
7
+ data.tar.gz: 89f856519a7f9604ff8dc3800ba4be10d5798acf5ac59e6431395705b5616a1cf4a63ca2e90d391bce879c6a1206c73569d25bc1ca2a5d61acc0e3c7662a61b5
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-docdb/customizations'
46
46
  # @service
47
47
  module Aws::DocDB
48
48
 
49
- GEM_VERSION = '1.15.0'
49
+ GEM_VERSION = '1.16.0'
50
50
 
51
51
  end
@@ -105,7 +105,7 @@ module Aws::DocDB
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::DocDB
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -269,8 +269,7 @@ module Aws::DocDB
269
269
  #
270
270
  # @option options [Integer] :http_read_timeout (60) The default
271
271
  # number of seconds to wait for response data. This value can
272
- # safely be set
273
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
274
273
  #
275
274
  # @option options [Float] :http_idle_timeout (5) The number of
276
275
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +281,7 @@ module Aws::DocDB
282
281
  # request body. This option has no effect unless the request has
283
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
283
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
286
285
  #
287
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
287
  # HTTP debug output will be sent to the `:logger`.
@@ -2030,6 +2029,8 @@ module Aws::DocDB
2030
2029
  # * {Types::DBClusterMessage#marker #marker} => String
2031
2030
  # * {Types::DBClusterMessage#db_clusters #db_clusters} => Array<Types::DBCluster>
2032
2031
  #
2032
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2033
+ #
2033
2034
  # @example Request syntax with placeholder values
2034
2035
  #
2035
2036
  # resp = client.describe_db_clusters({
@@ -2153,6 +2154,8 @@ module Aws::DocDB
2153
2154
  # * {Types::DBEngineVersionMessage#marker #marker} => String
2154
2155
  # * {Types::DBEngineVersionMessage#db_engine_versions #db_engine_versions} => Array<Types::DBEngineVersion>
2155
2156
  #
2157
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2158
+ #
2156
2159
  # @example Request syntax with placeholder values
2157
2160
  #
2158
2161
  # resp = client.describe_db_engine_versions({
@@ -2248,6 +2251,8 @@ module Aws::DocDB
2248
2251
  # * {Types::DBInstanceMessage#marker #marker} => String
2249
2252
  # * {Types::DBInstanceMessage#db_instances #db_instances} => Array<Types::DBInstance>
2250
2253
  #
2254
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2255
+ #
2251
2256
  # @example Request syntax with placeholder values
2252
2257
  #
2253
2258
  # resp = client.describe_db_instances({
@@ -2326,6 +2331,12 @@ module Aws::DocDB
2326
2331
  # resp.db_instances[0].enabled_cloudwatch_logs_exports #=> Array
2327
2332
  # resp.db_instances[0].enabled_cloudwatch_logs_exports[0] #=> String
2328
2333
  #
2334
+ #
2335
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2336
+ #
2337
+ # * db_instance_available
2338
+ # * db_instance_deleted
2339
+ #
2329
2340
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBInstances AWS API Documentation
2330
2341
  #
2331
2342
  # @overload describe_db_instances(params = {})
@@ -2365,6 +2376,8 @@ module Aws::DocDB
2365
2376
  # * {Types::DBSubnetGroupMessage#marker #marker} => String
2366
2377
  # * {Types::DBSubnetGroupMessage#db_subnet_groups #db_subnet_groups} => Array<Types::DBSubnetGroup>
2367
2378
  #
2379
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2380
+ #
2368
2381
  # @example Request syntax with placeholder values
2369
2382
  #
2370
2383
  # resp = client.describe_db_subnet_groups({
@@ -2591,6 +2604,8 @@ module Aws::DocDB
2591
2604
  # * {Types::EventsMessage#marker #marker} => String
2592
2605
  # * {Types::EventsMessage#events #events} => Array<Types::Event>
2593
2606
  #
2607
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2608
+ #
2594
2609
  # @example Request syntax with placeholder values
2595
2610
  #
2596
2611
  # resp = client.describe_events({
@@ -2675,6 +2690,8 @@ module Aws::DocDB
2675
2690
  # * {Types::OrderableDBInstanceOptionsMessage#orderable_db_instance_options #orderable_db_instance_options} => Array<Types::OrderableDBInstanceOption>
2676
2691
  # * {Types::OrderableDBInstanceOptionsMessage#marker #marker} => String
2677
2692
  #
2693
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2694
+ #
2678
2695
  # @example Request syntax with placeholder values
2679
2696
  #
2680
2697
  # resp = client.describe_orderable_db_instance_options({
@@ -4222,7 +4239,7 @@ module Aws::DocDB
4222
4239
  params: params,
4223
4240
  config: config)
4224
4241
  context[:gem_name] = 'aws-sdk-docdb'
4225
- context[:gem_version] = '1.15.0'
4242
+ context[:gem_version] = '1.16.0'
4226
4243
  Seahorse::Client::Request.new(handlers, context)
4227
4244
  end
4228
4245
 
@@ -4288,10 +4305,10 @@ module Aws::DocDB
4288
4305
  # The following table lists the valid waiter names, the operations they call,
4289
4306
  # and the default `:delay` and `:max_attempts` values.
4290
4307
  #
4291
- # | waiter_name | params | :delay | :max_attempts |
4292
- # | --------------------- | ------------------------ | -------- | ------------- |
4293
- # | db_instance_available | {#describe_db_instances} | 30 | 60 |
4294
- # | db_instance_deleted | {#describe_db_instances} | 30 | 60 |
4308
+ # | waiter_name | params | :delay | :max_attempts |
4309
+ # | --------------------- | ------------------------------ | -------- | ------------- |
4310
+ # | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
4311
+ # | db_instance_deleted | {Client#describe_db_instances} | 30 | 60 |
4295
4312
  #
4296
4313
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4297
4314
  # because the waiter has entered a state that it will not transition
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DocDB
9
- # This class provides a resource oriented interface for DocDB.
10
- # To create a resource object:
11
- # resource = Aws::DocDB::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::DocDB::Client.new(region: 'us-west-2')
15
- # resource = Aws::DocDB::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -8,6 +8,68 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::DocDB
11
+ # Waiters are utility methods that poll for a particular state to occur
12
+ # on a client. Waiters can fail after a number of attempts at a polling
13
+ # interval defined for the service client.
14
+ #
15
+ # For a list of operations that can be waited for and the
16
+ # client methods called for each operation, see the table below or the
17
+ # {Client#wait_until} field documentation for the {Client}.
18
+ #
19
+ # # Invoking a Waiter
20
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
21
+ # is the waiter name, which is specific to the service client and indicates
22
+ # which operation is being waited for. The second parameter is a hash of
23
+ # parameters that are passed to the client method called by the waiter,
24
+ # which varies according to the waiter name.
25
+ #
26
+ # # Wait Failures
27
+ # To catch errors in a waiter, use WaiterFailed,
28
+ # as shown in the following example.
29
+ #
30
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
31
+ # puts "failed waiting for instance running: #{error.message}
32
+ # end
33
+ #
34
+ # # Configuring a Waiter
35
+ # Each waiter has a default polling interval and a maximum number of
36
+ # attempts it will make before returning control to your program.
37
+ # To set these values, use the `max_attempts` and `delay` parameters
38
+ # in your `#wait_until` call.
39
+ # The following example waits for up to 25 seconds, polling every five seconds.
40
+ #
41
+ # client.wait_until(...) do |w|
42
+ # w.max_attempts = 5
43
+ # w.delay = 5
44
+ # end
45
+ #
46
+ # To disable wait failures, set the value of either of these parameters
47
+ # to `nil`.
48
+ #
49
+ # # Extending a Waiter
50
+ # To modify the behavior of waiters, you can register callbacks that are
51
+ # triggered before each polling attempt and before waiting.
52
+ #
53
+ # The following example implements an exponential backoff in a waiter
54
+ # by doubling the amount of time to wait on every attempt.
55
+ #
56
+ # client.wait_until(...) do |w|
57
+ # w.interval = 0 # disable normal sleep
58
+ # w.before_wait do |n, resp|
59
+ # sleep(n ** 2)
60
+ # end
61
+ # end
62
+ #
63
+ # # Available Waiters
64
+ #
65
+ # The following table lists the valid waiter names, the operations they call,
66
+ # and the default `:delay` and `:max_attempts` values.
67
+ #
68
+ # | waiter_name | params | :delay | :max_attempts |
69
+ # | --------------------- | ------------------------------ | -------- | ------------- |
70
+ # | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
71
+ # | db_instance_deleted | {Client#describe_db_instances} | 30 | 60 |
72
+ #
11
73
  module Waiters
12
74
 
13
75
  class DBInstanceAvailable
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-docdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-16 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.0.3
84
+ rubyforge_project:
85
+ rubygems_version: 2.7.6.2
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: AWS SDK for Ruby - Amazon DocDB