aws-sdk-redshift 1.46.0 → 1.51.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
  SHA256:
3
- metadata.gz: 2a4170c4c7f09869c97ed4b174453ae9f0e468e9f9ecd35ccc9688562bf82525
4
- data.tar.gz: b3d43f9cb3f4862ab1f71c35bc7de6db8759b8e4703f6b37d189fd3f97d39455
3
+ metadata.gz: 9a4a31227133698066deb1c423ebcba10a028541327ab45cfdda943cd29a61cb
4
+ data.tar.gz: 9a6b91962043fda4c8555dd94ffba9bd71c468c95011e2104489c2c9adc91848
5
5
  SHA512:
6
- metadata.gz: 61adefb384fd25ac6744667e7f6988a86ed7f79362e9fab31e09f38d1f063bc062210ddaa8cc379c796de62852cacf76d362afb59b82bc823588b58dad186cb2
7
- data.tar.gz: c7f5c894dbc28f689254ba1d18830d05ff3aa553a613418c4436e1aa6d44ee20dc456f17a0c471cff1f966a2c5dd6d24f0c2dc748170d95d03078990a295e1e5
6
+ metadata.gz: ad256bdaeda3c5da023e9cc9f55742e94b126f54bf90aa0f59b44355e5b9a0c0f1525f930a1f7c2607a76802b2f4955cb109290d646b1c7438a2bb4833f5bfdc
7
+ data.tar.gz: d7028ca2376d798607b3652dace85f2366a226c2fe3c942fccc36e3f23ae8ed4becbcd405ac0ee5b7b99ba3762645a17533d1b84b31962ac44eb11e5ff258a06
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-redshift/customizations'
45
46
  #
46
47
  # See {Errors} for more information.
47
48
  #
48
- # @service
49
+ # @!group service
49
50
  module Aws::Redshift
50
51
 
51
- GEM_VERSION = '1.46.0'
52
+ GEM_VERSION = '1.51.0'
52
53
 
53
54
  end
@@ -85,13 +85,28 @@ module Aws::Redshift
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Redshift
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -1289,6 +1304,7 @@ module Aws::Redshift
1289
1304
  # resp.cluster.next_maintenance_window_start_time #=> Time
1290
1305
  # resp.cluster.resize_info.resize_type #=> String
1291
1306
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
1307
+ # resp.cluster.cluster_namespace_arn #=> String
1292
1308
  #
1293
1309
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
1294
1310
  #
@@ -2480,6 +2496,7 @@ module Aws::Redshift
2480
2496
  # resp.cluster.next_maintenance_window_start_time #=> Time
2481
2497
  # resp.cluster.resize_info.resize_type #=> String
2482
2498
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
2499
+ # resp.cluster.cluster_namespace_arn #=> String
2483
2500
  #
2484
2501
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
2485
2502
  #
@@ -2917,6 +2934,8 @@ module Aws::Redshift
2917
2934
  # * {Types::ClusterDbRevisionsMessage#marker #marker} => String
2918
2935
  # * {Types::ClusterDbRevisionsMessage#cluster_db_revisions #cluster_db_revisions} => Array<Types::ClusterDbRevision>
2919
2936
  #
2937
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2938
+ #
2920
2939
  # @example Request syntax with placeholder values
2921
2940
  #
2922
2941
  # resp = client.describe_cluster_db_revisions({
@@ -3590,6 +3609,8 @@ module Aws::Redshift
3590
3609
  # * {Types::TrackListMessage#maintenance_tracks #maintenance_tracks} => Array<Types::MaintenanceTrack>
3591
3610
  # * {Types::TrackListMessage#marker #marker} => String
3592
3611
  #
3612
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3613
+ #
3593
3614
  # @example Request syntax with placeholder values
3594
3615
  #
3595
3616
  # resp = client.describe_cluster_tracks({
@@ -3880,6 +3901,7 @@ module Aws::Redshift
3880
3901
  # resp.clusters[0].next_maintenance_window_start_time #=> Time
