aws-sdk-redshift 1.39.0 → 1.40.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +63 -13
- data/lib/aws-sdk-redshift/resource.rb +1 -7
- data/lib/aws-sdk-redshift/types.rb +4 -2
- data/lib/aws-sdk-redshift/waiters.rb +64 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee91c457458c30f76f268ee63ba0c4be469dd5029a830eed2ee1fd6323a90d4b
|
4
|
+
data.tar.gz: 294076236d831a958a8cb7ed37d5847aaf5d4b8ec5952ab18a7ae5606130bce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06174cdd92acb40d128a29346e292f4905906f7f62959aa574e7d7adc959dad49f78230a0125c8887e7ec08860002904f72088aeb8ef5e90598b1b6624957a55
|
7
|
+
data.tar.gz: 2d1dac31c7c88a1a7512f11e15c9eafceebb4476b00e210cd3afd2ee4e4bee612a231031f8796b2f0c75abd5ea773738e5eb34986330c15a4b77577d63266078
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -269,8 +269,7 @@ module Aws::Redshift
|
|
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::Redshift
|
|
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
|
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`.
|
@@ -891,7 +890,8 @@ module Aws::Redshift
|
|
891
890
|
# Cluster Management Guide*.
|
892
891
|
#
|
893
892
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
894
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
893
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
894
|
+
# `ra3.16xlarge`
|
895
895
|
#
|
896
896
|
#
|
897
897
|
#
|
@@ -2096,7 +2096,8 @@ module Aws::Redshift
|
|
2096
2096
|
req.send_request(options)
|
2097
2097
|
end
|
2098
2098
|
|
2099
|
-
#
|
2099
|
+
# Create a snapshot schedule that can be associated to a cluster and
|
2100
|
+
# which overrides the default system backup schedule.
|
2100
2101
|
#
|
2101
2102
|
# @option params [Array<String>] :schedule_definitions
|
2102
2103
|
# The definition of the snapshot schedule. The definition is made up of
|
@@ -2910,6 +2911,8 @@ module Aws::Redshift
|
|
2910
2911
|
# * {Types::ClusterParameterGroupsMessage#marker #marker} => String
|
2911
2912
|
# * {Types::ClusterParameterGroupsMessage#parameter_groups #parameter_groups} => Array<Types::ClusterParameterGroup>
|
2912
2913
|
#
|
2914
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2915
|
+
#
|
2913
2916
|
# @example Request syntax with placeholder values
|
2914
2917
|
#
|
2915
2918
|
# resp = client.describe_cluster_parameter_groups({
|
@@ -2995,6 +2998,8 @@ module Aws::Redshift
|
|
2995
2998
|
# * {Types::ClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
2996
2999
|
# * {Types::ClusterParameterGroupDetails#marker #marker} => String
|
2997
3000
|
#
|
3001
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3002
|
+
#
|
2998
3003
|
# @example Request syntax with placeholder values
|
2999
3004
|
#
|
3000
3005
|
# resp = client.describe_cluster_parameters({
|
@@ -3103,6 +3108,8 @@ module Aws::Redshift
|
|
3103
3108
|
# * {Types::ClusterSecurityGroupMessage#marker #marker} => String
|
3104
3109
|
# * {Types::ClusterSecurityGroupMessage#cluster_security_groups #cluster_security_groups} => Array<Types::ClusterSecurityGroup>
|
3105
3110
|
#
|
3111
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3112
|
+
#
|
3106
3113
|
# @example Request syntax with placeholder values
|
3107
3114
|
#
|
3108
3115
|
# resp = client.describe_cluster_security_groups({
|
@@ -3270,6 +3277,8 @@ module Aws::Redshift
|
|
3270
3277
|
# * {Types::SnapshotMessage#marker #marker} => String
|
3271
3278
|
# * {Types::SnapshotMessage#snapshots #snapshots} => Array<Types::Snapshot>
|
3272
3279
|
#
|
3280
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3281
|
+
#
|
3273
3282
|
# @example Request syntax with placeholder values
|
3274
3283
|
#
|
3275
3284
|
# resp = client.describe_cluster_snapshots({
|
@@ -3335,6 +3344,11 @@ module Aws::Redshift
|
|
3335
3344
|
# resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
|
3336
3345
|
# resp.snapshots[0].snapshot_retention_start_time #=> Time
|
3337
3346
|
#
|
3347
|
+
#
|
3348
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
3349
|
+
#
|
3350
|
+
# * snapshot_available
|
3351
|
+
#
|
3338
3352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots AWS API Documentation
|
3339
3353
|
#
|
3340
3354
|
# @overload describe_cluster_snapshots(params = {})
|
@@ -3406,6 +3420,8 @@ module Aws::Redshift
|
|
3406
3420
|
# * {Types::ClusterSubnetGroupMessage#marker #marker} => String
|
3407
3421
|
# * {Types::ClusterSubnetGroupMessage#cluster_subnet_groups #cluster_subnet_groups} => Array<Types::ClusterSubnetGroup>
|
3408
3422
|
#
|
3423
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3424
|
+
#
|
3409
3425
|
# @example Request syntax with placeholder values
|
3410
3426
|
#
|
3411
3427
|
# resp = client.describe_cluster_subnet_groups({
|
@@ -3545,6 +3561,8 @@ module Aws::Redshift
|
|
3545
3561
|
# * {Types::ClusterVersionsMessage#marker #marker} => String
|
3546
3562
|
# * {Types::ClusterVersionsMessage#cluster_versions #cluster_versions} => Array<Types::ClusterVersion>
|
3547
3563
|
#
|
3564
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3565
|
+
#
|
3548
3566
|
# @example Request syntax with placeholder values
|
3549
3567
|
#
|
3550
3568
|
# resp = client.describe_cluster_versions({
|
@@ -3642,6 +3660,8 @@ module Aws::Redshift
|
|
3642
3660
|
# * {Types::ClustersMessage#marker #marker} => String
|
3643
3661
|
# * {Types::ClustersMessage#clusters #clusters} => Array<Types::Cluster>
|
3644
3662
|
#
|
3663
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3664
|
+
#
|
3645
3665
|
# @example Request syntax with placeholder values
|
3646
3666
|
#
|
3647
3667
|
# resp = client.describe_clusters({
|
@@ -3752,6 +3772,13 @@ module Aws::Redshift
|
|
3752
3772
|
# resp.clusters[0].resize_info.resize_type #=> String
|
3753
3773
|
# resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
|
3754
3774
|
#
|
3775
|
+
#
|
3776
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
3777
|
+
#
|
3778
|
+
# * cluster_available
|
3779
|
+
# * cluster_deleted
|
3780
|
+
# * cluster_restored
|
3781
|
+
#
|
3755
3782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
|
3756
3783
|
#
|
3757
3784
|
# @overload describe_clusters(params = {})
|
@@ -3799,6 +3826,8 @@ module Aws::Redshift
|
|
3799
3826
|
#
|
3800
3827
|
# * {Types::DescribeDefaultClusterParametersResult#default_cluster_parameters #default_cluster_parameters} => Types::DefaultClusterParameters
|
3801
3828
|
#
|
3829
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3830
|
+
#
|
3802
3831
|
# @example Request syntax with placeholder values
|
3803
3832
|
#
|
3804
3833
|
# resp = client.describe_default_cluster_parameters({
|
@@ -3938,6 +3967,8 @@ module Aws::Redshift
|
|
3938
3967
|
# * {Types::EventSubscriptionsMessage#marker #marker} => String
|
3939
3968
|
# * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array<Types::EventSubscription>
|
3940
3969
|
#
|
3970
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3971
|
+
#
|
3941
3972
|
# @example Request syntax with placeholder values
|
3942
3973
|
#
|
3943
3974
|
# resp = client.describe_event_subscriptions({
|
@@ -4076,6 +4107,8 @@ module Aws::Redshift
|
|
4076
4107
|
# * {Types::EventsMessage#marker #marker} => String
|
4077
4108
|
# * {Types::EventsMessage#events #events} => Array<Types::Event>
|
4078
4109
|
#
|
4110
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4111
|
+
#
|
4079
4112
|
# @example Request syntax with placeholder values
|
4080
4113
|
#
|
4081
4114
|
# resp = client.describe_events({
|
@@ -4173,6 +4206,8 @@ module Aws::Redshift
|
|
4173
4206
|
# * {Types::HsmClientCertificateMessage#marker #marker} => String
|
4174
4207
|
# * {Types::HsmClientCertificateMessage#hsm_client_certificates #hsm_client_certificates} => Array<Types::HsmClientCertificate>
|
4175
4208
|
#
|
4209
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4210
|
+
#
|
4176
4211
|
# @example Request syntax with placeholder values
|
4177
4212
|
#
|
4178
4213
|
# resp = client.describe_hsm_client_certificates({
|
@@ -4266,6 +4301,8 @@ module Aws::Redshift
|
|
4266
4301
|
# * {Types::HsmConfigurationMessage#marker #marker} => String
|
4267
4302
|
# * {Types::HsmConfigurationMessage#hsm_configurations #hsm_configurations} => Array<Types::HsmConfiguration>
|
4268
4303
|
#
|
4304
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4305
|
+
#
|
4269
4306
|
# @example Request syntax with placeholder values
|
4270
4307
|
#
|
4271
4308
|
# resp = client.describe_hsm_configurations({
|
@@ -4390,6 +4427,8 @@ module Aws::Redshift
|
|
4390
4427
|
# * {Types::NodeConfigurationOptionsMessage#node_configuration_option_list #node_configuration_option_list} => Array<Types::NodeConfigurationOption>
|
4391
4428
|
# * {Types::NodeConfigurationOptionsMessage#marker #marker} => String
|
4392
4429
|
#
|
4430
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4431
|
+
#
|
4393
4432
|
# @example Request syntax with placeholder values
|
4394
4433
|
#
|
4395
4434
|
# resp = client.describe_node_configuration_options({
|
@@ -4478,6 +4517,8 @@ module Aws::Redshift
|
|
4478
4517
|
# * {Types::OrderableClusterOptionsMessage#orderable_cluster_options #orderable_cluster_options} => Array<Types::OrderableClusterOption>
|
4479
4518
|
# * {Types::OrderableClusterOptionsMessage#marker #marker} => String
|
4480
4519
|
#
|
4520
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4521
|
+
#
|
4481
4522
|
# @example Request syntax with placeholder values
|
4482
4523
|
#
|
4483
4524
|
# resp = client.describe_orderable_cluster_options({
|
@@ -4551,6 +4592,8 @@ module Aws::Redshift
|
|
4551
4592
|
# * {Types::ReservedNodeOfferingsMessage#marker #marker} => String
|
4552
4593
|
# * {Types::ReservedNodeOfferingsMessage#reserved_node_offerings #reserved_node_offerings} => Array<Types::ReservedNodeOffering>
|
4553
4594
|
#
|
4595
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4596
|
+
#
|
4554
4597
|
# @example Request syntax with placeholder values
|
4555
4598
|
#
|
4556
4599
|
# resp = client.describe_reserved_node_offerings({
|
@@ -4613,6 +4656,8 @@ module Aws::Redshift
|
|
4613
4656
|
# * {Types::ReservedNodesMessage#marker #marker} => String
|
4614
4657
|
# * {Types::ReservedNodesMessage#reserved_nodes #reserved_nodes} => Array<Types::ReservedNode>
|
4615
4658
|
#
|
4659
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4660
|
+
#
|
4616
4661
|
# @example Request syntax with placeholder values
|
4617
4662
|
#
|
4618
4663
|
# resp = client.describe_reserved_nodes({
|
@@ -4772,6 +4817,8 @@ module Aws::Redshift
|
|
4772
4817
|
# * {Types::ScheduledActionsMessage#marker #marker} => String
|
4773
4818
|
# * {Types::ScheduledActionsMessage#scheduled_actions #scheduled_actions} => Array<Types::ScheduledAction>
|
4774
4819
|
#
|
4820
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4821
|
+
#
|
4775
4822
|
# @example Request syntax with placeholder values
|
4776
4823
|
#
|
4777
4824
|
# resp = client.describe_scheduled_actions({
|
@@ -5865,7 +5912,8 @@ module Aws::Redshift
|
|
5865
5912
|
# Guide*.
|
5866
5913
|
#
|
5867
5914
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
5868
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
5915
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
5916
|
+
# `ra3.16xlarge`
|
5869
5917
|
#
|
5870
5918
|
#
|
5871
5919
|
#
|
@@ -7671,6 +7719,8 @@ module Aws::Redshift
|
|
7671
7719
|
#
|
7672
7720
|
# * ds2.8xlarge
|
7673
7721
|
#
|
7722
|
+
# * ra3.4xlarge
|
7723
|
+
#
|
7674
7724
|
# * ra3.16xlarge
|
7675
7725
|
#
|
7676
7726
|
# * The type of nodes that you add must match the node type for the
|
@@ -8704,7 +8754,7 @@ module Aws::Redshift
|
|
8704
8754
|
params: params,
|
8705
8755
|
config: config)
|
8706
8756
|
context[:gem_name] = 'aws-sdk-redshift'
|
8707
|
-
context[:gem_version] = '1.
|
8757
|
+
context[:gem_version] = '1.40.0'
|
8708
8758
|
Seahorse::Client::Request.new(handlers, context)
|
8709
8759
|
end
|
8710
8760
|
|
@@ -8770,12 +8820,12 @@ module Aws::Redshift
|
|
8770
8820
|
# The following table lists the valid waiter names, the operations they call,
|
8771
8821
|
# and the default `:delay` and `:max_attempts` values.
|
8772
8822
|
#
|
8773
|
-
# | waiter_name | params
|
8774
|
-
# | ------------------ |
|
8775
|
-
# | cluster_available | {#describe_clusters} | 60 | 30 |
|
8776
|
-
# | cluster_deleted | {#describe_clusters} | 60 | 30 |
|
8777
|
-
# | cluster_restored | {#describe_clusters} | 60 | 30 |
|
8778
|
-
# | snapshot_available | {#describe_cluster_snapshots} | 15 | 20 |
|
8823
|
+
# | waiter_name | params | :delay | :max_attempts |
|
8824
|
+
# | ------------------ | ----------------------------------- | -------- | ------------- |
|
8825
|
+
# | cluster_available | {Client#describe_clusters} | 60 | 30 |
|
8826
|
+
# | cluster_deleted | {Client#describe_clusters} | 60 | 30 |
|
8827
|
+
# | cluster_restored | {Client#describe_clusters} | 60 | 30 |
|
8828
|
+
# | snapshot_available | {Client#describe_cluster_snapshots} | 15 | 20 |
|
8779
8829
|
#
|
8780
8830
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
8781
8831
|
# 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::Redshift
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Redshift::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::Redshift::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Redshift::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -1642,7 +1642,8 @@ module Aws::Redshift
|
|
1642
1642
|
# Redshift Cluster Management Guide*.
|
1643
1643
|
#
|
1644
1644
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
1645
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
1645
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
1646
|
+
# `ra3.16xlarge`
|
1646
1647
|
#
|
1647
1648
|
#
|
1648
1649
|
#
|
@@ -6276,7 +6277,8 @@ module Aws::Redshift
|
|
6276
6277
|
# Management Guide*.
|
6277
6278
|
#
|
6278
6279
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
6279
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
6280
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
6281
|
+
# `ra3.16xlarge`
|
6280
6282
|
#
|
6281
6283
|
#
|
6282
6284
|
#
|
@@ -8,6 +8,70 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::Redshift
|
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
|
+
# | cluster_available | {Client#describe_clusters} | 60 | 30 |
|
71
|
+
# | cluster_deleted | {Client#describe_clusters} | 60 | 30 |
|
72
|
+
# | cluster_restored | {Client#describe_clusters} | 60 | 30 |
|
73
|
+
# | snapshot_available | {Client#describe_cluster_snapshots} | 15 | 20 |
|
74
|
+
#
|
11
75
|
module Waiters
|
12
76
|
|
13
77
|
class ClusterAvailable
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.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-
|
11
|
+
date: 2020-04-09 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
|
-
|
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 Redshift
|