aws-sdk-redshift 1.39.0 → 1.44.1

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: 6e2837695845f893aa7f9573122ccf22d03feec7ad77bbe34768c5f1e265cfdc
4
- data.tar.gz: 6ecb1011db32a80ce829ec470abb4d28e89a1df1637ed6e1373d3269ad5e75c4
3
+ metadata.gz: acec847421b1089ce092bfab8c9624795365f05f41d40ca9ea9e8f725421fc41
4
+ data.tar.gz: 5a75e1e7c5679ad0ce18737acddafe1c609917f86bf38ae253bc6e66e388c9e3
5
5
  SHA512:
6
- metadata.gz: fc4c0acd9d2b140accc5fb268095177cbe4532a1ed09d6ce380f8be87fc06cde1f4428a51d7466343955b47ad5533ba3174cfa324a3a139f34da7620987b75f1
7
- data.tar.gz: a9f85fb7592baebd9f34509ad275ea58b6eadaef110c88536c93df2704564eebb093e96634e9026b3bf1f13b37f7a0ca36ac18fdf9e5f77746cb227d1321dd37
6
+ metadata.gz: d51ad667b5a52438bb0da1d24b77fc0feb63e9137873a412fa72f6a0cb3b312f5e29436735f522d641da886134c96c8ab4a38b7af29475dbe54d6b25325b8b12
7
+ data.tar.gz: d31725b1fffa64a262b6a47350a894db37ed86f0ad8dbdec21aee39219677c4d87853a87426311a11849e98200f25797abdea44044957aeb4750bf09f37d7770
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-redshift/customizations'
46
46
  # @service
47
47
  module Aws::Redshift
48
48
 
49
- GEM_VERSION = '1.39.0'
49
+ GEM_VERSION = '1.44.1'
50
50
 
51
51
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::Redshift
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::Query)
74
76
 
@@ -105,7 +107,7 @@ module Aws::Redshift
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::Redshift
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::Redshift
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -269,8 +271,7 @@ module Aws::Redshift
269
271
  #
270
272
  # @option options [Integer] :http_read_timeout (60) The default
271
273
  # 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}.
274
+ # safely be set per-request on the session.
274
275
  #
275
276
  # @option options [Float] :http_idle_timeout (5) The number of
276
277
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +283,7 @@ module Aws::Redshift
282
283
  # request body. This option has no effect unless the request has
283
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
285
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
286
+ # request on the session.
286
287
  #
287
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
289
  # HTTP debug output will be sent to the `:logger`.
@@ -891,7 +892,8 @@ module Aws::Redshift
891
892
  # Cluster Management Guide*.
892
893
  #
893
894
  # Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
894
- # `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.16xlarge`
895
+ # `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
896
+ # `ra3.16xlarge`
895
897
  #
896
898
  #
897
899
  #
@@ -2096,7 +2098,8 @@ module Aws::Redshift
2096
2098
  req.send_request(options)
2097
2099
  end
2098
2100
 
2099
- # Creates a snapshot schedule with the rate of every 12 hours.
2101
+ # Create a snapshot schedule that can be associated to a cluster and
2102
+ # which overrides the default system backup schedule.
2100
2103
  #
2101
2104
  # @option params [Array<String>] :schedule_definitions
2102
2105
  # The definition of the snapshot schedule. The definition is made up of
@@ -2212,6 +2215,89 @@ module Aws::Redshift
2212
2215
  req.send_request(options)
2213
2216
  end
2214
2217
 
2218
+ # Creates a usage limit for a specified Amazon Redshift feature on a
2219
+ # cluster. The usage limit is identified by the returned usage limit
2220
+ # identifier.
2221
+ #
2222
+ # @option params [required, String] :cluster_identifier
2223
+ # The identifier of the cluster that you want to limit usage.
2224
+ #
2225
+ # @option params [required, String] :feature_type
2226
+ # The Amazon Redshift feature that you want to limit.
2227
+ #
2228
+ # @option params [required, String] :limit_type
2229
+ # The type of limit. Depending on the feature type, this can be based on
2230
+ # a time duration or data size. If `FeatureType` is `spectrum`, then
2231
+ # `LimitType` must be `data-scanned`. If `FeatureType` is
2232
+ # `concurrency-scaling`, then `LimitType` must be `time`.
2233
+ #
2234
+ # @option params [required, Integer] :amount
2235
+ # The limit amount. If time-based, this amount is in minutes. If
2236
+ # data-based, this amount is in terabytes (TB). The value must be a
2237
+ # positive number.
2238
+ #
2239
+ # @option params [String] :period
2240
+ # The time period that the amount applies to. A `weekly` period begins
2241
+ # on Sunday. The default is `monthly`.
2242
+ #
2243
+ # @option params [String] :breach_action
2244
+ # The action that Amazon Redshift takes when the limit is reached. The
2245
+ # default is log. For more information about this parameter, see
2246
+ # UsageLimit.
2247
+ #
2248
+ # @option params [Array<Types::Tag>] :tags
2249
+ # A list of tag instances.
2250
+ #
2251
+ # @return [Types::UsageLimit] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2252
+ #
2253
+ # * {Types::UsageLimit#usage_limit_id #usage_limit_id} => String
2254
+ # * {Types::UsageLimit#cluster_identifier #cluster_identifier} => String
2255
+ # * {Types::UsageLimit#feature_type #feature_type} => String
2256
+ # * {Types::UsageLimit#limit_type #limit_type} => String
2257
+ # * {Types::UsageLimit#amount #amount} => Integer
2258
+ # * {Types::UsageLimit#period #period} => String
2259
+ # * {Types::UsageLimit#breach_action #breach_action} => String
2260
+ # * {Types::UsageLimit#tags #tags} => Array&lt;Types::Tag&gt;
2261
+ #
2262
+ # @example Request syntax with placeholder values
2263
+ #
2264
+ # resp = client.create_usage_limit({
2265
+ # cluster_identifier: "String", # required
2266
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
2267
+ # limit_type: "time", # required, accepts time, data-scanned
2268
+ # amount: 1, # required
2269
+ # period: "daily", # accepts daily, weekly, monthly
2270
+ # breach_action: "log", # accepts log, emit-metric, disable
2271
+ # tags: [
2272
+ # {
2273
+ # key: "String",
2274
+ # value: "String",
2275
+ # },
2276
+ # ],
2277
+ # })
2278
+ #
2279
+ # @example Response structure
2280
+ #
2281
+ # resp.usage_limit_id #=> String
2282
+ # resp.cluster_identifier #=> String
2283
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
2284
+ # resp.limit_type #=> String, one of "time", "data-scanned"
2285
+ # resp.amount #=> Integer
2286
+ # resp.period #=> String, one of "daily", "weekly", "monthly"
2287
+ # resp.breach_action #=> String, one of "log", "emit-metric", "disable"
2288
+ # resp.tags #=> Array
2289
+ # resp.tags[0].key #=> String
2290
+ # resp.tags[0].value #=> String
2291
+ #
2292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateUsageLimit AWS API Documentation
2293
+ #
2294
+ # @overload create_usage_limit(params = {})
2295
+ # @param [Hash] params ({})
2296
+ def create_usage_limit(params = {}, options = {})
2297
+ req = build_request(:create_usage_limit, params)
2298
+ req.send_request(options)
2299
+ end
2300
+
2215
2301
  # Deletes a previously provisioned cluster without its final snapshot
2216
2302
  # being created. A successful response from the web service indicates
2217
2303
  # that the request was received correctly. Use DescribeClusters to
@@ -2740,6 +2826,28 @@ module Aws::Redshift
2740
2826
  req.send_request(options)
2741
2827
  end
2742
2828
 
2829
+ # Deletes a usage limit from a cluster.
2830
+ #
2831
+ # @option params [required, String] :usage_limit_id
2832
+ # The identifier of the usage limit to delete.
2833
+ #
2834
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2835
+ #
2836
+ # @example Request syntax with placeholder values
2837
+ #
2838
+ # resp = client.delete_usage_limit({
2839
+ # usage_limit_id: "String", # required
2840
+ # })
2841
+ #
2842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteUsageLimit AWS API Documentation
2843
+ #
2844
+ # @overload delete_usage_limit(params = {})
2845
+ # @param [Hash] params ({})
2846
+ def delete_usage_limit(params = {}, options = {})
2847
+ req = build_request(:delete_usage_limit, params)
2848
+ req.send_request(options)
2849
+ end
2850
+
2743
2851
  # Returns a list of attributes attached to an account
2744
2852
  #
2745
2853
  # @option params [Array<String>] :attribute_names
@@ -2910,6 +3018,8 @@ module Aws::Redshift
2910
3018
  # * {Types::ClusterParameterGroupsMessage#marker #marker} => String
2911
3019
  # * {Types::ClusterParameterGroupsMessage#parameter_groups #parameter_groups} => Array&lt;Types::ClusterParameterGroup&gt;
2912
3020
  #
3021
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3022
+ #
2913
3023
  # @example Request syntax with placeholder values
2914
3024
  #
2915
3025
  # resp = client.describe_cluster_parameter_groups({
@@ -2995,6 +3105,8 @@ module Aws::Redshift
2995
3105
  # * {Types::ClusterParameterGroupDetails#parameters #parameters} => Array&lt;Types::Parameter&gt;
2996
3106
  # * {Types::ClusterParameterGroupDetails#marker #marker} => String
2997
3107
  #
3108
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3109
+ #
2998
3110
  # @example Request syntax with placeholder values
2999
3111
  #
3000
3112
  # resp = client.describe_cluster_parameters({
@@ -3103,6 +3215,8 @@ module Aws::Redshift
3103
3215
  # * {Types::ClusterSecurityGroupMessage#marker #marker} => String
3104
3216
  # * {Types::ClusterSecurityGroupMessage#cluster_security_groups #cluster_security_groups} => Array&lt;Types::ClusterSecurityGroup&gt;
3105
3217
  #
3218
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3219
+ #
3106
3220
  # @example Request syntax with placeholder values
3107
3221
  #
3108
3222
  # resp = client.describe_cluster_security_groups({
@@ -3270,6 +3384,8 @@ module Aws::Redshift
3270
3384
  # * {Types::SnapshotMessage#marker #marker} => String
3271
3385
  # * {Types::SnapshotMessage#snapshots #snapshots} => Array&lt;Types::Snapshot&gt;
3272
3386
  #
3387
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3388
+ #
3273
3389
  # @example Request syntax with placeholder values
3274
3390
  #
3275
3391
  # resp = client.describe_cluster_snapshots({
@@ -3335,6 +3451,11 @@ module Aws::Redshift
3335
3451
  # resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
3336
3452
  # resp.snapshots[0].snapshot_retention_start_time #=> Time
3337
3453
  #
3454
+ #
3455
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3456
+ #
3457
+ # * snapshot_available
3458
+ #
3338
3459
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots AWS API Documentation
3339
3460
  #
3340
3461
  # @overload describe_cluster_snapshots(params = {})
@@ -3406,6 +3527,8 @@ module Aws::Redshift
3406
3527
  # * {Types::ClusterSubnetGroupMessage#marker #marker} => String
3407
3528
  # * {Types::ClusterSubnetGroupMessage#cluster_subnet_groups #cluster_subnet_groups} => Array&lt;Types::ClusterSubnetGroup&gt;
3408
3529
  #
3530
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3531
+ #
3409
3532
  # @example Request syntax with placeholder values
3410
3533
  #
3411
3534
  # resp = client.describe_cluster_subnet_groups({
@@ -3545,6 +3668,8 @@ module Aws::Redshift
3545
3668
  # * {Types::ClusterVersionsMessage#marker #marker} => String
3546
3669
  # * {Types::ClusterVersionsMessage#cluster_versions #cluster_versions} => Array&lt;Types::ClusterVersion&gt;
3547
3670
  #
3671
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3672
+ #
3548
3673
  # @example Request syntax with placeholder values
3549
3674
  #
3550
3675
  # resp = client.describe_cluster_versions({
@@ -3642,6 +3767,8 @@ module Aws::Redshift
3642
3767
  # * {Types::ClustersMessage#marker #marker} => String
3643
3768
  # * {Types::ClustersMessage#clusters #clusters} => Array&lt;Types::Cluster&gt;
3644
3769
  #
