aws-sdk-redshift 1.77.0 → 1.80.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: 6f265f732dd417bbaeb04b7affa366689b64246bde9cbd1331acf5878f91540a
4
- data.tar.gz: db466c6ff6097687e0a020b96579dd693c0d56f2d86114420feeb29351417d5c
3
+ metadata.gz: 8acbad17b7838dd36967fe5f1a73775ec9fd751e1233fbc3806afee1d210f37d
4
+ data.tar.gz: b1032f5b71ccd35801324aa3a9d74e5df0bbb30331ed20494f14dae6f554b057
5
5
  SHA512:
6
- metadata.gz: 03c449137c2969f2193a14d436f3c2c7c604ee3d6d77df3f4a7679c469388b4c1768e9df35535eb61bce5eae5ddb00f743055e0ab95d79a1bf3ba452289537c3
7
- data.tar.gz: 8cebe307dd0019c737b065ba2b1711a1d00d4de5343b2bba19770a6fe8192eadb722fd200f67343666f5802337c5837cf136a888bbe03f5e446ca7f3f94c4659
6
+ metadata.gz: 22fd0890847ab270cb3ec265b4145fa3ff2a4f169e4dc5ea6f902588d05c5c1f8189e53b80da44f0988f6bd5c835745d119dc5dc3e7affce32bb7ed1674daa77
7
+ data.tar.gz: 58b364d7bd9497bc767cd4bcf0572a269801fa62a8e72ba5c520e74e0da3382c32fa0bba2ec3ca9255edc69db8e3c7fd1130732b92a663fb1c5cf1bccab4eca8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.80.0 (2022-03-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new [--encrypted | --no-encrypted] field in restore-from-cluster-snapshot API. Customers can now restore an unencrypted snapshot to a cluster encrypted with AWS Managed Key or their own KMS key.
8
+
9
+ 1.79.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.78.0 (2022-02-17)
15
+ ------------------
16
+
17
+ * Feature - SDK release for Cross region datasharing and cost-control for cross region datasharing
18
+
4
19
  1.77.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.80.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Redshift
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -463,6 +465,11 @@ module Aws::Redshift
463
465
  # The Amazon Resource Name (ARN) of the consumer that is associated with
464
466
  # the datashare.
465
467
  #
468
+ # @option params [String] :consumer_region
469
+ # From a datashare consumer account, associates a datashare with all
470
+ # existing and future namespaces in the specified Amazon Web Services
471
+ # Region.
472
+ #
466
473
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
467
474
  #
468
475
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
@@ -477,6 +484,7 @@ module Aws::Redshift
477
484
  # data_share_arn: "String", # required
478
485
  # associate_entire_account: false,
479
486
  # consumer_arn: "String",
487
+ # consumer_region: "String",
480
488
  # })
481
489
  #
482
490
  # @example Response structure
@@ -487,6 +495,7 @@ module Aws::Redshift
487
495
  # resp.data_share_associations #=> Array
488
496
  # resp.data_share_associations[0].consumer_identifier #=> String
489
497
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
498
+ # resp.data_share_associations[0].consumer_region #=> String
490
499
  # resp.data_share_associations[0].created_date #=> Time
491
500
  # resp.data_share_associations[0].status_change_date #=> Time
492
501
  # resp.managed_by #=> String
@@ -623,6 +632,7 @@ module Aws::Redshift
623
632
  # resp.data_share_associations #=> Array
624
633
  # resp.data_share_associations[0].consumer_identifier #=> String
625
634
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
635
+ # resp.data_share_associations[0].consumer_region #=> String
626
636
  # resp.data_share_associations[0].created_date #=> Time
627
637
  # resp.data_share_associations[0].status_change_date #=> Time
628
638
  # resp.managed_by #=> String
@@ -1213,8 +1223,8 @@ module Aws::Redshift
1213
1223
  #
1214
1224
  # * Must contain one number.
1215
1225
  #
1216
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
1217
- # ' (single quote), " (double quote), \\, /, @, or space.
1226
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
1227
+ # (single quote), " (double quote), \\, /, or @.
1218
1228
  #
1219
1229
  # @option params [Array<String>] :cluster_security_groups
1220
1230
  # A list of security groups to be associated with this cluster.
@@ -1418,10 +1428,15 @@ module Aws::Redshift
1418
1428
  # @option params [Array<String>] :iam_roles
1419
1429
  # A list of Identity and Access Management (IAM) roles that can be used
1420
1430
  # by the cluster to access other Amazon Web Services services. You must
1421
- # supply the IAM roles in their Amazon Resource Name (ARN) format. You
1422
- # can supply up to 10 IAM roles in a single request.
1431
+ # supply the IAM roles in their Amazon Resource Name (ARN) format.
1432
+ #
1433
+ # The maximum number of IAM roles that you can associate is subject to a
1434
+ # quota. For more information, go to [Quotas and limits][1] in the
1435
+ # *Amazon Redshift Cluster Management Guide*.
1436
+ #
1437
+ #
1423
1438
  #
1424
- # A cluster can have up to 10 IAM roles associated with it at any time.
1439
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
1425
1440
  #
1426
1441
  # @option params [String] :maintenance_track_name
1427
1442
  # An optional parameter for the name of the maintenance track for the
@@ -2445,8 +2460,8 @@ module Aws::Redshift
2445
2460
  req.send_request(options)
2446
2461
  end
2447
2462
 
2448
- # Creates a snapshot copy grant that permits Amazon Redshift to use a
2449
- # customer master key (CMK) from Key Management Service (KMS) to encrypt
2463
+ # Creates a snapshot copy grant that permits Amazon Redshift to use an
2464
+ # encrypted symmetric key from Key Management Service (KMS) to encrypt
2450
2465
  # copied snapshots in a destination region.
2451
2466
  #
2452
2467
  # For more information about managing snapshot copy grants, go to
@@ -2475,9 +2490,9 @@ module Aws::Redshift
2475
2490
  # account.
2476
2491
  #
2477
2492
  # @option params [String] :kms_key_id
2478
- # The unique identifier of the customer master key (CMK) to which to
2479
- # grant Amazon Redshift permission. If no key is specified, the default
2480
- # key is used.
2493
+ # The unique identifier of the encrypted symmetric key to which to grant
2494
+ # Amazon Redshift permission. If no key is specified, the default key is
2495
+ # used.
2481
2496
  #
2482
2497
  # @option params [Array<Types::Tag>] :tags
2483
2498
  # A list of tag instances.
@@ -2647,7 +2662,9 @@ module Aws::Redshift
2647
2662
  # The type of limit. Depending on the feature type, this can be based on
2648
2663
  # a time duration or data size. If `FeatureType` is `spectrum`, then
2649
2664
  # `LimitType` must be `data-scanned`. If `FeatureType` is
2650
- # `concurrency-scaling`, then `LimitType` must be `time`.
2665
+ # `concurrency-scaling`, then `LimitType` must be `time`. If
2666
+ # `FeatureType` is `cross-region-datasharing`, then `LimitType` must be
2667
+ # `data-scanned`.
2651
2668
  #
2652
2669
  # @option params [required, Integer] :amount
2653
2670
  # The limit amount. If time-based, this amount is in minutes. If
@@ -2681,7 +2698,7 @@ module Aws::Redshift
2681
2698
  #
2682
2699
  # resp = client.create_usage_limit({
2683
2700
  # cluster_identifier: "String", # required
2684
- # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
2701
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
2685
2702
  # limit_type: "time", # required, accepts time, data-scanned
2686
2703
  # amount: 1, # required
2687
2704
  # period: "daily", # accepts daily, weekly, monthly
@@ -2698,7 +2715,7 @@ module Aws::Redshift
2698
2715
  #
2699
2716
  # resp.usage_limit_id #=> String
2700
2717
  # resp.cluster_identifier #=> String
2701
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
2718
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
2702
2719
  # resp.limit_type #=> String, one of "time", "data-scanned"
2703
2720
  # resp.amount #=> Integer
2704
2721
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -2751,6 +2768,7 @@ module Aws::Redshift
2751
2768
  # resp.data_share_associations #=> Array
2752
2769
  # resp.data_share_associations[0].consumer_identifier #=> String
2753
2770
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
2771
+ # resp.data_share_associations[0].consumer_region #=> String
2754
2772
  # resp.data_share_associations[0].created_date #=> Time
2755
2773
  # resp.data_share_associations[0].status_change_date #=> Time
2756
2774
  # resp.managed_by #=> String
@@ -4619,6 +4637,7 @@ module Aws::Redshift
4619
4637
  # resp.data_shares[0].data_share_associations #=> Array
4620
4638
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4621
4639
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4640
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4622
4641
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4623
4642
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4624
4643
  # resp.data_shares[0].managed_by #=> String
@@ -4686,6 +4705,7 @@ module Aws::Redshift
4686
4705
  # resp.data_shares[0].data_share_associations #=> Array
4687
4706
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4688
4707
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4708
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4689
4709
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4690
4710
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4691
4711
  # resp.data_shares[0].managed_by #=> String
@@ -4753,6 +4773,7 @@ module Aws::Redshift
4753
4773
  # resp.data_shares[0].data_share_associations #=> Array
4754
4774
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4755
4775
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4776
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4756
4777
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4757
4778
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4758
4779
  # resp.data_shares[0].managed_by #=> String
@@ -6578,7 +6599,7 @@ module Aws::Redshift
6578
6599
  # resp = client.describe_usage_limits({
6579
6600
  # usage_limit_id: "String",
6580
6601
  # cluster_identifier: "String",
6581
- # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
6602
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
6582
6603
  # max_records: 1,
6583
6604
  # marker: "String",
6584
6605
  # tag_keys: ["String"],
@@ -6590,7 +6611,7 @@ module Aws::Redshift
6590
6611
  # resp.usage_limits #=> Array
6591
6612
  # resp.usage_limits[0].usage_limit_id #=> String
6592
6613
  # resp.usage_limits[0].cluster_identifier #=> String
6593
- # resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling"
6614
+ # resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
6594
6615
  # resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
6595
6616
  # resp.usage_limits[0].amount #=> Integer
6596
6617
  # resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
@@ -6653,10 +6674,10 @@ module Aws::Redshift
6653
6674
  # Disables the automatic copying of snapshots from one region to another
6654
6675
  # region for a specified cluster.
6655
6676
  #
6656
- # If your cluster and its snapshots are encrypted using a customer
6657
- # master key (CMK) from Key Management Service, use
6658
- # DeleteSnapshotCopyGrant to delete the grant that grants Amazon
6659
- # Redshift permission to the CMK in the destination region.
6677
+ # If your cluster and its snapshots are encrypted using an encrypted
6678
+ # symmetric key from Key Management Service, use DeleteSnapshotCopyGrant
6679
+ # to delete the grant that grants Amazon Redshift permission to the key
6680
+ # in the destination region.
6660
6681
  #
6661
6682
  # @option params [required, String] :cluster_identifier
6662
6683
  # The unique identifier of the source cluster that you want to disable
@@ -6820,6 +6841,11 @@ module Aws::Redshift
6820
6841
  # The Amazon Resource Name (ARN) of the consumer that association for
6821
6842
  # the datashare is removed from.
6822
6843
  #
6844
+ # @option params [String] :consumer_region
6845
+ # From a datashare consumer account, removes association of a datashare
6846
+ # from all the existing and future namespaces in the specified Amazon
6847
+ # Web Services Region.
6848
+ #
6823
6849
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6824
6850
  #
6825
6851
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
@@ -6834,6 +6860,7 @@ module Aws::Redshift
6834
6860
  # data_share_arn: "String", # required
6835
6861
  # disassociate_entire_account: false,
6836
6862
  # consumer_arn: "String",
6863
+ # consumer_region: "String",
6837
6864
  # })
6838
6865
  #
6839
6866
  # @example Response structure
@@ -6844,6 +6871,7 @@ module Aws::Redshift
6844
6871
  # resp.data_share_associations #=> Array
6845
6872
  # resp.data_share_associations[0].consumer_identifier #=> String
6846
6873
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
6874
+ # resp.data_share_associations[0].consumer_region #=> String
6847
6875
  # resp.data_share_associations[0].created_date #=> Time
6848
6876
  # resp.data_share_associations[0].status_change_date #=> Time
6849
6877
  # resp.managed_by #=> String
@@ -7611,8 +7639,8 @@ module Aws::Redshift
7611
7639
  #
7612
7640
  # * Must contain one number.
7613
7641
  #
7614
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
7615
- # ' (single quote), " (double quote), \\, /, @, or space.
7642
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
7643
+ # (single quote), " (double quote), \\, /, or @.
7616
7644
  #
7617
7645
  # @option params [String] :cluster_parameter_group_name
7618
7646
  # The name of the cluster parameter group to apply to this cluster. This
@@ -8104,7 +8132,13 @@ module Aws::Redshift
8104
8132
  # can be used by the cluster to access other Amazon Web Services
8105
8133
  # services.
8106
8134
  #
8107
- # A cluster can have up to 10 IAM roles associated at any time.
8135
+ # The maximum number of IAM roles that you can associate is subject to a
8136
+ # quota. For more information, go to [Quotas and limits][1] in the
8137
+ # *Amazon Redshift Cluster Management Guide*.
8138
+ #
8139
+ #
8140
+ #
8141
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
8108
8142
  #
8109
8143
  # @option params [required, String] :cluster_identifier
8110
8144
  # The unique identifier of the cluster for which you want to associate
@@ -8112,13 +8146,10 @@ module Aws::Redshift
8112
8146
  #
8113
8147
  # @option params [Array<String>] :add_iam_roles
8114
8148
  # Zero or more IAM roles to associate with the cluster. The roles must
8115
- # be in their Amazon Resource Name (ARN) format. You can associate up to
8116
- # 10 IAM roles with a single cluster in a single request.
8149
+ # be in their Amazon Resource Name (ARN) format.
8117
8150
  #
8118
8151
  # @option params [Array<String>] :remove_iam_roles
8119
8152
  # Zero or more IAM roles in ARN format to disassociate from the cluster.
8120
- # You can disassociate up to 10 IAM roles from a single cluster in a
8121
- # single request.
8122
8153
  #
8123
8154
  # @option params [String] :default_iam_role_arn
8124
8155
  # The Amazon Resource Name (ARN) for the IAM role that was set as
@@ -9201,7 +9232,7 @@ module Aws::Redshift
9201
9232
  #
9202
9233
  # resp.usage_limit_id #=> String
9203
9234
  # resp.cluster_identifier #=> String
9204
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
9235
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
9205
9236
  # resp.limit_type #=> String, one of "time", "data-scanned"
9206
9237
  # resp.amount #=> Integer
9207
9238
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -9607,6 +9638,7 @@ module Aws::Redshift
9607
9638
  # resp.data_share_associations #=> Array
9608
9639
  # resp.data_share_associations[0].consumer_identifier #=> String
9609
9640
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
9641
+ # resp.data_share_associations[0].consumer_region #=> String
9610
9642
  # resp.data_share_associations[0].created_date #=> Time
9611
9643
  # resp.data_share_associations[0].status_change_date #=> Time
9612
9644
  # resp.managed_by #=> String
@@ -10057,9 +10089,13 @@ module Aws::Redshift
10057
10089
  # The value must be either -1 or an integer between 1 and 3,653.
10058
10090
  #
10059
10091
  # @option params [String] :kms_key_id
10060
- # The Key Management Service (KMS) key ID of the encryption key that you
10061
- # want to use to encrypt data in the cluster that you restore from a
10062
- # shared snapshot.
10092
+ # The Key Management Service (KMS) key ID of the encryption key to
10093
+ # encrypt data in the cluster restored from a shared snapshot. You can
10094
+ # also provide the key ID when you restore from an unencrypted snapshot
10095
+ # to an encrypted cluster in the same account. Additionally, you can
10096
+ # specify a new KMS key ID when you restore from an encrypted snapshot
10097
+ # in the same account in order to change it. In that case, the restored
10098
+ # cluster is encrypted with the new KMS key ID.
10063
10099
  #
10064
10100
  # @option params [String] :node_type
10065
10101
  # The node type that the restored cluster will be provisioned with.
@@ -10102,10 +10138,15 @@ module Aws::Redshift
10102
10138
  # @option params [Array<String>] :iam_roles
10103
10139
  # A list of Identity and Access Management (IAM) roles that can be used
10104
10140
  # by the cluster to access other Amazon Web Services services. You must
10105
- # supply the IAM roles in their Amazon Resource Name (ARN) format. You
10106
- # can supply up to 10 IAM roles in a single request.
10141
+ # supply the IAM roles in their Amazon Resource Name (ARN) format.
10142
+ #
10143
+ # The maximum number of IAM roles that you can associate is subject to a
10144
+ # quota. For more information, go to [Quotas and limits][1] in the
10145
+ # *Amazon Redshift Cluster Management Guide*.
10146
+ #
10107
10147
  #
10108
- # A cluster can have up to 10 IAM roles associated at any time.
10148
+ #
10149
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
10109
10150
  #
10110
10151
  # @option params [String] :maintenance_track_name
10111
10152
  # The name of the maintenance track for the restored cluster. When you
@@ -10149,6 +10190,10 @@ module Aws::Redshift
10149
10190
  # @option params [String] :target_reserved_node_offering_id
10150
10191
  # The identifier of the target reserved node offering.
10151
10192
  #
10193
+ # @option params [Boolean] :encrypted
10194
+ # Enables support for restoring an unencrypted snapshot to a cluster
10195
+ # encrypted with Key Management Service (KMS) and a CMK.
10196
+ #
10152
10197
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10153
10198
  #
10154
10199
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -10187,6 +10232,7 @@ module Aws::Redshift
10187
10232
  # default_iam_role_arn: "String",
10188
10233
  # reserved_node_id: "String",
10189
10234
  # target_reserved_node_offering_id: "String",
10235
+ # encrypted: false,
10190
10236
  # })
10191
10237
  #
10192
10238
  # @example Response structure
@@ -10996,7 +11042,7 @@ module Aws::Redshift
10996
11042
  params: params,
10997
11043
  config: config)
10998
11044
  context[:gem_name] = 'aws-sdk-redshift'
10999
- context[:gem_version] = '1.77.0'
11045
+ context[:gem_version] = '1.80.0'
11000
11046
  Seahorse::Client::Request.new(handlers, context)
11001
11047
  end
11002
11048
 
@@ -568,6 +568,7 @@ module Aws::Redshift
568
568
  AssociateDataShareConsumerMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
569
569
  AssociateDataShareConsumerMessage.add_member(:associate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AssociateEntireAccount"))
570
570
  AssociateDataShareConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
571
+ AssociateDataShareConsumerMessage.add_member(:consumer_region, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerRegion"))
571
572
  AssociateDataShareConsumerMessage.struct_class = Types::AssociateDataShareConsumerMessage
572
573
 
573
574
  AssociatedClusterList.member = Shapes::ShapeRef.new(shape: ClusterAssociatedToSchedule, location_name: "ClusterAssociatedToSchedule")
@@ -1055,6 +1056,7 @@ module Aws::Redshift
1055
1056
 
1056
1057
  DataShareAssociation.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerIdentifier"))
1057
1058
  DataShareAssociation.add_member(:status, Shapes::ShapeRef.new(shape: DataShareStatus, location_name: "Status"))
1059
+ DataShareAssociation.add_member(:consumer_region, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerRegion"))
1058
1060
  DataShareAssociation.add_member(:created_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedDate"))
1059
1061
  DataShareAssociation.add_member(:status_change_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "StatusChangeDate"))
1060
1062
  DataShareAssociation.struct_class = Types::DataShareAssociation
@@ -1426,6 +1428,7 @@ module Aws::Redshift
1426
1428
  DisassociateDataShareConsumerMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
1427
1429
  DisassociateDataShareConsumerMessage.add_member(:disassociate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DisassociateEntireAccount"))
1428
1430
  DisassociateDataShareConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
1431
+ DisassociateDataShareConsumerMessage.add_member(:consumer_region, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerRegion"))
1429
1432
  DisassociateDataShareConsumerMessage.struct_class = Types::DisassociateDataShareConsumerMessage
1430
1433
 
1431
1434
  EC2SecurityGroup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
@@ -2142,6 +2145,7 @@ module Aws::Redshift
2142
2145
  RestoreFromClusterSnapshotMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
2143
2146
  RestoreFromClusterSnapshotMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
2144
2147
  RestoreFromClusterSnapshotMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
2148
+ RestoreFromClusterSnapshotMessage.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Encrypted"))
2145
2149
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
2146
2150
 
2147
2151
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -157,6 +157,7 @@ module Aws::Redshift
157
157
  # data_share_arn: "String", # required
158
158
  # associate_entire_account: false,
159
159
  # consumer_arn: "String",
160
+ # consumer_region: "String",
160
161
  # }
161
162
  #
162
163
  # @!attribute [rw] data_share_arn
@@ -174,12 +175,19 @@ module Aws::Redshift
174
175
  # with the datashare.
175
176
  # @return [String]
176
177
  #
178
+ # @!attribute [rw] consumer_region
179
+ # From a datashare consumer account, associates a datashare with all
180
+ # existing and future namespaces in the specified Amazon Web Services
181
+ # Region.
182
+ # @return [String]
183
+ #
177
184
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumerMessage AWS API Documentation
178
185
  #
179
186
  class AssociateDataShareConsumerMessage < Struct.new(
180
187
  :data_share_arn,
181
188
  :associate_entire_account,
182
- :consumer_arn)
189
+ :consumer_arn,
190
+ :consumer_region)
183
191
  SENSITIVE = []
184
192
  include Aws::Structure
185
193
  end
@@ -1983,8 +1991,8 @@ module Aws::Redshift
1983
1991
  #
1984
1992
  # * Must contain one number.
1985
1993
  #
1986
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
1987
- # ' (single quote), " (double quote), \\, /, @, or space.
1994
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
1995
+ # (single quote), " (double quote), \\, /, or @.
1988
1996
  # @return [String]
1989
1997
  #
1990
1998
  # @!attribute [rw] cluster_security_groups
@@ -2213,10 +2221,15 @@ module Aws::Redshift
2213
2221
  # A list of Identity and Access Management (IAM) roles that can be
2214
2222
  # used by the cluster to access other Amazon Web Services services.
2215
2223
  # You must supply the IAM roles in their Amazon Resource Name (ARN)
2216
- # format. You can supply up to 10 IAM roles in a single request.
2224
+ # format.
2225
+ #
2226
+ # The maximum number of IAM roles that you can associate is subject to
2227
+ # a quota. For more information, go to [Quotas and limits][1] in the
2228
+ # *Amazon Redshift Cluster Management Guide*.
2229
+ #
2217
2230
  #
2218
- # A cluster can have up to 10 IAM roles associated with it at any
2219
- # time.
2231
+ #
2232
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
2220
2233
  # @return [Array<String>]
2221
2234
  #
2222
2235
  # @!attribute [rw] maintenance_track_name
@@ -2997,7 +3010,7 @@ module Aws::Redshift
2997
3010
  # @return [String]
2998
3011
  #
2999
3012
  # @!attribute [rw] kms_key_id
3000
- # The unique identifier of the customer master key (CMK) to which to
3013
+ # The unique identifier of the encrypted symmetric key to which to
3001
3014
  # grant Amazon Redshift permission. If no key is specified, the
3002
3015
  # default key is used.
3003
3016
  # @return [String]
@@ -3018,8 +3031,8 @@ module Aws::Redshift
3018
3031
 
3019
3032
  # @!attribute [rw] snapshot_copy_grant
3020
3033
  # The snapshot copy grant that grants Amazon Redshift permission to
3021
- # encrypt copied snapshots with the specified customer master key
3022
- # (CMK) from Amazon Web Services KMS in the destination region.
3034
+ # encrypt copied snapshots with the specified encrypted symmetric key
3035
+ # from Amazon Web Services KMS in the destination region.
3023
3036
  #
3024
3037
  # For more information about managing snapshot copy grants, go to
3025
3038
  # [Amazon Redshift Database Encryption][1] in the *Amazon Redshift
@@ -3138,7 +3151,7 @@ module Aws::Redshift
3138
3151
  #
3139
3152
  # {
3140
3153
  # cluster_identifier: "String", # required
3141
- # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
3154
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
3142
3155
  # limit_type: "time", # required, accepts time, data-scanned
3143
3156
  # amount: 1, # required
3144
3157
  # period: "daily", # accepts daily, weekly, monthly
@@ -3163,7 +3176,9 @@ module Aws::Redshift
3163
3176
  # The type of limit. Depending on the feature type, this can be based
3164
3177
  # on a time duration or data size. If `FeatureType` is `spectrum`,
3165
3178
  # then `LimitType` must be `data-scanned`. If `FeatureType` is
3166
- # `concurrency-scaling`, then `LimitType` must be `time`.
3179
+ # `concurrency-scaling`, then `LimitType` must be `time`. If
3180
+ # `FeatureType` is `cross-region-datasharing`, then `LimitType` must
3181
+ # be `data-scanned`.
3167
3182
  # @return [String]
3168
3183
  #
3169
3184
  # @!attribute [rw] amount
@@ -3268,6 +3283,11 @@ module Aws::Redshift
3268
3283
  # The status of the datashare that is associated.
3269
3284
  # @return [String]
3270
3285
  #
3286
+ # @!attribute [rw] consumer_region
3287
+ # The Amazon Web Services Region of the consumer accounts that have an
3288
+ # association with a producer datashare.
3289
+ # @return [String]
3290
+ #
3271
3291
  # @!attribute [rw] created_date
3272
3292
  # The creation date of the datashare that is associated.
3273
3293
  # @return [Time]
@@ -3281,6 +3301,7 @@ module Aws::Redshift
3281
3301
  class DataShareAssociation < Struct.new(
3282
3302
  :consumer_identifier,
3283
3303
  :status,
3304
+ :consumer_region,
3284
3305
  :created_date,
3285
3306
  :status_change_date)
3286
3307
  SENSITIVE = []
@@ -6076,7 +6097,7 @@ module Aws::Redshift
6076
6097
  # {
6077
6098
  # usage_limit_id: "String",
6078
6099
  # cluster_identifier: "String",
6079
- # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
6100
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
6080
6101
  # max_records: 1,
6081
6102
  # marker: "String",
6082
6103
  # tag_keys: ["String"],
@@ -6215,6 +6236,7 @@ module Aws::Redshift
6215
6236
  # data_share_arn: "String", # required
6216
6237
  # disassociate_entire_account: false,
6217
6238
  # consumer_arn: "String",
6239
+ # consumer_region: "String",
6218
6240
  # }
6219
6241
  #
6220
6242
  # @!attribute [rw] data_share_arn
@@ -6232,12 +6254,19 @@ module Aws::Redshift
6232
6254
  # the datashare is removed from.
6233
6255
  # @return [String]
6234
6256
  #
6257
+ # @!attribute [rw] consumer_region
6258
+ # From a datashare consumer account, removes association of a
6259
+ # datashare from all the existing and future namespaces in the
6260
+ # specified Amazon Web Services Region.
6261
+ # @return [String]
6262
+ #
6235
6263
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumerMessage AWS API Documentation
6236
6264
  #
6237
6265
  class DisassociateDataShareConsumerMessage < Struct.new(
6238
6266
  :data_share_arn,
6239
6267
  :disassociate_entire_account,
6240
- :consumer_arn)
6268
+ :consumer_arn,
6269
+ :consumer_region)
6241
6270
  SENSITIVE = []
6242
6271
  include Aws::Structure
6243
6272
  end
@@ -7852,14 +7881,12 @@ module Aws::Redshift
7852
7881
  #
7853
7882
  # @!attribute [rw] add_iam_roles
7854
7883
  # Zero or more IAM roles to associate with the cluster. The roles must
7855
- # be in their Amazon Resource Name (ARN) format. You can associate up
7856
- # to 10 IAM roles with a single cluster in a single request.
7884
+ # be in their Amazon Resource Name (ARN) format.
7857
7885
  # @return [Array<String>]
7858
7886
  #
7859
7887
  # @!attribute [rw] remove_iam_roles
7860
7888
  # Zero or more IAM roles in ARN format to disassociate from the
7861
- # cluster. You can disassociate up to 10 IAM roles from a single
7862
- # cluster in a single request.
7889
+ # cluster.
7863
7890
  # @return [Array<String>]
7864
7891
  #
7865
7892
  # @!attribute [rw] default_iam_role_arn
@@ -8085,8 +8112,8 @@ module Aws::Redshift
8085
8112
  #
8086
8113
  # * Must contain one number.
8087
8114
  #
8088
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
8089
- # ' (single quote), " (double quote), \\, /, @, or space.
8115
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
8116
+ # (single quote), " (double quote), \\, /, or @.
8090
8117
  # @return [String]
8091
8118
  #
8092
8119
  # @!attribute [rw] cluster_parameter_group_name
@@ -10075,6 +10102,7 @@ module Aws::Redshift
10075
10102
  # default_iam_role_arn: "String",
10076
10103
  # reserved_node_id: "String",
10077
10104
  # target_reserved_node_offering_id: "String",
10105
+ # encrypted: false,
10078
10106
  # }
10079
10107
  #
10080
10108
  # @!attribute [rw] cluster_identifier
@@ -10248,9 +10276,13 @@ module Aws::Redshift
10248
10276
  # @return [Integer]
10249
10277
  #
10250
10278
  # @!attribute [rw] kms_key_id
10251
- # The Key Management Service (KMS) key ID of the encryption key that
10252
- # you want to use to encrypt data in the cluster that you restore from
10253
- # a shared snapshot.
10279
+ # The Key Management Service (KMS) key ID of the encryption key to
10280
+ # encrypt data in the cluster restored from a shared snapshot. You can
10281
+ # also provide the key ID when you restore from an unencrypted
10282
+ # snapshot to an encrypted cluster in the same account. Additionally,
10283
+ # you can specify a new KMS key ID when you restore from an encrypted
10284
+ # snapshot in the same account in order to change it. In that case,
10285
+ # the restored cluster is encrypted with the new KMS key ID.
10254
10286
  # @return [String]
10255
10287
  #
10256
10288
  # @!attribute [rw] node_type
@@ -10298,9 +10330,15 @@ module Aws::Redshift
10298
10330
  # A list of Identity and Access Management (IAM) roles that can be
10299
10331
  # used by the cluster to access other Amazon Web Services services.
10300
10332
  # You must supply the IAM roles in their Amazon Resource Name (ARN)
10301
- # format. You can supply up to 10 IAM roles in a single request.
10333
+ # format.
10334
+ #
10335
+ # The maximum number of IAM roles that you can associate is subject to
10336
+ # a quota. For more information, go to [Quotas and limits][1] in the
10337
+ # *Amazon Redshift Cluster Management Guide*.
10338
+ #
10302
10339
  #
10303
- # A cluster can have up to 10 IAM roles associated at any time.
10340
+ #
10341
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
10304
10342
  # @return [Array<String>]
10305
10343
  #
10306
10344
  # @!attribute [rw] maintenance_track_name
@@ -10355,6 +10393,11 @@ module Aws::Redshift
10355
10393
  # The identifier of the target reserved node offering.
10356
10394
  # @return [String]
10357
10395
  #
10396
+ # @!attribute [rw] encrypted
10397
+ # Enables support for restoring an unencrypted snapshot to a cluster
10398
+ # encrypted with Key Management Service (KMS) and a CMK.
10399
+ # @return [Boolean]
10400
+ #
10358
10401
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
10359
10402
  #
10360
10403
  class RestoreFromClusterSnapshotMessage < Struct.new(
@@ -10388,7 +10431,8 @@ module Aws::Redshift
10388
10431
  :aqua_configuration_status,
10389
10432
  :default_iam_role_arn,
10390
10433
  :reserved_node_id,
10391
- :target_reserved_node_offering_id)
10434
+ :target_reserved_node_offering_id,
10435
+ :encrypted)
10392
10436
  SENSITIVE = []
10393
10437
  include Aws::Structure
10394
10438
  end
@@ -11269,7 +11313,7 @@ module Aws::Redshift
11269
11313
  class SnapshotCopyDisabledFault < Aws::EmptyStructure; end
11270
11314
 
11271
11315
  # The snapshot copy grant that grants Amazon Redshift permission to
11272
- # encrypt copied snapshots with the specified customer master key (CMK)
11316
+ # encrypt copied snapshots with the specified encrypted symmetric key
11273
11317
  # from Amazon Web Services KMS in the destination region.
11274
11318
  #
11275
11319
  # For more information about managing snapshot copy grants, go to
@@ -11285,7 +11329,7 @@ module Aws::Redshift
11285
11329
  # @return [String]
11286
11330
  #
11287
11331
  # @!attribute [rw] kms_key_id
11288
- # The unique identifier of the customer master key (CMK) in Amazon Web
11332
+ # The unique identifier of the encrypted symmetric key in Amazon Web
11289
11333
  # Services KMS to which Amazon Redshift is granted permission.
11290
11334
  # @return [String]
11291
11335
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-redshift/customizations'
49
49
  # @!group service
50
50
  module Aws::Redshift
51
51
 
52
- GEM_VERSION = '1.77.0'
52
+ GEM_VERSION = '1.80.0'
53
53
 
54
54
  end
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.77.0
4
+ version: 1.80.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: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-03-23 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.126.0
22
+ version: 3.127.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.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement