aws-sdk-redshift 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +135 -1
- data/lib/aws-sdk-redshift/client_api.rb +32 -0
- data/lib/aws-sdk-redshift/types.rb +74 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b68a3e74988179eb7804a89f19d9d08401dca16
|
4
|
+
data.tar.gz: 53c800de067a9f6ddc689ba99ef9177dcae434d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56b7381c4e8977c208a4fa6f99e4d82a898738cf7158548b165dd19a264a990e0a56309b36a236ce3e0a9f61b5038aaad98cd7d84b1fb37ca21069df95f7925b
|
7
|
+
data.tar.gz: 12819598ce83ed8edcee1efc99c5db9f92b9d1ee4f1e686ccd6ffa59bd03af4a9c3b97c062af34334d92678270163389e65af766d72b03d1a13344a8696273af
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -930,6 +930,7 @@ module Aws::Redshift
|
|
930
930
|
# resp.cluster.pending_actions #=> Array
|
931
931
|
# resp.cluster.pending_actions[0] #=> String
|
932
932
|
# resp.cluster.maintenance_track_name #=> String
|
933
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
933
934
|
#
|
934
935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
|
935
936
|
#
|
@@ -1814,6 +1815,7 @@ module Aws::Redshift
|
|
1814
1815
|
# resp.cluster.pending_actions #=> Array
|
1815
1816
|
# resp.cluster.pending_actions[0] #=> String
|
1816
1817
|
# resp.cluster.maintenance_track_name #=> String
|
1818
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
1817
1819
|
#
|
1818
1820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
|
1819
1821
|
#
|
@@ -3048,6 +3050,7 @@ module Aws::Redshift
|
|
3048
3050
|
# resp.clusters[0].pending_actions #=> Array
|
3049
3051
|
# resp.clusters[0].pending_actions[0] #=> String
|
3050
3052
|
# resp.clusters[0].maintenance_track_name #=> String
|
3053
|
+
# resp.clusters[0].elastic_resize_number_of_node_options #=> String
|
3051
3054
|
#
|
3052
3055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
|
3053
3056
|
#
|
@@ -3889,6 +3892,8 @@ module Aws::Redshift
|
|
3889
3892
|
# * {Types::ResizeProgressMessage#progress_in_mega_bytes #progress_in_mega_bytes} => Integer
|
3890
3893
|
# * {Types::ResizeProgressMessage#elapsed_time_in_seconds #elapsed_time_in_seconds} => Integer
|
3891
3894
|
# * {Types::ResizeProgressMessage#estimated_time_to_completion_in_seconds #estimated_time_to_completion_in_seconds} => Integer
|
3895
|
+
# * {Types::ResizeProgressMessage#resize_type #resize_type} => String
|
3896
|
+
# * {Types::ResizeProgressMessage#message #message} => String
|
3892
3897
|
#
|
3893
3898
|
# @example Request syntax with placeholder values
|
3894
3899
|
#
|
@@ -3913,6 +3918,8 @@ module Aws::Redshift
|
|
3913
3918
|
# resp.progress_in_mega_bytes #=> Integer
|
3914
3919
|
# resp.elapsed_time_in_seconds #=> Integer
|
3915
3920
|
# resp.estimated_time_to_completion_in_seconds #=> Integer
|
3921
|
+
# resp.resize_type #=> String
|
3922
|
+
# resp.message #=> String
|
3916
3923
|
#
|
3917
3924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize AWS API Documentation
|
3918
3925
|
#
|
@@ -4350,6 +4357,7 @@ module Aws::Redshift
|
|
4350
4357
|
# resp.cluster.pending_actions #=> Array
|
4351
4358
|
# resp.cluster.pending_actions[0] #=> String
|
4352
4359
|
# resp.cluster.maintenance_track_name #=> String
|
4360
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
4353
4361
|
#
|
4354
4362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
|
4355
4363
|
#
|
@@ -4554,6 +4562,7 @@ module Aws::Redshift
|
|
4554
4562
|
# resp.cluster.pending_actions #=> Array
|
4555
4563
|
# resp.cluster.pending_actions[0] #=> String
|
4556
4564
|
# resp.cluster.maintenance_track_name #=> String
|
4565
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
4557
4566
|
#
|
4558
4567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
|
4559
4568
|
#
|
@@ -5125,6 +5134,7 @@ module Aws::Redshift
|
|
5125
5134
|
# resp.cluster.pending_actions #=> Array
|
5126
5135
|
# resp.cluster.pending_actions[0] #=> String
|
5127
5136
|
# resp.cluster.maintenance_track_name #=> String
|
5137
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
5128
5138
|
#
|
5129
5139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
|
5130
5140
|
#
|
@@ -5234,6 +5244,7 @@ module Aws::Redshift
|
|
5234
5244
|
# resp.cluster.pending_actions #=> Array
|
5235
5245
|
# resp.cluster.pending_actions[0] #=> String
|
5236
5246
|
# resp.cluster.maintenance_track_name #=> String
|
5247
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
5237
5248
|
#
|
5238
5249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
|
5239
5250
|
#
|
@@ -5350,6 +5361,7 @@ module Aws::Redshift
|
|
5350
5361
|
# resp.cluster.pending_actions #=> Array
|
5351
5362
|
# resp.cluster.pending_actions[0] #=> String
|
5352
5363
|
# resp.cluster.maintenance_track_name #=> String
|
5364
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
5353
5365
|
#
|
5354
5366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
|
5355
5367
|
#
|
@@ -5671,6 +5683,7 @@ module Aws::Redshift
|
|
5671
5683
|
# resp.cluster.pending_actions #=> Array
|
5672
5684
|
# resp.cluster.pending_actions[0] #=> String
|
5673
5685
|
# resp.cluster.maintenance_track_name #=> String
|
5686
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
5674
5687
|
#
|
5675
5688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
|
5676
5689
|
#
|
@@ -5842,6 +5855,7 @@ module Aws::Redshift
|
|
5842
5855
|
# resp.cluster.pending_actions #=> Array
|
5843
5856
|
# resp.cluster.pending_actions[0] #=> String
|
5844
5857
|
# resp.cluster.maintenance_track_name #=> String
|
5858
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
5845
5859
|
#
|
5846
5860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
|
5847
5861
|
#
|
@@ -5913,6 +5927,124 @@ module Aws::Redshift
|
|
5913
5927
|
req.send_request(options)
|
5914
5928
|
end
|
5915
5929
|
|
5930
|
+
# Changes the cluster's type, node type, or number of nodes.
|
5931
|
+
#
|
5932
|
+
# @option params [required, String] :cluster_identifier
|
5933
|
+
# The unique identifier for the cluster to resize.
|
5934
|
+
#
|
5935
|
+
# @option params [String] :cluster_type
|
5936
|
+
# The new cluster type for the specified cluster.
|
5937
|
+
#
|
5938
|
+
# @option params [String] :node_type
|
5939
|
+
# The new node type for the nodes you are adding.
|
5940
|
+
#
|
5941
|
+
# @option params [required, Integer] :number_of_nodes
|
5942
|
+
# The new number of nodes for the cluster.
|
5943
|
+
#
|
5944
|
+
# @option params [Boolean] :classic
|
5945
|
+
# A boolean value indicating whether the resize operation is using the
|
5946
|
+
# classic resize process.
|
5947
|
+
#
|
5948
|
+
# @return [Types::ResizeClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5949
|
+
#
|
5950
|
+
# * {Types::ResizeClusterResult#cluster #cluster} => Types::Cluster
|
5951
|
+
#
|
5952
|
+
# @example Request syntax with placeholder values
|
5953
|
+
#
|
5954
|
+
# resp = client.resize_cluster({
|
5955
|
+
# cluster_identifier: "String", # required
|
5956
|
+
# cluster_type: "String",
|
5957
|
+
# node_type: "String",
|
5958
|
+
# number_of_nodes: 1, # required
|
5959
|
+
# classic: false,
|
5960
|
+
# })
|
5961
|
+
#
|
5962
|
+
# @example Response structure
|
5963
|
+
#
|
5964
|
+
# resp.cluster.cluster_identifier #=> String
|
5965
|
+
# resp.cluster.node_type #=> String
|
5966
|
+
# resp.cluster.cluster_status #=> String
|
5967
|
+
# resp.cluster.modify_status #=> String
|
5968
|
+
# resp.cluster.master_username #=> String
|
5969
|
+
# resp.cluster.db_name #=> String
|
5970
|
+
# resp.cluster.endpoint.address #=> String
|
5971
|
+
# resp.cluster.endpoint.port #=> Integer
|
5972
|
+
# resp.cluster.cluster_create_time #=> Time
|
5973
|
+
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
5974
|
+
# resp.cluster.cluster_security_groups #=> Array
|
5975
|
+
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
5976
|
+
# resp.cluster.cluster_security_groups[0].status #=> String
|
5977
|
+
# resp.cluster.vpc_security_groups #=> Array
|
5978
|
+
# resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
|
5979
|
+
# resp.cluster.vpc_security_groups[0].status #=> String
|
5980
|
+
# resp.cluster.cluster_parameter_groups #=> Array
|
5981
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
|
5982
|
+
# resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
|
5983
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
|
5984
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
|
5985
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
|
5986
|
+
# resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
|
5987
|
+
# resp.cluster.cluster_subnet_group_name #=> String
|
5988
|
+
# resp.cluster.vpc_id #=> String
|
5989
|
+
# resp.cluster.availability_zone #=> String
|
5990
|
+
# resp.cluster.preferred_maintenance_window #=> String
|
5991
|
+
# resp.cluster.pending_modified_values.master_user_password #=> String
|
5992
|
+
# resp.cluster.pending_modified_values.node_type #=> String
|
5993
|
+
# resp.cluster.pending_modified_values.number_of_nodes #=> Integer
|
5994
|
+
# resp.cluster.pending_modified_values.cluster_type #=> String
|
5995
|
+
# resp.cluster.pending_modified_values.cluster_version #=> String
|
5996
|
+
# resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
|
5997
|
+
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5998
|
+
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5999
|
+
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
6000
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
6001
|
+
# resp.cluster.cluster_version #=> String
|
6002
|
+
# resp.cluster.allow_version_upgrade #=> Boolean
|
6003
|
+
# resp.cluster.number_of_nodes #=> Integer
|
6004
|
+
# resp.cluster.publicly_accessible #=> Boolean
|
6005
|
+
# resp.cluster.encrypted #=> Boolean
|
6006
|
+
# resp.cluster.restore_status.status #=> String
|
6007
|
+
# resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
|
6008
|
+
# resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
|
6009
|
+
# resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
|
6010
|
+
# resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
|
6011
|
+
# resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
|
6012
|
+
# resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
|
6013
|
+
# resp.cluster.hsm_status.hsm_configuration_identifier #=> String
|
6014
|
+
# resp.cluster.hsm_status.status #=> String
|
6015
|
+
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
6016
|
+
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
6017
|
+
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
6018
|
+
# resp.cluster.cluster_public_key #=> String
|
6019
|
+
# resp.cluster.cluster_nodes #=> Array
|
6020
|
+
# resp.cluster.cluster_nodes[0].node_role #=> String
|
6021
|
+
# resp.cluster.cluster_nodes[0].private_ip_address #=> String
|
6022
|
+
# resp.cluster.cluster_nodes[0].public_ip_address #=> String
|
6023
|
+
# resp.cluster.elastic_ip_status.elastic_ip #=> String
|
6024
|
+
# resp.cluster.elastic_ip_status.status #=> String
|
6025
|
+
# resp.cluster.cluster_revision_number #=> String
|
6026
|
+
# resp.cluster.tags #=> Array
|
6027
|
+
# resp.cluster.tags[0].key #=> String
|
6028
|
+
# resp.cluster.tags[0].value #=> String
|
6029
|
+
# resp.cluster.kms_key_id #=> String
|
6030
|
+
# resp.cluster.enhanced_vpc_routing #=> Boolean
|
6031
|
+
# resp.cluster.iam_roles #=> Array
|
6032
|
+
# resp.cluster.iam_roles[0].iam_role_arn #=> String
|
6033
|
+
# resp.cluster.iam_roles[0].apply_status #=> String
|
6034
|
+
# resp.cluster.pending_actions #=> Array
|
6035
|
+
# resp.cluster.pending_actions[0] #=> String
|
6036
|
+
# resp.cluster.maintenance_track_name #=> String
|
6037
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
6038
|
+
#
|
6039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster AWS API Documentation
|
6040
|
+
#
|
6041
|
+
# @overload resize_cluster(params = {})
|
6042
|
+
# @param [Hash] params ({})
|
6043
|
+
def resize_cluster(params = {}, options = {})
|
6044
|
+
req = build_request(:resize_cluster, params)
|
6045
|
+
req.send_request(options)
|
6046
|
+
end
|
6047
|
+
|
5916
6048
|
# Creates a new cluster from a snapshot. By default, Amazon Redshift
|
5917
6049
|
# creates the resulting cluster with the same configuration as the
|
5918
6050
|
# original cluster from which the snapshot was created, except that the
|
@@ -6242,6 +6374,7 @@ module Aws::Redshift
|
|
6242
6374
|
# resp.cluster.pending_actions #=> Array
|
6243
6375
|
# resp.cluster.pending_actions[0] #=> String
|
6244
6376
|
# resp.cluster.maintenance_track_name #=> String
|
6377
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
6245
6378
|
#
|
6246
6379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
|
6247
6380
|
#
|
@@ -6594,6 +6727,7 @@ module Aws::Redshift
|
|
6594
6727
|
# resp.cluster.pending_actions #=> Array
|
6595
6728
|
# resp.cluster.pending_actions[0] #=> String
|
6596
6729
|
# resp.cluster.maintenance_track_name #=> String
|
6730
|
+
# resp.cluster.elastic_resize_number_of_node_options #=> String
|
6597
6731
|
#
|
6598
6732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
|
6599
6733
|
#
|
@@ -6617,7 +6751,7 @@ module Aws::Redshift
|
|
6617
6751
|
params: params,
|
6618
6752
|
config: config)
|
6619
6753
|
context[:gem_name] = 'aws-sdk-redshift'
|
6620
|
-
context[:gem_version] = '1.
|
6754
|
+
context[:gem_version] = '1.7.0'
|
6621
6755
|
Seahorse::Client::Request.new(handlers, context)
|
6622
6756
|
end
|
6623
6757
|
|
@@ -261,6 +261,8 @@ module Aws::Redshift
|
|
261
261
|
ReservedNodeQuotaExceededFault = Shapes::StructureShape.new(name: 'ReservedNodeQuotaExceededFault')
|
262
262
|
ReservedNodesMessage = Shapes::StructureShape.new(name: 'ReservedNodesMessage')
|
263
263
|
ResetClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'ResetClusterParameterGroupMessage')
|
264
|
+
ResizeClusterMessage = Shapes::StructureShape.new(name: 'ResizeClusterMessage')
|
265
|
+
ResizeClusterResult = Shapes::StructureShape.new(name: 'ResizeClusterResult')
|
264
266
|
ResizeNotFoundFault = Shapes::StructureShape.new(name: 'ResizeNotFoundFault')
|
265
267
|
ResizeProgressMessage = Shapes::StructureShape.new(name: 'ResizeProgressMessage')
|
266
268
|
ResourceNotFoundFault = Shapes::StructureShape.new(name: 'ResourceNotFoundFault')
|
@@ -406,6 +408,7 @@ module Aws::Redshift
|
|
406
408
|
Cluster.add_member(:iam_roles, Shapes::ShapeRef.new(shape: ClusterIamRoleList, location_name: "IamRoles"))
|
407
409
|
Cluster.add_member(:pending_actions, Shapes::ShapeRef.new(shape: PendingActionsList, location_name: "PendingActions"))
|
408
410
|
Cluster.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
411
|
+
Cluster.add_member(:elastic_resize_number_of_node_options, Shapes::ShapeRef.new(shape: String, location_name: "ElasticResizeNumberOfNodeOptions"))
|
409
412
|
Cluster.struct_class = Types::Cluster
|
410
413
|
|
411
414
|
ClusterCredentials.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -1181,6 +1184,16 @@ module Aws::Redshift
|
|
1181
1184
|
ResetClusterParameterGroupMessage.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
|
1182
1185
|
ResetClusterParameterGroupMessage.struct_class = Types::ResetClusterParameterGroupMessage
|
1183
1186
|
|
1187
|
+
ResizeClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1188
|
+
ResizeClusterMessage.add_member(:cluster_type, Shapes::ShapeRef.new(shape: String, location_name: "ClusterType"))
|
1189
|
+
ResizeClusterMessage.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
1190
|
+
ResizeClusterMessage.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "NumberOfNodes"))
|
1191
|
+
ResizeClusterMessage.add_member(:classic, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Classic"))
|
1192
|
+
ResizeClusterMessage.struct_class = Types::ResizeClusterMessage
|
1193
|
+
|
1194
|
+
ResizeClusterResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
1195
|
+
ResizeClusterResult.struct_class = Types::ResizeClusterResult
|
1196
|
+
|
1184
1197
|
ResizeProgressMessage.add_member(:target_node_type, Shapes::ShapeRef.new(shape: String, location_name: "TargetNodeType"))
|
1185
1198
|
ResizeProgressMessage.add_member(:target_number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "TargetNumberOfNodes"))
|
1186
1199
|
ResizeProgressMessage.add_member(:target_cluster_type, Shapes::ShapeRef.new(shape: String, location_name: "TargetClusterType"))
|
@@ -1193,6 +1206,8 @@ module Aws::Redshift
|
|
1193
1206
|
ResizeProgressMessage.add_member(:progress_in_mega_bytes, Shapes::ShapeRef.new(shape: LongOptional, location_name: "ProgressInMegaBytes"))
|
1194
1207
|
ResizeProgressMessage.add_member(:elapsed_time_in_seconds, Shapes::ShapeRef.new(shape: LongOptional, location_name: "ElapsedTimeInSeconds"))
|
1195
1208
|
ResizeProgressMessage.add_member(:estimated_time_to_completion_in_seconds, Shapes::ShapeRef.new(shape: LongOptional, location_name: "EstimatedTimeToCompletionInSeconds"))
|
1209
|
+
ResizeProgressMessage.add_member(:resize_type, Shapes::ShapeRef.new(shape: String, location_name: "ResizeType"))
|
1210
|
+
ResizeProgressMessage.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1196
1211
|
ResizeProgressMessage.struct_class = Types::ResizeProgressMessage
|
1197
1212
|
|
1198
1213
|
RestorableNodeTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "NodeType")
|
@@ -2239,6 +2254,23 @@ module Aws::Redshift
|
|
2239
2254
|
o.errors << Shapes::ShapeRef.new(shape: ClusterParameterGroupNotFoundFault)
|
2240
2255
|
end)
|
2241
2256
|
|
2257
|
+
api.add_operation(:resize_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2258
|
+
o.name = "ResizeCluster"
|
2259
|
+
o.http_method = "POST"
|
2260
|
+
o.http_request_uri = "/"
|
2261
|
+
o.input = Shapes::ShapeRef.new(shape: ResizeClusterMessage)
|
2262
|
+
o.output = Shapes::ShapeRef.new(shape: ResizeClusterResult)
|
2263
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
|
2264
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
2265
|
+
o.errors << Shapes::ShapeRef.new(shape: NumberOfNodesQuotaExceededFault)
|
2266
|
+
o.errors << Shapes::ShapeRef.new(shape: NumberOfNodesPerClusterLimitExceededFault)
|
2267
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientClusterCapacityFault)
|
2268
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOptionFault)
|
2269
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
2270
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
|
2271
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
2272
|
+
end)
|
2273
|
+
|
2242
2274
|
api.add_operation(:restore_from_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
2243
2275
|
o.name = "RestoreFromClusterSnapshot"
|
2244
2276
|
o.http_method = "POST"
|
@@ -406,6 +406,11 @@ module Aws::Redshift
|
|
406
406
|
# The name of the maintenance track for the cluster.
|
407
407
|
# @return [String]
|
408
408
|
#
|
409
|
+
# @!attribute [rw] elastic_resize_number_of_node_options
|
410
|
+
# Indicates the number of nodes the cluster can be resized to with the
|
411
|
+
# elastic resize method.
|
412
|
+
# @return [String]
|
413
|
+
#
|
409
414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
|
410
415
|
#
|
411
416
|
class Cluster < Struct.new(
|
@@ -443,7 +448,8 @@ module Aws::Redshift
|
|
443
448
|
:enhanced_vpc_routing,
|
444
449
|
:iam_roles,
|
445
450
|
:pending_actions,
|
446
|
-
:maintenance_track_name
|
451
|
+
:maintenance_track_name,
|
452
|
+
:elastic_resize_number_of_node_options)
|
447
453
|
include Aws::Structure
|
448
454
|
end
|
449
455
|
|
@@ -5875,6 +5881,60 @@ module Aws::Redshift
|
|
5875
5881
|
include Aws::Structure
|
5876
5882
|
end
|
5877
5883
|
|
5884
|
+
# @note When making an API call, you may pass ResizeClusterMessage
|
5885
|
+
# data as a hash:
|
5886
|
+
#
|
5887
|
+
# {
|
5888
|
+
# cluster_identifier: "String", # required
|
5889
|
+
# cluster_type: "String",
|
5890
|
+
# node_type: "String",
|
5891
|
+
# number_of_nodes: 1, # required
|
5892
|
+
# classic: false,
|
5893
|
+
# }
|
5894
|
+
#
|
5895
|
+
# @!attribute [rw] cluster_identifier
|
5896
|
+
# The unique identifier for the cluster to resize.
|
5897
|
+
# @return [String]
|
5898
|
+
#
|
5899
|
+
# @!attribute [rw] cluster_type
|
5900
|
+
# The new cluster type for the specified cluster.
|
5901
|
+
# @return [String]
|
5902
|
+
#
|
5903
|
+
# @!attribute [rw] node_type
|
5904
|
+
# The new node type for the nodes you are adding.
|
5905
|
+
# @return [String]
|
5906
|
+
#
|
5907
|
+
# @!attribute [rw] number_of_nodes
|
5908
|
+
# The new number of nodes for the cluster.
|
5909
|
+
# @return [Integer]
|
5910
|
+
#
|
5911
|
+
# @!attribute [rw] classic
|
5912
|
+
# A boolean value indicating whether the resize operation is using the
|
5913
|
+
# classic resize process.
|
5914
|
+
# @return [Boolean]
|
5915
|
+
#
|
5916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeClusterMessage AWS API Documentation
|
5917
|
+
#
|
5918
|
+
class ResizeClusterMessage < Struct.new(
|
5919
|
+
:cluster_identifier,
|
5920
|
+
:cluster_type,
|
5921
|
+
:node_type,
|
5922
|
+
:number_of_nodes,
|
5923
|
+
:classic)
|
5924
|
+
include Aws::Structure
|
5925
|
+
end
|
5926
|
+
|
5927
|
+
# @!attribute [rw] cluster
|
5928
|
+
# Describes a cluster.
|
5929
|
+
# @return [Types::Cluster]
|
5930
|
+
#
|
5931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeClusterResult AWS API Documentation
|
5932
|
+
#
|
5933
|
+
class ResizeClusterResult < Struct.new(
|
5934
|
+
:cluster)
|
5935
|
+
include Aws::Structure
|
5936
|
+
end
|
5937
|
+
|
5878
5938
|
# Describes the result of a cluster resize operation.
|
5879
5939
|
#
|
5880
5940
|
# @!attribute [rw] target_node_type
|
@@ -5951,6 +6011,16 @@ module Aws::Redshift
|
|
5951
6011
|
# Once the resize operation is complete, this value will be 0.
|
5952
6012
|
# @return [Integer]
|
5953
6013
|
#
|
6014
|
+
# @!attribute [rw] resize_type
|
6015
|
+
# An enum with possible values of ClassicResize and ElasticResize.
|
6016
|
+
# These values describe the type of resize operation being performed.
|
6017
|
+
# @return [String]
|
6018
|
+
#
|
6019
|
+
# @!attribute [rw] message
|
6020
|
+
# An optional string to provide additional details about the resize
|
6021
|
+
# action.
|
6022
|
+
# @return [String]
|
6023
|
+
#
|
5954
6024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeProgressMessage AWS API Documentation
|
5955
6025
|
#
|
5956
6026
|
class ResizeProgressMessage < Struct.new(
|
@@ -5965,7 +6035,9 @@ module Aws::Redshift
|
|
5965
6035
|
:total_resize_data_in_mega_bytes,
|
5966
6036
|
:progress_in_mega_bytes,
|
5967
6037
|
:elapsed_time_in_seconds,
|
5968
|
-
:estimated_time_to_completion_in_seconds
|
6038
|
+
:estimated_time_to_completion_in_seconds,
|
6039
|
+
:resize_type,
|
6040
|
+
:message)
|
5969
6041
|
include Aws::Structure
|
5970
6042
|
end
|
5971
6043
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.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: 2018-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|