3881
3902
  # resp.clusters[0].resize_info.resize_type #=> String
3882
3903
  # resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
3904
+ # resp.clusters[0].cluster_namespace_arn #=> String
3883
3905
  #
3884
3906
  #
3885
3907
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5034,6 +5056,8 @@ module Aws::Redshift
5034
5056
  # * {Types::SnapshotCopyGrantMessage#marker #marker} => String
5035
5057
  # * {Types::SnapshotCopyGrantMessage#snapshot_copy_grants #snapshot_copy_grants} => Array<Types::SnapshotCopyGrant>
5036
5058
  #
5059
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5060
+ #
5037
5061
  # @example Request syntax with placeholder values
5038
5062
  #
5039
5063
  # resp = client.describe_snapshot_copy_grants({
@@ -5098,6 +5122,8 @@ module Aws::Redshift
5098
5122
  # * {Types::DescribeSnapshotSchedulesOutputMessage#snapshot_schedules #snapshot_schedules} => Array<Types::SnapshotSchedule>
5099
5123
  # * {Types::DescribeSnapshotSchedulesOutputMessage#marker #marker} => String
5100
5124
  #
5125
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5126
+ #
5101
5127
  # @example Request syntax with placeholder values
5102
5128
  #
5103
5129
  # resp = client.describe_snapshot_schedules({
@@ -5191,6 +5217,8 @@ module Aws::Redshift
5191
5217
  # * {Types::TableRestoreStatusMessage#table_restore_status_details #table_restore_status_details} => Array<Types::TableRestoreStatus>
5192
5218
  # * {Types::TableRestoreStatusMessage#marker #marker} => String
5193
5219
  #
5220
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5221
+ #
5194
5222
  # @example Request syntax with placeholder values
5195
5223
  #
5196
5224
  # resp = client.describe_table_restore_status({
@@ -5327,6 +5355,8 @@ module Aws::Redshift
5327
5355
  # * {Types::TaggedResourceListMessage#tagged_resources #tagged_resources} => Array<Types::TaggedResource>
5328
5356
  # * {Types::TaggedResourceListMessage#marker #marker} => String
5329
5357
  #
5358
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5359
+ #
5330
5360
  # @example Request syntax with placeholder values
5331
5361
  #
5332
5362
  # resp = client.describe_tags({
@@ -5627,6 +5657,7 @@ module Aws::Redshift
5627
5657
  # resp.cluster.next_maintenance_window_start_time #=> Time
5628
5658
  # resp.cluster.resize_info.resize_type #=> String
5629
5659
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
5660
+ # resp.cluster.cluster_namespace_arn #=> String
5630
5661
  #
5631
5662
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
5632
5663
  #
@@ -5861,6 +5892,7 @@ module Aws::Redshift
5861
5892
  # resp.cluster.next_maintenance_window_start_time #=> Time
5862
5893
  # resp.cluster.resize_info.resize_type #=> String
5863
5894
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
5895
+ # resp.cluster.cluster_namespace_arn #=> String
5864
5896
  #
5865
5897
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
5866
5898
  #
@@ -6051,6 +6083,8 @@ module Aws::Redshift
6051
6083
  # * {Types::GetReservedNodeExchangeOfferingsOutputMessage#marker #marker} => String
6052
6084
  # * {Types::GetReservedNodeExchangeOfferingsOutputMessage#reserved_node_offerings #reserved_node_offerings} => Array<Types::ReservedNodeOffering>
6053
6085
  #
6086
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6087
+ #
6054
6088
  # @example Request syntax with placeholder values
6055
6089
  #
6056
6090
  # resp = client.get_reserved_node_exchange_offerings({
@@ -6343,9 +6377,7 @@ module Aws::Redshift
6343
6377
  # Indicates whether the cluster is encrypted. If the value is encrypted
6344
6378
  # (true) and you provide a value for the `KmsKeyId` parameter, we
6345
6379
  # encrypt the cluster with the provided `KmsKeyId`. If you don't
6346
- # provide a `KmsKeyId`, we encrypt with the default key. In the China
6347
- # region we use legacy encryption if you specify that the cluster is
6348
- # encrypted.
6380
+ # provide a `KmsKeyId`, we encrypt with the default key.
6349
6381
  #
6350
6382
  # If the value is not encrypted (false), then the cluster is decrypted.
6351
6383
  #
@@ -6481,6 +6513,7 @@ module Aws::Redshift
6481
6513
  # resp.cluster.next_maintenance_window_start_time #=> Time
6482
6514
  # resp.cluster.resize_info.resize_type #=> String
6483
6515
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6516
+ # resp.cluster.cluster_namespace_arn #=> String
6484
6517
  #
6485
6518
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
6486
6519
  #
@@ -6612,6 +6645,7 @@ module Aws::Redshift
6612
6645
  # resp.cluster.next_maintenance_window_start_time #=> Time
6613
6646
  # resp.cluster.resize_info.resize_type #=> String
6614
6647
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6648
+ # resp.cluster.cluster_namespace_arn #=> String
6615
6649
  #
6616
6650
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
6617
6651
  #
@@ -6750,6 +6784,7 @@ module Aws::Redshift
6750
6784
  # resp.cluster.next_maintenance_window_start_time #=> Time
6751
6785
  # resp.cluster.resize_info.resize_type #=> String
6752
6786
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6787
+ # resp.cluster.cluster_namespace_arn #=> String
6753
6788
  #
6754
6789
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
6755
6790
  #
@@ -6897,6 +6932,7 @@ module Aws::Redshift
6897
6932
  # resp.cluster.next_maintenance_window_start_time #=> Time
6898
6933
  # resp.cluster.resize_info.resize_type #=> String
6899
6934
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6935
+ # resp.cluster.cluster_namespace_arn #=> String
6900
6936
  #
6901
6937
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance AWS API Documentation
6902
6938
  #
@@ -7479,6 +7515,7 @@ module Aws::Redshift
7479
7515
  # resp.cluster.next_maintenance_window_start_time #=> Time
7480
7516
  # resp.cluster.resize_info.resize_type #=> String
7481
7517
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7518
+ # resp.cluster.cluster_namespace_arn #=> String
7482
7519
  #
7483
7520
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
7484
7521
  #
@@ -7709,6 +7746,7 @@ module Aws::Redshift
7709
7746
  # resp.cluster.next_maintenance_window_start_time #=> Time
7710
7747
  # resp.cluster.resize_info.resize_type #=> String
7711
7748
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7749
+ # resp.cluster.cluster_namespace_arn #=> String
7712
7750
  #
7713
7751
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
7714
7752
  #
@@ -7902,6 +7940,7 @@ module Aws::Redshift
7902
7940
  # resp.cluster.next_maintenance_window_start_time #=> Time
7903
7941
  # resp.cluster.resize_info.resize_type #=> String
7904
7942
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7943
+ # resp.cluster.cluster_namespace_arn #=> String
7905
7944
  #
7906
7945
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
7907
7946
  #
@@ -7983,6 +8022,10 @@ module Aws::Redshift
7983
8022
  #
7984
8023
  # * You can only resize clusters of the following types:
7985
8024
  #
8025
+ # * dc1.large (if your cluster is in a VPC)
8026
+ #
8027
+ # * dc1.8xlarge (if your cluster is in a VPC)
8028
+ #
7986
8029
  # * dc2.large
7987
8030
  #
7988
8031
  # * dc2.8xlarge
@@ -8009,7 +8052,8 @@ module Aws::Redshift
8009
8052
  # cluster's current node type is used.
8010
8053
  #
8011
8054
  # @option params [Integer] :number_of_nodes
