aws-sdk-redshift 1.38.0 → 1.39.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 75fc11aeaa8114acfa69cc030fdcc9874312e561
4
- data.tar.gz: 8bbf71b0b59a5862354953ef491cb32eda665c6e
2
+ SHA256:
3
+ metadata.gz: 6e2837695845f893aa7f9573122ccf22d03feec7ad77bbe34768c5f1e265cfdc
4
+ data.tar.gz: 6ecb1011db32a80ce829ec470abb4d28e89a1df1637ed6e1373d3269ad5e75c4
5
5
  SHA512:
6
- metadata.gz: 72019218bbac095d542c00677eb60be57cf624d465ab343b4ad1984288891e05ce8abd4545b4d637c22fe4c5f9209fc7cbd553aabb8457fc4a597151613fbb56
7
- data.tar.gz: d0dedb1f2ab7d529cd67c802f2b154fc578d76e4864c5c2fb0be51cec905f2547f2a9976c35bd268995f1cb9c3fda131a04bf66ae4a6be8c5c24520ea5fecc59
6
+ metadata.gz: fc4c0acd9d2b140accc5fb268095177cbe4532a1ed09d6ce380f8be87fc06cde1f4428a51d7466343955b47ad5533ba3174cfa324a3a139f34da7620987b75f1
7
+ data.tar.gz: a9f85fb7592baebd9f34509ad275ea58b6eadaef110c88536c93df2704564eebb093e96634e9026b3bf1f13b37f7a0ca36ac18fdf9e5f77746cb227d1321dd37
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-redshift/customizations'
46
46
  # @service
47
47
  module Aws::Redshift
48
48
 
49
- GEM_VERSION = '1.38.0'
49
+ GEM_VERSION = '1.39.0'
50
50
 
51
51
  end
@@ -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
- # client = Aws::Redshift::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
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).
@@ -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
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
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
  #
@@ -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
@@ -4764,7 +4776,7 @@ module Aws::Redshift
4764
4776
  #
4765
4777
  # resp = client.describe_scheduled_actions({
4766
4778
  # scheduled_action_name: "String",
4767
- # target_action_type: "ResizeCluster", # accepts ResizeCluster
4779
+ # target_action_type: "ResizeCluster", # accepts ResizeCluster, PauseCluster, ResumeCluster
4768
4780
  # start_time: Time.now,
4769
4781
  # end_time: Time.now,
4770
4782
  # active: false,
@@ -4788,6 +4800,8 @@ module Aws::Redshift
4788
4800
  # resp.scheduled_actions[0].target_action.resize_cluster.node_type #=> String
4789
4801
  # resp.scheduled_actions[0].target_action.resize_cluster.number_of_nodes #=> Integer
4790
4802
  # resp.scheduled_actions[0].target_action.resize_cluster.classic #=> Boolean
4803
+ # resp.scheduled_actions[0].target_action.pause_cluster.cluster_identifier #=> String
4804
+ # resp.scheduled_actions[0].target_action.resume_cluster.cluster_identifier #=> String
4791
4805
  # resp.scheduled_actions[0].schedule #=> String
4792
4806
  # resp.scheduled_actions[0].iam_role #=> String
4793
4807
  # resp.scheduled_actions[0].scheduled_action_description #=> String
@@ -7003,6 +7017,12 @@ module Aws::Redshift
7003
7017
  # number_of_nodes: 1,
7004
7018
  # classic: false,
7005
7019
  # },
7020
+ # pause_cluster: {
7021
+ # cluster_identifier: "String", # required
7022
+ # },
7023
+ # resume_cluster: {
7024
+ # cluster_identifier: "String", # required
7025
+ # },
7006
7026
  # },
7007
7027
  # schedule: "String",
7008
7028
  # iam_role: "String",
@@ -7020,6 +7040,8 @@ module Aws::Redshift
7020
7040
  # resp.target_action.resize_cluster.node_type #=> String
7021
7041
  # resp.target_action.resize_cluster.number_of_nodes #=> Integer
7022
7042
  # resp.target_action.resize_cluster.classic #=> Boolean
7043
+ # resp.target_action.pause_cluster.cluster_identifier #=> String
7044
+ # resp.target_action.resume_cluster.cluster_identifier #=> String
7023
7045
  # resp.schedule #=> String
7024
7046
  # resp.iam_role #=> String
7025
7047
  # resp.scheduled_action_description #=> String
@@ -7255,6 +7277,128 @@ module Aws::Redshift
7255
7277
  req.send_request(options)
7256
7278
  end
7257
7279
 
7280
+ # Pauses a cluster.
7281
+ #
7282
+ # @option params [required, String] :cluster_identifier
7283
+ # The identifier of the cluster to be paused.
7284
+ #
7285
+ # @return [Types::PauseClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7286
+ #
7287
+ # * {Types::PauseClusterResult#cluster #cluster} => Types::Cluster
7288
+ #
7289
+ # @example Request syntax with placeholder values
7290
+ #
7291
+ # resp = client.pause_cluster({
7292
+ # cluster_identifier: "String", # required
7293
+ # })
7294
+ #
7295
+ # @example Response structure
7296
+ #
7297
+ # resp.cluster.cluster_identifier #=> String
7298
+ # resp.cluster.node_type #=> String
7299
+ # resp.cluster.cluster_status #=> String
7300
+ # resp.cluster.cluster_availability_status #=> String
7301
+ # resp.cluster.modify_status #=> String
7302
+ # resp.cluster.master_username #=> String
7303
+ # resp.cluster.db_name #=> String
7304
+ # resp.cluster.endpoint.address #=> String
7305
+ # resp.cluster.endpoint.port #=> Integer
7306
+ # resp.cluster.cluster_create_time #=> Time
7307
+ # resp.cluster.automated_snapshot_retention_period #=> Integer
7308
+ # resp.cluster.manual_snapshot_retention_period #=> Integer
7309
+ # resp.cluster.cluster_security_groups #=> Array
7310
+ # resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
7311
+ # resp.cluster.cluster_security_groups[0].status #=> String
7312
+ # resp.cluster.vpc_security_groups #=> Array
7313
+ # resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
7314
+ # resp.cluster.vpc_security_groups[0].status #=> String
7315
+ # resp.cluster.cluster_parameter_groups #=> Array
7316
+ # resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
7317
+ # resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
7318
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
7319
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
7320
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
7321
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
7322
+ # resp.cluster.cluster_subnet_group_name #=> String
7323
+ # resp.cluster.vpc_id #=> String
7324
+ # resp.cluster.availability_zone #=> String
7325
+ # resp.cluster.preferred_maintenance_window #=> String
7326
+ # resp.cluster.pending_modified_values.master_user_password #=> String
7327
+ # resp.cluster.pending_modified_values.node_type #=> String
7328
+ # resp.cluster.pending_modified_values.number_of_nodes #=> Integer
7329
+ # resp.cluster.pending_modified_values.cluster_type #=> String
7330
+ # resp.cluster.pending_modified_values.cluster_version #=> String
7331
+ # resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
7332
+ # resp.cluster.pending_modified_values.cluster_identifier #=> String
7333
+ # resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
7334
+ # resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
7335
+ # resp.cluster.pending_modified_values.maintenance_track_name #=> String
7336
+ # resp.cluster.pending_modified_values.encryption_type #=> String
7337
+ # resp.cluster.cluster_version #=> String
7338
+ # resp.cluster.allow_version_upgrade #=> Boolean
7339
+ # resp.cluster.number_of_nodes #=> Integer
7340
+ # resp.cluster.publicly_accessible #=> Boolean
7341
+ # resp.cluster.encrypted #=> Boolean
7342
+ # resp.cluster.restore_status.status #=> String
7343
+ # resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
7344
+ # resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
7345
+ # resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
7346
+ # resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
7347
+ # resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
7348
+ # resp.cluster.data_transfer_progress.status #=> String
7349
+ # resp.cluster.data_transfer_progress.current_rate_in_mega_bytes_per_second #=> Float
7350
+ # resp.cluster.data_transfer_progress.total_data_in_mega_bytes #=> Integer
7351
+ # resp.cluster.data_transfer_progress.data_transferred_in_mega_bytes #=> Integer
7352
+ # resp.cluster.data_transfer_progress.estimated_time_to_completion_in_seconds #=> Integer
7353
+ # resp.cluster.data_transfer_progress.elapsed_time_in_seconds #=> Integer
7354
+ # resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
7355
+ # resp.cluster.hsm_status.hsm_configuration_identifier #=> String
7356
+ # resp.cluster.hsm_status.status #=> String
7357
+ # resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
7358
+ # resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
7359
+ # resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
7360
+ # resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
7361
+ # resp.cluster.cluster_public_key #=> String
7362
+ # resp.cluster.cluster_nodes #=> Array
7363
+ # resp.cluster.cluster_nodes[0].node_role #=> String
7364
+ # resp.cluster.cluster_nodes[0].private_ip_address #=> String
7365
+ # resp.cluster.cluster_nodes[0].public_ip_address #=> String
7366
+ # resp.cluster.elastic_ip_status.elastic_ip #=> String
7367
+ # resp.cluster.elastic_ip_status.status #=> String
7368
+ # resp.cluster.cluster_revision_number #=> String
7369
+ # resp.cluster.tags #=> Array
7370
+ # resp.cluster.tags[0].key #=> String
7371
+ # resp.cluster.tags[0].value #=> String
7372
+ # resp.cluster.kms_key_id #=> String
7373
+ # resp.cluster.enhanced_vpc_routing #=> Boolean
7374
+ # resp.cluster.iam_roles #=> Array
7375
+ # resp.cluster.iam_roles[0].iam_role_arn #=> String
7376
+ # resp.cluster.iam_roles[0].apply_status #=> String
7377
+ # resp.cluster.pending_actions #=> Array
7378
+ # resp.cluster.pending_actions[0] #=> String
7379
+ # resp.cluster.maintenance_track_name #=> String
7380
+ # resp.cluster.elastic_resize_number_of_node_options #=> String
7381
+ # resp.cluster.deferred_maintenance_windows #=> Array
7382
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
7383
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
7384
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
7385
+ # resp.cluster.snapshot_schedule_identifier #=> String
7386
+ # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
7387
+ # resp.cluster.expected_next_snapshot_schedule_time #=> Time
7388
+ # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
7389
+ # resp.cluster.next_maintenance_window_start_time #=> Time
7390
+ # resp.cluster.resize_info.resize_type #=> String
7391
+ # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7392
+ #
7393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
7394
+ #
7395
+ # @overload pause_cluster(params = {})
7396
+ # @param [Hash] params ({})
7397
+ def pause_cluster(params = {}, options = {})
7398
+ req = build_request(:pause_cluster, params)
7399
+ req.send_request(options)
7400
+ end
7401
+
7258
7402
  # Allows you to purchase reserved nodes. Amazon Redshift offers a
