aws-sdk-elasticache 1.31.0 → 1.32.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: 2b7cfa92205640cb081ddda3cece54e82edaebac848da2f7002d8d38e77a3ffc
4
- data.tar.gz: 4e2b892a31349b783451c9fb1f8d3dfd0a1c1c5fd5826201d7cb4887d582cff3
3
+ metadata.gz: 2f06a08e941d641f7c23a44053d75e440606e4da83a38870432d1739718b1fbc
4
+ data.tar.gz: 00ac83cf300c2c1e183d04d2cefb3b4eb8ee4fe40d85b412e00acee04292082c
5
5
  SHA512:
6
- metadata.gz: f4e0702c7e3ac231d680e5225898df6b54b1a0f6083685b3c5294f9dd285604526b6435d05e62f9e8a2e8949fbf5bf870700f45651f326fb783145152384dc8f
7
- data.tar.gz: b30a468a9f0524f831078eaaae86ca372acd648c5a2ed3761cd7934b4ab63c57822ab3374b5c5c11f9b1389854129536d74c9b16e8f679c0e5b48746668fe7c9
6
+ metadata.gz: 364f13beb58d0e54ddbc62783e737fb1575d177730ddfb67e43d11c1f36df6d2b5817f3411c846d235cce8d6785b3578b183592dd8b90a5ce60ad9a70c6f590f
7
+ data.tar.gz: f8cf93da8b8e94cbd24278569490e6994c585af7c4ba32ce193cd175439a46bc1e2f2a1707b0aa1f8d4d4d71a259aef25518c9b3711bdd6881628a02cb8129f3
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-elasticache/customizations'
46
46
  # @service
47
47
  module Aws::ElastiCache
48
48
 
49
- GEM_VERSION = '1.31.0'
49
+ GEM_VERSION = '1.32.0'
50
50
 
51
51
  end
@@ -105,7 +105,7 @@ module Aws::ElastiCache
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::ElastiCache
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::ElastiCache
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::ElastiCache
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`.
@@ -3313,6 +3312,8 @@ module Aws::ElastiCache
3313
3312
  # * {Types::CacheClusterMessage#marker #marker} => String
3314
3313
  # * {Types::CacheClusterMessage#cache_clusters #cache_clusters} => Array<Types::CacheCluster>
3315
3314
  #
3315
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3316
+ #
3316
3317
  #
3317
3318
  # @example Example: DescribeCacheClusters
3318
3319
  #
@@ -3486,6 +3487,12 @@ module Aws::ElastiCache
3486
3487
  # resp.cache_clusters[0].transit_encryption_enabled #=> Boolean
3487
3488
  # resp.cache_clusters[0].at_rest_encryption_enabled #=> Boolean
3488
3489
  #
3490
+ #
3491
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3492
+ #
3493
+ # * cache_cluster_available
3494
+ # * cache_cluster_deleted
3495
+ #
3489
3496
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters AWS API Documentation
3490
3497
  #
3491
3498
  # @overload describe_cache_clusters(params = {})
@@ -3545,6 +3552,8 @@ module Aws::ElastiCache
3545
3552
  # * {Types::CacheEngineVersionMessage#marker #marker} => String
3546
3553
  # * {Types::CacheEngineVersionMessage#cache_engine_versions #cache_engine_versions} => Array<Types::CacheEngineVersion>
3547
3554
  #
3555
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3556
+ #
3548
3557
  #
3549
3558
  # @example Example: DescribeCacheEngineVersions
3550
3559
  #
@@ -3774,6 +3783,8 @@ module Aws::ElastiCache
3774
3783
  # * {Types::CacheParameterGroupsMessage#marker #marker} => String
3775
3784
  # * {Types::CacheParameterGroupsMessage#cache_parameter_groups #cache_parameter_groups} => Array<Types::CacheParameterGroup>
3776
3785
  #
3786
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3787
+ #
3777
3788
  #
3778
3789
  # @example Example: DescribeCacheParameterGroups
3779
3790
  #
@@ -3854,6 +3865,8 @@ module Aws::ElastiCache
3854
3865
  # * {Types::CacheParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
3855
3866
  # * {Types::CacheParameterGroupDetails#cache_node_type_specific_parameters #cache_node_type_specific_parameters} => Array<Types::CacheNodeTypeSpecificParameter>
3856
3867
  #
3868
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3869
+ #
3857
3870
  #
3858
3871
  # @example Example: DescribeCacheParameters
3859
3872
  #
@@ -4328,6 +4341,8 @@ module Aws::ElastiCache
4328
4341
  # * {Types::CacheSecurityGroupMessage#marker #marker} => String
4329
4342
  # * {Types::CacheSecurityGroupMessage#cache_security_groups #cache_security_groups} => Array<Types::CacheSecurityGroup>
4330
4343
  #
4344
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4345
+ #
4331
4346
  #
4332
4347
  # @example Example: DescribeCacheSecurityGroups
4333
4348
  #
@@ -4396,6 +4411,8 @@ module Aws::ElastiCache
4396
4411
  # * {Types::CacheSubnetGroupMessage#marker #marker} => String
4397
4412
  # * {Types::CacheSubnetGroupMessage#cache_subnet_groups #cache_subnet_groups} => Array<Types::CacheSubnetGroup>
4398
4413
  #
4414
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4415
+ #
4399
4416
  #
4400
4417
  # @example Example: DescribeCacheSubnetGroups
4401
4418
  #
@@ -4500,6 +4517,8 @@ module Aws::ElastiCache
4500
4517
  #
4501
4518
  # * {Types::DescribeEngineDefaultParametersResult#engine_defaults #engine_defaults} => Types::EngineDefaults
4502
4519
  #
4520
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4521
+ #
4503
4522
  #
4504
4523
  # @example Example: DescribeEngineDefaultParameters
4505
4524
  #
@@ -5209,6 +5228,8 @@ module Aws::ElastiCache
5209
5228
  # * {Types::EventsMessage#marker #marker} => String
5210
5229
  # * {Types::EventsMessage#events #events} => Array<Types::Event>
5211
5230
  #
5231
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5232
+ #
5212
5233
  #
5213
5234
  # @example Example: DescribeEvents
5214
5235
  #
@@ -5364,6 +5385,8 @@ module Aws::ElastiCache
5364
5385
  # * {Types::DescribeGlobalReplicationGroupsResult#marker #marker} => String
5365
5386
  # * {Types::DescribeGlobalReplicationGroupsResult#global_replication_groups #global_replication_groups} => Array<Types::GlobalReplicationGroup>
5366
5387
  #
5388
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5389
+ #
5367
5390
  # @example Request syntax with placeholder values
5368
5391
  #
5369
5392
  # resp = client.describe_global_replication_groups({
@@ -5442,6 +5465,8 @@ module Aws::ElastiCache
5442
5465
  # * {Types::ReplicationGroupMessage#marker #marker} => String
5443
5466
  # * {Types::ReplicationGroupMessage#replication_groups #replication_groups} => Array<Types::ReplicationGroup>
5444
5467
  #
5468
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5469
+ #
5445
5470
  #
5446
5471
  # @example Example: DescribeReplicationGroups
5447
5472
  #
@@ -5557,6 +5582,12 @@ module Aws::ElastiCache
5557
5582
  # resp.replication_groups[0].at_rest_encryption_enabled #=> Boolean
5558
5583
  # resp.replication_groups[0].kms_key_id #=> String
5559
5584
  #
5585
+ #
5586
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
5587
+ #
5588
+ # * replication_group_available
5589
+ # * replication_group_deleted
5590
+ #
5560
5591
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups AWS API Documentation
5561
5592
  #
5562
5593
  # @overload describe_replication_groups(params = {})
@@ -5691,6 +5722,8 @@ module Aws::ElastiCache
5691
5722
  # * {Types::ReservedCacheNodeMessage#marker #marker} => String
5692
5723
  # * {Types::ReservedCacheNodeMessage#reserved_cache_nodes #reserved_cache_nodes} => Array<Types::ReservedCacheNode>
5693
5724
  #
5725
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5726
+ #
5694
5727
  #
5695
5728
  # @example Example: DescribeReservedCacheNodes
5696
5729
  #
@@ -5866,6 +5899,8 @@ module Aws::ElastiCache
5866
5899
  # * {Types::ReservedCacheNodesOfferingMessage#marker #marker} => String
5867
5900
  # * {Types::ReservedCacheNodesOfferingMessage#reserved_cache_nodes_offerings #reserved_cache_nodes_offerings} => Array<Types::ReservedCacheNodesOffering>
5868
5901
  #
5902
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5903
+ #
5869
5904
  #
5870
5905
  # @example Example: DescribeReseredCacheNodeOfferings
5871
5906
  #
@@ -6244,6 +6279,8 @@ module Aws::ElastiCache
6244
6279
  # * {Types::ServiceUpdatesMessage#marker #marker} => String
6245
6280
  # * {Types::ServiceUpdatesMessage#service_updates #service_updates} => Array<Types::ServiceUpdate>
6246
6281
  #
6282
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6283
+ #
6247
6284
  # @example Request syntax with placeholder values
6248
6285
  #
6249
6286
  # resp = client.describe_service_updates({
@@ -6332,6 +6369,8 @@ module Aws::ElastiCache
6332
6369
  # * {Types::DescribeSnapshotsListMessage#marker #marker} => String
6333
6370
  # * {Types::DescribeSnapshotsListMessage#snapshots #snapshots} => Array<Types::Snapshot>
6334
6371
  #
6372
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6373
+ #
6335
6374
  #
6336
6375
  # @example Example: DescribeSnapshots
6337
6376
  #
@@ -6481,6 +6520,8 @@ module Aws::ElastiCache
6481
6520
  # * {Types::UpdateActionsMessage#marker #marker} => String
6482
6521
  # * {Types::UpdateActionsMessage#update_actions #update_actions} => Array<Types::UpdateAction>
6483
6522
  #
6523
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6524
+ #
6484
6525
  # @example Request syntax with placeholder values
6485
6526
  #
6486
6527
  # resp = client.describe_update_actions({
@@ -8843,7 +8884,7 @@ module Aws::ElastiCache
8843
8884
  params: params,
8844
8885
  config: config)
8845
8886
  context[:gem_name] = 'aws-sdk-elasticache'
8846
- context[:gem_version] = '1.31.0'
8887
+ context[:gem_version] = '1.32.0'
8847
8888
  Seahorse::Client::Request.new(handlers, context)
8848
8889
  end
8849
8890
 
@@ -8909,12 +8950,12 @@ module Aws::ElastiCache
8909
8950
  # The following table lists the valid waiter names, the operations they call,
8910
8951
  # and the default `:delay` and `:max_attempts` values.
8911
8952
  #
8912
- # | waiter_name | params | :delay | :max_attempts |
8913
- # | --------------------------- | ------------------------------ | -------- | ------------- |
8914
- # | cache_cluster_available | {#describe_cache_clusters} | 15 | 40 |
8915
- # | cache_cluster_deleted | {#describe_cache_clusters} | 15 | 40 |
8916
- # | replication_group_available | {#describe_replication_groups} | 15 | 40 |
8917
- # | replication_group_deleted | {#describe_replication_groups} | 15 | 40 |
8953
+ # | waiter_name | params | :delay | :max_attempts |
8954
+ # | --------------------------- | ------------------------------------ | -------- | ------------- |
8955
+ # | cache_cluster_available | {Client#describe_cache_clusters} | 15 | 40 |
8956
+ # | cache_cluster_deleted | {Client#describe_cache_clusters} | 15 | 40 |
8957
+ # | replication_group_available | {Client#describe_replication_groups} | 15 | 40 |
8958
+ # | replication_group_deleted | {Client#describe_replication_groups} | 15 | 40 |
8918
8959
  #
8919
8960
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
8920
8961
  # 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::ElastiCache
9
- # This class provides a resource oriented interface for ElastiCache.
10
- # To create a resource object:
11
- # resource = Aws::ElastiCache::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::ElastiCache::Client.new(region: 'us-west-2')
15
- # resource = Aws::ElastiCache::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -8,6 +8,70 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::ElastiCache
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
+ # | cache_cluster_available | {Client#describe_cache_clusters} | 15 | 40 |
71
+ # | cache_cluster_deleted | {Client#describe_cache_clusters} | 15 | 40 |
72
+ # | replication_group_available | {Client#describe_replication_groups} | 15 | 40 |
73
+ # | replication_group_deleted | {Client#describe_replication_groups} | 15 | 40 |
74
+ #
11
75
  module Waiters
12
76
 
13
77
  # Wait until ElastiCache cluster is available.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.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 ElastiCache