8012
- # The new number of nodes for the cluster.
8055
+ # The new number of nodes for the cluster. If not specified, the
8056
+ # cluster's current number of nodes is used.
8013
8057
  #
8014
8058
  # @option params [Boolean] :classic
8015
8059
  # A boolean value indicating whether the resize operation is using the
@@ -8127,6 +8171,7 @@ module Aws::Redshift
8127
8171
  # resp.cluster.next_maintenance_window_start_time #=> Time
8128
8172
  # resp.cluster.resize_info.resize_type #=> String
8129
8173
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
8174
+ # resp.cluster.cluster_namespace_arn #=> String
8130
8175
  #
8131
8176
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster AWS API Documentation
8132
8177
  #
@@ -8504,6 +8549,7 @@ module Aws::Redshift
8504
8549
  # resp.cluster.next_maintenance_window_start_time #=> Time
8505
8550
  # resp.cluster.resize_info.resize_type #=> String
8506
8551
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
8552
+ # resp.cluster.cluster_namespace_arn #=> String
8507
8553
  #
8508
8554
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
8509
8555
  #
@@ -8713,6 +8759,7 @@ module Aws::Redshift
8713
8759
  # resp.cluster.next_maintenance_window_start_time #=> Time
8714
8760
  # resp.cluster.resize_info.resize_type #=> String
8715
8761
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
8762
+ # resp.cluster.cluster_namespace_arn #=> String
8716
8763
  #
8717
8764
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
8718
8765
  #
@@ -9003,6 +9050,7 @@ module Aws::Redshift
9003
9050
  # resp.cluster.next_maintenance_window_start_time #=> Time
9004
9051
  # resp.cluster.resize_info.resize_type #=> String
9005
9052
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
9053
+ # resp.cluster.cluster_namespace_arn #=> String
9006
9054
  #
9007
9055
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
9008
9056
  #
@@ -9026,7 +9074,7 @@ module Aws::Redshift
9026
9074
  params: params,
9027
9075
  config: config)
9028
9076
  context[:gem_name] = 'aws-sdk-redshift'
9029
- context[:gem_version] = '1.46.0'
9077
+ context[:gem_version] = '1.51.0'
9030
9078
  Seahorse::Client::Request.new(handlers, context)
9031
9079
  end
9032
9080
 
@@ -579,6 +579,7 @@ module Aws::Redshift
579
579
  Cluster.add_member(:expected_next_snapshot_schedule_time_status, Shapes::ShapeRef.new(shape: String, location_name: "ExpectedNextSnapshotScheduleTimeStatus"))
580
580
  Cluster.add_member(:next_maintenance_window_start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "NextMaintenanceWindowStartTime"))
581
581
  Cluster.add_member(:resize_info, Shapes::ShapeRef.new(shape: ResizeInfo, location_name: "ResizeInfo"))
582
+ Cluster.add_member(:cluster_namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "ClusterNamespaceArn"))
582
583
  Cluster.struct_class = Types::Cluster
583
584
 
584
585
  ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
@@ -2520,6 +2521,12 @@ module Aws::Redshift
2520
2521
  o.output = Shapes::ShapeRef.new(shape: ClusterDbRevisionsMessage)
2521
2522
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2522
2523
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2524
+ o[:pager] = Aws::Pager.new(
2525
+ limit_key: "max_records",
2526
+ tokens: {
2527
+ "marker" => "marker"
2528
+ }
2529
+ )
2523
2530
  end)
2524
2531
 
2525
2532
  api.add_operation(:describe_cluster_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -2610,6 +2617,12 @@ module Aws::Redshift
2610
2617
  o.output = Shapes::ShapeRef.new(shape: TrackListMessage)
2611
2618
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
2612
2619
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
2620
+ o[:pager] = Aws::Pager.new(
2621
+ limit_key: "max_records",
2622
+ tokens: {
2623
+ "marker" => "marker"
2624
+ }
2625
+ )
2613
2626
  end)
2614
2627
 