3770
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3771
+ #
3645
3772
  # @example Request syntax with placeholder values
3646
3773
  #
3647
3774
  # resp = client.describe_clusters({
@@ -3752,6 +3879,13 @@ module Aws::Redshift
3752
3879
  # resp.clusters[0].resize_info.resize_type #=> String
3753
3880
  # resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
3754
3881
  #
3882
+ #
3883
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3884
+ #
3885
+ # * cluster_available
3886
+ # * cluster_deleted
3887
+ # * cluster_restored
3888
+ #
3755
3889
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
3756
3890
  #
3757
3891
  # @overload describe_clusters(params = {})
@@ -3799,6 +3933,8 @@ module Aws::Redshift
3799
3933
  #
3800
3934
  # * {Types::DescribeDefaultClusterParametersResult#default_cluster_parameters #default_cluster_parameters} => Types::DefaultClusterParameters
3801
3935
  #
3936
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3937
+ #
3802
3938
  # @example Request syntax with placeholder values
3803
3939
  #
3804
3940
  # resp = client.describe_default_cluster_parameters({
@@ -3938,6 +4074,8 @@ module Aws::Redshift
3938
4074
  # * {Types::EventSubscriptionsMessage#marker #marker} => String
3939
4075
  # * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array&lt;Types::EventSubscription&gt;
3940
4076
  #
4077
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4078
+ #
3941
4079
  # @example Request syntax with placeholder values
3942
4080
  #
3943
4081
  # resp = client.describe_event_subscriptions({
@@ -4076,6 +4214,8 @@ module Aws::Redshift
4076
4214
  # * {Types::EventsMessage#marker #marker} => String
4077
4215
  # * {Types::EventsMessage#events #events} => Array&lt;Types::Event&gt;
4078
4216
  #
4217
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4218
+ #
4079
4219
  # @example Request syntax with placeholder values
4080
4220
  #
4081
4221
  # resp = client.describe_events({
@@ -4173,6 +4313,8 @@ module Aws::Redshift
4173
4313
  # * {Types::HsmClientCertificateMessage#marker #marker} => String
4174
4314
  # * {Types::HsmClientCertificateMessage#hsm_client_certificates #hsm_client_certificates} => Array&lt;Types::HsmClientCertificate&gt;
4175
4315
  #
4316
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4317
+ #
4176
4318
  # @example Request syntax with placeholder values
4177
4319
  #
4178
4320
  # resp = client.describe_hsm_client_certificates({
@@ -4266,6 +4408,8 @@ module Aws::Redshift
4266
4408
  # * {Types::HsmConfigurationMessage#marker #marker} => String
4267
4409
  # * {Types::HsmConfigurationMessage#hsm_configurations #hsm_configurations} => Array&lt;Types::HsmConfiguration&gt;
4268
4410
  #
4411
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4412
+ #
4269
4413
  # @example Request syntax with placeholder values
4270
4414
  #
4271
4415
  # resp = client.describe_hsm_configurations({
@@ -4390,6 +4534,8 @@ module Aws::Redshift
4390
4534
  # * {Types::NodeConfigurationOptionsMessage#node_configuration_option_list #node_configuration_option_list} => Array&lt;Types::NodeConfigurationOption&gt;
4391
4535
  # * {Types::NodeConfigurationOptionsMessage#marker #marker} => String
4392
4536
  #
4537
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4538
+ #
4393
4539
  # @example Request syntax with placeholder values
4394
4540
  #
4395
4541
  # resp = client.describe_node_configuration_options({
@@ -4478,6 +4624,8 @@ module Aws::Redshift
4478
4624
  # * {Types::OrderableClusterOptionsMessage#orderable_cluster_options #orderable_cluster_options} => Array&lt;Types::OrderableClusterOption&gt;
4479
4625
  # * {Types::OrderableClusterOptionsMessage#marker #marker} => String
4480
4626
  #
4627
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4628
+ #
4481
4629
  # @example Request syntax with placeholder values
4482
4630
  #
4483
4631
  # resp = client.describe_orderable_cluster_options({
@@ -4551,6 +4699,8 @@ module Aws::Redshift
4551
4699
  # * {Types::ReservedNodeOfferingsMessage#marker #marker} => String
4552
4700
  # * {Types::ReservedNodeOfferingsMessage#reserved_node_offerings #reserved_node_offerings} => Array&lt;Types::ReservedNodeOffering&gt;
4553
4701
  #
4702
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4703
+ #
4554
4704
  # @example Request syntax with placeholder values
4555
4705
  #
4556
4706
  # resp = client.describe_reserved_node_offerings({
@@ -4613,6 +4763,8 @@ module Aws::Redshift
4613
4763
  # * {Types::ReservedNodesMessage#marker #marker} => String
4614
4764
  # * {Types::ReservedNodesMessage#reserved_nodes #reserved_nodes} => Array&lt;Types::ReservedNode&gt;
4615
4765
  #
4766
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4767
+ #
4616
4768
  # @example Request syntax with placeholder values
4617
4769
  #
4618
4770
  # resp = client.describe_reserved_nodes({
@@ -4772,6 +4924,8 @@ module Aws::Redshift
4772
4924
  # * {Types::ScheduledActionsMessage#marker #marker} => String
4773
4925
  # * {Types::ScheduledActionsMessage#scheduled_actions #scheduled_actions} => Array&lt;Types::ScheduledAction&gt;
4774
4926
  #
4927
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4928
+ #
4775
4929
  # @example Request syntax with placeholder values
4776
4930
  #
4777
4931
  # resp = client.describe_scheduled_actions({
@@ -5200,6 +5354,114 @@ module Aws::Redshift
5200
5354
  req.send_request(options)
5201
5355
  end
5202
5356
 
5357
+ # Shows usage limits on a cluster. Results are filtered based on the
5358
+ # combination of input usage limit identifier, cluster identifier, and
5359
+ # feature type parameters:
5360
+ #
5361
+ # * If usage limit identifier, cluster identifier, and feature type are
5362
+ # not provided, then all usage limit objects for the current account
5363
+ # in the current region are returned.
5364
+ #
5365
+ # * If usage limit identifier is provided, then the corresponding usage
5366
+ # limit object is returned.
5367
+ #
5368
+ # * If cluster identifier is provided, then all usage limit objects for
5369
+ # the specified cluster are returned.
5370
+ #
5371
+ # * If cluster identifier and feature type are provided, then all usage
5372
+ # limit objects for the combination of cluster and feature are
5373
+ # returned.
5374
+ #
5375
+ # @option params [String] :usage_limit_id
5376
+ # The identifier of the usage limit to describe.
5377
+ #
5378
+ # @option params [String] :cluster_identifier
5379
+ # The identifier of the cluster for which you want to describe usage
5380
+ # limits.
5381
+ #
5382
+ # @option params [String] :feature_type
5383
+ # The feature type for which you want to describe usage limits.
5384
+ #
5385
+ # @option params [Integer] :max_records
5386
+ # The maximum number of response records to return in each call. If the
5387
+ # number of remaining response records exceeds the specified
5388
+ # `MaxRecords` value, a value is returned in a `marker` field of the
5389
+ # response. You can retrieve the next set of records by retrying the
5390
+ # command with the returned marker value.
5391
+ #
5392
+ # Default: `100`
5393
+ #
5394
+ # Constraints: minimum 20, maximum 100.
5395
+ #
5396
+ # @option params [String] :marker
5397
+ # An optional parameter that specifies the starting point to return a
5398
+ # set of response records. When the results of a DescribeUsageLimits
5399
+ # request exceed the value specified in `MaxRecords`, AWS returns a
5400
+ # value in the `Marker` field of the response. You can retrieve the next
5401
+ # set of response records by providing the returned marker value in the
5402
+ # `Marker` parameter and retrying the request.
5403
+ #
5404
+ # @option params [Array<String>] :tag_keys
5405
+ # A tag key or keys for which you want to return all matching usage
5406
+ # limit objects that are associated with the specified key or keys. For
5407
+ # example, suppose that you have parameter groups that are tagged with
5408
+ # keys called `owner` and `environment`. If you specify both of these
5409
+ # tag keys in the request, Amazon Redshift returns a response with the
5410
+ # usage limit objects have either or both of these tag keys associated
5411
+ # with them.
5412
+ #
5413
+ # @option params [Array<String>] :tag_values
5414
+ # A tag value or values for which you want to return all matching usage
5415
+ # limit objects that are associated with the specified tag value or
5416
+ # values. For example, suppose that you have parameter groups that are
5417
+ # tagged with values called `admin` and `test`. If you specify both of
5418
+ # these tag values in the request, Amazon Redshift returns a response
5419
+ # with the usage limit objects that have either or both of these tag
5420
+ # values associated with them.
5421
+ #
5422
+ # @return [Types::UsageLimitList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5423
+ #
5424
+ # * {Types::UsageLimitList#usage_limits #usage_limits} => Array&lt;Types::UsageLimit&gt;
5425
+ # * {Types::UsageLimitList#marker #marker} => String
5426
+ #
5427
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5428
+ #
5429
+ # @example Request syntax with placeholder values
5430
+ #
5431
+ # resp = client.describe_usage_limits({
5432
+ # usage_limit_id: "String",
5433
+ # cluster_identifier: "String",
5434
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
5435
+ # max_records: 1,
5436
+ # marker: "String",
5437
+ # tag_keys: ["String"],
5438
+ # tag_values: ["String"],
5439
+ # })
5440
+ #
5441
+ # @example Response structure
5442
+ #
5443
+ # resp.usage_limits #=> Array
5444
+ # resp.usage_limits[0].usage_limit_id #=> String
5445
+ # resp.usage_limits[0].cluster_identifier #=> String
5446
+ # resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling"
5447
+ # resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
5448
+ # resp.usage_limits[0].amount #=> Integer
5449
+ # resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
5450
+ # resp.usage_limits[0].breach_action #=> String, one of "log", "emit-metric", "disable"
5451
+ # resp.usage_limits[0].tags #=> Array
5452
+ # resp.usage_limits[0].tags[0].key #=> String
5453
+ # resp.usage_limits[0].tags[0].value #=> String
5454
+ # resp.marker #=> String
5455
+ #
5456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeUsageLimits AWS API Documentation
5457
+ #
5458
+ # @overload describe_usage_limits(params = {})
5459
+ # @param [Hash] params ({})
5460
+ def describe_usage_limits(params = {}, options = {})
5461
+ req = build_request(:describe_usage_limits, params)
5462
+ req.send_request(options)
5463
+ end
5464
+
5203
5465
  # Stops logging information, such as queries and connection attempts,
5204
5466
  # for the specified Amazon Redshift cluster.
5205
5467
  #
@@ -5865,7 +6127,8 @@ module Aws::Redshift
5865
6127
  # Guide*.
5866
6128
  #
5867
6129
  # Valid Values: `ds2.xlarge` \| `ds2.8xlarge` \| `dc1.large` \|
5868
- # `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.16xlarge`
6130
+ # `dc1.8xlarge` \| `dc2.large` \| `dc2.8xlarge` \| `ra3.4xlarge` \|
6131
+ # `ra3.16xlarge`
5869
6132
  #
5870
6133
  #
5871
6134
  #
@@ -7277,6 +7540,61 @@ module Aws::Redshift
7277
7540
  req.send_request(options)
7278
7541
  end
7279
7542
 
7543
+ # Modifies a usage limit in a cluster. You can't modify the feature
7544
+ # type or period of a usage limit.
7545
+ #
7546
+ # @option params [required, String] :usage_limit_id
7547
+ # The identifier of the usage limit to modify.
7548
+ #
7549
+ # @option params [Integer] :amount
7550
+ # The new limit amount. For more information about this parameter, see
7551
+ # UsageLimit.
7552
+ #
7553
+ # @option params [String] :breach_action
7554
+ # The new action that Amazon Redshift takes when the limit is reached.
7555
+ # For more information about this parameter, see UsageLimit.
7556
+ #
7557
+ # @return [Types::UsageLimit] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7558
+ #
7559
+ # * {Types::UsageLimit#usage_limit_id #usage_limit_id} => String
7560
+ # * {Types::UsageLimit#cluster_identifier #cluster_identifier} => String
7561
+ # * {Types::UsageLimit#feature_type #feature_type} => String
7562
+ # * {Types::UsageLimit#limit_type #limit_type} => String
7563
+ # * {Types::UsageLimit#amount #amount} => Integer
7564
+ # * {Types::UsageLimit#period #period} => String
7565
+ # * {Types::UsageLimit#breach_action #breach_action} => String
7566
+ # * {Types::UsageLimit#tags #tags} => Array&lt;Types::Tag&gt;
7567
+ #
7568
+ # @example Request syntax with placeholder values
7569
+ #
7570
+ # resp = client.modify_usage_limit({
7571
+ # usage_limit_id: "String", # required
7572
+ # amount: 1,
7573
+ # breach_action: "log", # accepts log, emit-metric, disable
7574
+ # })
7575
+ #
7576
+ # @example Response structure
7577
+ #
7578
+ # resp.usage_limit_id #=> String
7579
+ # resp.cluster_identifier #=> String
7580
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
7581
+ # resp.limit_type #=> String, one of "time", "data-scanned"
7582
+ # resp.amount #=> Integer
7583
+ # resp.period #=> String, one of "daily", "weekly", "monthly"
7584
+ # resp.breach_action #=> String, one of "log", "emit-metric", "disable"
7585
+ # resp.tags #=> Array
7586
+ # resp.tags[0].key #=> String
7587
+ # resp.tags[0].value #=> String
7588
+ #
7589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyUsageLimit AWS API Documentation
7590
+ #
7591
+ # @overload modify_usage_limit(params = {})
7592
+ # @param [Hash] params ({})
7593
+ def modify_usage_limit(params = {}, options = {})
7594
+ req = build_request(:modify_usage_limit, params)
7595
+ req.send_request(options)
7596
+ end
7597
+
7280
7598
  # Pauses a cluster.
7281
7599
  #
7282
7600
  # @option params [required, String] :cluster_identifier
@@ -7671,6 +7989,8 @@ module Aws::Redshift
7671
7989
  #
7672
7990
  # * ds2.8xlarge
7673
7991
  #
7992
+ # * ra3.4xlarge
7993
+ #
7674
7994
  # * ra3.16xlarge
7675
7995
  #
7676
7996
  # * The type of nodes that you add must match the node type for the
@@ -8000,7 +8320,7 @@ module Aws::Redshift
8000
8320
  # restore into that same instance type and size. In other words, you can
8001
8321
  # only restore a dc1.large instance type into another dc1.large instance
8002
8322
  # type or dc2.large instance type. You can't restore dc1.8xlarge to
8003
- # dc2.8xlarge. First restore to a dc1.8xlareg cluster, then resize to a
8323
+ # dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
8004
8324
  # dc2.8large cluster. For more information about node types, see [ About
8005
8325
  # Clusters and Nodes][1] in the *Amazon Redshift Cluster Management
8006
8326
  # Guide*.
@@ -8704,7 +9024,7 @@ module Aws::Redshift
8704
9024
  params: params,
8705
9025
  config: config)
8706
9026
  context[:gem_name] = 'aws-sdk-redshift'
8707
- context[:gem_version] = '1.39.0'
9027
+ context[:gem_version] = '1.44.1'
8708
9028
  Seahorse::Client::Request.new(handlers, context)
8709
9029
  end
8710
9030
 
@@ -8770,12 +9090,12 @@ module Aws::Redshift
8770
9090
  # The following table lists the valid waiter names, the operations they call,
8771
9091
  # and the default `:delay` and `:max_attempts` values.
8772
9092
  #
8773
- # | waiter_name | params | :delay | :max_attempts |
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 |
9093
+ # | waiter_name | params | :delay | :max_attempts |
9094
+ # | ------------------ | ----------------------------------- | -------- | ------------- |
9095
+ # | cluster_available | {Client#describe_clusters} | 60 | 30 |
9096
+ # | cluster_deleted | {Client#describe_clusters} | 60 | 30 |
9097
+ # | cluster_restored | {Client#describe_clusters} | 60 | 30 |
9098
+ # | snapshot_available | {Client#describe_cluster_snapshots} | 15 | 20 |
8779
9099
  #
8780
9100
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
8781
9101
  # because the waiter has entered a state that it will not transition