aws-sdk-redshift 1.4.0 → 1.5.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
2
  SHA1:
3
- metadata.gz: 8dd513b2fb343eb6473bca402f41111b7c8c96b7
4
- data.tar.gz: 8be7527ee127e6aa05417c20874b996524dd176e
3
+ metadata.gz: ab42e6d9afd89de446debb88001d99b98b5a3156
4
+ data.tar.gz: 68d08afe7e065407c3336f366d783f55f0889874
5
5
  SHA512:
6
- metadata.gz: d6b64cb0124dd8276680c6f2a40f42186984fce41428af74f1af367268aaa8672963f0145be4f1574bd46cd892a66b1fe9af619f29bb5503a05daaf78fba46bc
7
- data.tar.gz: 4602e4a2910c56b1a58645f60c463c5c9e7d61b046fd10bf247bd0a833728c26cde838193e7fd8df1df0ed131e7063f41f31be829e162f8746a0872df745c6ac
6
+ metadata.gz: 556820aa267c4ebed217a4653dd7f2288e64502fa97488118b8156825f4a87c87730395bdc8960e123488bf75672bb34cf599b888d40b4df0f1a1f582c72b1ad
7
+ data.tar.gz: 4a92f36a9799261669183d042a6e02262019664a7abec02980aa30e748869c3d613ddbcb9e5dc7e9d7e39a8ca6faaad9da82ac63f23b5c7ff44c065c365cc6f9
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-redshift/customizations'
43
43
  # @service
44
44
  module Aws::Redshift
45
45
 
46
- GEM_VERSION = '1.4.0'
46
+ GEM_VERSION = '1.5.0'
47
47
 
48
48
  end
@@ -156,6 +156,56 @@ module Aws::Redshift
156
156
 
157
157
  # @!group API Operations
158
158
 
159
+ # Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes
160
+ # to the configuration (term, payment type, or number of nodes) and no
161
+ # additional costs.
162
+ #
163
+ # @option params [required, String] :reserved_node_id
164
+ # A string representing the identifier of the Reserved Node to be
165
+ # exchanged.
166
+ #
167
+ # @option params [required, String] :target_reserved_node_offering_id
168
+ # The unique identifier of the Reserved Node offering to be used for the
169
+ # exchange.
170
+ #
171
+ # @return [Types::AcceptReservedNodeExchangeOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
172
+ #
173
+ # * {Types::AcceptReservedNodeExchangeOutputMessage#exchanged_reserved_node #exchanged_reserved_node} => Types::ReservedNode
174
+ #
175
+ # @example Request syntax with placeholder values
176
+ #
177
+ # resp = client.accept_reserved_node_exchange({
178
+ # reserved_node_id: "String", # required
179
+ # target_reserved_node_offering_id: "String", # required
180
+ # })
181
+ #
182
+ # @example Response structure
183
+ #
184
+ # resp.exchanged_reserved_node.reserved_node_id #=> String
185
+ # resp.exchanged_reserved_node.reserved_node_offering_id #=> String
186
+ # resp.exchanged_reserved_node.node_type #=> String
187
+ # resp.exchanged_reserved_node.start_time #=> Time
188
+ # resp.exchanged_reserved_node.duration #=> Integer
189
+ # resp.exchanged_reserved_node.fixed_price #=> Float
190
+ # resp.exchanged_reserved_node.usage_price #=> Float
191
+ # resp.exchanged_reserved_node.currency_code #=> String
192
+ # resp.exchanged_reserved_node.node_count #=> Integer
193
+ # resp.exchanged_reserved_node.state #=> String
194
+ # resp.exchanged_reserved_node.offering_type #=> String
195
+ # resp.exchanged_reserved_node.recurring_charges #=> Array
196
+ # resp.exchanged_reserved_node.recurring_charges[0].recurring_charge_amount #=> Float
197
+ # resp.exchanged_reserved_node.recurring_charges[0].recurring_charge_frequency #=> String
198
+ # resp.exchanged_reserved_node.reserved_node_offering_type #=> String, one of "Regular", "Upgradable"
199
+ #
200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchange AWS API Documentation
201
+ #
202
+ # @overload accept_reserved_node_exchange(params = {})
203
+ # @param [Hash] params ({})
204
+ def accept_reserved_node_exchange(params = {}, options = {})
205
+ req = build_request(:accept_reserved_node_exchange, params)
206
+ req.send_request(options)
207
+ end
208
+
159
209
  # Adds an inbound (ingress) rule to an Amazon Redshift security group.
160
210
  # Depending on whether the application accessing your cluster is running
161
211
  # on the Internet or an Amazon EC2 instance, you can authorize inbound
@@ -442,8 +492,8 @@ module Aws::Redshift
442
492
 
443
493
  # Creates a new cluster.
444
494
  #
445
- # To create the cluster in Virtual Private Cloud (VPC), you must provide
446
- # a cluster subnet group name. The cluster subnet group identifies the
495
+ # To create a cluster in Virtual Private Cloud (VPC), you must provide a
496
+ # cluster subnet group name. The cluster subnet group identifies the
447
497
  # subnets of your VPC that Amazon Redshift uses when creating the
448
498
  # cluster. For more information about managing clusters, go to [Amazon
449
499
  # Redshift Clusters][1] in the *Amazon Redshift Cluster Management
@@ -867,6 +917,8 @@ module Aws::Redshift
867
917
  # resp.cluster.iam_roles #=> Array
868
918
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
869
919
  # resp.cluster.iam_roles[0].apply_status #=> String
920
+ # resp.cluster.pending_actions #=> Array
921
+ # resp.cluster.pending_actions[0] #=> String
870
922
  #
871
923
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
872
924
  #
@@ -1746,6 +1798,8 @@ module Aws::Redshift
1746
1798
  # resp.cluster.iam_roles #=> Array
1747
1799
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
1748
1800
  # resp.cluster.iam_roles[0].apply_status #=> String
1801
+ # resp.cluster.pending_actions #=> Array
1802
+ # resp.cluster.pending_actions[0] #=> String
1749
1803
  #
1750
1804
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
1751
1805
  #
@@ -2046,6 +2100,71 @@ module Aws::Redshift
2046
2100
  req.send_request(options)
2047
2101
  end
2048
2102
 