2615
2628
  api.add_operation(:describe_cluster_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -2834,6 +2847,12 @@ module Aws::Redshift
2834
2847
  o.output = Shapes::ShapeRef.new(shape: SnapshotCopyGrantMessage)
2835
2848
  o.errors << Shapes::ShapeRef.new(shape: SnapshotCopyGrantNotFoundFault)
2836
2849
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
2850
+ o[:pager] = Aws::Pager.new(
2851
+ limit_key: "max_records",
2852
+ tokens: {
2853
+ "marker" => "marker"
2854
+ }
2855
+ )
2837
2856
  end)
2838
2857
 
2839
2858
  api.add_operation(:describe_snapshot_schedules, Seahorse::Model::Operation.new.tap do |o|
@@ -2842,6 +2861,12 @@ module Aws::Redshift
2842
2861
  o.http_request_uri = "/"
2843
2862
  o.input = Shapes::ShapeRef.new(shape: DescribeSnapshotSchedulesMessage)
2844
2863
  o.output = Shapes::ShapeRef.new(shape: DescribeSnapshotSchedulesOutputMessage)
2864
+ o[:pager] = Aws::Pager.new(
2865
+ limit_key: "max_records",
2866
+ tokens: {
2867
+ "marker" => "marker"
2868
+ }
2869
+ )
2845
2870
  end)
2846
2871
 
2847
2872
  api.add_operation(:describe_storage, Seahorse::Model::Operation.new.tap do |o|
@@ -2860,6 +2885,12 @@ module Aws::Redshift
2860
2885
  o.output = Shapes::ShapeRef.new(shape: TableRestoreStatusMessage)
2861
2886
  o.errors << Shapes::ShapeRef.new(shape: TableRestoreNotFoundFault)
2862
2887
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2888
+ o[:pager] = Aws::Pager.new(
2889
+ limit_key: "max_records",
2890
+ tokens: {
2891
+ "marker" => "marker"
2892
+ }
2893
+ )
2863
2894
  end)
2864
2895
 
2865
2896
  api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -2870,6 +2901,12 @@ module Aws::Redshift
2870
2901
  o.output = Shapes::ShapeRef.new(shape: TaggedResourceListMessage)
2871
2902
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2872
2903
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
2904
+ o[:pager] = Aws::Pager.new(
2905
+ limit_key: "max_records",
2906
+ tokens: {
2907
+ "marker" => "marker"
2908
+ }
2909
+ )
2873
2910
  end)
2874
2911
 
2875
2912
  api.add_operation(:describe_usage_limits, Seahorse::Model::Operation.new.tap do |o|
@@ -2964,6 +3001,12 @@ module Aws::Redshift
2964
3001
  o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
2965
3002
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2966
3003
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
3004
+ o[:pager] = Aws::Pager.new(
3005
+ limit_key: "max_records",
3006
+ tokens: {
3007
+ "marker" => "marker"
3008
+ }
3009
+ )
2967
3010
  end)
2968
3011
 
2969
3012
  api.add_operation(:modify_cluster, Seahorse::Model::Operation.new.tap do |o|
@@ -705,6 +705,10 @@ module Aws::Redshift
705
705
  # * ResizeType: Returns ClassicResize
706
706
  # @return [Types::ResizeInfo]
707
707
  #
708
+ # @!attribute [rw] cluster_namespace_arn
709
+ # The namespace Amazon Resource Name (ARN) of the cluster.
710
+ # @return [String]
711
+ #
708
712
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
709
713
  #
710
714
  class Cluster < Struct.new(
@@ -753,7 +757,8 @@ module Aws::Redshift
753
757
  :expected_next_snapshot_schedule_time,
754
758
  :expected_next_snapshot_schedule_time_status,
755
759
  :next_maintenance_window_start_time,
756
- :resize_info)
760
+ :resize_info,
761
+ :cluster_namespace_arn)
757
762
  SENSITIVE = []
758
763
  include Aws::Structure
759
764
  end
@@ -6827,9 +6832,7 @@ module Aws::Redshift
6827
6832
  # Indicates whether the cluster is encrypted. If the value is
6828
6833
  # encrypted (true) and you provide a value for the `KmsKeyId`
6829
6834
  # parameter, we encrypt the cluster with the provided `KmsKeyId`. If
6830
- # you don't provide a `KmsKeyId`, we encrypt with the default key. In
6831
- # the China region we use legacy encryption if you specify that the
6832
- # cluster is encrypted.
6835
+ # you don't provide a `KmsKeyId`, we encrypt with the default key.
6833
6836
  #
6834
6837
  # If the value is not encrypted (false), then the cluster is
6835
6838
  # decrypted.
@@ -6869,6 +6872,8 @@ module Aws::Redshift
6869
6872
  include Aws::Structure
6870
6873
  end
6871
6874
 
6875
+ # Describes a modify cluster parameter group operation.
6876
+ #
6872
6877
  # @note When making an API call, you may pass ModifyClusterParameterGroupMessage
6873
6878
  # data as a hash:
6874
6879
  #
@@ -7603,6 +7608,9 @@ module Aws::Redshift
7603
7608
  include Aws::Structure
7604
7609
  end
7605
7610
 
7611
+ # Describes a pause cluster operation. For example, a scheduled action
7612
+ # to run the `PauseCluster` API operation.
7613
+ #
7606
7614
  # @note When making an API call, you may pass PauseClusterMessage
7607
7615
  # data as a hash:
7608
7616
  #
@@ -7698,7 +7706,7 @@ module Aws::Redshift
7698
7706
  #
7699
7707
  # @!attribute [rw] encryption_type
7700
7708
  # The encryption type for a cluster. Possible values are: KMS and
7701
- # None. For the China region the possible values are None, and Legacy.
7709
+ # None.
7702
7710
  # @return [String]
7703
7711
  #
7704
7712
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PendingModifiedValues AWS API Documentation
@@ -8095,6 +8103,9 @@ module Aws::Redshift
8095
8103
  include Aws::Structure
8096
8104
  end
8097
8105
 
8106
+ # Describes a resize cluster operation. For example, a scheduled action
8107
+ # to run the `ResizeCluster` API operation.
8108
+ #
8098
8109
  # @note When making an API call, you may pass ResizeClusterMessage
8099
8110
  # data as a hash:
8100
8111
  #
@@ -8120,7 +8131,8 @@ module Aws::Redshift
8120
8131
  # @return [String]
8121
8132
  #
8122
8133
  # @!attribute [rw] number_of_nodes
8123
- # The new number of nodes for the cluster.
8134
+ # The new number of nodes for the cluster. If not specified, the
8135
+ # cluster's current number of nodes is used.
8124
8136
  # @return [Integer]
8125
8137
  #
8126
8138
  # @!attribute [rw] classic
@@ -8268,8 +8280,7 @@ module Aws::Redshift
8268
8280
  # @!attribute [rw] target_encryption_type
8269
8281
  # The type of encryption for the cluster after the resize is complete.
8270
8282
  #
8271
- # Possible values are `KMS` and `None`. In the China region possible
8272
- # values are: `Legacy` and `None`.
8283
+ # Possible values are `KMS` and `None`.
8273
8284
  # @return [String]
8274
8285
  #
8275
8286
  # @!attribute [rw] data_transfer_progress_percent
@@ -8755,6 +8766,9 @@ module Aws::Redshift
8755
8766
  include Aws::Structure
8756
8767
  end
8757
8768
 
8769
+ # Describes a resume cluster operation. For example, a scheduled action
8770
+ # to run the `ResumeCluster` API operation.
8771
+ #
8758
8772
  # @note When making an API call, you may pass ResumeClusterMessage
8759
8773
  # data as a hash:
8760
8774
  #
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.46.0
4
+ version: 1.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement