aws-sdk-redshift 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +114 -9
- data/lib/aws-sdk-redshift/client_api.rb +48 -0
- data/lib/aws-sdk-redshift/types.rb +167 -12
- 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: 342273caaee510e4f421177d3bafe497756f48b3
|
4
|
+
data.tar.gz: 269cfdda41e64c5086ae3e117aea959bff40721b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 756be690e6af54b20c6b7f4ecb17a5cd56d89018c11b82398b99931455a032823f23315dcc85e298af08c0a5274ef5fae0c1d397ddcaf2d53d8cec93cdcf3f57
|
7
|
+
data.tar.gz: ecc36bf391c3168cfaf24e2a14f842920aa2abe3013149c53e683723f2d85c1c63223ae361b16119f63ba1938d367f2755b11ae7d7a210b05c5dabe142579206
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -161,12 +161,13 @@ module Aws::Redshift
|
|
161
161
|
# additional costs.
|
162
162
|
#
|
163
163
|
# @option params [required, String] :reserved_node_id
|
164
|
-
# A string representing the identifier of the Reserved Node to
|
165
|
-
# exchanged.
|
164
|
+
# A string representing the node identifier of the DC1 Reserved Node to
|
165
|
+
# be exchanged.
|
166
166
|
#
|
167
167
|
# @option params [required, String] :target_reserved_node_offering_id
|
168
|
-
# The unique identifier of the Reserved Node offering to be used for
|
169
|
-
# exchange.
|
168
|
+
# The unique identifier of the DC2 Reserved Node offering to be used for
|
169
|
+
# the exchange. You can obtain the value for the parameter by calling
|
170
|
+
# GetReservedNodeExchangeOfferings
|
170
171
|
#
|
171
172
|
# @return [Types::AcceptReservedNodeExchangeOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
172
173
|
#
|
@@ -366,6 +367,7 @@ module Aws::Redshift
|
|
366
367
|
# resp.snapshot.restorable_node_types #=> Array
|
367
368
|
# resp.snapshot.restorable_node_types[0] #=> String
|
368
369
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
370
|
+
# resp.snapshot.maintenance_track_name #=> String
|
369
371
|
#
|
370
372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess AWS API Documentation
|
371
373
|
#
|
@@ -480,6 +482,7 @@ module Aws::Redshift
|
|
480
482
|
# resp.snapshot.restorable_node_types #=> Array
|
481
483
|
# resp.snapshot.restorable_node_types[0] #=> String
|
482
484
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
485
|
+
# resp.snapshot.maintenance_track_name #=> String
|
483
486
|
#
|
484
487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot AWS API Documentation
|
485
488
|
#
|
@@ -805,6 +808,11 @@ module Aws::Redshift
|
|
805
808
|
#
|
806
809
|
# A cluster can have up to 10 IAM roles associated with it at any time.
|
807
810
|
#
|
811
|
+
# @option params [String] :maintenance_track_name
|
812
|
+
# An optional parameter for the name of the maintenance track for the
|
813
|
+
# cluster. If you don't provide a maintenance track name, the cluster
|
814
|
+
# is assigned to the `current` track.
|
815
|
+
#
|
808
816
|
# @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
809
817
|
#
|
810
818
|
# * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
|
@@ -844,6 +852,7 @@ module Aws::Redshift
|
|
844
852
|
# enhanced_vpc_routing: false,
|
845
853
|
# additional_info: "String",
|
846
854
|
# iam_roles: ["String"],
|
855
|
+
# maintenance_track_name: "String",
|
847
856
|
# })
|
848
857
|
#
|
849
858
|
# @example Response structure
|
@@ -884,6 +893,7 @@ module Aws::Redshift
|
|
884
893
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
885
894
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
886
895
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
896
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
887
897
|
# resp.cluster.cluster_version #=> String
|
888
898
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
889
899
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -919,6 +929,7 @@ module Aws::Redshift
|
|
919
929
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
920
930
|
# resp.cluster.pending_actions #=> Array
|
921
931
|
# resp.cluster.pending_actions[0] #=> String
|
932
|
+
# resp.cluster.maintenance_track_name #=> String
|
922
933
|
#
|
923
934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
|
924
935
|
#
|
@@ -1183,6 +1194,7 @@ module Aws::Redshift
|
|
1183
1194
|
# resp.snapshot.restorable_node_types #=> Array
|
1184
1195
|
# resp.snapshot.restorable_node_types[0] #=> String
|
1185
1196
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
1197
|
+
# resp.snapshot.maintenance_track_name #=> String
|
1186
1198
|
#
|
1187
1199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot AWS API Documentation
|
1188
1200
|
#
|
@@ -1765,6 +1777,7 @@ module Aws::Redshift
|
|
1765
1777
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
1766
1778
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
1767
1779
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
1780
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
1768
1781
|
# resp.cluster.cluster_version #=> String
|
1769
1782
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
1770
1783
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -1800,6 +1813,7 @@ module Aws::Redshift
|
|
1800
1813
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
1801
1814
|
# resp.cluster.pending_actions #=> Array
|
1802
1815
|
# resp.cluster.pending_actions[0] #=> String
|
1816
|
+
# resp.cluster.maintenance_track_name #=> String
|
1803
1817
|
#
|
1804
1818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
|
1805
1819
|
#
|
@@ -1950,6 +1964,7 @@ module Aws::Redshift
|
|
1950
1964
|
# resp.snapshot.restorable_node_types #=> Array
|
1951
1965
|
# resp.snapshot.restorable_node_types[0] #=> String
|
1952
1966
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
1967
|
+
# resp.snapshot.maintenance_track_name #=> String
|
1953
1968
|
#
|
1954
1969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot AWS API Documentation
|
1955
1970
|
#
|
@@ -2639,6 +2654,7 @@ module Aws::Redshift
|
|
2639
2654
|
# resp.snapshots[0].restorable_node_types #=> Array
|
2640
2655
|
# resp.snapshots[0].restorable_node_types[0] #=> String
|
2641
2656
|
# resp.snapshots[0].enhanced_vpc_routing #=> Boolean
|
2657
|
+
# resp.snapshots[0].maintenance_track_name #=> String
|
2642
2658
|
#
|
2643
2659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots AWS API Documentation
|
2644
2660
|
#
|
@@ -2748,6 +2764,55 @@ module Aws::Redshift
|
|
2748
2764
|
req.send_request(options)
|
2749
2765
|
end
|
2750
2766
|
|
2767
|
+
# Returns a list of all the available maintenance tracks.
|
2768
|
+
#
|
2769
|
+
# @option params [String] :maintenance_track_name
|
2770
|
+
# The name of the maintenance track.
|
2771
|
+
#
|
2772
|
+
# @option params [Integer] :max_records
|
2773
|
+
# An integer value for the maximum number of maintenance tracks to
|
2774
|
+
# return.
|
2775
|
+
#
|
2776
|
+
# @option params [String] :marker
|
2777
|
+
# An optional parameter that specifies the starting point to return a
|
2778
|
+
# set of response records. When the results of a `DescribeClusterTracks`
|
2779
|
+
# request exceed the value specified in `MaxRecords`, Amazon Redshift
|
2780
|
+
# returns a value in the `Marker` field of the response. You can
|
2781
|
+
# retrieve the next set of response records by providing the returned
|
2782
|
+
# marker value in the `Marker` parameter and retrying the request.
|
2783
|
+
#
|
2784
|
+
# @return [Types::TrackListMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2785
|
+
#
|
2786
|
+
# * {Types::TrackListMessage#maintenance_tracks #maintenance_tracks} => Array<Types::MaintenanceTrack>
|
2787
|
+
# * {Types::TrackListMessage#marker #marker} => String
|
2788
|
+
#
|
2789
|
+
# @example Request syntax with placeholder values
|
2790
|
+
#
|
2791
|
+
# resp = client.describe_cluster_tracks({
|
2792
|
+
# maintenance_track_name: "String",
|
2793
|
+
# max_records: 1,
|
2794
|
+
# marker: "String",
|
2795
|
+
# })
|
2796
|
+
#
|
2797
|
+
# @example Response structure
|
2798
|
+
#
|
2799
|
+
# resp.maintenance_tracks #=> Array
|
2800
|
+
# resp.maintenance_tracks[0].maintenance_track_name #=> String
|
2801
|
+
# resp.maintenance_tracks[0].database_version #=> String
|
2802
|
+
# resp.maintenance_tracks[0].update_targets #=> Array
|
2803
|
+
# resp.maintenance_tracks[0].update_targets[0].maintenance_track_name #=> String
|
2804
|
+
# resp.maintenance_tracks[0].update_targets[0].database_version #=> String
|
2805
|
+
# resp.marker #=> String
|
2806
|
+
#
|
2807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterTracks AWS API Documentation
|
2808
|
+
#
|
2809
|
+
# @overload describe_cluster_tracks(params = {})
|
2810
|
+
# @param [Hash] params ({})
|
2811
|
+
def describe_cluster_tracks(params = {}, options = {})
|
2812
|
+
req = build_request(:describe_cluster_tracks, params)
|
2813
|
+
req.send_request(options)
|
2814
|
+
end
|
2815
|
+
|
2751
2816
|
# Returns descriptions of the available Amazon Redshift cluster
|
2752
2817
|
# versions. You can call this operation even before creating any
|
2753
2818
|
# clusters to learn more about the Amazon Redshift versions. For more
|
@@ -2946,6 +3011,7 @@ module Aws::Redshift
|
|
2946
3011
|
# resp.clusters[0].pending_modified_values.cluster_identifier #=> String
|
2947
3012
|
# resp.clusters[0].pending_modified_values.publicly_accessible #=> Boolean
|
2948
3013
|
# resp.clusters[0].pending_modified_values.enhanced_vpc_routing #=> Boolean
|
3014
|
+
# resp.clusters[0].pending_modified_values.maintenance_track_name #=> String
|
2949
3015
|
# resp.clusters[0].cluster_version #=> String
|
2950
3016
|
# resp.clusters[0].allow_version_upgrade #=> Boolean
|
2951
3017
|
# resp.clusters[0].number_of_nodes #=> Integer
|
@@ -2981,6 +3047,7 @@ module Aws::Redshift
|
|
2981
3047
|
# resp.clusters[0].iam_roles[0].apply_status #=> String
|
2982
3048
|
# resp.clusters[0].pending_actions #=> Array
|
2983
3049
|
# resp.clusters[0].pending_actions[0] #=> String
|
3050
|
+
# resp.clusters[0].maintenance_track_name #=> String
|
2984
3051
|
#
|
2985
3052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters AWS API Documentation
|
2986
3053
|
#
|
@@ -4246,6 +4313,7 @@ module Aws::Redshift
|
|
4246
4313
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
4247
4314
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
4248
4315
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
4316
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
4249
4317
|
# resp.cluster.cluster_version #=> String
|
4250
4318
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
4251
4319
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -4281,6 +4349,7 @@ module Aws::Redshift
|
|
4281
4349
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
4282
4350
|
# resp.cluster.pending_actions #=> Array
|
4283
4351
|
# resp.cluster.pending_actions[0] #=> String
|
4352
|
+
# resp.cluster.maintenance_track_name #=> String
|
4284
4353
|
#
|
4285
4354
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
|
4286
4355
|
#
|
@@ -4448,6 +4517,7 @@ module Aws::Redshift
|
|
4448
4517
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
4449
4518
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
4450
4519
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
4520
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
4451
4521
|
# resp.cluster.cluster_version #=> String
|
4452
4522
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
4453
4523
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -4483,6 +4553,7 @@ module Aws::Redshift
|
|
4483
4553
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
4484
4554
|
# resp.cluster.pending_actions #=> Array
|
4485
4555
|
# resp.cluster.pending_actions[0] #=> String
|
4556
|
+
# resp.cluster.maintenance_track_name #=> String
|
4486
4557
|
#
|
4487
4558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
|
4488
4559
|
#
|
@@ -4653,12 +4724,12 @@ module Aws::Redshift
|
|
4653
4724
|
req.send_request(options)
|
4654
4725
|
end
|
4655
4726
|
|
4656
|
-
# Returns an array of ReservedNodeOfferings
|
4657
|
-
# type, term, and
|
4727
|
+
# Returns an array of DC2 ReservedNodeOfferings that matches the payment
|
4728
|
+
# type, term, and usage price of the given DC1 reserved node.
|
4658
4729
|
#
|
4659
4730
|
# @option params [required, String] :reserved_node_id
|
4660
|
-
# A string representing the node identifier for the Reserved Node to
|
4661
|
-
# exchanged.
|
4731
|
+
# A string representing the node identifier for the DC1 Reserved Node to
|
4732
|
+
# be exchanged.
|
4662
4733
|
#
|
4663
4734
|
# @option params [Integer] :max_records
|
4664
4735
|
# An integer setting the maximum number of ReservedNodeOfferings to
|
@@ -4943,6 +5014,14 @@ module Aws::Redshift
|
|
4943
5014
|
#
|
4944
5015
|
# [1]: http://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html
|
4945
5016
|
#
|
5017
|
+
# @option params [String] :maintenance_track_name
|
5018
|
+
# The name for the maintenance track that you want to assign for the
|
5019
|
+
# cluster. This name change is asynchronous. The new track name stays in
|
5020
|
+
# the `PendingModifiedValues` for the cluster until the next maintenance
|
5021
|
+
# window. When the maintenance track changes, the cluster is switched to
|
5022
|
+
# the latest cluster release available for the maintenance track. At
|
5023
|
+
# this point, the maintenance track name is applied.
|
5024
|
+
#
|
4946
5025
|
# @return [Types::ModifyClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4947
5026
|
#
|
4948
5027
|
# * {Types::ModifyClusterResult#cluster #cluster} => Types::Cluster
|
@@ -4968,6 +5047,7 @@ module Aws::Redshift
|
|
4968
5047
|
# publicly_accessible: false,
|
4969
5048
|
# elastic_ip: "String",
|
4970
5049
|
# enhanced_vpc_routing: false,
|
5050
|
+
# maintenance_track_name: "String",
|
4971
5051
|
# })
|
4972
5052
|
#
|
4973
5053
|
# @example Response structure
|
@@ -5008,6 +5088,7 @@ module Aws::Redshift
|
|
5008
5088
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5009
5089
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5010
5090
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
5091
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
5011
5092
|
# resp.cluster.cluster_version #=> String
|
5012
5093
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
5013
5094
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -5043,6 +5124,7 @@ module Aws::Redshift
|
|
5043
5124
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
5044
5125
|
# resp.cluster.pending_actions #=> Array
|
5045
5126
|
# resp.cluster.pending_actions[0] #=> String
|
5127
|
+
# resp.cluster.maintenance_track_name #=> String
|
5046
5128
|
#
|
5047
5129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
|
5048
5130
|
#
|
@@ -5115,6 +5197,7 @@ module Aws::Redshift
|
|
5115
5197
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5116
5198
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5117
5199
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
5200
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
5118
5201
|
# resp.cluster.cluster_version #=> String
|
5119
5202
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
5120
5203
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -5150,6 +5233,7 @@ module Aws::Redshift
|
|
5150
5233
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
5151
5234
|
# resp.cluster.pending_actions #=> Array
|
5152
5235
|
# resp.cluster.pending_actions[0] #=> String
|
5236
|
+
# resp.cluster.maintenance_track_name #=> String
|
5153
5237
|
#
|
5154
5238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
|
5155
5239
|
#
|
@@ -5229,6 +5313,7 @@ module Aws::Redshift
|
|
5229
5313
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5230
5314
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5231
5315
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
5316
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
5232
5317
|
# resp.cluster.cluster_version #=> String
|
5233
5318
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
5234
5319
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -5264,6 +5349,7 @@ module Aws::Redshift
|
|
5264
5349
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
5265
5350
|
# resp.cluster.pending_actions #=> Array
|
5266
5351
|
# resp.cluster.pending_actions[0] #=> String
|
5352
|
+
# resp.cluster.maintenance_track_name #=> String
|
5267
5353
|
#
|
5268
5354
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
|
5269
5355
|
#
|
@@ -5548,6 +5634,7 @@ module Aws::Redshift
|
|
5548
5634
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5549
5635
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5550
5636
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
5637
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
5551
5638
|
# resp.cluster.cluster_version #=> String
|
5552
5639
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
5553
5640
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -5583,6 +5670,7 @@ module Aws::Redshift
|
|
5583
5670
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
5584
5671
|
# resp.cluster.pending_actions #=> Array
|
5585
5672
|
# resp.cluster.pending_actions[0] #=> String
|
5673
|
+
# resp.cluster.maintenance_track_name #=> String
|
5586
5674
|
#
|
5587
5675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
|
5588
5676
|
#
|
@@ -5717,6 +5805,7 @@ module Aws::Redshift
|
|
5717
5805
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
5718
5806
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
5719
5807
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
5808
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
5720
5809
|
# resp.cluster.cluster_version #=> String
|
5721
5810
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
5722
5811
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -5752,6 +5841,7 @@ module Aws::Redshift
|
|
5752
5841
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
5753
5842
|
# resp.cluster.pending_actions #=> Array
|
5754
5843
|
# resp.cluster.pending_actions[0] #=> String
|
5844
|
+
# resp.cluster.maintenance_track_name #=> String
|
5755
5845
|
#
|
5756
5846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
|
5757
5847
|
#
|
@@ -6036,6 +6126,15 @@ module Aws::Redshift
|
|
6036
6126
|
#
|
6037
6127
|
# A cluster can have up to 10 IAM roles associated at any time.
|
6038
6128
|
#
|
6129
|
+
# @option params [String] :maintenance_track_name
|
6130
|
+
# The name of the maintenance track for the restored cluster. When you
|
6131
|
+
# take a snapshot, the snapshot inherits the `MaintenanceTrack` value
|
6132
|
+
# from the cluster. The snapshot might be on a different track than the
|
6133
|
+
# cluster that was the source for the snapshot. For example, suppose
|
6134
|
+
# that you take a snapshot of a cluster that is on the current track and
|
6135
|
+
# then change the cluster to be on the trailing track. In this case, the
|
6136
|
+
# snapshot and the source cluster are on different tracks.
|
6137
|
+
#
|
6039
6138
|
# @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6040
6139
|
#
|
6041
6140
|
# * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
|
@@ -6065,6 +6164,7 @@ module Aws::Redshift
|
|
6065
6164
|
# enhanced_vpc_routing: false,
|
6066
6165
|
# additional_info: "String",
|
6067
6166
|
# iam_roles: ["String"],
|
6167
|
+
# maintenance_track_name: "String",
|
6068
6168
|
# })
|
6069
6169
|
#
|
6070
6170
|
# @example Response structure
|
@@ -6105,6 +6205,7 @@ module Aws::Redshift
|
|
6105
6205
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
6106
6206
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
6107
6207
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
6208
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
6108
6209
|
# resp.cluster.cluster_version #=> String
|
6109
6210
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
6110
6211
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -6140,6 +6241,7 @@ module Aws::Redshift
|
|
6140
6241
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
6141
6242
|
# resp.cluster.pending_actions #=> Array
|
6142
6243
|
# resp.cluster.pending_actions[0] #=> String
|
6244
|
+
# resp.cluster.maintenance_track_name #=> String
|
6143
6245
|
#
|
6144
6246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
|
6145
6247
|
#
|
@@ -6387,6 +6489,7 @@ module Aws::Redshift
|
|
6387
6489
|
# resp.snapshot.restorable_node_types #=> Array
|
6388
6490
|
# resp.snapshot.restorable_node_types[0] #=> String
|
6389
6491
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
6492
|
+
# resp.snapshot.maintenance_track_name #=> String
|
6390
6493
|
#
|
6391
6494
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess AWS API Documentation
|
6392
6495
|
#
|
@@ -6454,6 +6557,7 @@ module Aws::Redshift
|
|
6454
6557
|
# resp.cluster.pending_modified_values.cluster_identifier #=> String
|
6455
6558
|
# resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
|
6456
6559
|
# resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
|
6560
|
+
# resp.cluster.pending_modified_values.maintenance_track_name #=> String
|
6457
6561
|
# resp.cluster.cluster_version #=> String
|
6458
6562
|
# resp.cluster.allow_version_upgrade #=> Boolean
|
6459
6563
|
# resp.cluster.number_of_nodes #=> Integer
|
@@ -6489,6 +6593,7 @@ module Aws::Redshift
|
|
6489
6593
|
# resp.cluster.iam_roles[0].apply_status #=> String
|
6490
6594
|
# resp.cluster.pending_actions #=> Array
|
6491
6595
|
# resp.cluster.pending_actions[0] #=> String
|
6596
|
+
# resp.cluster.maintenance_track_name #=> String
|
6492
6597
|
#
|
6493
6598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
|
6494
6599
|
#
|
@@ -6512,7 +6617,7 @@ module Aws::Redshift
|
|
6512
6617
|
params: params,
|
6513
6618
|
config: config)
|
6514
6619
|
context[:gem_name] = 'aws-sdk-redshift'
|
6515
|
-
context[:gem_version] = '1.
|
6620
|
+
context[:gem_version] = '1.6.0'
|
6516
6621
|
Seahorse::Client::Request.new(handlers, context)
|
6517
6622
|
end
|
6518
6623
|
|
@@ -121,6 +121,7 @@ module Aws::Redshift
|
|
121
121
|
DescribeClusterSecurityGroupsMessage = Shapes::StructureShape.new(name: 'DescribeClusterSecurityGroupsMessage')
|
122
122
|
DescribeClusterSnapshotsMessage = Shapes::StructureShape.new(name: 'DescribeClusterSnapshotsMessage')
|
123
123
|
DescribeClusterSubnetGroupsMessage = Shapes::StructureShape.new(name: 'DescribeClusterSubnetGroupsMessage')
|
124
|
+
DescribeClusterTracksMessage = Shapes::StructureShape.new(name: 'DescribeClusterTracksMessage')
|
124
125
|
DescribeClusterVersionsMessage = Shapes::StructureShape.new(name: 'DescribeClusterVersionsMessage')
|
125
126
|
DescribeClustersMessage = Shapes::StructureShape.new(name: 'DescribeClustersMessage')
|
126
127
|
DescribeDefaultClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDefaultClusterParametersMessage')
|
@@ -146,6 +147,7 @@ module Aws::Redshift
|
|
146
147
|
EC2SecurityGroup = Shapes::StructureShape.new(name: 'EC2SecurityGroup')
|
147
148
|
EC2SecurityGroupList = Shapes::ListShape.new(name: 'EC2SecurityGroupList')
|
148
149
|
ElasticIpStatus = Shapes::StructureShape.new(name: 'ElasticIpStatus')
|
150
|
+
EligibleTracksToUpdateList = Shapes::ListShape.new(name: 'EligibleTracksToUpdateList')
|
149
151
|
EnableLoggingMessage = Shapes::StructureShape.new(name: 'EnableLoggingMessage')
|
150
152
|
EnableSnapshotCopyMessage = Shapes::StructureShape.new(name: 'EnableSnapshotCopyMessage')
|
151
153
|
EnableSnapshotCopyResult = Shapes::StructureShape.new(name: 'EnableSnapshotCopyResult')
|
@@ -197,6 +199,7 @@ module Aws::Redshift
|
|
197
199
|
InvalidClusterStateFault = Shapes::StructureShape.new(name: 'InvalidClusterStateFault')
|
198
200
|
InvalidClusterSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSubnetGroupStateFault')
|
199
201
|
InvalidClusterSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSubnetStateFault')
|
202
|
+
InvalidClusterTrackFault = Shapes::StructureShape.new(name: 'InvalidClusterTrackFault')
|
200
203
|
InvalidElasticIpFault = Shapes::StructureShape.new(name: 'InvalidElasticIpFault')
|
201
204
|
InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
|
202
205
|
InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
|
@@ -214,6 +217,7 @@ module Aws::Redshift
|
|
214
217
|
LoggingStatus = Shapes::StructureShape.new(name: 'LoggingStatus')
|
215
218
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
216
219
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
220
|
+
MaintenanceTrack = Shapes::StructureShape.new(name: 'MaintenanceTrack')
|
217
221
|
ModifyClusterDbRevisionMessage = Shapes::StructureShape.new(name: 'ModifyClusterDbRevisionMessage')
|
218
222
|
ModifyClusterDbRevisionResult = Shapes::StructureShape.new(name: 'ModifyClusterDbRevisionResult')
|
219
223
|
ModifyClusterIamRolesMessage = Shapes::StructureShape.new(name: 'ModifyClusterIamRolesMessage')
|
@@ -320,10 +324,13 @@ module Aws::Redshift
|
|
320
324
|
TaggedResource = Shapes::StructureShape.new(name: 'TaggedResource')
|
321
325
|
TaggedResourceList = Shapes::ListShape.new(name: 'TaggedResourceList')
|
322
326
|
TaggedResourceListMessage = Shapes::StructureShape.new(name: 'TaggedResourceListMessage')
|
327
|
+
TrackList = Shapes::ListShape.new(name: 'TrackList')
|
328
|
+
TrackListMessage = Shapes::StructureShape.new(name: 'TrackListMessage')
|
323
329
|
UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
|
324
330
|
UnknownSnapshotCopyRegionFault = Shapes::StructureShape.new(name: 'UnknownSnapshotCopyRegionFault')
|
325
331
|
UnsupportedOperationFault = Shapes::StructureShape.new(name: 'UnsupportedOperationFault')
|
326
332
|
UnsupportedOptionFault = Shapes::StructureShape.new(name: 'UnsupportedOptionFault')
|
333
|
+
UpdateTarget = Shapes::StructureShape.new(name: 'UpdateTarget')
|
327
334
|
VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
|
328
335
|
VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
|
329
336
|
VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
|
@@ -398,6 +405,7 @@ module Aws::Redshift
|
|
398
405
|
Cluster.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnhancedVpcRouting"))
|
399
406
|
Cluster.add_member(:iam_roles, Shapes::ShapeRef.new(shape: ClusterIamRoleList, location_name: "IamRoles"))
|
400
407
|
Cluster.add_member(:pending_actions, Shapes::ShapeRef.new(shape: PendingActionsList, location_name: "PendingActions"))
|
408
|
+
Cluster.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
401
409
|
Cluster.struct_class = Types::Cluster
|
402
410
|
|
403
411
|
ClusterCredentials.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -554,6 +562,7 @@ module Aws::Redshift
|
|
554
562
|
CreateClusterMessage.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnhancedVpcRouting"))
|
555
563
|
CreateClusterMessage.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "AdditionalInfo"))
|
556
564
|
CreateClusterMessage.add_member(:iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "IamRoles"))
|
565
|
+
CreateClusterMessage.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
557
566
|
CreateClusterMessage.struct_class = Types::CreateClusterMessage
|
558
567
|
|
559
568
|
CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
@@ -729,6 +738,11 @@ module Aws::Redshift
|
|
729
738
|
DescribeClusterSubnetGroupsMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
|
730
739
|
DescribeClusterSubnetGroupsMessage.struct_class = Types::DescribeClusterSubnetGroupsMessage
|
731
740
|
|
741
|
+
DescribeClusterTracksMessage.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
742
|
+
DescribeClusterTracksMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
743
|
+
DescribeClusterTracksMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
744
|
+
DescribeClusterTracksMessage.struct_class = Types::DescribeClusterTracksMessage
|
745
|
+
|
732
746
|
DescribeClusterVersionsMessage.add_member(:cluster_version, Shapes::ShapeRef.new(shape: String, location_name: "ClusterVersion"))
|
733
747
|
DescribeClusterVersionsMessage.add_member(:cluster_parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "ClusterParameterGroupFamily"))
|
734
748
|
DescribeClusterVersionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
@@ -847,6 +861,8 @@ module Aws::Redshift
|
|
847
861
|
ElasticIpStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
848
862
|
ElasticIpStatus.struct_class = Types::ElasticIpStatus
|
849
863
|
|
864
|
+
EligibleTracksToUpdateList.member = Shapes::ShapeRef.new(shape: UpdateTarget, location_name: "UpdateTarget")
|
865
|
+
|
850
866
|
EnableLoggingMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
851
867
|
EnableLoggingMessage.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BucketName"))
|
852
868
|
EnableLoggingMessage.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -987,6 +1003,11 @@ module Aws::Redshift
|
|
987
1003
|
LoggingStatus.add_member(:last_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "LastFailureMessage"))
|
988
1004
|
LoggingStatus.struct_class = Types::LoggingStatus
|
989
1005
|
|
1006
|
+
MaintenanceTrack.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1007
|
+
MaintenanceTrack.add_member(:database_version, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseVersion"))
|
1008
|
+
MaintenanceTrack.add_member(:update_targets, Shapes::ShapeRef.new(shape: EligibleTracksToUpdateList, location_name: "UpdateTargets"))
|
1009
|
+
MaintenanceTrack.struct_class = Types::MaintenanceTrack
|
1010
|
+
|
990
1011
|
ModifyClusterDbRevisionMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
991
1012
|
ModifyClusterDbRevisionMessage.add_member(:revision_target, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RevisionTarget"))
|
992
1013
|
ModifyClusterDbRevisionMessage.struct_class = Types::ModifyClusterDbRevisionMessage
|
@@ -1020,6 +1041,7 @@ module Aws::Redshift
|
|
1020
1041
|
ModifyClusterMessage.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
|
1021
1042
|
ModifyClusterMessage.add_member(:elastic_ip, Shapes::ShapeRef.new(shape: String, location_name: "ElasticIp"))
|
1022
1043
|
ModifyClusterMessage.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnhancedVpcRouting"))
|
1044
|
+
ModifyClusterMessage.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1023
1045
|
ModifyClusterMessage.struct_class = Types::ModifyClusterMessage
|
1024
1046
|
|
1025
1047
|
ModifyClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
@@ -1094,6 +1116,7 @@ module Aws::Redshift
|
|
1094
1116
|
PendingModifiedValues.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1095
1117
|
PendingModifiedValues.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
|
1096
1118
|
PendingModifiedValues.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnhancedVpcRouting"))
|
1119
|
+
PendingModifiedValues.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1097
1120
|
PendingModifiedValues.struct_class = Types::PendingModifiedValues
|
1098
1121
|
|
1099
1122
|
PurchaseReservedNodeOfferingMessage.add_member(:reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeOfferingId"))
|
@@ -1196,6 +1219,7 @@ module Aws::Redshift
|
|
1196
1219
|
RestoreFromClusterSnapshotMessage.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnhancedVpcRouting"))
|
1197
1220
|
RestoreFromClusterSnapshotMessage.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "AdditionalInfo"))
|
1198
1221
|
RestoreFromClusterSnapshotMessage.add_member(:iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "IamRoles"))
|
1222
|
+
RestoreFromClusterSnapshotMessage.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1199
1223
|
RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
|
1200
1224
|
|
1201
1225
|
RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -1281,6 +1305,7 @@ module Aws::Redshift
|
|
1281
1305
|
Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1282
1306
|
Snapshot.add_member(:restorable_node_types, Shapes::ShapeRef.new(shape: RestorableNodeTypeList, location_name: "RestorableNodeTypes"))
|
1283
1307
|
Snapshot.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnhancedVpcRouting"))
|
1308
|
+
Snapshot.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1284
1309
|
Snapshot.struct_class = Types::Snapshot
|
1285
1310
|
|
1286
1311
|
SnapshotCopyGrant.add_member(:snapshot_copy_grant_name, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotCopyGrantName"))
|
@@ -1359,6 +1384,16 @@ module Aws::Redshift
|
|
1359
1384
|
TaggedResourceListMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1360
1385
|
TaggedResourceListMessage.struct_class = Types::TaggedResourceListMessage
|
1361
1386
|
|
1387
|
+
TrackList.member = Shapes::ShapeRef.new(shape: MaintenanceTrack, location_name: "MaintenanceTrack")
|
1388
|
+
|
1389
|
+
TrackListMessage.add_member(:maintenance_tracks, Shapes::ShapeRef.new(shape: TrackList, location_name: "MaintenanceTracks"))
|
1390
|
+
TrackListMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1391
|
+
TrackListMessage.struct_class = Types::TrackListMessage
|
1392
|
+
|
1393
|
+
UpdateTarget.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
1394
|
+
UpdateTarget.add_member(:database_version, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseVersion"))
|
1395
|
+
UpdateTarget.struct_class = Types::UpdateTarget
|
1396
|
+
|
1362
1397
|
VpcSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId")
|
1363
1398
|
|
1364
1399
|
VpcSecurityGroupMembership.add_member(:vpc_security_group_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId"))
|
@@ -1459,6 +1494,7 @@ module Aws::Redshift
|
|
1459
1494
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
|
1460
1495
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
1461
1496
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
1497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
|
1462
1498
|
end)
|
1463
1499
|
|
1464
1500
|
api.add_operation(:create_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1775,6 +1811,16 @@ module Aws::Redshift
|
|
1775
1811
|
)
|
1776
1812
|
end)
|
1777
1813
|
|
1814
|
+
api.add_operation(:describe_cluster_tracks, Seahorse::Model::Operation.new.tap do |o|
|
1815
|
+
o.name = "DescribeClusterTracks"
|
1816
|
+
o.http_method = "POST"
|
1817
|
+
o.http_request_uri = "/"
|
1818
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeClusterTracksMessage)
|
1819
|
+
o.output = Shapes::ShapeRef.new(shape: TrackListMessage)
|
1820
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
|
1821
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
|
1822
|
+
end)
|
1823
|
+
|
1778
1824
|
api.add_operation(:describe_cluster_versions, Seahorse::Model::Operation.new.tap do |o|
|
1779
1825
|
o.name = "DescribeClusterVersions"
|
1780
1826
|
o.http_method = "POST"
|
@@ -2084,6 +2130,7 @@ module Aws::Redshift
|
|
2084
2130
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
2085
2131
|
o.errors << Shapes::ShapeRef.new(shape: InvalidElasticIpFault)
|
2086
2132
|
o.errors << Shapes::ShapeRef.new(shape: TableLimitExceededFault)
|
2133
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
|
2087
2134
|
end)
|
2088
2135
|
|
2089
2136
|
api.add_operation(:modify_cluster_db_revision, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2219,6 +2266,7 @@ module Aws::Redshift
|
|
2219
2266
|
o.errors << Shapes::ShapeRef.new(shape: ClusterSecurityGroupNotFoundFault)
|
2220
2267
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
2221
2268
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
2269
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
|
2222
2270
|
end)
|
2223
2271
|
|
2224
2272
|
api.add_operation(:restore_table_from_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -17,13 +17,14 @@ module Aws::Redshift
|
|
17
17
|
# }
|
18
18
|
#
|
19
19
|
# @!attribute [rw] reserved_node_id
|
20
|
-
# A string representing the identifier of the Reserved Node
|
21
|
-
# exchanged.
|
20
|
+
# A string representing the node identifier of the DC1 Reserved Node
|
21
|
+
# to be exchanged.
|
22
22
|
# @return [String]
|
23
23
|
#
|
24
24
|
# @!attribute [rw] target_reserved_node_offering_id
|
25
|
-
# The unique identifier of the Reserved Node offering to be used
|
26
|
-
# the exchange.
|
25
|
+
# The unique identifier of the DC2 Reserved Node offering to be used
|
26
|
+
# for the exchange. You can obtain the value for the parameter by
|
27
|
+
# calling GetReservedNodeExchangeOfferings
|
27
28
|
# @return [String]
|
28
29
|
#
|
29
30
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchangeInputMessage AWS API Documentation
|
@@ -401,6 +402,10 @@ module Aws::Redshift
|
|
401
402
|
# Cluster operations that are waiting to be started.
|
402
403
|
# @return [Array<String>]
|
403
404
|
#
|
405
|
+
# @!attribute [rw] maintenance_track_name
|
406
|
+
# The name of the maintenance track for the cluster.
|
407
|
+
# @return [String]
|
408
|
+
#
|
404
409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
|
405
410
|
#
|
406
411
|
class Cluster < Struct.new(
|
@@ -437,7 +442,8 @@ module Aws::Redshift
|
|
437
442
|
:kms_key_id,
|
438
443
|
:enhanced_vpc_routing,
|
439
444
|
:iam_roles,
|
440
|
-
:pending_actions
|
445
|
+
:pending_actions,
|
446
|
+
:maintenance_track_name)
|
441
447
|
include Aws::Structure
|
442
448
|
end
|
443
449
|
|
@@ -1087,6 +1093,7 @@ module Aws::Redshift
|
|
1087
1093
|
# enhanced_vpc_routing: false,
|
1088
1094
|
# additional_info: "String",
|
1089
1095
|
# iam_roles: ["String"],
|
1096
|
+
# maintenance_track_name: "String",
|
1090
1097
|
# }
|
1091
1098
|
#
|
1092
1099
|
# @!attribute [rw] db_name
|
@@ -1422,6 +1429,12 @@ module Aws::Redshift
|
|
1422
1429
|
# time.
|
1423
1430
|
# @return [Array<String>]
|
1424
1431
|
#
|
1432
|
+
# @!attribute [rw] maintenance_track_name
|
1433
|
+
# An optional parameter for the name of the maintenance track for the
|
1434
|
+
# cluster. If you don't provide a maintenance track name, the cluster
|
1435
|
+
# is assigned to the `current` track.
|
1436
|
+
# @return [String]
|
1437
|
+
#
|
1425
1438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage AWS API Documentation
|
1426
1439
|
#
|
1427
1440
|
class CreateClusterMessage < Struct.new(
|
@@ -1451,7 +1464,8 @@ module Aws::Redshift
|
|
1451
1464
|
:kms_key_id,
|
1452
1465
|
:enhanced_vpc_routing,
|
1453
1466
|
:additional_info,
|
1454
|
-
:iam_roles
|
1467
|
+
:iam_roles,
|
1468
|
+
:maintenance_track_name)
|
1455
1469
|
include Aws::Structure
|
1456
1470
|
end
|
1457
1471
|
|
@@ -2831,6 +2845,43 @@ module Aws::Redshift
|
|
2831
2845
|
include Aws::Structure
|
2832
2846
|
end
|
2833
2847
|
|
2848
|
+
# @note When making an API call, you may pass DescribeClusterTracksMessage
|
2849
|
+
# data as a hash:
|
2850
|
+
#
|
2851
|
+
# {
|
2852
|
+
# maintenance_track_name: "String",
|
2853
|
+
# max_records: 1,
|
2854
|
+
# marker: "String",
|
2855
|
+
# }
|
2856
|
+
#
|
2857
|
+
# @!attribute [rw] maintenance_track_name
|
2858
|
+
# The name of the maintenance track.
|
2859
|
+
# @return [String]
|
2860
|
+
#
|
2861
|
+
# @!attribute [rw] max_records
|
2862
|
+
# An integer value for the maximum number of maintenance tracks to
|
2863
|
+
# return.
|
2864
|
+
# @return [Integer]
|
2865
|
+
#
|
2866
|
+
# @!attribute [rw] marker
|
2867
|
+
# An optional parameter that specifies the starting point to return a
|
2868
|
+
# set of response records. When the results of a
|
2869
|
+
# `DescribeClusterTracks` request exceed the value specified in
|
2870
|
+
# `MaxRecords`, Amazon Redshift returns a value in the `Marker` field
|
2871
|
+
# of the response. You can retrieve the next set of response records
|
2872
|
+
# by providing the returned marker value in the `Marker` parameter and
|
2873
|
+
# retrying the request.
|
2874
|
+
# @return [String]
|
2875
|
+
#
|
2876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterTracksMessage AWS API Documentation
|
2877
|
+
#
|
2878
|
+
class DescribeClusterTracksMessage < Struct.new(
|
2879
|
+
:maintenance_track_name,
|
2880
|
+
:max_records,
|
2881
|
+
:marker)
|
2882
|
+
include Aws::Structure
|
2883
|
+
end
|
2884
|
+
|
2834
2885
|
# @note When making an API call, you may pass DescribeClusterVersionsMessage
|
2835
2886
|
# data as a hash:
|
2836
2887
|
#
|
@@ -4393,8 +4444,8 @@ module Aws::Redshift
|
|
4393
4444
|
# }
|
4394
4445
|
#
|
4395
4446
|
# @!attribute [rw] reserved_node_id
|
4396
|
-
# A string representing the node identifier for the Reserved Node
|
4397
|
-
# be exchanged.
|
4447
|
+
# A string representing the node identifier for the DC1 Reserved Node
|
4448
|
+
# to be exchanged.
|
4398
4449
|
# @return [String]
|
4399
4450
|
#
|
4400
4451
|
# @!attribute [rw] max_records
|
@@ -4636,6 +4687,36 @@ module Aws::Redshift
|
|
4636
4687
|
include Aws::Structure
|
4637
4688
|
end
|
4638
4689
|
|
4690
|
+
# Defines a maintenance track that determines which Amazon Redshift
|
4691
|
+
# version to apply during a maintenance window. If the value for
|
4692
|
+
# `MaintenanceTrack` is `current`, the cluster is updated to the most
|
4693
|
+
# recently certified maintenance release. If the value is `trailing`,
|
4694
|
+
# the cluster is updated to the previously certified maintenance
|
4695
|
+
# release.
|
4696
|
+
#
|
4697
|
+
# @!attribute [rw] maintenance_track_name
|
4698
|
+
# The name of the maintenance track. Possible values are `current` and
|
4699
|
+
# `trailing`.
|
4700
|
+
# @return [String]
|
4701
|
+
#
|
4702
|
+
# @!attribute [rw] database_version
|
4703
|
+
# The version number for the cluster release.
|
4704
|
+
# @return [String]
|
4705
|
+
#
|
4706
|
+
# @!attribute [rw] update_targets
|
4707
|
+
# An array of UpdateTarget objects to update with the maintenance
|
4708
|
+
# track.
|
4709
|
+
# @return [Array<Types::UpdateTarget>]
|
4710
|
+
#
|
4711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/MaintenanceTrack AWS API Documentation
|
4712
|
+
#
|
4713
|
+
class MaintenanceTrack < Struct.new(
|
4714
|
+
:maintenance_track_name,
|
4715
|
+
:database_version,
|
4716
|
+
:update_targets)
|
4717
|
+
include Aws::Structure
|
4718
|
+
end
|
4719
|
+
|
4639
4720
|
# @note When making an API call, you may pass ModifyClusterDbRevisionMessage
|
4640
4721
|
# data as a hash:
|
4641
4722
|
#
|
@@ -4743,6 +4824,7 @@ module Aws::Redshift
|
|
4743
4824
|
# publicly_accessible: false,
|
4744
4825
|
# elastic_ip: "String",
|
4745
4826
|
# enhanced_vpc_routing: false,
|
4827
|
+
# maintenance_track_name: "String",
|
4746
4828
|
# }
|
4747
4829
|
#
|
4748
4830
|
# @!attribute [rw] cluster_identifier
|
@@ -4982,6 +5064,16 @@ module Aws::Redshift
|
|
4982
5064
|
# [1]: http://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html
|
4983
5065
|
# @return [Boolean]
|
4984
5066
|
#
|
5067
|
+
# @!attribute [rw] maintenance_track_name
|
5068
|
+
# The name for the maintenance track that you want to assign for the
|
5069
|
+
# cluster. This name change is asynchronous. The new track name stays
|
5070
|
+
# in the `PendingModifiedValues` for the cluster until the next
|
5071
|
+
# maintenance window. When the maintenance track changes, the cluster
|
5072
|
+
# is switched to the latest cluster release available for the
|
5073
|
+
# maintenance track. At this point, the maintenance track name is
|
5074
|
+
# applied.
|
5075
|
+
# @return [String]
|
5076
|
+
#
|
4985
5077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage AWS API Documentation
|
4986
5078
|
#
|
4987
5079
|
class ModifyClusterMessage < Struct.new(
|
@@ -5002,7 +5094,8 @@ module Aws::Redshift
|
|
5002
5094
|
:new_cluster_identifier,
|
5003
5095
|
:publicly_accessible,
|
5004
5096
|
:elastic_ip,
|
5005
|
-
:enhanced_vpc_routing
|
5097
|
+
:enhanced_vpc_routing,
|
5098
|
+
:maintenance_track_name)
|
5006
5099
|
include Aws::Structure
|
5007
5100
|
end
|
5008
5101
|
|
@@ -5431,6 +5524,11 @@ module Aws::Redshift
|
|
5431
5524
|
# [1]: http://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html
|
5432
5525
|
# @return [Boolean]
|
5433
5526
|
#
|
5527
|
+
# @!attribute [rw] maintenance_track_name
|
5528
|
+
# The name of the maintenance track that the cluster will change to
|
5529
|
+
# during the next maintenance window.
|
5530
|
+
# @return [String]
|
5531
|
+
#
|
5434
5532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PendingModifiedValues AWS API Documentation
|
5435
5533
|
#
|
5436
5534
|
class PendingModifiedValues < Struct.new(
|
@@ -5442,7 +5540,8 @@ module Aws::Redshift
|
|
5442
5540
|
:automated_snapshot_retention_period,
|
5443
5541
|
:cluster_identifier,
|
5444
5542
|
:publicly_accessible,
|
5445
|
-
:enhanced_vpc_routing
|
5543
|
+
:enhanced_vpc_routing,
|
5544
|
+
:maintenance_track_name)
|
5446
5545
|
include Aws::Structure
|
5447
5546
|
end
|
5448
5547
|
|
@@ -5896,6 +5995,7 @@ module Aws::Redshift
|
|
5896
5995
|
# enhanced_vpc_routing: false,
|
5897
5996
|
# additional_info: "String",
|
5898
5997
|
# iam_roles: ["String"],
|
5998
|
+
# maintenance_track_name: "String",
|
5899
5999
|
# }
|
5900
6000
|
#
|
5901
6001
|
# @!attribute [rw] cluster_identifier
|
@@ -6112,6 +6212,17 @@ module Aws::Redshift
|
|
6112
6212
|
# A cluster can have up to 10 IAM roles associated at any time.
|
6113
6213
|
# @return [Array<String>]
|
6114
6214
|
#
|
6215
|
+
# @!attribute [rw] maintenance_track_name
|
6216
|
+
# The name of the maintenance track for the restored cluster. When you
|
6217
|
+
# take a snapshot, the snapshot inherits the `MaintenanceTrack` value
|
6218
|
+
# from the cluster. The snapshot might be on a different track than
|
6219
|
+
# the cluster that was the source for the snapshot. For example,
|
6220
|
+
# suppose that you take a snapshot of a cluster that is on the current
|
6221
|
+
# track and then change the cluster to be on the trailing track. In
|
6222
|
+
# this case, the snapshot and the source cluster are on different
|
6223
|
+
# tracks.
|
6224
|
+
# @return [String]
|
6225
|
+
#
|
6115
6226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
|
6116
6227
|
#
|
6117
6228
|
class RestoreFromClusterSnapshotMessage < Struct.new(
|
@@ -6136,7 +6247,8 @@ module Aws::Redshift
|
|
6136
6247
|
:node_type,
|
6137
6248
|
:enhanced_vpc_routing,
|
6138
6249
|
:additional_info,
|
6139
|
-
:iam_roles
|
6250
|
+
:iam_roles,
|
6251
|
+
:maintenance_track_name)
|
6140
6252
|
include Aws::Structure
|
6141
6253
|
end
|
6142
6254
|
|
@@ -6595,6 +6707,10 @@ module Aws::Redshift
|
|
6595
6707
|
# [1]: http://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html
|
6596
6708
|
# @return [Boolean]
|
6597
6709
|
#
|
6710
|
+
# @!attribute [rw] maintenance_track_name
|
6711
|
+
# The name of the maintenance track for the snapshot.
|
6712
|
+
# @return [String]
|
6713
|
+
#
|
6598
6714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Snapshot AWS API Documentation
|
6599
6715
|
#
|
6600
6716
|
class Snapshot < Struct.new(
|
@@ -6626,7 +6742,8 @@ module Aws::Redshift
|
|
6626
6742
|
:source_region,
|
6627
6743
|
:tags,
|
6628
6744
|
:restorable_node_types,
|
6629
|
-
:enhanced_vpc_routing
|
6745
|
+
:enhanced_vpc_routing,
|
6746
|
+
:maintenance_track_name)
|
6630
6747
|
include Aws::Structure
|
6631
6748
|
end
|
6632
6749
|
|
@@ -6955,6 +7072,44 @@ module Aws::Redshift
|
|
6955
7072
|
include Aws::Structure
|
6956
7073
|
end
|
6957
7074
|
|
7075
|
+
# @!attribute [rw] maintenance_tracks
|
7076
|
+
# A list of maintenance tracks output by the `DescribeClusterTracks`
|
7077
|
+
# operation.
|
7078
|
+
# @return [Array<Types::MaintenanceTrack>]
|
7079
|
+
#
|
7080
|
+
# @!attribute [rw] marker
|
7081
|
+
# The starting point to return a set of response tracklist records.
|
7082
|
+
# You can retrieve the next set of response records by providing the
|
7083
|
+
# returned marker value in the `Marker` parameter and retrying the
|
7084
|
+
# request.
|
7085
|
+
# @return [String]
|
7086
|
+
#
|
7087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TrackListMessage AWS API Documentation
|
7088
|
+
#
|
7089
|
+
class TrackListMessage < Struct.new(
|
7090
|
+
:maintenance_tracks,
|
7091
|
+
:marker)
|
7092
|
+
include Aws::Structure
|
7093
|
+
end
|
7094
|
+
|
7095
|
+
# A maintenance track that you can switch the current track to.
|
7096
|
+
#
|
7097
|
+
# @!attribute [rw] maintenance_track_name
|
7098
|
+
# The name of the new maintenance track.
|
7099
|
+
# @return [String]
|
7100
|
+
#
|
7101
|
+
# @!attribute [rw] database_version
|
7102
|
+
# The cluster version for the new maintenance track.
|
7103
|
+
# @return [String]
|
7104
|
+
#
|
7105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/UpdateTarget AWS API Documentation
|
7106
|
+
#
|
7107
|
+
class UpdateTarget < Struct.new(
|
7108
|
+
:maintenance_track_name,
|
7109
|
+
:database_version)
|
7110
|
+
include Aws::Structure
|
7111
|
+
end
|
7112
|
+
|
6958
7113
|
# Describes the members of a VPC security group.
|
6959
7114
|
#
|
6960
7115
|
# @!attribute [rw] vpc_security_group_id
|
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.6.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-07-
|
11
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|