aws-sdk-redshift 1.38.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +616 -32
- data/lib/aws-sdk-redshift/client_api.rb +154 -0
- data/lib/aws-sdk-redshift/errors.rb +33 -0
- data/lib/aws-sdk-redshift/resource.rb +1 -7
- data/lib/aws-sdk-redshift/types.rb +390 -5
- data/lib/aws-sdk-redshift/waiters.rb +64 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ec6ec12d1ff11788fe574cc574c026e6971d289245a32ad932fbfb62d664d1d4
|
4
|
+
data.tar.gz: 250e2571bebeda0fe48876db6e1bf4385e53a347aecb7b9b38fe2bfd6750c37f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c92cc4e3f4af0da37b9483413127a9c89d0d78148051c2e5931328d144f8ca229e856a0dc16939526060c2c7710c6b8c7cb1e2043329f3282869e79fbfede73
|
7
|
+
data.tar.gz: a59321fe4fe76422d6a62dfeb6009c150b7a1ef89aaff55d1ff78212982a39ba66e3c9e176e320337aa5f3b87431e9271710cf8bbc11d6a28cea13c597ff78ca
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:redshift)
|
|
32
32
|
module Aws::Redshift
|
33
33
|
# An API client for Redshift. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Redshift::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::Redshift
|
|
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
|
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::Redshift
|
|
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
|
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
|
@@ -176,7 +176,7 @@ module Aws::Redshift
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -229,15 +229,19 @@ module Aws::Redshift
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::Redshift
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::Redshift
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -887,7 +890,8 @@ module Aws::Redshift
|
|
887
890
|
# Cluster Management Guide*.
|
888
891
|
#
|
889
892
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
890
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
893
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
894
|
+
# `ra3.16xlarge`
|
891
895
|
#
|
892
896
|
#
|
893
897
|
#
|
@@ -1979,6 +1983,12 @@ module Aws::Redshift
|
|
1979
1983
|
# number_of_nodes: 1,
|
1980
1984
|
# classic: false,
|
1981
1985
|
# },
|
1986
|
+
# pause_cluster: {
|
1987
|
+
# cluster_identifier: "String", # required
|
1988
|
+
# },
|
1989
|
+
# resume_cluster: {
|
1990
|
+
# cluster_identifier: "String", # required
|
1991
|
+
# },
|
1982
1992
|
# },
|
1983
1993
|
# schedule: "String", # required
|
1984
1994
|
# iam_role: "String", # required
|
@@ -1996,6 +2006,8 @@ module Aws::Redshift
|
|
1996
2006
|
# resp.target_action.resize_cluster.node_type #=> String
|
1997
2007
|
# resp.target_action.resize_cluster.number_of_nodes #=> Integer
|
1998
2008
|
# resp.target_action.resize_cluster.classic #=> Boolean
|
2009
|
+
# resp.target_action.pause_cluster.cluster_identifier #=> String
|
2010
|
+
# resp.target_action.resume_cluster.cluster_identifier #=> String
|
1999
2011
|
# resp.schedule #=> String
|
2000
2012
|
# resp.iam_role #=> String
|
2001
2013
|
# resp.scheduled_action_description #=> String
|
@@ -2084,7 +2096,8 @@ module Aws::Redshift
|
|
2084
2096
|
req.send_request(options)
|
2085
2097
|
end
|
2086
2098
|
|
2087
|
-
#
|
2099
|
+
# Create a snapshot schedule that can be associated to a cluster and
|
2100
|
+
# which overrides the default system backup schedule.
|
2088
2101
|
#
|
2089
2102
|
# @option params [Array<String>] :schedule_definitions
|
2090
2103
|
# The definition of the snapshot schedule. The definition is made up of
|
@@ -2200,6 +2213,89 @@ module Aws::Redshift
|
|
2200
2213
|
req.send_request(options)
|
2201
2214
|
end
|
2202
2215
|
|
2216
|
+
# Creates a usage limit for a specified Amazon Redshift feature on a
|
2217
|
+
# cluster. The usage limit is identified by the returned usage limit
|
2218
|
+
# identifier.
|
2219
|
+
#
|
2220
|
+
# @option params [required, String] :cluster_identifier
|
2221
|
+
# The identifier of the cluster that you want to limit usage.
|
2222
|
+
#
|
2223
|
+
# @option params [required, String] :feature_type
|
2224
|
+
# The Amazon Redshift feature that you want to limit.
|
2225
|
+
#
|
2226
|
+
# @option params [required, String] :limit_type
|
2227
|
+
# The type of limit. Depending on the feature type, this can be based on
|
2228
|
+
# a time duration or data size. If `FeatureType` is `spectrum`, then
|
2229
|
+
# `LimitType` must be `data-scanned`. If `FeatureType` is
|
2230
|
+
# `concurrency-scaling`, then `LimitType` must be `time`.
|
2231
|
+
#
|
2232
|
+
# @option params [required, Integer] :amount
|
2233
|
+
# The limit amount. If time-based, this amount is in minutes. If
|
2234
|
+
# data-based, this amount is in terabytes (TB). The value must be a
|
2235
|
+
# positive number.
|
2236
|
+
#
|
2237
|
+
# @option params [String] :period
|
2238
|
+
# The time period that the amount applies to. A `weekly` period begins
|
2239
|
+
# on Sunday. The default is `monthly`.
|
2240
|
+
#
|
2241
|
+
# @option params [String] :breach_action
|
2242
|
+
# The action that Amazon Redshift takes when the limit is reached. The
|
2243
|
+
# default is log. For more information about this parameter, see
|
2244
|
+
# UsageLimit.
|
2245
|
+
#
|
2246
|
+
# @option params [Array<Types::Tag>] :tags
|
2247
|
+
# A list of tag instances.
|
2248
|
+
#
|
2249
|
+
# @return [Types::UsageLimit] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2250
|
+
#
|
2251
|
+
# * {Types::UsageLimit#usage_limit_id #usage_limit_id} => String
|
2252
|
+
# * {Types::UsageLimit#cluster_identifier #cluster_identifier} => String
|
2253
|
+
# * {Types::UsageLimit#feature_type #feature_type} => String
|
2254
|
+
# * {Types::UsageLimit#limit_type #limit_type} => String
|
2255
|
+
# * {Types::UsageLimit#amount #amount} => Integer
|
2256
|
+
# * {Types::UsageLimit#period #period} => String
|
2257
|
+
# * {Types::UsageLimit#breach_action #breach_action} => String
|
2258
|
+
# * {Types::UsageLimit#tags #tags} => Array<Types::Tag>
|
2259
|
+
#
|
2260
|
+
# @example Request syntax with placeholder values
|
2261
|
+
#
|
2262
|
+
# resp = client.create_usage_limit({
|
2263
|
+
# cluster_identifier: "String", # required
|
2264
|
+
# feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
|
2265
|
+
# limit_type: "time", # required, accepts time, data-scanned
|
2266
|
+
# amount: 1, # required
|
2267
|
+
# period: "daily", # accepts daily, weekly, monthly
|
2268
|
+
# breach_action: "log", # accepts log, emit-metric, disable
|
2269
|
+
# tags: [
|
2270
|
+
# {
|
2271
|
+
# key: "String",
|
2272
|
+
# value: "String",
|
2273
|
+
# },
|
2274
|
+
# ],
|
2275
|
+
# })
|
2276
|
+
#
|
2277
|
+
# @example Response structure
|
2278
|
+
#
|
2279
|
+
# resp.usage_limit_id #=> String
|
2280
|
+
# resp.cluster_identifier #=> String
|
2281
|
+
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
|
2282
|
+
# resp.limit_type #=> String, one of "time", "data-scanned"
|
2283
|
+
# resp.amount #=> Integer
|
2284
|
+
# resp.period #=> String, one of "daily", "weekly", "monthly"
|
2285
|
+
# resp.breach_action #=> String, one of "log", "emit-metric", "disable"
|
2286
|
+
# resp.tags #=> Array
|
2287
|
+
# resp.tags[0].key #=> String
|
2288
|
+
# resp.tags[0].value #=> String
|
2289
|
+
#
|
2290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateUsageLimit AWS API Documentation
|
2291
|
+
#
|
2292
|
+
# @overload create_usage_limit(params = {})
|
2293
|
+
# @param [Hash] params ({})
|
2294
|
+
def create_usage_limit(params = {}, options = {})
|
2295
|
+
req = build_request(:create_usage_limit, params)
|
2296
|
+
req.send_request(options)
|
2297
|
+
end
|
2298
|
+
|
2203
2299
|
# Deletes a previously provisioned cluster without its final snapshot
|
2204
2300
|
# being created. A successful response from the web service indicates
|
2205
2301
|
# that the request was received correctly. Use DescribeClusters to
|
@@ -2728,6 +2824,28 @@ module Aws::Redshift
|
|
2728
2824
|
req.send_request(options)
|
2729
2825
|
end
|
2730
2826
|
|
2827
|
+
# Deletes a usage limit from a cluster.
|
2828
|
+
#
|
2829
|
+
# @option params [required, String] :usage_limit_id
|
2830
|
+
# The identifier of the usage limit to delete.
|
2831
|
+
#
|
2832
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2833
|
+
#
|
2834
|
+
# @example Request syntax with placeholder values
|
2835
|
+
#
|
2836
|
+
# resp = client.delete_usage_limit({
|
2837
|
+
# usage_limit_id: "String", # required
|
2838
|
+
# })
|
2839
|
+
#
|
2840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteUsageLimit AWS API Documentation
|
2841
|
+
#
|
2842
|
+
# @overload delete_usage_limit(params = {})
|
2843
|
+
# @param [Hash] params ({})
|
2844
|
+
def delete_usage_limit(params = {}, options = {})
|
2845
|
+
req = build_request(:delete_usage_limit, params)
|
2846
|
+
req.send_request(options)
|
2847
|
+
end
|
2848
|
+
|
2731
2849
|
# Returns a list of attributes attached to an account
|
2732
2850
|
#
|
2733
2851
|
# @option params [Array<String>] :attribute_names
|
@@ -2898,6 +3016,8 @@ module Aws::Redshift
|
|
2898
3016
|
# * {Types::ClusterParameterGroupsMessage#marker #marker} => String
|
2899
3017
|
# * {Types::ClusterParameterGroupsMessage#parameter_groups #parameter_groups} => Array<Types::ClusterParameterGroup>
|
2900
3018
|
#
|
3019
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3020
|
+
#
|
2901
3021
|
# @example Request syntax with placeholder values
|
2902
3022
|
#
|
2903
3023
|
# resp = client.describe_cluster_parameter_groups({
|
@@ -2983,6 +3103,8 @@ module Aws::Redshift
|
|
2983
3103
|
# * {Types::ClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
2984
3104
|
# * {Types::ClusterParameterGroupDetails#marker #marker} => String
|
2985
3105
|
#
|
3106
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3107
|
+
#
|
2986
3108
|
# @example Request syntax with placeholder values
|
2987
3109
|
#
|
2988
3110
|
# resp = client.describe_cluster_parameters({
|
@@ -3091,6 +3213,8 @@ module Aws::Redshift
|
|
3091
3213
|
# * {Types::ClusterSecurityGroupMessage#marker #marker} => String
|
3092
3214
|
# * {Types::ClusterSecurityGroupMessage#cluster_security_groups #cluster_security_groups} => Array<Types::ClusterSecurityGroup>
|
3093
3215
|
#
|
3216
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3217
|
+
#
|
3094
3218
|
# @example Request syntax with placeholder values
|
3095
3219
|
#
|
3096
3220
|
# resp = client.describe_cluster_security_groups({
|
@@ -3258,6 +3382,8 @@ module Aws::Redshift
|
|
3258
3382
|
# * {Types::SnapshotMessage#marker #marker} => String
|
3259
3383
|
# * {Types::SnapshotMessage#snapshots #snapshots} => Array<Types::Snapshot>
|
3260
3384
|
#
|
3385
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3386
|
+
#
|
3261
3387
|
# @example Request syntax with placeholder values
|
3262
3388
|
#
|
3263
3389
|
# resp = client.describe_cluster_snapshots({
|
@@ -3323,6 +3449,11 @@ module Aws::Redshift
|
|
3323
3449
|
# resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
|
3324
3450
|
# resp.snapshots[0].snapshot_retention_start_time #=> Time
|
3325
3451
|
#
|
3452
|
+
#
|
3453
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
3454
|
+
#
|
3455
|
+
# * snapshot_available
|
3456
|
+
#
|
3326
3457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots AWS API Documentation
|
3327
3458
|
#
|
3328
3459
|
# @overload describe_cluster_snapshots(params = {})
|
@@ -3394,6 +3525,8 @@ module Aws::Redshift
|
|
3394
3525
|
# * {Types::ClusterSubnetGroupMessage#marker #marker} => String
|
3395
3526
|
# * {Types::ClusterSubnetGroupMessage#cluster_subnet_groups #cluster_subnet_groups} => Array<Types::ClusterSubnetGroup>
|
3396
3527
|
#
|
3528
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3529
|
+
#
|
3397
3530
|
# @example Request syntax with placeholder values
|
3398
3531
|
#
|
3399
3532
|
# resp = client.describe_cluster_subnet_groups({
|
@@ -3533,6 +3666,8 @@ module Aws::Redshift
|
|
3533
3666
|
# * {Types::ClusterVersionsMessage#marker #marker} => String
|
3534
3667
|
# * {Types::ClusterVersionsMessage#cluster_versions #cluster_versions} => Array<Types::ClusterVersion>
|
3535
3668
|
#
|
3669
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3670
|
+
#
|
3536
3671
|
# @example Request syntax with placeholder values
|
3537
3672
|
#
|
3538
3673
|
# resp = client.describe_cluster_versions({
|
@@ -3630,6 +3765,8 @@ module Aws::Redshift
|
|
3630
3765
|
# * {Types::ClustersMessage#marker #marker} => String
|
3631
3766
|
# * {Types::ClustersMessage#clusters #clusters} => Array<Types::Cluster>
|
3632
3767
|
#
|
3768
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3769
|
+
#
|
3633
3770
|
# @example Request syntax with placeholder values
|
3634
3771
|
#
|
3635
3772
|
# resp = client.describe_clusters({
|
@@ -3740,6 +3877,13 @@ module Aws::Redshift
|
|
3740
3877
|
# resp.clusters[0].resize_info.resize_type #=> String
|
3741
3878
|
# resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
|
3742
3879
|
#
|
3880
|
+
#
|
3881
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
3882
|
+
#
|
3883
|
+
# * cluster_available
|
3884
|
+
# * cluster_deleted
|
3885
|
+
# * cluster_restored
|
3886
|
+
#
|
3743
3887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
|
3744
3888
|
#
|
3745
3889
|
# @overload describe_clusters(params = {})
|
@@ -3787,6 +3931,8 @@ module Aws::Redshift
|
|
3787
3931
|
#
|
3788
3932
|
# * {Types::DescribeDefaultClusterParametersResult#default_cluster_parameters #default_cluster_parameters} => Types::DefaultClusterParameters
|
3789
3933
|
#
|
3934
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3935
|
+
#
|
3790
3936
|
# @example Request syntax with placeholder values
|
3791
3937
|
#
|
3792
3938
|
# resp = client.describe_default_cluster_parameters({
|
@@ -3926,6 +4072,8 @@ module Aws::Redshift
|
|
3926
4072
|
# * {Types::EventSubscriptionsMessage#marker #marker} => String
|
3927
4073
|
# * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array<Types::EventSubscription>
|
3928
4074
|
#
|
4075
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4076
|
+
#
|
3929
4077
|
# @example Request syntax with placeholder values
|
3930
4078
|
#
|
3931
4079
|
# resp = client.describe_event_subscriptions({
|
@@ -4064,6 +4212,8 @@ module Aws::Redshift
|
|
4064
4212
|
# * {Types::EventsMessage#marker #marker} => String
|
4065
4213
|
# * {Types::EventsMessage#events #events} => Array<Types::Event>
|
4066
4214
|
#
|
4215
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4216
|
+
#
|
4067
4217
|
# @example Request syntax with placeholder values
|
4068
4218
|
#
|
4069
4219
|
# resp = client.describe_events({
|
@@ -4161,6 +4311,8 @@ module Aws::Redshift
|
|
4161
4311
|
# * {Types::HsmClientCertificateMessage#marker #marker} => String
|
4162
4312
|
# * {Types::HsmClientCertificateMessage#hsm_client_certificates #hsm_client_certificates} => Array<Types::HsmClientCertificate>
|
4163
4313
|
#
|
4314
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4315
|
+
#
|
4164
4316
|
# @example Request syntax with placeholder values
|
4165
4317
|
#
|
4166
4318
|
# resp = client.describe_hsm_client_certificates({
|
@@ -4254,6 +4406,8 @@ module Aws::Redshift
|
|
4254
4406
|
# * {Types::HsmConfigurationMessage#marker #marker} => String
|
4255
4407
|
# * {Types::HsmConfigurationMessage#hsm_configurations #hsm_configurations} => Array<Types::HsmConfiguration>
|
4256
4408
|
#
|
4409
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4410
|
+
#
|
4257
4411
|
# @example Request syntax with placeholder values
|
4258
4412
|
#
|
4259
4413
|
# resp = client.describe_hsm_configurations({
|
@@ -4378,6 +4532,8 @@ module Aws::Redshift
|
|
4378
4532
|
# * {Types::NodeConfigurationOptionsMessage#node_configuration_option_list #node_configuration_option_list} => Array<Types::NodeConfigurationOption>
|
4379
4533
|
# * {Types::NodeConfigurationOptionsMessage#marker #marker} => String
|
4380
4534
|
#
|
4535
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4536
|
+
#
|
4381
4537
|
# @example Request syntax with placeholder values
|
4382
4538
|
#
|
4383
4539
|
# resp = client.describe_node_configuration_options({
|
@@ -4466,6 +4622,8 @@ module Aws::Redshift
|
|
4466
4622
|
# * {Types::OrderableClusterOptionsMessage#orderable_cluster_options #orderable_cluster_options} => Array<Types::OrderableClusterOption>
|
4467
4623
|
# * {Types::OrderableClusterOptionsMessage#marker #marker} => String
|
4468
4624
|
#
|
4625
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4626
|
+
#
|
4469
4627
|
# @example Request syntax with placeholder values
|
4470
4628
|
#
|
4471
4629
|
# resp = client.describe_orderable_cluster_options({
|
@@ -4539,6 +4697,8 @@ module Aws::Redshift
|
|
4539
4697
|
# * {Types::ReservedNodeOfferingsMessage#marker #marker} => String
|
4540
4698
|
# * {Types::ReservedNodeOfferingsMessage#reserved_node_offerings #reserved_node_offerings} => Array<Types::ReservedNodeOffering>
|
4541
4699
|
#
|
4700
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4701
|
+
#
|
4542
4702
|
# @example Request syntax with placeholder values
|
4543
4703
|
#
|
4544
4704
|
# resp = client.describe_reserved_node_offerings({
|
@@ -4601,6 +4761,8 @@ module Aws::Redshift
|
|
4601
4761
|
# * {Types::ReservedNodesMessage#marker #marker} => String
|
4602
4762
|
# * {Types::ReservedNodesMessage#reserved_nodes #reserved_nodes} => Array<Types::ReservedNode>
|
4603
4763
|
#
|
4764
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4765
|
+
#
|
4604
4766
|
# @example Request syntax with placeholder values
|
4605
4767
|
#
|
4606
4768
|
# resp = client.describe_reserved_nodes({
|
@@ -4760,11 +4922,13 @@ module Aws::Redshift
|
|
4760
4922
|
# * {Types::ScheduledActionsMessage#marker #marker} => String
|
4761
4923
|
# * {Types::ScheduledActionsMessage#scheduled_actions #scheduled_actions} => Array<Types::ScheduledAction>
|
4762
4924
|
#
|
4925
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4926
|
+
#
|
4763
4927
|
# @example Request syntax with placeholder values
|
4764
4928
|
#
|
4765
4929
|
# resp = client.describe_scheduled_actions({
|
4766
4930
|
# scheduled_action_name: "String",
|
4767
|
-
# target_action_type: "ResizeCluster", # accepts ResizeCluster
|
4931
|
+
# target_action_type: "ResizeCluster", # accepts ResizeCluster, PauseCluster, ResumeCluster
|
4768
4932
|
# start_time: Time.now,
|
4769
4933
|
# end_time: Time.now,
|
4770
4934
|
# active: false,
|
@@ -4788,6 +4952,8 @@ module Aws::Redshift
|
|
4788
4952
|
# resp.scheduled_actions[0].target_action.resize_cluster.node_type #=> String
|
4789
4953
|
# resp.scheduled_actions[0].target_action.resize_cluster.number_of_nodes #=> Integer
|
4790
4954
|
# resp.scheduled_actions[0].target_action.resize_cluster.classic #=> Boolean
|
4955
|
+
# resp.scheduled_actions[0].target_action.pause_cluster.cluster_identifier #=> String
|
4956
|
+
# resp.scheduled_actions[0].target_action.resume_cluster.cluster_identifier #=> String
|
4791
4957
|
# resp.scheduled_actions[0].schedule #=> String
|
4792
4958
|
# resp.scheduled_actions[0].iam_role #=> String
|
4793
4959
|
# resp.scheduled_actions[0].scheduled_action_description #=> String
|
@@ -5186,6 +5352,114 @@ module Aws::Redshift
|
|
5186
5352
|
req.send_request(options)
|
5187
5353
|
end
|
5188
5354
|
|
5355
|
+
# Shows usage limits on a cluster. Results are filtered based on the
|
5356
|
+
# combination of input usage limit identifier, cluster identifier, and
|
5357
|
+
# feature type parameters:
|
5358
|
+
#
|
5359
|
+
# * If usage limit identifier, cluster identifier, and feature type are
|
5360
|
+
# not provided, then all usage limit objects for the current account
|
5361
|
+
# in the current region are returned.
|
5362
|
+
#
|
5363
|
+
# * If usage limit identifier is provided, then the corresponding usage
|
5364
|
+
# limit object is returned.
|
5365
|
+
#
|
5366
|
+
# * If cluster identifier is provided, then all usage limit objects for
|
5367
|
+
# the specified cluster are returned.
|
5368
|
+
#
|
5369
|
+
# * If cluster identifier and feature type are provided, then all usage
|
5370
|
+
# limit objects for the combination of cluster and feature are
|
5371
|
+
# returned.
|
5372
|
+
#
|
5373
|
+
# @option params [String] :usage_limit_id
|
5374
|
+
# The identifier of the usage limit to describe.
|
5375
|
+
#
|
5376
|
+
# @option params [String] :cluster_identifier
|
5377
|
+
# The identifier of the cluster for which you want to describe usage
|
5378
|
+
# limits.
|
5379
|
+
#
|
5380
|
+
# @option params [String] :feature_type
|
5381
|
+
# The feature type for which you want to describe usage limits.
|
5382
|
+
#
|
5383
|
+
# @option params [Integer] :max_records
|
5384
|
+
# The maximum number of response records to return in each call. If the
|
5385
|
+
# number of remaining response records exceeds the specified
|
5386
|
+
# `MaxRecords` value, a value is returned in a `marker` field of the
|
5387
|
+
# response. You can retrieve the next set of records by retrying the
|
5388
|
+
# command with the returned marker value.
|
5389
|
+
#
|
5390
|
+
# Default: `100`
|
5391
|
+
#
|
5392
|
+
# Constraints: minimum 20, maximum 100.
|
5393
|
+
#
|
5394
|
+
# @option params [String] :marker
|
5395
|
+
# An optional parameter that specifies the starting point to return a
|
5396
|
+
# set of response records. When the results of a DescribeUsageLimits
|
5397
|
+
# request exceed the value specified in `MaxRecords`, AWS returns a
|
5398
|
+
# value in the `Marker` field of the response. You can retrieve the next
|
5399
|
+
# set of response records by providing the returned marker value in the
|
5400
|
+
# `Marker` parameter and retrying the request.
|
5401
|
+
#
|
5402
|
+
# @option params [Array<String>] :tag_keys
|
5403
|
+
# A tag key or keys for which you want to return all matching usage
|
5404
|
+
# limit objects that are associated with the specified key or keys. For
|
5405
|
+
# example, suppose that you have parameter groups that are tagged with
|
5406
|
+
# keys called `owner` and `environment`. If you specify both of these
|
5407
|
+
# tag keys in the request, Amazon Redshift returns a response with the
|
5408
|
+
# usage limit objects have either or both of these tag keys associated
|
5409
|
+
# with them.
|
5410
|
+
#
|
5411
|
+
# @option params [Array<String>] :tag_values
|
5412
|
+
# A tag value or values for which you want to return all matching usage
|
5413
|
+
# limit objects that are associated with the specified tag value or
|
5414
|
+
# values. For example, suppose that you have parameter groups that are
|
5415
|
+
# tagged with values called `admin` and `test`. If you specify both of
|
5416
|
+
# these tag values in the request, Amazon Redshift returns a response
|
5417
|
+
# with the usage limit objects that have either or both of these tag
|
5418
|
+
# values associated with them.
|
5419
|
+
#
|
5420
|
+
# @return [Types::UsageLimitList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5421
|
+
#
|
5422
|
+
# * {Types::UsageLimitList#usage_limits #usage_limits} => Array<Types::UsageLimit>
|
5423
|
+
# * {Types::UsageLimitList#marker #marker} => String
|
5424
|
+
#
|
5425
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5426
|
+
#
|
5427
|
+
# @example Request syntax with placeholder values
|
5428
|
+
#
|
5429
|
+
# resp = client.describe_usage_limits({
|
5430
|
+
# usage_limit_id: "String",
|
5431
|
+
# cluster_identifier: "String",
|
5432
|
+
# feature_type: "spectrum", # accepts spectrum, concurrency-scaling
|
5433
|
+
# max_records: 1,
|
5434
|
+
# marker: "String",
|
5435
|
+
# tag_keys: ["String"],
|
5436
|
+
# tag_values: ["String"],
|
5437
|
+
# })
|
5438
|
+
#
|
5439
|
+
# @example Response structure
|
5440
|
+
#
|
5441
|
+
# resp.usage_limits #=> Array
|
5442
|
+
# resp.usage_limits[0].usage_limit_id #=> String
|
5443
|
+
# resp.usage_limits[0].cluster_identifier #=> String
|
5444
|
+
# resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling"
|
5445
|
+
# resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
|
5446
|
+
# resp.usage_limits[0].amount #=> Integer
|
5447
|
+
# resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
|
5448
|
+
# resp.usage_limits[0].breach_action #=> String, one of "log", "emit-metric", "disable"
|
5449
|
+
# resp.usage_limits[0].tags #=> Array
|
5450
|
+
# resp.usage_limits[0].tags[0].key #=> String
|
5451
|
+
# resp.usage_limits[0].tags[0].value #=> String
|
5452
|
+
# resp.marker #=> String
|
5453
|
+
#
|
5454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeUsageLimits AWS API Documentation
|
5455
|
+
#
|
5456
|
+
# @overload describe_usage_limits(params = {})
|
5457
|
+
# @param [Hash] params ({})
|
5458
|
+
def describe_usage_limits(params = {}, options = {})
|
5459
|
+
req = build_request(:describe_usage_limits, params)
|
5460
|
+
req.send_request(options)
|
5461
|
+
end
|
5462
|
+
|
5189
5463
|
# Stops logging information, such as queries and connection attempts,
|
5190
5464
|
# for the specified Amazon Redshift cluster.
|
5191
5465
|
#
|
@@ -5851,7 +6125,8 @@ module Aws::Redshift
|
|
5851
6125
|
# Guide*.
|
5852
6126
|
#
|
5853
6127
|
# Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
|
5854
|
-
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.
|
6128
|
+
# `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
|
6129
|
+
# `ra3.16xlarge`
|
5855
6130
|
#
|
5856
6131
|
#
|
5857
6132
|
#
|
@@ -7003,6 +7278,12 @@ module Aws::Redshift
|
|
7003
7278
|
# number_of_nodes: 1,
|
7004
7279
|
# classic: false,
|
7005
7280
|
# },
|
7281
|
+
# pause_cluster: {
|
7282
|
+
# cluster_identifier: "String", # required
|
7283
|
+
# },
|
7284
|
+
# resume_cluster: {
|
7285
|
+
# cluster_identifier: "String", # required
|
7286
|
+
# },
|
7006
7287
|
# },
|
7007
7288
|
# schedule: "String",
|
7008
7289
|
# iam_role: "String",
|
@@ -7020,6 +7301,8 @@ module Aws::Redshift
|
|
7020
7301
|
# resp.target_action.resize_cluster.node_type #=> String
|
7021
7302
|
# resp.target_action.resize_cluster.number_of_nodes #=> Integer
|
7022
7303
|
# resp.target_action.resize_cluster.classic #=> Boolean
|
7304
|
+
# resp.target_action.pause_cluster.cluster_identifier #=> String
|
7305
|
+
# resp.target_action.resume_cluster.cluster_identifier #=> String
|
7023
7306
|
# resp.schedule #=> String
|
7024
7307
|
# resp.iam_role #=> String
|
7025
7308
|
# resp.scheduled_action_description #=> String
|
@@ -7255,6 +7538,183 @@ module Aws::Redshift
|
|
7255
7538
|
req.send_request(options)
|
7256
7539
|
end
|
7257
7540
|
|
7541
|
+
# Modifies a usage limit in a cluster. You can't modify the feature
|
7542
|
+
# type or period of a usage limit.
|
7543
|
+
#
|
7544
|
+
# @option params [required, String] :usage_limit_id
|
7545
|
+
# The identifier of the usage limit to modify.
|
7546
|
+
#
|
7547
|
+
# @option params [Integer] :amount
|
7548
|
+
# The new limit amount. For more information about this parameter, see
|
7549
|
+
# UsageLimit.
|
7550
|
+
#
|
7551
|
+
# @option params [String] :breach_action
|
7552
|
+
# The new action that Amazon Redshift takes when the limit is reached.
|
7553
|
+
# For more information about this parameter, see UsageLimit.
|
7554
|
+
#
|
7555
|
+
# @return [Types::UsageLimit] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7556
|
+
#
|
7557
|
+
# * {Types::UsageLimit#usage_limit_id #usage_limit_id} => String
|
7558
|
+
# * {Types::UsageLimit#cluster_identifier #cluster_identifier} => String
|
7559
|
+
# * {Types::UsageLimit#feature_type #feature_type} => String
|
7560
|
+
# * {Types::UsageLimit#limit_type #limit_type} => String
|
7561
|
+
# * {Types::UsageLimit#amount #amount} => Integer
|
7562
|
+
# * {Types::UsageLimit#period #period} => String
|
7563
|
+
# * {Types::UsageLimit#breach_action #breach_action} => String
|
7564
|
+
# * {Types::UsageLimit#tags #tags} => Array<Types::Tag>
|
7565
|
+
#
|
7566
|
+
# @example Request syntax with placeholder values
|
7567
|
+
#
|
7568
|
+
# resp = client.modify_usage_limit({
|
7569
|
+
# usage_limit_id: "String", # required
|
7570
|
+
# amount: 1,
|
7571
|
+
# breach_action: "log", # accepts log, emit-metric, disable
|
7572
|
+
# })
|
7573
|
+
#
|
7574
|
+
# @example Response structure
|
7575
|
+
#
|
7576
|
+
# resp.usage_limit_id #=> String
|
7577
|
+
# resp.cluster_identifier #=> String
|
7578
|
+
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
|
7579
|
+
# resp.limit_type #=> String, one of "time", "data-scanned"
|
7580
|
+
# resp.amount #=> Integer
|
7581
|
+
# resp.period #=> String, one of "daily", "weekly", "monthly"
|
7582
|
+
# resp.breach_action #=> String, one of "log", "emit-metric", "disable"
|
7583
|
+
# resp.tags #=> Array
|
7584
|
+
# resp.tags[0].key #=> String
|
7585
|
+
# resp.tags[0].value #=> String
|
7586
|
+
#
|
7587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyUsageLimit AWS API Documentation
|
7588
|
+
#
|
7589
|
+
# @overload modify_usage_limit(params = {})
|
7590
|
+
# @param [Hash] params ({})
|
7591
|
+
def modify_usage_limit(params = {}, options = {})
|
7592
|
+
req = build_request(:modify_usage_limit, params)
|
7593
|
+
req.send_request(options)
|
7594
|
+
end
|
7595
|
+
|
7596
|
+
# Pauses a cluster.
|
7597
|
+
#
|
7598
|
+
# @option params [required, String] :cluster_identifier
|
7599
|
+
# The identifier of the cluster to be paused.
|
7600
|
+
#
|
7601
|
+
# @return [Types::PauseClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7602
|
+
#
|
7603
|
+
# * {Types::PauseClusterResult#cluster #cluster} => Types::Cluster
|
7604
|
+
#
|
7605
|
+
# @example Request syntax with placeholder values
|
7606
|
+
#
|
7607
|
+
# resp = client.pause_cluster({
|
7608
|
+
# cluster_identifier: "String", # required
|
7609
|
+
# })
|
7610
|
+
#
|
7611
|
+
# @example Response structure
|
7612
|
+
#
|
7613
|
+
# resp.cluster.cluster_identifier #=> String
|
7614
|
+
# resp.cluster.node_type #=> String
|
7615
|
+
# resp.cluster.cluster_status #=> String
|
7616
|
+
# resp.cluster.cluster_availability_status #=> String
|
7617
|
+
# resp.cluster.modify_status #=> String
|
7618
|
+
# resp.cluster.master_username #=> String
|
7619
|
+
# resp.cluster.db_name #=> String
|
7620
|
+
# resp.cluster.endpoint.address #=> String
|
7621
|
+
# resp.cluster.endpoint.port #=> Integer
|
7622
|
+
# resp.cluster.cluster_create_time #=> Time
|
7623
|
+
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
7624
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
7625
|
+
# resp.cluster.cluster_security_groups #=> Array
|
7626
|
+
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
7627
|
+
# resp.cluster.cluster_security_groups[0].status #=> String
|
7628
|
+
# resp.cluster.vpc_security_groups #=> Array
|
7629
|
+
# resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
|
7630
|
+
# resp.cluster.vpc_security_groups[0].status #=> String
|
7631
|
+
# resp.cluster.cluster_parameter_groups #=> Array
|
7632
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
|
7633
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
|
7634
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
|
7635
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
|
7636
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
|
7637
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
|
7638
|
+
# resp.cluster.cluster_subnet_group_name #=> String
|
7639
|
+
# resp.cluster.vpc_id #=> String
|
7640
|
+
# resp.cluster.availability_zone #=> String
|
7641
|
+
# resp.cluster.preferred_maintenance_window #=> String
|
7642
|
+
# resp.cluster.pending_modified_values.master_user_password #=> String
|
7643
|
+
# resp.cluster.pending_modified_values.node_type #=> String
|
7644
|
+
# resp.cluster.pending_modified_values.number_of_nodes #=> Integer
|
7645
|
+
# resp.cluster.pending_modified_values.cluster_type #=> String
|
7646
|
+
# resp.cluster.pending_modified_values.cluster_version #=> String
|
7647
|
+
# resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
|
7648
|
+
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
7649
|
+
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
7650
|
+
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
7651
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
7652
|
+
# resp.cluster.pending_modified_values.encryption_type #=> String
|
7653
|
+
# resp.cluster.cluster_version #=> String
|
7654
|
+
# resp.cluster.allow_version_upgrade #=> Boolean
|
7655
|
+
# resp.cluster.number_of_nodes #=> Integer
|
7656
|
+
# resp.cluster.publicly_accessible #=> Boolean
|
7657
|
+
# resp.cluster.encrypted #=> Boolean
|
7658
|
+
# resp.cluster.restore_status.status #=> String
|
7659
|
+
# resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
|
7660
|
+
# resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
|
7661
|
+
# resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
|
7662
|
+
# resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
|
7663
|
+
# resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
|
7664
|
+
# resp.cluster.data_transfer_progress.status #=> String
|
7665
|
+
# resp.cluster.data_transfer_progress.current_rate_in_mega_bytes_per_second #=> Float
|
7666
|
+
# resp.cluster.data_transfer_progress.total_data_in_mega_bytes #=> Integer
|
7667
|
+
# resp.cluster.data_transfer_progress.data_transferred_in_mega_bytes #=> Integer
|
7668
|
+
# resp.cluster.data_transfer_progress.estimated_time_to_completion_in_seconds #=> Integer
|
7669
|
+
# resp.cluster.data_transfer_progress.elapsed_time_in_seconds #=> Integer
|
7670
|
+
# resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
|
7671
|
+
# resp.cluster.hsm_status.hsm_configuration_identifier #=> String
|
7672
|
+
# resp.cluster.hsm_status.status #=> String
|
7673
|
+
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
7674
|
+
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
7675
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
7676
|
+
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
7677
|
+
# resp.cluster.cluster_public_key #=> String
|
7678
|
+
# resp.cluster.cluster_nodes #=> Array
|
7679
|
+
# resp.cluster.cluster_nodes[0].node_role #=> String
|
7680
|
+
# resp.cluster.cluster_nodes[0].private_ip_address #=> String
|
7681
|
+
# resp.cluster.cluster_nodes[0].public_ip_address #=> String
|
7682
|
+
# resp.cluster.elastic_ip_status.elastic_ip #=> String
|
7683
|
+
# resp.cluster.elastic_ip_status.status #=> String
|
7684
|
+
# resp.cluster.cluster_revision_number #=> String
|
7685
|
+
# resp.cluster.tags #=> Array
|
7686
|
+
# resp.cluster.tags[0].key #=> String
|
7687
|
+
# resp.cluster.tags[0].value #=> String
|
7688
|
+
# resp.cluster.kms_key_id #=> String
|
7689
|
+
# resp.cluster.enhanced_vpc_routing #=> Boolean
|
7690
|
+
# resp.cluster.iam_roles #=> Array
|
7691
|
+
# resp.cluster.iam_roles[0].iam_role_arn #=> String
|
7692
|
+
# resp.cluster.iam_roles[0].apply_status #=> String
|
7693
|
+
# resp.cluster.pending_actions #=> Array
|
7694
|
+
# resp.cluster.pending_actions[0] #=> String
|
7695
|
+
# resp.cluster.maintenance_track_name #=> String
|
7696
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
7697
|
+
# resp.cluster.deferred_maintenance_windows #=> Array
|
7698
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
7699
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
7700
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
7701
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
7702
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
7703
|
+
# resp.cluster.expected_next_snapshot_schedule_time #=> Time
|
7704
|
+
# resp.cluster.expected_next_snapshot_schedule_time_status #=> String
|
7705
|
+
# resp.cluster.next_maintenance_window_start_time #=> Time
|
7706
|
+
# resp.cluster.resize_info.resize_type #=> String
|
7707
|
+
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
7708
|
+
#
|
7709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
|
7710
|
+
#
|
7711
|
+
# @overload pause_cluster(params = {})
|
7712
|
+
# @param [Hash] params ({})
|
7713
|
+
def pause_cluster(params = {}, options = {})
|
7714
|
+
req = build_request(:pause_cluster, params)
|
7715
|
+
req.send_request(options)
|
7716
|
+
end
|
7717
|
+
|
7258
7718
|
# Allows you to purchase reserved nodes. Amazon Redshift offers a
|
7259
7719
|
# predefined set of reserved node offerings. You can purchase one or
|
7260
7720
|
# more of the offerings. You can call the DescribeReservedNodeOfferings
|
@@ -7527,6 +7987,8 @@ module Aws::Redshift
|
|
7527
7987
|
#
|
7528
7988
|
# * ds2.8xlarge
|
7529
7989
|
#
|
7990
|
+
# * ra3.4xlarge
|
7991
|
+
#
|
7530
7992
|
# * ra3.16xlarge
|
7531
7993
|
#
|
7532
7994
|
# * The type of nodes that you add must match the node type for the
|
@@ -7856,7 +8318,7 @@ module Aws::Redshift
|
|
7856
8318
|
# restore into that same instance type and size. In other words, you can
|
7857
8319
|
# only restore a dc1.large instance type into another dc1.large instance
|
7858
8320
|
# type or dc2.large instance type. You can't restore dc1.8xlarge to
|
7859
|
-
# dc2.8xlarge. First restore to a dc1.
|
8321
|
+
# dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
|
7860
8322
|
# dc2.8large cluster. For more information about node types, see [ About
|
7861
8323
|
# Clusters and Nodes][1] in the *Amazon Redshift Cluster Management
|
7862
8324
|
# Guide*.
|
@@ -8135,6 +8597,128 @@ module Aws::Redshift
|
|
8135
8597
|
req.send_request(options)
|
8136
8598
|
end
|
8137
8599
|
|
8600
|
+
# Resumes a paused cluster.
|
8601
|
+
#
|
8602
|
+
# @option params [required, String] :cluster_identifier
|
8603
|
+
# The identifier of the cluster to be resumed.
|
8604
|
+
#
|
8605
|
+
# @return [Types::ResumeClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8606
|
+
#
|
8607
|
+
# * {Types::ResumeClusterResult#cluster #cluster} => Types::Cluster
|
8608
|
+
#
|
8609
|
+
# @example Request syntax with placeholder values
|
8610
|
+
#
|
8611
|
+
# resp = client.resume_cluster({
|
8612
|
+
# cluster_identifier: "String", # required
|
8613
|
+
# })
|
8614
|
+
#
|
8615
|
+
# @example Response structure
|
8616
|
+
#
|
8617
|
+
# resp.cluster.cluster_identifier #=> String
|
8618
|
+
# resp.cluster.node_type #=> String
|
8619
|
+
# resp.cluster.cluster_status #=> String
|
8620
|
+
# resp.cluster.cluster_availability_status #=> String
|
8621
|
+
# resp.cluster.modify_status #=> String
|
8622
|
+
# resp.cluster.master_username #=> String
|
8623
|
+
# resp.cluster.db_name #=> String
|
8624
|
+
# resp.cluster.endpoint.address #=> String
|
8625
|
+
# resp.cluster.endpoint.port #=> Integer
|
8626
|
+
# resp.cluster.cluster_create_time #=> Time
|
8627
|
+
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
8628
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
8629
|
+
# resp.cluster.cluster_security_groups #=> Array
|
8630
|
+
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
8631
|
+
# resp.cluster.cluster_security_groups[0].status #=> String
|
8632
|
+
# resp.cluster.vpc_security_groups #=> Array
|
8633
|
+
# resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
|
8634
|
+
# resp.cluster.vpc_security_groups[0].status #=> String
|
8635
|
+
# resp.cluster.cluster_parameter_groups #=> Array
|
8636
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
|
8637
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
|
8638
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
|
8639
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
|
8640
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
|
8641
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
|
8642
|
+
# resp.cluster.cluster_subnet_group_name #=> String
|
8643
|
+
# resp.cluster.vpc_id #=> String
|
8644
|
+
# resp.cluster.availability_zone #=> String
|
8645
|
+
# resp.cluster.preferred_maintenance_window #=> String
|
8646
|
+
# resp.cluster.pending_modified_values.master_user_password #=> String
|
8647
|
+
# resp.cluster.pending_modified_values.node_type #=> String
|
8648
|
+
# resp.cluster.pending_modified_values.number_of_nodes #=> Integer
|
8649
|
+
# resp.cluster.pending_modified_values.cluster_type #=> String
|
8650
|
+
# resp.cluster.pending_modified_values.cluster_version #=> String
|
8651
|
+
# resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
|
8652
|
+
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
8653
|
+
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
8654
|
+
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
8655
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
8656
|
+
# resp.cluster.pending_modified_values.encryption_type #=> String
|
8657
|
+
# resp.cluster.cluster_version #=> String
|
8658
|
+
# resp.cluster.allow_version_upgrade #=> Boolean
|
8659
|
+
# resp.cluster.number_of_nodes #=> Integer
|
8660
|
+
# resp.cluster.publicly_accessible #=> Boolean
|
8661
|
+
# resp.cluster.encrypted #=> Boolean
|
8662
|
+
# resp.cluster.restore_status.status #=> String
|
8663
|
+
# resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
|
8664
|
+
# resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
|
8665
|
+
# resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
|
8666
|
+
# resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
|
8667
|
+
# resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
|
8668
|
+
# resp.cluster.data_transfer_progress.status #=> String
|
8669
|
+
# resp.cluster.data_transfer_progress.current_rate_in_mega_bytes_per_second #=> Float
|
8670
|
+
# resp.cluster.data_transfer_progress.total_data_in_mega_bytes #=> Integer
|
8671
|
+
# resp.cluster.data_transfer_progress.data_transferred_in_mega_bytes #=> Integer
|
8672
|
+
# resp.cluster.data_transfer_progress.estimated_time_to_completion_in_seconds #=> Integer
|
8673
|
+
# resp.cluster.data_transfer_progress.elapsed_time_in_seconds #=> Integer
|
8674
|
+
# resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
|
8675
|
+
# resp.cluster.hsm_status.hsm_configuration_identifier #=> String
|
8676
|
+
# resp.cluster.hsm_status.status #=> String
|
8677
|
+
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
8678
|
+
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
8679
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
8680
|
+
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
8681
|
+
# resp.cluster.cluster_public_key #=> String
|
8682
|
+
# resp.cluster.cluster_nodes #=> Array
|
8683
|
+
# resp.cluster.cluster_nodes[0].node_role #=> String
|
8684
|
+
# resp.cluster.cluster_nodes[0].private_ip_address #=> String
|
8685
|
+
# resp.cluster.cluster_nodes[0].public_ip_address #=> String
|
8686
|
+
# resp.cluster.elastic_ip_status.elastic_ip #=> String
|
8687
|
+
# resp.cluster.elastic_ip_status.status #=> String
|
8688
|
+
# resp.cluster.cluster_revision_number #=> String
|
8689
|
+
# resp.cluster.tags #=> Array
|
8690
|
+
# resp.cluster.tags[0].key #=> String
|
8691
|
+
# resp.cluster.tags[0].value #=> String
|
8692
|
+
# resp.cluster.kms_key_id #=> String
|
8693
|
+
# resp.cluster.enhanced_vpc_routing #=> Boolean
|
8694
|
+
# resp.cluster.iam_roles #=> Array
|
8695
|
+
# resp.cluster.iam_roles[0].iam_role_arn #=> String
|
8696
|
+
# resp.cluster.iam_roles[0].apply_status #=> String
|
8697
|
+
# resp.cluster.pending_actions #=> Array
|
8698
|
+
# resp.cluster.pending_actions[0] #=> String
|
8699
|
+
# resp.cluster.maintenance_track_name #=> String
|
8700
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
8701
|
+
# resp.cluster.deferred_maintenance_windows #=> Array
|
8702
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
8703
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
8704
|
+
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
8705
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
8706
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
8707
|
+
# resp.cluster.expected_next_snapshot_schedule_time #=> Time
|
8708
|
+
# resp.cluster.expected_next_snapshot_schedule_time_status #=> String
|
8709
|
+
# resp.cluster.next_maintenance_window_start_time #=> Time
|
8710
|
+
# resp.cluster.resize_info.resize_type #=> String
|
8711
|
+
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
8712
|
+
#
|
8713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
|
8714
|
+
#
|
8715
|
+
# @overload resume_cluster(params = {})
|
8716
|
+
# @param [Hash] params ({})
|
8717
|
+
def resume_cluster(params = {}, options = {})
|
8718
|
+
req = build_request(:resume_cluster, params)
|
8719
|
+
req.send_request(options)
|
8720
|
+
end
|
8721
|
+
|
8138
8722
|
# Revokes an ingress rule in an Amazon Redshift security group for a
|
8139
8723
|
# previously authorized IP range or Amazon EC2 security group. To add an
|
8140
8724
|
# ingress rule, see AuthorizeClusterSecurityGroupIngress. For
|
@@ -8438,7 +9022,7 @@ module Aws::Redshift
|
|
8438
9022
|
params: params,
|
8439
9023
|
config: config)
|
8440
9024
|
context[:gem_name] = 'aws-sdk-redshift'
|
8441
|
-
context[:gem_version] = '1.
|
9025
|
+
context[:gem_version] = '1.43.0'
|
8442
9026
|
Seahorse::Client::Request.new(handlers, context)
|
8443
9027
|
end
|
8444
9028
|
|
@@ -8504,12 +9088,12 @@ module Aws::Redshift
|
|
8504
9088
|
# The following table lists the valid waiter names, the operations they call,
|
8505
9089
|
# and the default `:delay` and `:max_attempts` values.
|
8506
9090
|
#
|
8507
|
-
# | waiter_name | params
|
8508
|
-
# | ------------------ |
|
8509
|
-
# | cluster_available | {#describe_clusters} | 60 | 30 |
|
8510
|
-
# | cluster_deleted | {#describe_clusters} | 60 | 30 |
|
8511
|
-
# | cluster_restored | {#describe_clusters} | 60 | 30 |
|
8512
|
-
# | snapshot_available | {#describe_cluster_snapshots} | 15 | 20 |
|
9091
|
+
# | waiter_name | params | :delay | :max_attempts |
|
9092
|
+
# | ------------------ | ----------------------------------- | -------- | ------------- |
|
9093
|
+
# | cluster_available | {Client#describe_clusters} | 60 | 30 |
|
9094
|
+
# | cluster_deleted | {Client#describe_clusters} | 60 | 30 |
|
9095
|
+
# | cluster_restored | {Client#describe_clusters} | 60 | 30 |
|
9096
|
+
# | snapshot_available | {Client#describe_cluster_snapshots} | 15 | 20 |
|
8513
9097
|
#
|
8514
9098
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
8515
9099
|
# because the waiter has entered a state that it will not transition
|