2103
+ # Returns an array of `ClusterDbRevision` objects.
2104
+ #
2105
+ # @option params [String] :cluster_identifier
2106
+ # A unique identifier for a cluster whose `ClusterDbRevisions` you are
2107
+ # requesting. This parameter is case sensitive. All clusters defined for
2108
+ # an account are returned by default.
2109
+ #
2110
+ # @option params [Integer] :max_records
2111
+ # The maximum number of response records to return in each call. If the
2112
+ # number of remaining response records exceeds the specified MaxRecords
2113
+ # value, a value is returned in the `marker` field of the response. You
2114
+ # can retrieve the next set of response records by providing the
2115
+ # returned `marker` value in the `marker` parameter and retrying the
2116
+ # request.
2117
+ #
2118
+ # Default: 100
2119
+ #
2120
+ # Constraints: minimum 20, maximum 100.
2121
+ #
2122
+ # @option params [String] :marker
2123
+ # An optional parameter that specifies the starting point for returning
2124
+ # a set of response records. When the results of a
2125
+ # `DescribeClusterDbRevisions` request exceed the value specified in
2126
+ # `MaxRecords`, Amazon Redshift returns a value in the `marker` field of
2127
+ # the response. You can retrieve the next set of response records by
2128
+ # providing the returned `marker` value in the `marker` parameter and
2129
+ # retrying the request.
2130
+ #
2131
+ # Constraints: You can specify either the `ClusterIdentifier` parameter,
2132
+ # or the `marker` parameter, but not both.
2133
+ #
2134
+ # @return [Types::ClusterDbRevisionsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2135
+ #
2136
+ # * {Types::ClusterDbRevisionsMessage#marker #marker} => String
2137
+ # * {Types::ClusterDbRevisionsMessage#cluster_db_revisions #cluster_db_revisions} => Array<Types::ClusterDbRevision>
2138
+ #
2139
+ # @example Request syntax with placeholder values
2140
+ #
2141
+ # resp = client.describe_cluster_db_revisions({
2142
+ # cluster_identifier: "String",
2143
+ # max_records: 1,
2144
+ # marker: "String",
2145
+ # })
2146
+ #
2147
+ # @example Response structure
2148
+ #
2149
+ # resp.marker #=> String
2150
+ # resp.cluster_db_revisions #=> Array
2151
+ # resp.cluster_db_revisions[0].cluster_identifier #=> String
2152
+ # resp.cluster_db_revisions[0].current_database_revision #=> String
2153
+ # resp.cluster_db_revisions[0].database_revision_release_date #=> Time
2154
+ # resp.cluster_db_revisions[0].revision_targets #=> Array
2155
+ # resp.cluster_db_revisions[0].revision_targets[0].database_revision #=> String
2156
+ # resp.cluster_db_revisions[0].revision_targets[0].description #=> String
2157
+ # resp.cluster_db_revisions[0].revision_targets[0].database_revision_release_date #=> Time
2158
+ #
2159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterDbRevisions AWS API Documentation
2160
+ #
2161
+ # @overload describe_cluster_db_revisions(params = {})
2162
+ # @param [Hash] params ({})
2163
+ def describe_cluster_db_revisions(params = {}, options = {})
2164
+ req = build_request(:describe_cluster_db_revisions, params)
2165
+ req.send_request(options)
2166
+ end
2167
+
2049
2168
  # Returns a list of Amazon Redshift parameter groups, including
2050
2169
  # parameter groups you created and the default parameter group. For each
2051
2170
  # parameter group, the response includes the parameter group name,
@@ -2860,6 +2979,8 @@ module Aws::Redshift
2860
2979
  # resp.clusters[0].iam_roles #=> Array
2861
2980
  # resp.clusters[0].iam_roles[0].iam_role_arn #=> String
2862
2981
  # resp.clusters[0].iam_roles[0].apply_status #=> String
2982
+ # resp.clusters[0].pending_actions #=> Array
2983
+ # resp.clusters[0].pending_actions[0] #=> String
2863
2984
  #
2864
2985
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
2865
2986
  #
@@ -4158,6 +4279,8 @@ module Aws::Redshift
4158
4279
  # resp.cluster.iam_roles #=> Array
4159
4280
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
4160
4281
  # resp.cluster.iam_roles[0].apply_status #=> String
4282
+ # resp.cluster.pending_actions #=> Array
4283
+ # resp.cluster.pending_actions[0] #=> String
4161
4284
  #
4162
4285
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
4163
4286
  #
@@ -4358,6 +4481,8 @@ module Aws::Redshift
4358
4481
  # resp.cluster.iam_roles #=> Array
4359
4482
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
4360
4483
  # resp.cluster.iam_roles[0].apply_status #=> String
4484
+ # resp.cluster.pending_actions #=> Array
4485
+ # resp.cluster.pending_actions[0] #=> String
4361
4486
  #
4362
4487
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
4363
4488
  #
@@ -4528,6 +4653,59 @@ module Aws::Redshift
4528
4653
  req.send_request(options)
4529
4654
  end
4530
4655
 
4656
+ # Returns an array of ReservedNodeOfferings which is filtered by payment
4657
+ # type, term, and instance type.
4658
+ #
4659
+ # @option params [required, String] :reserved_node_id
4660
+ # A string representing the node identifier for the Reserved Node to be
4661
+ # exchanged.
4662
+ #
4663
+ # @option params [Integer] :max_records
4664
+ # An integer setting the maximum number of ReservedNodeOfferings to
4665
+ # retrieve.
4666
+ #
4667
+ # @option params [String] :marker
4668
+ # A value that indicates the starting point for the next set of
4669
+ # ReservedNodeOfferings.
4670
+ #
4671
+ # @return [Types::GetReservedNodeExchangeOfferingsOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4672
+ #
4673
+ # * {Types::GetReservedNodeExchangeOfferingsOutputMessage#marker #marker} => String
4674
+ # * {Types::GetReservedNodeExchangeOfferingsOutputMessage#reserved_node_offerings #reserved_node_offerings} => Array<Types::ReservedNodeOffering>
4675
+ #
4676
+ # @example Request syntax with placeholder values
4677
+ #
4678
+ # resp = client.get_reserved_node_exchange_offerings({
4679
+ # reserved_node_id: "String", # required
4680
+ # max_records: 1,
4681
+ # marker: "String",
4682
+ # })
4683
+ #
4684
+ # @example Response structure
4685
+ #
4686
+ # resp.marker #=> String
4687
+ # resp.reserved_node_offerings #=> Array
4688
+ # resp.reserved_node_offerings[0].reserved_node_offering_id #=> String
4689
+ # resp.reserved_node_offerings[0].node_type #=> String
4690
+ # resp.reserved_node_offerings[0].duration #=> Integer
4691
+ # resp.reserved_node_offerings[0].fixed_price #=> Float
4692
+ # resp.reserved_node_offerings[0].usage_price #=> Float
4693
+ # resp.reserved_node_offerings[0].currency_code #=> String
4694
+ # resp.reserved_node_offerings[0].offering_type #=> String
4695
+ # resp.reserved_node_offerings[0].recurring_charges #=> Array
4696
+ # resp.reserved_node_offerings[0].recurring_charges[0].recurring_charge_amount #=> Float
4697
+ # resp.reserved_node_offerings[0].recurring_charges[0].recurring_charge_frequency #=> String
4698
+ # resp.reserved_node_offerings[0].reserved_node_offering_type #=> String, one of "Regular", "Upgradable"
4699
+ #
4700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeOfferings AWS API Documentation
4701
+ #
4702
+ # @overload get_reserved_node_exchange_offerings(params = {})
4703
+ # @param [Hash] params ({})
4704
+ def get_reserved_node_exchange_offerings(params = {}, options = {})
4705
+ req = build_request(:get_reserved_node_exchange_offerings, params)
4706
+ req.send_request(options)
4707
+ end
4708
+
4531
4709
  # Modifies the settings for a cluster. For example, you can add another
4532
4710
  # security or parameter group, update the preferred maintenance window,
4533
4711
  # or change the master user password. Resetting a cluster password or
@@ -4863,6 +5041,8 @@ module Aws::Redshift
4863
5041
  # resp.cluster.iam_roles #=> Array
4864
5042
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
4865
5043
  # resp.cluster.iam_roles[0].apply_status #=> String
5044
+ # resp.cluster.pending_actions #=> Array
5045
+ # resp.cluster.pending_actions[0] #=> String
4866
5046
  #
4867
5047
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
4868
5048
  #
@@ -4873,6 +5053,113 @@ module Aws::Redshift
4873
5053
  req.send_request(options)
4874
5054
  end
4875
5055
 
5056
+ # Modifies the database revision of a cluster. The database revision is
5057
+ # a unique revision of the database running in a cluster.
5058
+ #
5059
+ # @option params [required, String] :cluster_identifier
5060
+ # The unique identifier of a cluster whose database revision you want to
5061
+ # modify.
5062
+ #
5063
+ # Example: `examplecluster`
5064
+ #
5065
+ # @option params [required, String] :revision_target
5066
+ # The identifier of the database revision. You can retrieve this value
5067
+ # from the response to the DescribeClusterDbRevisions request.
5068
+ #
5069
+ # @return [Types::ModifyClusterDbRevisionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5070
+ #
5071
+ # * {Types::ModifyClusterDbRevisionResult#cluster #cluster} => Types::Cluster
5072
+ #
5073
+ # @example Request syntax with placeholder values
5074
+ #
5075
+ # resp = client.modify_cluster_db_revision({
5076
+ # cluster_identifier: "String", # required
5077
+ # revision_target: "String", # required
5078
+ # })
5079
+ #
5080
+ # @example Response structure
5081
+ #
5082
+ # resp.cluster.cluster_identifier #=> String
5083
+ # resp.cluster.node_type #=> String
5084
+ # resp.cluster.cluster_status #=> String
5085
+ # resp.cluster.modify_status #=> String
5086
+ # resp.cluster.master_username #=> String
5087
+ # resp.cluster.db_name #=> String
5088
+ # resp.cluster.endpoint.address #=> String
5089
+ # resp.cluster.endpoint.port #=> Integer
5090
+ # resp.cluster.cluster_create_time #=> Time
5091
+ # resp.cluster.automated_snapshot_retention_period #=> Integer
5092
+ # resp.cluster.cluster_security_groups #=> Array
5093
+ # resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
5094
+ # resp.cluster.cluster_security_groups[0].status #=> String
5095
+ # resp.cluster.vpc_security_groups #=> Array
5096
+ # resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
5097
+ # resp.cluster.vpc_security_groups[0].status #=> String
5098
+ # resp.cluster.cluster_parameter_groups #=> Array
5099
+ # resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
5100
+ # resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
5101
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
5102
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
5103
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
5104
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
5105
+ # resp.cluster.cluster_subnet_group_name #=> String
5106
+ # resp.cluster.vpc_id #=> String
5107
+ # resp.cluster.availability_zone #=> String
5108
+ # resp.cluster.preferred_maintenance_window #=> String
5109
+ # resp.cluster.pending_modified_values.master_user_password #=> String
5110
+ # resp.cluster.pending_modified_values.node_type #=> String
5111
+ # resp.cluster.pending_modified_values.number_of_nodes #=> Integer
5112
+ # resp.cluster.pending_modified_values.cluster_type #=> String
5113
+ # resp.cluster.pending_modified_values.cluster_version #=> String
5114
+ # resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
5115
+ # resp.cluster.pending_modified_values.cluster_identifier #=> String
5116
+ # resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
5117
+ # resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
5118
+ # resp.cluster.cluster_version #=> String
5119
+ # resp.cluster.allow_version_upgrade #=> Boolean
5120
+ # resp.cluster.number_of_nodes #=> Integer
5121
+ # resp.cluster.publicly_accessible #=> Boolean
5122
+ # resp.cluster.encrypted #=> Boolean
5123
+ # resp.cluster.restore_status.status #=> String
5124
+ # resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
5125
+ # resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
5126
+ # resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
5127
+ # resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
5128
+ # resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
5129
+ # resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
5130
+ # resp.cluster.hsm_status.hsm_configuration_identifier #=> String
5131
+ # resp.cluster.hsm_status.status #=> String
5132
+ # resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
5133
+ # resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
5134
+ # resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
5135
+ # resp.cluster.cluster_public_key #=> String
5136
+ # resp.cluster.cluster_nodes #=> Array
5137
+ # resp.cluster.cluster_nodes[0].node_role #=> String
5138
+ # resp.cluster.cluster_nodes[0].private_ip_address #=> String
5139
+ # resp.cluster.cluster_nodes[0].public_ip_address #=> String
5140
+ # resp.cluster.elastic_ip_status.elastic_ip #=> String
5141
+ # resp.cluster.elastic_ip_status.status #=> String
5142
+ # resp.cluster.cluster_revision_number #=> String
5143
+ # resp.cluster.tags #=> Array
5144
+ # resp.cluster.tags[0].key #=> String
5145
+ # resp.cluster.tags[0].value #=> String
5146
+ # resp.cluster.kms_key_id #=> String
5147
+ # resp.cluster.enhanced_vpc_routing #=> Boolean
5148
+ # resp.cluster.iam_roles #=> Array
5149
+ # resp.cluster.iam_roles[0].iam_role_arn #=> String
5150
+ # resp.cluster.iam_roles[0].apply_status #=> String
5151
+ # resp.cluster.pending_actions #=> Array
5152
+ # resp.cluster.pending_actions[0] #=> String
5153
+ #
5154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
5155
+ #
5156
+ # @overload modify_cluster_db_revision(params = {})
5157
+ # @param [Hash] params ({})
5158
+ def modify_cluster_db_revision(params = {}, options = {})
5159
+ req = build_request(:modify_cluster_db_revision, params)
5160
+ req.send_request(options)
5161
+ end
5162
+
4876
5163
  # Modifies the list of AWS Identity and Access Management (IAM) roles
4877
5164
  # that can be used by the cluster to access other AWS services.
4878
5165
  #
@@ -4975,6 +5262,8 @@ module Aws::Redshift
4975
5262
  # resp.cluster.iam_roles #=> Array
4976
5263
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
4977
5264
  # resp.cluster.iam_roles[0].apply_status #=> String
5265
+ # resp.cluster.pending_actions #=> Array
5266
+ # resp.cluster.pending_actions[0] #=> String
4978
5267
  #
4979
5268
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
4980
5269
  #
@@ -5292,6 +5581,8 @@ module Aws::Redshift
5292
5581
  # resp.cluster.iam_roles #=> Array
5293
5582
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
5294
5583
  # resp.cluster.iam_roles[0].apply_status #=> String
5584
+ # resp.cluster.pending_actions #=> Array
5585
+ # resp.cluster.pending_actions[0] #=> String
5295
5586
  #
5296
5587
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
5297
5588
  #
@@ -5459,6 +5750,8 @@ module Aws::Redshift
5459
5750
  # resp.cluster.iam_roles #=> Array
5460
5751
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
5461
5752
  # resp.cluster.iam_roles[0].apply_status #=> String
5753
+ # resp.cluster.pending_actions #=> Array
5754
+ # resp.cluster.pending_actions[0] #=> String
5462
5755
  #
5463
5756
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
5464
5757
  #
@@ -5845,6 +6138,8 @@ module Aws::Redshift
5845
6138
  # resp.cluster.iam_roles #=> Array
5846
6139
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
5847
6140
  # resp.cluster.iam_roles[0].apply_status #=> String
6141
+ # resp.cluster.pending_actions #=> Array
6142
+ # resp.cluster.pending_actions[0] #=> String
5848
6143
  #
5849
6144
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
5850
6145
  #
@@ -6192,6 +6487,8 @@ module Aws::Redshift
6192
6487
  # resp.cluster.iam_roles #=> Array
6193
6488
  # resp.cluster.iam_roles[0].iam_role_arn #=> String
6194
6489
  # resp.cluster.iam_roles[0].apply_status #=> String
6490
+ # resp.cluster.pending_actions #=> Array
6491
+ # resp.cluster.pending_actions[0] #=> String
6195
6492
  #
6196
6493
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
6197
6494
  #
@@ -6215,7 +6512,7 @@ module Aws::Redshift
6215
6512
  params: params,
6216
6513
  config: config)
6217
6514
  context[:gem_name] = 'aws-sdk-redshift'
6218
- context[:gem_version] = '1.4.0'
6515
+ context[:gem_version] = '1.5.0'
6219
6516
  Seahorse::Client::Request.new(handlers, context)
6220
6517
  end
6221
6518
 
@@ -11,6 +11,8 @@ module Aws::Redshift
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AcceptReservedNodeExchangeInputMessage = Shapes::StructureShape.new(name: 'AcceptReservedNodeExchangeInputMessage')
15
+ AcceptReservedNodeExchangeOutputMessage = Shapes::StructureShape.new(name: 'AcceptReservedNodeExchangeOutputMessage')
14
16
  AccessToSnapshotDeniedFault = Shapes::StructureShape.new(name: 'AccessToSnapshotDeniedFault')
15
17
  AccountWithRestoreAccess = Shapes::StructureShape.new(name: 'AccountWithRestoreAccess')
16
18
  AccountsWithRestoreAccessList = Shapes::ListShape.new(name: 'AccountsWithRestoreAccessList')
@@ -29,12 +31,16 @@ module Aws::Redshift
29
31
  Cluster = Shapes::StructureShape.new(name: 'Cluster')
30
32
  ClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'ClusterAlreadyExistsFault')
31
33
  ClusterCredentials = Shapes::StructureShape.new(name: 'ClusterCredentials')
34
+ ClusterDbRevision = Shapes::StructureShape.new(name: 'ClusterDbRevision')
35
+ ClusterDbRevisionsList = Shapes::ListShape.new(name: 'ClusterDbRevisionsList')
36
+ ClusterDbRevisionsMessage = Shapes::StructureShape.new(name: 'ClusterDbRevisionsMessage')
32
37
  ClusterIamRole = Shapes::StructureShape.new(name: 'ClusterIamRole')
33
38
  ClusterIamRoleList = Shapes::ListShape.new(name: 'ClusterIamRoleList')
34
39
  ClusterList = Shapes::ListShape.new(name: 'ClusterList')
35
40
  ClusterNode = Shapes::StructureShape.new(name: 'ClusterNode')
36
41
  ClusterNodesList = Shapes::ListShape.new(name: 'ClusterNodesList')
37
42
  ClusterNotFoundFault = Shapes::StructureShape.new(name: 'ClusterNotFoundFault')
43
+ ClusterOnLatestRevisionFault = Shapes::StructureShape.new(name: 'ClusterOnLatestRevisionFault')
38
44
  ClusterParameterGroup = Shapes::StructureShape.new(name: 'ClusterParameterGroup')
39
45
  ClusterParameterGroupAlreadyExistsFault = Shapes::StructureShape.new(name: 'ClusterParameterGroupAlreadyExistsFault')
40
46
  ClusterParameterGroupDetails = Shapes::StructureShape.new(name: 'ClusterParameterGroupDetails')
@@ -109,6 +115,7 @@ module Aws::Redshift
109
115
  DeleteTagsMessage = Shapes::StructureShape.new(name: 'DeleteTagsMessage')
110
116
  DependentServiceRequestThrottlingFault = Shapes::StructureShape.new(name: 'DependentServiceRequestThrottlingFault')
111
117
  DependentServiceUnavailableFault = Shapes::StructureShape.new(name: 'DependentServiceUnavailableFault')
118
+ DescribeClusterDbRevisionsMessage = Shapes::StructureShape.new(name: 'DescribeClusterDbRevisionsMessage')
112
119
  DescribeClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeClusterParameterGroupsMessage')
113
120
  DescribeClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeClusterParametersMessage')
114
121
  DescribeClusterSecurityGroupsMessage = Shapes::StructureShape.new(name: 'DescribeClusterSecurityGroupsMessage')
@@ -157,6 +164,8 @@ module Aws::Redshift
157
164
  EventSubscriptionsMessage = Shapes::StructureShape.new(name: 'EventSubscriptionsMessage')
158
165
  EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
159
166
  GetClusterCredentialsMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsMessage')
167
+ GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
168
+ GetReservedNodeExchangeOfferingsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsOutputMessage')
160
169
  HsmClientCertificate = Shapes::StructureShape.new(name: 'HsmClientCertificate')
161
170
  HsmClientCertificateAlreadyExistsFault = Shapes::StructureShape.new(name: 'HsmClientCertificateAlreadyExistsFault')
162
171
  HsmClientCertificateList = Shapes::ListShape.new(name: 'HsmClientCertificateList')
@@ -191,6 +200,7 @@ module Aws::Redshift
191
200
  InvalidElasticIpFault = Shapes::StructureShape.new(name: 'InvalidElasticIpFault')
192
201
  InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
193
202
  InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
203
+ InvalidReservedNodeStateFault = Shapes::StructureShape.new(name: 'InvalidReservedNodeStateFault')
194
204
  InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
195
205
  InvalidS3BucketNameFault = Shapes::StructureShape.new(name: 'InvalidS3BucketNameFault')
196
206
  InvalidS3KeyPrefixFault = Shapes::StructureShape.new(name: 'InvalidS3KeyPrefixFault')
@@ -204,6 +214,8 @@ module Aws::Redshift
204
214
  LoggingStatus = Shapes::StructureShape.new(name: 'LoggingStatus')
205
215
  Long = Shapes::IntegerShape.new(name: 'Long')
206
216
  LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
217
+ ModifyClusterDbRevisionMessage = Shapes::StructureShape.new(name: 'ModifyClusterDbRevisionMessage')
218
+ ModifyClusterDbRevisionResult = Shapes::StructureShape.new(name: 'ModifyClusterDbRevisionResult')
207
219
  ModifyClusterIamRolesMessage = Shapes::StructureShape.new(name: 'ModifyClusterIamRolesMessage')
208
220
  ModifyClusterIamRolesResult = Shapes::StructureShape.new(name: 'ModifyClusterIamRolesResult')
209
221
  ModifyClusterMessage = Shapes::StructureShape.new(name: 'ModifyClusterMessage')
@@ -224,6 +236,7 @@ module Aws::Redshift
224
236
  ParameterApplyType = Shapes::StringShape.new(name: 'ParameterApplyType')
225
237
  ParameterGroupList = Shapes::ListShape.new(name: 'ParameterGroupList')
226
238
  ParametersList = Shapes::ListShape.new(name: 'ParametersList')
239
+ PendingActionsList = Shapes::ListShape.new(name: 'PendingActionsList')
227
240
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
228
241
  PurchaseReservedNodeOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingMessage')
229
242
  PurchaseReservedNodeOfferingResult = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingResult')
@@ -233,6 +246,7 @@ module Aws::Redshift
233
246
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
234
247
  ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
235
248
  ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
249
+ ReservedNodeAlreadyMigratedFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyMigratedFault')
236
250
  ReservedNodeList = Shapes::ListShape.new(name: 'ReservedNodeList')
237
251
  ReservedNodeNotFoundFault = Shapes::StructureShape.new(name: 'ReservedNodeNotFoundFault')
238
252
  ReservedNodeOffering = Shapes::StructureShape.new(name: 'ReservedNodeOffering')
@@ -252,6 +266,8 @@ module Aws::Redshift
252
266
  RestoreStatus = Shapes::StructureShape.new(name: 'RestoreStatus')
253
267
  RestoreTableFromClusterSnapshotMessage = Shapes::StructureShape.new(name: 'RestoreTableFromClusterSnapshotMessage')
254
268
  RestoreTableFromClusterSnapshotResult = Shapes::StructureShape.new(name: 'RestoreTableFromClusterSnapshotResult')
269
+ RevisionTarget = Shapes::StructureShape.new(name: 'RevisionTarget')
270
+ RevisionTargetsList = Shapes::ListShape.new(name: 'RevisionTargetsList')
255
271
  RevokeClusterSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'RevokeClusterSecurityGroupIngressMessage')
256
272
  RevokeClusterSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeClusterSecurityGroupIngressResult')
257
273
  RevokeSnapshotAccessMessage = Shapes::StructureShape.new(name: 'RevokeSnapshotAccessMessage')
@@ -290,6 +306,7 @@ module Aws::Redshift
290
306
  SupportedPlatform = Shapes::StructureShape.new(name: 'SupportedPlatform')
291
307
  SupportedPlatformsList = Shapes::ListShape.new(name: 'SupportedPlatformsList')
292
308
  TStamp = Shapes::TimestampShape.new(name: 'TStamp')
309
+ TableLimitExceededFault = Shapes::StructureShape.new(name: 'TableLimitExceededFault')
293
310
  TableRestoreNotFoundFault = Shapes::StructureShape.new(name: 'TableRestoreNotFoundFault')
294
311
  TableRestoreStatus = Shapes::StructureShape.new(name: 'TableRestoreStatus')
295
312
  TableRestoreStatusList = Shapes::ListShape.new(name: 'TableRestoreStatusList')
@@ -311,6 +328,13 @@ module Aws::Redshift
311
328
  VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
312
329
  VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
313
330
 
331
+ AcceptReservedNodeExchangeInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeId"))
332
+ AcceptReservedNodeExchangeInputMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetReservedNodeOfferingId"))
333
+ AcceptReservedNodeExchangeInputMessage.struct_class = Types::AcceptReservedNodeExchangeInputMessage
334
+
335
+ AcceptReservedNodeExchangeOutputMessage.add_member(:exchanged_reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ExchangedReservedNode"))
336
+ AcceptReservedNodeExchangeOutputMessage.struct_class = Types::AcceptReservedNodeExchangeOutputMessage
337
+
314
338
  AccountWithRestoreAccess.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
315
339
  AccountWithRestoreAccess.add_member(:account_alias, Shapes::ShapeRef.new(shape: String, location_name: "AccountAlias"))
316
340
  AccountWithRestoreAccess.struct_class = Types::AccountWithRestoreAccess
@@ -373,6 +397,7 @@ module Aws::Redshift
373
397
  Cluster.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
374
398
  Cluster.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnhancedVpcRouting"))
375
399
  Cluster.add_member(:iam_roles, Shapes::ShapeRef.new(shape: ClusterIamRoleList, location_name: "IamRoles"))
400
+ Cluster.add_member(:pending_actions, Shapes::ShapeRef.new(shape: PendingActionsList, location_name: "PendingActions"))
376
401
  Cluster.struct_class = Types::Cluster
377
402
 
378
403
  ClusterCredentials.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
@@ -380,6 +405,18 @@ module Aws::Redshift
380
405
  ClusterCredentials.add_member(:expiration, Shapes::ShapeRef.new(shape: TStamp, location_name: "Expiration"))
381
406
  ClusterCredentials.struct_class = Types::ClusterCredentials
382
407
 
408
+ ClusterDbRevision.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
409
+ ClusterDbRevision.add_member(:current_database_revision, Shapes::ShapeRef.new(shape: String, location_name: "CurrentDatabaseRevision"))
410
+ ClusterDbRevision.add_member(:database_revision_release_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "DatabaseRevisionReleaseDate"))
411
+ ClusterDbRevision.add_member(:revision_targets, Shapes::ShapeRef.new(shape: RevisionTargetsList, location_name: "RevisionTargets"))
412
+ ClusterDbRevision.struct_class = Types::ClusterDbRevision
413
+
414
+ ClusterDbRevisionsList.member = Shapes::ShapeRef.new(shape: ClusterDbRevision, location_name: "ClusterDbRevision")
415
+
416
+ ClusterDbRevisionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
417
+ ClusterDbRevisionsMessage.add_member(:cluster_db_revisions, Shapes::ShapeRef.new(shape: ClusterDbRevisionsList, location_name: "ClusterDbRevisions"))
418
+ ClusterDbRevisionsMessage.struct_class = Types::ClusterDbRevisionsMessage
419
+
383
420
  ClusterIamRole.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamRoleArn"))
384
421
  ClusterIamRole.add_member(:apply_status, Shapes::ShapeRef.new(shape: String, location_name: "ApplyStatus"))
385
422
  ClusterIamRole.struct_class = Types::ClusterIamRole
@@ -647,6 +684,11 @@ module Aws::Redshift
647
684
  DeleteTagsMessage.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
648
685
  DeleteTagsMessage.struct_class = Types::DeleteTagsMessage
649
686
 
687
+ DescribeClusterDbRevisionsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
688
+ DescribeClusterDbRevisionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
689
+ DescribeClusterDbRevisionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
690
+ DescribeClusterDbRevisionsMessage.struct_class = Types::DescribeClusterDbRevisionsMessage
691
+
650
692
  DescribeClusterParameterGroupsMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupName"))
651
693
  DescribeClusterParameterGroupsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
652
694
  DescribeClusterParameterGroupsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -884,6 +926,15 @@ module Aws::Redshift
884
926
  GetClusterCredentialsMessage.add_member(:db_groups, Shapes::ShapeRef.new(shape: DbGroupList, location_name: "DbGroups"))
885
927
  GetClusterCredentialsMessage.struct_class = Types::GetClusterCredentialsMessage
886
928
 
929
+ GetReservedNodeExchangeOfferingsInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeId"))
930
+ GetReservedNodeExchangeOfferingsInputMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
931
+ GetReservedNodeExchangeOfferingsInputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
932
+ GetReservedNodeExchangeOfferingsInputMessage.struct_class = Types::GetReservedNodeExchangeOfferingsInputMessage
933
+
934
+ GetReservedNodeExchangeOfferingsOutputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
935
+ GetReservedNodeExchangeOfferingsOutputMessage.add_member(:reserved_node_offerings, Shapes::ShapeRef.new(shape: ReservedNodeOfferingList, location_name: "ReservedNodeOfferings"))
936
+ GetReservedNodeExchangeOfferingsOutputMessage.struct_class = Types::GetReservedNodeExchangeOfferingsOutputMessage
937
+
887
938
  HsmClientCertificate.add_member(:hsm_client_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificateIdentifier"))
888
939
  HsmClientCertificate.add_member(:hsm_client_certificate_public_key, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificatePublicKey"))
889
940
  HsmClientCertificate.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -936,6 +987,13 @@ module Aws::Redshift
936
987
  LoggingStatus.add_member(:last_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "LastFailureMessage"))
937
988
  LoggingStatus.struct_class = Types::LoggingStatus
938
989
 
990
+ ModifyClusterDbRevisionMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
991
+ ModifyClusterDbRevisionMessage.add_member(:revision_target, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RevisionTarget"))
992
+ ModifyClusterDbRevisionMessage.struct_class = Types::ModifyClusterDbRevisionMessage
993
+
994
+ ModifyClusterDbRevisionResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
995
+ ModifyClusterDbRevisionResult.struct_class = Types::ModifyClusterDbRevisionResult
996
+
939
997
  ModifyClusterIamRolesMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
940
998
  ModifyClusterIamRolesMessage.add_member(:add_iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "AddIamRoles"))
941
999
  ModifyClusterIamRolesMessage.add_member(:remove_iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "RemoveIamRoles"))
@@ -1025,6 +1083,8 @@ module Aws::Redshift
1025
1083
 
1026
1084
  ParametersList.member = Shapes::ShapeRef.new(shape: Parameter, location_name: "Parameter")
1027
1085
 
1086
+ PendingActionsList.member = Shapes::ShapeRef.new(shape: String)
1087
+
1028
1088
  PendingModifiedValues.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserPassword"))
1029
1089
  PendingModifiedValues.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
1030
1090
  PendingModifiedValues.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
@@ -1162,6 +1222,13 @@ module Aws::Redshift
1162
1222
  RestoreTableFromClusterSnapshotResult.add_member(:table_restore_status, Shapes::ShapeRef.new(shape: TableRestoreStatus, location_name: "TableRestoreStatus"))
1163
1223
  RestoreTableFromClusterSnapshotResult.struct_class = Types::RestoreTableFromClusterSnapshotResult
1164
1224
 
1225
+ RevisionTarget.add_member(:database_revision, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseRevision"))
1226
+ RevisionTarget.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1227
+ RevisionTarget.add_member(:database_revision_release_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "DatabaseRevisionReleaseDate"))
1228
+ RevisionTarget.struct_class = Types::RevisionTarget
1229
+
1230
+ RevisionTargetsList.member = Shapes::ShapeRef.new(shape: RevisionTarget, location_name: "RevisionTarget")
1231
+
1165
1232
  RevokeClusterSecurityGroupIngressMessage.add_member(:cluster_security_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterSecurityGroupName"))
1166
1233
  RevokeClusterSecurityGroupIngressMessage.add_member(:cidrip, Shapes::ShapeRef.new(shape: String, location_name: "CIDRIP"))
1167
1234
  RevokeClusterSecurityGroupIngressMessage.add_member(:ec2_security_group_name, Shapes::ShapeRef.new(shape: String, location_name: "EC2SecurityGroupName"))
@@ -1314,6 +1381,21 @@ module Aws::Redshift
1314
1381
  "xmlNamespace" => "http://redshift.amazonaws.com/doc/2012-12-01/",
1315
1382
  }
1316
1383
 
1384
+ api.add_operation(:accept_reserved_node_exchange, Seahorse::Model::Operation.new.tap do |o|
1385
+ o.name = "AcceptReservedNodeExchange"
1386
+ o.http_method = "POST"
1387
+ o.http_request_uri = "/"
1388
+ o.input = Shapes::ShapeRef.new(shape: AcceptReservedNodeExchangeInputMessage)
1389
+ o.output = Shapes::ShapeRef.new(shape: AcceptReservedNodeExchangeOutputMessage)
1390
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
1391
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReservedNodeStateFault)
1392
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyMigratedFault)
1393
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
1394
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
1395
+ o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
1396
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyExistsFault)
1397
+ end)
1398
+
1317
1399
  api.add_operation(:authorize_cluster_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
1318
1400
  o.name = "AuthorizeClusterSecurityGroupIngress"
1319
1401
  o.http_method = "POST"
@@ -1604,6 +1686,15 @@ module Aws::Redshift
1604
1686
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
1605
1687
  end)
1606
1688
 
1689
+ api.add_operation(:describe_cluster_db_revisions, Seahorse::Model::Operation.new.tap do |o|
1690
+ o.name = "DescribeClusterDbRevisions"
1691
+ o.http_method = "POST"
1692
+ o.http_request_uri = "/"
1693
+ o.input = Shapes::ShapeRef.new(shape: DescribeClusterDbRevisionsMessage)
1694
+ o.output = Shapes::ShapeRef.new(shape: ClusterDbRevisionsMessage)
1695
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
1696
+ end)
1697
+
1607
1698
  api.add_operation(:describe_cluster_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
1608
1699
  o.name = "DescribeClusterParameterGroups"
1609
1700
  o.http_method = "POST"
@@ -1956,6 +2047,20 @@ module Aws::Redshift
1956
2047
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
1957
2048
  end)
1958
2049
 
2050
+ api.add_operation(:get_reserved_node_exchange_offerings, Seahorse::Model::Operation.new.tap do |o|
2051
+ o.name = "GetReservedNodeExchangeOfferings"
2052
+ o.http_method = "POST"
2053
+ o.http_request_uri = "/"
2054
+ o.input = Shapes::ShapeRef.new(shape: GetReservedNodeExchangeOfferingsInputMessage)
2055
+ o.output = Shapes::ShapeRef.new(shape: GetReservedNodeExchangeOfferingsOutputMessage)
2056
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
2057
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReservedNodeStateFault)
2058
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyMigratedFault)
2059
+ o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
2060
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2061
+ o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
2062
+ end)
2063
+
1959
2064
  api.add_operation(:modify_cluster, Seahorse::Model::Operation.new.tap do |o|
1960
2065
  o.name = "ModifyCluster"
1961
2066
  o.http_method = "POST"
@@ -1978,6 +2083,18 @@ module Aws::Redshift
1978
2083
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1979
2084
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
1980
2085
  o.errors << Shapes::ShapeRef.new(shape: InvalidElasticIpFault)
2086
+ o.errors << Shapes::ShapeRef.new(shape: TableLimitExceededFault)
2087
+ end)
2088
+
2089
+ api.add_operation(:modify_cluster_db_revision, Seahorse::Model::Operation.new.tap do |o|
2090
+ o.name = "ModifyClusterDbRevision"
2091
+ o.http_method = "POST"
2092
+ o.http_request_uri = "/"
2093
+ o.input = Shapes::ShapeRef.new(shape: ModifyClusterDbRevisionMessage)
2094
+ o.output = Shapes::ShapeRef.new(shape: ModifyClusterDbRevisionResult)
2095
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2096
+ o.errors << Shapes::ShapeRef.new(shape: ClusterOnLatestRevisionFault)
2097
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
1981
2098
  end)
1982
2099
 
1983
2100
  api.add_operation(:modify_cluster_iam_roles, Seahorse::Model::Operation.new.tap do |o|
@@ -8,6 +8,45 @@
8
8
  module Aws::Redshift
9
9
  module Types
10
10
 
11
+ # @note When making an API call, you may pass AcceptReservedNodeExchangeInputMessage
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # reserved_node_id: "String", # required
16
+ # target_reserved_node_offering_id: "String", # required
17
+ # }
18
+ #
19
+ # @!attribute [rw] reserved_node_id
20
+ # A string representing the identifier of the Reserved Node to be
21
+ # exchanged.
22
+ # @return [String]
23
+ #
24
+ # @!attribute [rw] target_reserved_node_offering_id
25
+ # The unique identifier of the Reserved Node offering to be used for
26
+ # the exchange.
27
+ # @return [String]
28
+ #
29
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchangeInputMessage AWS API Documentation
30
+ #
31
+ class AcceptReservedNodeExchangeInputMessage < Struct.new(
32
+ :reserved_node_id,
33
+ :target_reserved_node_offering_id)
34
+ include Aws::Structure
35
+ end
36
+
37
+ # @!attribute [rw] exchanged_reserved_node
38
+ # Describes a reserved node. You can call the
39
+ # DescribeReservedNodeOfferings API to obtain the available reserved
40
+ # node offerings.
41
+ # @return [Types::ReservedNode]
42
+ #
43
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchangeOutputMessage AWS API Documentation
44
+ #
45
+ class AcceptReservedNodeExchangeOutputMessage < Struct.new(
46
+ :exchanged_reserved_node)
47
+ include Aws::Structure
48
+ end
49
+
11
50
  # Describes an AWS customer account authorized to restore a snapshot.
12
51
  #
13
52
  # @!attribute [rw] account_id
@@ -358,6 +397,10 @@ module Aws::Redshift
358
397
  # used by the cluster to access other AWS services.
359
398
  # @return [Array<Types::ClusterIamRole>]
360
399
  #
400
+ # @!attribute [rw] pending_actions
401
+ # Cluster operations that are waiting to be started.
402
+ # @return [Array<String>]
403
+ #
361
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
362
405
  #
363
406
  class Cluster < Struct.new(
@@ -393,7 +436,8 @@ module Aws::Redshift
393
436
  :tags,
394
437
  :kms_key_id,
395
438
  :enhanced_vpc_routing,
396
- :iam_roles)
439
+ :iam_roles,
440
+ :pending_actions)
397
441
  include Aws::Structure
398
442
  end
399
443
 
@@ -428,6 +472,55 @@ module Aws::Redshift
428
472
  include Aws::Structure
429
473
  end
430
474
 
475
+ # Describes a `ClusterDbRevision`.
476
+ #
477
+ # @!attribute [rw] cluster_identifier
478
+ # The unique identifier of the cluster.
479
+ # @return [String]
480
+ #
481
+ # @!attribute [rw] current_database_revision
482
+ # A string representing the current cluster version.
483
+ # @return [String]
484
+ #
485
+ # @!attribute [rw] database_revision_release_date
486
+ # The date on which the database revision was released.
487
+ # @return [Time]
488
+ #
489
+ # @!attribute [rw] revision_targets
490
+ # A list of `RevisionTarget` objects, where each object describes the
491
+ # database revision that a cluster can be updated to.
492
+ # @return [Array<Types::RevisionTarget>]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterDbRevision AWS API Documentation
495
+ #
496
+ class ClusterDbRevision < Struct.new(
497
+ :cluster_identifier,
498
+ :current_database_revision,
499
+ :database_revision_release_date,
500
+ :revision_targets)
501
+ include Aws::Structure
502
+ end
503
+
504
+ # @!attribute [rw] marker
505
+ # A string representing the starting point for the next set of
506
+ # revisions. If a value is returned in a response, you can retrieve
507
+ # the next set of revisions by providing the value in the `marker`
508
+ # parameter and retrying the command. If the `marker` field is empty,
509
+ # all revisions have already been returned.
510
+ # @return [String]
511
+ #
512
+ # @!attribute [rw] cluster_db_revisions
513
+ # A list of revisions.
514
+ # @return [Array<Types::ClusterDbRevision>]
515
+ #
516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterDbRevisionsMessage AWS API Documentation
517
+ #
518
+ class ClusterDbRevisionsMessage < Struct.new(
519
+ :marker,
520
+ :cluster_db_revisions)
521
+ include Aws::Structure
522
+ end
523
+
431
524
  # An AWS Identity and Access Management (IAM) role that can be used by
432
525
  # the associated Amazon Redshift cluster to access other AWS services.
433
526
  #
@@ -2283,6 +2376,56 @@ module Aws::Redshift
2283
2376
  include Aws::Structure
2284
2377
  end
2285
2378
 
2379
+ # @note When making an API call, you may pass DescribeClusterDbRevisionsMessage
2380
+ # data as a hash:
2381
+ #
2382
+ # {
2383
+ # cluster_identifier: "String",
2384
+ # max_records: 1,
2385
+ # marker: "String",
2386
+ # }
2387
+ #
2388
+ # @!attribute [rw] cluster_identifier
2389
+ # A unique identifier for a cluster whose `ClusterDbRevisions` you are
2390
+ # requesting. This parameter is case sensitive. All clusters defined
2391
+ # for an account are returned by default.
2392
+ # @return [String]
2393
+ #
2394
+ # @!attribute [rw] max_records
2395
+ # The maximum number of response records to return in each call. If
2396
+ # the number of remaining response records exceeds the specified
2397
+ # MaxRecords value, a value is returned in the `marker` field of the
2398
+ # response. You can retrieve the next set of response records by
2399
+ # providing the returned `marker` value in the `marker` parameter and
2400
+ # retrying the request.
2401
+ #
2402
+ # Default: 100
2403
+ #
2404
+ # Constraints: minimum 20, maximum 100.
2405
+ # @return [Integer]
2406
+ #
2407
+ # @!attribute [rw] marker
2408
+ # An optional parameter that specifies the starting point for
2409
+ # returning a set of response records. When the results of a
2410
+ # `DescribeClusterDbRevisions` request exceed the value specified in
2411
+ # `MaxRecords`, Amazon Redshift returns a value in the `marker` field
2412
+ # of the response. You can retrieve the next set of response records
2413
+ # by providing the returned `marker` value in the `marker` parameter
2414
+ # and retrying the request.
2415
+ #
2416
+ # Constraints: You can specify either the `ClusterIdentifier`
2417
+ # parameter, or the `marker` parameter, but not both.
2418
+ # @return [String]
2419
+ #
2420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterDbRevisionsMessage AWS API Documentation
2421
+ #
2422
+ class DescribeClusterDbRevisionsMessage < Struct.new(
2423
+ :cluster_identifier,
2424
+ :max_records,
2425
+ :marker)
2426
+ include Aws::Structure
2427
+ end
2428
+
2286
2429
  # @note When making an API call, you may pass DescribeClusterParameterGroupsMessage
2287
2430
  # data as a hash:
2288
2431
  #
@@ -4240,6 +4383,61 @@ module Aws::Redshift
4240
4383
  include Aws::Structure
4241
4384
  end
4242
4385
 
4386
+ # @note When making an API call, you may pass GetReservedNodeExchangeOfferingsInputMessage
4387
+ # data as a hash:
4388
+ #
4389
+ # {
4390
+ # reserved_node_id: "String", # required
4391
+ # max_records: 1,
4392
+ # marker: "String",
4393
+ # }
4394
+ #
4395
+ # @!attribute [rw] reserved_node_id
4396
+ # A string representing the node identifier for the Reserved Node to
4397
+ # be exchanged.
4398
+ # @return [String]
4399
+ #
4400
+ # @!attribute [rw] max_records
4401
+ # An integer setting the maximum number of ReservedNodeOfferings to
4402
+ # retrieve.
4403
+ # @return [Integer]
4404
+ #
4405
+ # @!attribute [rw] marker
4406
+ # A value that indicates the starting point for the next set of
4407
+ # ReservedNodeOfferings.
4408
+ # @return [String]
4409
+ #
4410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeOfferingsInputMessage AWS API Documentation
4411
+ #
4412
+ class GetReservedNodeExchangeOfferingsInputMessage < Struct.new(
4413
+ :reserved_node_id,
4414
+ :max_records,
4415
+ :marker)
4416
+ include Aws::Structure
4417
+ end
4418
+
4419
+ # @!attribute [rw] marker
4420
+ # An optional parameter that specifies the starting point for
4421
+ # returning a set of response records. When the results of a
4422
+ # `GetReservedNodeExchangeOfferings` request exceed the value
4423
+ # specified in MaxRecords, Amazon Redshift returns a value in the
4424
+ # marker field of the response. You can retrieve the next set of
4425
+ # response records by providing the returned marker value in the
4426
+ # marker parameter and retrying the request.
4427
+ # @return [String]
4428
+ #
4429
+ # @!attribute [rw] reserved_node_offerings
4430
+ # Returns an array of ReservedNodeOffering objects.
4431
+ # @return [Array<Types::ReservedNodeOffering>]
4432
+ #
4433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeOfferingsOutputMessage AWS API Documentation
4434
+ #
4435
+ class GetReservedNodeExchangeOfferingsOutputMessage < Struct.new(
4436
+ :marker,
4437
+ :reserved_node_offerings)
4438
+ include Aws::Structure
4439
+ end
4440
+
4243
4441
  # Returns information about an HSM client certificate. The certificate
4244
4442
  # is stored in a secure Hardware Storage Module (HSM), and used by the
4245
4443
  # Amazon Redshift cluster to encrypt data files.
@@ -4438,6 +4636,45 @@ module Aws::Redshift
4438
4636
  include Aws::Structure
4439
4637
  end
4440
4638
 
4639
+ # @note When making an API call, you may pass ModifyClusterDbRevisionMessage
4640
+ # data as a hash:
4641
+ #
4642
+ # {
4643
+ # cluster_identifier: "String", # required
4644
+ # revision_target: "String", # required
4645
+ # }
4646
+ #
4647
+ # @!attribute [rw] cluster_identifier
4648
+ # The unique identifier of a cluster whose database revision you want
4649
+ # to modify.
4650
+ #
4651
+ # Example: `examplecluster`
4652
+ # @return [String]
4653
+ #
4654
+ # @!attribute [rw] revision_target
4655
+ # The identifier of the database revision. You can retrieve this value
4656
+ # from the response to the DescribeClusterDbRevisions request.
4657
+ # @return [String]
4658
+ #
4659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevisionMessage AWS API Documentation
4660
+ #
4661
+ class ModifyClusterDbRevisionMessage < Struct.new(
4662
+ :cluster_identifier,
4663
+ :revision_target)
4664
+ include Aws::Structure
4665
+ end
4666
+
4667
+ # @!attribute [rw] cluster
4668
+ # Describes a cluster.
4669
+ # @return [Types::Cluster]
4670
+ #
4671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevisionResult AWS API Documentation
4672
+ #
4673
+ class ModifyClusterDbRevisionResult < Struct.new(
4674
+ :cluster)
4675
+ include Aws::Structure
4676
+ end
4677
+
4441
4678
  # @note When making an API call, you may pass ModifyClusterIamRolesMessage
4442
4679
  # data as a hash:
4443
4680
  #
@@ -5351,6 +5588,11 @@ module Aws::Redshift
5351
5588
  # for use.
5352
5589
  #
5353
5590
  # * payment-failed-Payment failed for the purchase attempt.
5591
+ #
5592
+ # * retired-The reserved node is no longer available.
5593
+ #
5594
+ # * exchanging-The owner is exchanging the reserved node for another
5595
+ # reserved node.
5354
5596
  # @return [String]
5355
5597
  #
5356
5598
  # @!attribute [rw] offering_type
@@ -6030,6 +6272,32 @@ module Aws::Redshift
6030
6272
  include Aws::Structure
6031
6273
  end
6032
6274
 
6275
+ # Describes a `RevisionTarget`.
6276
+ #
6277
+ # @!attribute [rw] database_revision
6278
+ # A unique string that identifies the version to update the cluster
6279
+ # to. You can use this value in ModifyClusterDbRevision.
6280
+ # @return [String]
6281
+ #
6282
+ # @!attribute [rw] description
6283
+ # A string that describes the changes and features that will be
6284
+ # applied to the cluster when it is updated to the corresponding
6285
+ # ClusterDbRevision.
6286
+ # @return [String]
6287
+ #
6288
+ # @!attribute [rw] database_revision_release_date
6289
+ # The date on which the database revision was released.
6290
+ # @return [Time]
6291
+ #
6292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevisionTarget AWS API Documentation
6293
+ #
6294
+ class RevisionTarget < Struct.new(
6295
+ :database_revision,
6296
+ :description,
6297
+ :database_revision_release_date)
6298
+ include Aws::Structure
6299
+ end
6300
+
6033
6301
  # @note When making an API call, you may pass RevokeClusterSecurityGroupIngressMessage
6034
6302
  # data as a hash:
6035
6303
  #
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.0
4
+ version: 1.5.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-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core