7259
7403
  # predefined set of reserved node offerings. You can purchase one or
7260
7404
  # more of the offerings. You can call the DescribeReservedNodeOfferings
@@ -8135,6 +8279,128 @@ module Aws::Redshift
8135
8279
  req.send_request(options)
8136
8280
  end
8137
8281
 
8282
+ # Resumes a paused cluster.
8283
+ #
8284
+ # @option params [required, String] :cluster_identifier
8285
+ # The identifier of the cluster to be resumed.
8286
+ #
8287
+ # @return [Types::ResumeClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8288
+ #
8289
+ # * {Types::ResumeClusterResult#cluster #cluster} => Types::Cluster
8290
+ #
8291
+ # @example Request syntax with placeholder values
8292
+ #
8293
+ # resp = client.resume_cluster({
8294
+ # cluster_identifier: "String", # required
8295
+ # })
8296
+ #
8297
+ # @example Response structure
8298
+ #
8299
+ # resp.cluster.cluster_identifier #=> String
8300
+ # resp.cluster.node_type #=> String
8301
+ # resp.cluster.cluster_status #=> String
8302
+ # resp.cluster.cluster_availability_status #=> String
8303
+ # resp.cluster.modify_status #=> String
8304
+ # resp.cluster.master_username #=> String
8305
+ # resp.cluster.db_name #=> String
8306
+ # resp.cluster.endpoint.address #=> String
8307
+ # resp.cluster.endpoint.port #=> Integer
8308
+ # resp.cluster.cluster_create_time #=> Time
8309
+ # resp.cluster.automated_snapshot_retention_period #=> Integer
8310
+ # resp.cluster.manual_snapshot_retention_period #=> Integer
8311
+ # resp.cluster.cluster_security_groups #=> Array
8312
+ # resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
8313
+ # resp.cluster.cluster_security_groups[0].status #=> String
8314
+ # resp.cluster.vpc_security_groups #=> Array
8315
+ # resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
8316
+ # resp.cluster.vpc_security_groups[0].status #=> String
8317
+ # resp.cluster.cluster_parameter_groups #=> Array
8318
+ # resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
8319
+ # resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
8320
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
8321
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
8322
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
8323
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
8324
+ # resp.cluster.cluster_subnet_group_name #=> String
8325
+ # resp.cluster.vpc_id #=> String
8326
+ # resp.cluster.availability_zone #=> String
8327
+ # resp.cluster.preferred_maintenance_window #=> String
8328
+ # resp.cluster.pending_modified_values.master_user_password #=> String
8329
+ # resp.cluster.pending_modified_values.node_type #=> String
8330
+ # resp.cluster.pending_modified_values.number_of_nodes #=> Integer
8331
+ # resp.cluster.pending_modified_values.cluster_type #=> String
8332
+ # resp.cluster.pending_modified_values.cluster_version #=> String
8333
+ # resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
8334
+ # resp.cluster.pending_modified_values.cluster_identifier #=> String
8335
+ # resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
8336
+ # resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
8337
+ # resp.cluster.pending_modified_values.maintenance_track_name #=> String
8338
+ # resp.cluster.pending_modified_values.encryption_type #=> String
8339
+ # resp.cluster.cluster_version #=> String
8340
+ # resp.cluster.allow_version_upgrade #=> Boolean
8341
+ # resp.cluster.number_of_nodes #=> Integer
8342
+ # resp.cluster.publicly_accessible #=> Boolean
8343
+ # resp.cluster.encrypted #=> Boolean
8344
+ # resp.cluster.restore_status.status #=> String
8345
+ # resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
8346
+ # resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
8347
+ # resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
8348
+ # resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
8349
+ # resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
8350
+ # resp.cluster.data_transfer_progress.status #=> String
8351
+ # resp.cluster.data_transfer_progress.current_rate_in_mega_bytes_per_second #=> Float
8352
+ # resp.cluster.data_transfer_progress.total_data_in_mega_bytes #=> Integer
8353
+ # resp.cluster.data_transfer_progress.data_transferred_in_mega_bytes #=> Integer
8354
+ # resp.cluster.data_transfer_progress.estimated_time_to_completion_in_seconds #=> Integer
8355
+ # resp.cluster.data_transfer_progress.elapsed_time_in_seconds #=> Integer
8356
+ # resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
8357
+ # resp.cluster.hsm_status.hsm_configuration_identifier #=> String
8358
+ # resp.cluster.hsm_status.status #=> String
8359
+ # resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
8360
+ # resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
8361
+ # resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
8362
+ # resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
8363
+ # resp.cluster.cluster_public_key #=> String
8364
+ # resp.cluster.cluster_nodes #=> Array
8365
+ # resp.cluster.cluster_nodes[0].node_role #=> String
8366
+ # resp.cluster.cluster_nodes[0].private_ip_address #=> String
8367
+ # resp.cluster.cluster_nodes[0].public_ip_address #=> String
8368
+ # resp.cluster.elastic_ip_status.elastic_ip #=> String
8369
+ # resp.cluster.elastic_ip_status.status #=> String
8370
+ # resp.cluster.cluster_revision_number #=> String
8371
+ # resp.cluster.tags #=> Array
8372
+ # resp.cluster.tags[0].key #=> String
8373
+ # resp.cluster.tags[0].value #=> String
8374
+ # resp.cluster.kms_key_id #=> String
8375
+ # resp.cluster.enhanced_vpc_routing #=> Boolean
8376
+ # resp.cluster.iam_roles #=> Array
8377
+ # resp.cluster.iam_roles[0].iam_role_arn #=> String
8378
+ # resp.cluster.iam_roles[0].apply_status #=> String
8379
+ # resp.cluster.pending_actions #=> Array
8380
+ # resp.cluster.pending_actions[0] #=> String
8381
+ # resp.cluster.maintenance_track_name #=> String
8382
+ # resp.cluster.elastic_resize_number_of_node_options #=> String
8383
+ # resp.cluster.deferred_maintenance_windows #=> Array
8384
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
8385
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
8386
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
8387
+ # resp.cluster.snapshot_schedule_identifier #=> String
8388
+ # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
8389
+ # resp.cluster.expected_next_snapshot_schedule_time #=> Time
8390
+ # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
8391
+ # resp.cluster.next_maintenance_window_start_time #=> Time
8392
+ # resp.cluster.resize_info.resize_type #=> String
8393
+ # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
8394
+ #
8395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
8396
+ #
8397
+ # @overload resume_cluster(params = {})
8398
+ # @param [Hash] params ({})
8399
+ def resume_cluster(params = {}, options = {})
8400
+ req = build_request(:resume_cluster, params)
8401
+ req.send_request(options)
8402
+ end
8403
+
8138
8404
  # Revokes an ingress rule in an Amazon Redshift security group for a
8139
8405
  # previously authorized IP range or Amazon EC2 security group. To add an
8140
8406
  # ingress rule, see AuthorizeClusterSecurityGroupIngress. For
@@ -8438,7 +8704,7 @@ module Aws::Redshift
8438
8704
  params: params,
8439
8705
  config: config)
8440
8706
  context[:gem_name] = 'aws-sdk-redshift'
8441
- context[:gem_version] = '1.38.0'
8707
+ context[:gem_version] = '1.39.0'
8442
8708
  Seahorse::Client::Request.new(handlers, context)
8443
8709
  end
8444
8710
 
@@ -291,6 +291,8 @@ module Aws::Redshift
291
291
  ParameterApplyType = Shapes::StringShape.new(name: 'ParameterApplyType')
292
292
  ParameterGroupList = Shapes::ListShape.new(name: 'ParameterGroupList')
293
293
  ParametersList = Shapes::ListShape.new(name: 'ParametersList')
294
+ PauseClusterMessage = Shapes::StructureShape.new(name: 'PauseClusterMessage')
295
+ PauseClusterResult = Shapes::StructureShape.new(name: 'PauseClusterResult')
294
296
  PendingActionsList = Shapes::ListShape.new(name: 'PendingActionsList')
295
297
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
296
298
  PurchaseReservedNodeOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingMessage')
@@ -324,6 +326,8 @@ module Aws::Redshift
324
326
  RestoreStatus = Shapes::StructureShape.new(name: 'RestoreStatus')
325
327
  RestoreTableFromClusterSnapshotMessage = Shapes::StructureShape.new(name: 'RestoreTableFromClusterSnapshotMessage')
326
328
  RestoreTableFromClusterSnapshotResult = Shapes::StructureShape.new(name: 'RestoreTableFromClusterSnapshotResult')
329
+ ResumeClusterMessage = Shapes::StructureShape.new(name: 'ResumeClusterMessage')
330
+ ResumeClusterResult = Shapes::StructureShape.new(name: 'ResumeClusterResult')
327
331
  RevisionTarget = Shapes::StructureShape.new(name: 'RevisionTarget')
328
332
  RevisionTargetsList = Shapes::ListShape.new(name: 'RevisionTargetsList')
329
333
  RevokeClusterSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'RevokeClusterSecurityGroupIngressMessage')
@@ -1526,6 +1530,12 @@ module Aws::Redshift
1526
1530
 
1527
1531
  ParametersList.member = Shapes::ShapeRef.new(shape: Parameter, location_name: "Parameter")
1528
1532
 
1533
+ PauseClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
1534
+ PauseClusterMessage.struct_class = Types::PauseClusterMessage
1535
+
1536
+ PauseClusterResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
1537
+ PauseClusterResult.struct_class = Types::PauseClusterResult
1538
+
1529
1539
  PendingActionsList.member = Shapes::ShapeRef.new(shape: String)
1530
1540
 
1531
1541
  PendingModifiedValues.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserPassword"))
@@ -1703,6 +1713,12 @@ module Aws::Redshift
1703
1713
  RestoreTableFromClusterSnapshotResult.add_member(:table_restore_status, Shapes::ShapeRef.new(shape: TableRestoreStatus, location_name: "TableRestoreStatus"))
1704
1714
  RestoreTableFromClusterSnapshotResult.struct_class = Types::RestoreTableFromClusterSnapshotResult
1705
1715
 
1716
+ ResumeClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
1717
+ ResumeClusterMessage.struct_class = Types::ResumeClusterMessage
1718
+
1719
+ ResumeClusterResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
1720
+ ResumeClusterResult.struct_class = Types::ResumeClusterResult
1721
+
1706
1722
  RevisionTarget.add_member(:database_revision, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseRevision"))
1707
1723
  RevisionTarget.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1708
1724
  RevisionTarget.add_member(:database_revision_release_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "DatabaseRevisionReleaseDate"))
@@ -1771,6 +1787,8 @@ module Aws::Redshift
1771
1787
  ScheduledActionTimeList.member = Shapes::ShapeRef.new(shape: TStamp, location_name: "ScheduledActionTime")
1772
1788
 
1773
1789
  ScheduledActionType.add_member(:resize_cluster, Shapes::ShapeRef.new(shape: ResizeClusterMessage, location_name: "ResizeCluster"))
1790
+ ScheduledActionType.add_member(:pause_cluster, Shapes::ShapeRef.new(shape: PauseClusterMessage, location_name: "PauseCluster"))
1791
+ ScheduledActionType.add_member(:resume_cluster, Shapes::ShapeRef.new(shape: ResumeClusterMessage, location_name: "ResumeCluster"))
1774
1792
  ScheduledActionType.struct_class = Types::ScheduledActionType
1775
1793
 
1776
1794
  ScheduledActionTypeUnsupportedFault.struct_class = Types::ScheduledActionTypeUnsupportedFault
@@ -2797,6 +2815,7 @@ module Aws::Redshift
2797
2815
  o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyFault)
2798
2816
  o.errors << Shapes::ShapeRef.new(shape: InvalidS3KeyPrefixFault)
2799
2817
  o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameFault)
2818
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2800
2819
  end)
2801
2820
 
2802
2821
  api.add_operation(:enable_snapshot_copy, Seahorse::Model::Operation.new.tap do |o|
@@ -2897,6 +2916,7 @@ module Aws::Redshift
2897
2916
  o.input = Shapes::ShapeRef.new(shape: ModifyClusterMaintenanceMessage)
2898
2917
  o.output = Shapes::ShapeRef.new(shape: ModifyClusterMaintenanceResult)
2899
2918
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2919
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2900
2920
  end)
2901
2921
 
2902
2922
  api.add_operation(:modify_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -2999,6 +3019,16 @@ module Aws::Redshift
2999
3019
  o.errors << Shapes::ShapeRef.new(shape: SnapshotScheduleUpdateInProgressFault)
3000
3020
  end)
3001
3021
 
3022
+ api.add_operation(:pause_cluster, Seahorse::Model::Operation.new.tap do |o|
3023
+ o.name = "PauseCluster"
3024
+ o.http_method = "POST"
3025
+ o.http_request_uri = "/"
3026
+ o.input = Shapes::ShapeRef.new(shape: PauseClusterMessage)
3027
+ o.output = Shapes::ShapeRef.new(shape: PauseClusterResult)
3028
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3030
+ end)
3031
+
3002
3032
  api.add_operation(:purchase_reserved_node_offering, Seahorse::Model::Operation.new.tap do |o|
3003
3033
  o.name = "PurchaseReservedNodeOffering"
3004
3034
  o.http_method = "POST"
@@ -3096,6 +3126,16 @@ module Aws::Redshift
3096
3126
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3097
3127
  end)
3098
3128
 
3129
+ api.add_operation(:resume_cluster, Seahorse::Model::Operation.new.tap do |o|
3130
+ o.name = "ResumeCluster"
3131
+ o.http_method = "POST"
3132
+ o.http_request_uri = "/"
3133
+ o.input = Shapes::ShapeRef.new(shape: ResumeClusterMessage)
3134
+ o.output = Shapes::ShapeRef.new(shape: ResumeClusterResult)
3135
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3136
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3137
+ end)
3138
+
3099
3139
  api.add_operation(:revoke_cluster_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
3100
3140
  o.name = "RevokeClusterSecurityGroupIngress"
3101
3141
  o.http_method = "POST"
@@ -425,6 +425,8 @@ module Aws::Redshift
425
425
  #
426
426
  # * `modifying`
427
427
  #
428
+ # * `paused`
429
+ #
428
430
  # * `rebooting`
429
431
  #
430
432
  # * `renaming`
@@ -2486,6 +2488,12 @@ module Aws::Redshift
2486
2488
  # number_of_nodes: 1,
2487
2489
  # classic: false,
2488
2490
  # },
2491
+ # pause_cluster: {
2492
+ # cluster_identifier: "String", # required
2493
+ # },
2494
+ # resume_cluster: {
2495
+ # cluster_identifier: "String", # required
2496
+ # },
2489
2497
  # },
2490
2498
  # schedule: "String", # required
2491
2499
  # iam_role: "String", # required
@@ -4524,7 +4532,7 @@ module Aws::Redshift
4524
4532
  #
4525
4533
  # {
4526
4534
  # scheduled_action_name: "String",
4527
- # target_action_type: "ResizeCluster", # accepts ResizeCluster
4535
+ # target_action_type: "ResizeCluster", # accepts ResizeCluster, PauseCluster, ResumeCluster
4528
4536
  # start_time: Time.now,
4529
4537
  # end_time: Time.now,
4530
4538
  # active: false,
@@ -6823,6 +6831,12 @@ module Aws::Redshift
6823
6831
  # number_of_nodes: 1,
6824
6832
  # classic: false,
6825
6833
  # },
6834
+ # pause_cluster: {
6835
+ # cluster_identifier: "String", # required
6836
+ # },
6837
+ # resume_cluster: {
6838
+ # cluster_identifier: "String", # required
6839
+ # },
6826
6840
  # },
6827
6841
  # schedule: "String",
6828
6842
  # iam_role: "String",
@@ -7217,6 +7231,35 @@ module Aws::Redshift
7217
7231
  include Aws::Structure
7218
7232
  end
7219
7233
 
7234
+ # @note When making an API call, you may pass PauseClusterMessage
7235
+ # data as a hash:
7236
+ #
7237
+ # {
7238
+ # cluster_identifier: "String", # required
7239
+ # }
7240
+ #
7241
+ # @!attribute [rw] cluster_identifier
7242
+ # The identifier of the cluster to be paused.
7243
+ # @return [String]
7244
+ #
7245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseClusterMessage AWS API Documentation
7246
+ #
7247
+ class PauseClusterMessage < Struct.new(
7248
+ :cluster_identifier)
7249
+ include Aws::Structure
7250
+ end
7251
+
7252
+ # @!attribute [rw] cluster
7253
+ # Describes a cluster.
7254
+ # @return [Types::Cluster]
7255
+ #
7256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseClusterResult AWS API Documentation
7257
+ #
7258
+ class PauseClusterResult < Struct.new(
7259
+ :cluster)
7260
+ include Aws::Structure
7261
+ end
7262
+
7220
7263
  # Describes cluster attributes that are in a pending state. A change to
7221
7264
  # one or more the attributes was requested and is in progress or will be
7222
7265
  # applied.
@@ -8318,6 +8361,35 @@ module Aws::Redshift
8318
8361
  include Aws::Structure
8319
8362
  end
8320
8363
 
8364
+ # @note When making an API call, you may pass ResumeClusterMessage
8365
+ # data as a hash:
8366
+ #
8367
+ # {
8368
+ # cluster_identifier: "String", # required
8369
+ # }
8370
+ #
8371
+ # @!attribute [rw] cluster_identifier
8372
+ # The identifier of the cluster to be resumed.
8373
+ # @return [String]
8374
+ #
8375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeClusterMessage AWS API Documentation
8376
+ #
8377
+ class ResumeClusterMessage < Struct.new(
8378
+ :cluster_identifier)
8379
+ include Aws::Structure
8380
+ end
8381
+
8382
+ # @!attribute [rw] cluster
8383
+ # Describes a cluster.
8384
+ # @return [Types::Cluster]
8385
+ #
8386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeClusterResult AWS API Documentation
8387
+ #
8388
+ class ResumeClusterResult < Struct.new(
8389
+ :cluster)
8390
+ include Aws::Structure
8391
+ end
8392
+
8321
8393
  # Describes a `RevisionTarget`.
8322
8394
  #
8323
8395
  # @!attribute [rw] database_revision
@@ -8654,16 +8726,32 @@ module Aws::Redshift
8654
8726
  # number_of_nodes: 1,
8655
8727
  # classic: false,
8656
8728
  # },
8729
+ # pause_cluster: {
8730
+ # cluster_identifier: "String", # required
8731
+ # },
8732
+ # resume_cluster: {
8733
+ # cluster_identifier: "String", # required
8734
+ # },
8657
8735
  # }
8658
8736
  #
8659
8737
  # @!attribute [rw] resize_cluster
8660
8738
  # An action that runs a `ResizeCluster` API operation.
8661
8739
  # @return [Types::ResizeClusterMessage]
8662
8740
  #
8741
+ # @!attribute [rw] pause_cluster
8742
+ # An action that runs a `PauseCluster` API operation.
8743
+ # @return [Types::PauseClusterMessage]
8744
+ #
8745
+ # @!attribute [rw] resume_cluster
8746
+ # An action that runs a `ResumeCluster` API operation.
8747
+ # @return [Types::ResumeClusterMessage]
8748
+ #
8663
8749
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ScheduledActionType AWS API Documentation
8664
8750
  #
8665
8751
  class ScheduledActionType < Struct.new(
8666
- :resize_cluster)
8752
+ :resize_cluster,
8753
+ :pause_cluster,
8754
+ :resume_cluster)
8667
8755
  include Aws::Structure
8668
8756
  end
8669
8757
 
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.38.0
4
+ version: 1.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubyforge_project:
85
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 3.0.3
86
85
  signing_key:
87
86
  specification_version: 4
88
87
  summary: AWS SDK for Ruby - Amazon Redshift