aws-sdk-redshift 1.77.0 → 1.78.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: ce03fb7ba082665876cfeda054c7347c2754c9fe8f49dbe2a077c99b50a0f40b
4
+ data.tar.gz: e6d0ef27b2bdd233a4ea23f81cdf0804d25d230a13bd43af0c0c9a8ed9d1b805
5
5
  SHA512:
6
- metadata.gz: 03c449137c2969f2193a14d436f3c2c7c604ee3d6d77df3f4a7679c469388b4c1768e9df35535eb61bce5eae5ddb00f743055e0ab95d79a1bf3ba452289537c3
7
- data.tar.gz: 8cebe307dd0019c737b065ba2b1711a1d00d4de5343b2bba19770a6fe8192eadb722fd200f67343666f5802337c5837cf136a888bbe03f5e446ca7f3f94c4659
6
+ metadata.gz: 5fdc8ec2eeacdb88793eded1d6b47601ceec874ae9a1fcbb352de0656b3a9e5b7e3d22da69c2feaccc3c4ea0b8c31d485739c8f73b6a4dc3aede9b054bc26bf4
7
+ data.tar.gz: 1e83be0521040618d56552d79d7f2a8e4de5e553aeab0aed306a4b8d489019bb97e584929147a84d6aa049079a2ab9be6fb4431bff93d2a8f065a6d9e2557be6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2022-02-17)
5
+ ------------------
6
+
7
+ * Feature - SDK release for Cross region datasharing and cost-control for cross region datasharing
8
+
4
9
  1.77.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.78.0
@@ -463,6 +463,11 @@ module Aws::Redshift
463
463
  # The Amazon Resource Name (ARN) of the consumer that is associated with
464
464
  # the datashare.
465
465
  #
466
+ # @option params [String] :consumer_region
467
+ # From a datashare consumer account, associates a datashare with all
468
+ # existing and future namespaces in the specified Amazon Web Services
469
+ # Region.
470
+ #
466
471
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
467
472
  #
468
473
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
@@ -477,6 +482,7 @@ module Aws::Redshift
477
482
  # data_share_arn: "String", # required
478
483
  # associate_entire_account: false,
479
484
  # consumer_arn: "String",
485
+ # consumer_region: "String",
480
486
  # })
481
487
  #
482
488
  # @example Response structure
@@ -487,6 +493,7 @@ module Aws::Redshift
487
493
  # resp.data_share_associations #=> Array
488
494
  # resp.data_share_associations[0].consumer_identifier #=> String
489
495
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
496
+ # resp.data_share_associations[0].consumer_region #=> String
490
497
  # resp.data_share_associations[0].created_date #=> Time
491
498
  # resp.data_share_associations[0].status_change_date #=> Time
492
499
  # resp.managed_by #=> String
@@ -623,6 +630,7 @@ module Aws::Redshift
623
630
  # resp.data_share_associations #=> Array
624
631
  # resp.data_share_associations[0].consumer_identifier #=> String
625
632
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
633
+ # resp.data_share_associations[0].consumer_region #=> String
626
634
  # resp.data_share_associations[0].created_date #=> Time
627
635
  # resp.data_share_associations[0].status_change_date #=> Time
628
636
  # resp.managed_by #=> String
@@ -1213,8 +1221,8 @@ module Aws::Redshift
1213
1221
  #
1214
1222
  # * Must contain one number.
1215
1223
  #
1216
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
1217
- # ' (single quote), " (double quote), \\, /, @, or space.
1224
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
1225
+ # (single quote), " (double quote), \\, /, or @.
1218
1226
  #
1219
1227
  # @option params [Array<String>] :cluster_security_groups
1220
1228
  # A list of security groups to be associated with this cluster.
@@ -1418,10 +1426,15 @@ module Aws::Redshift
1418
1426
  # @option params [Array<String>] :iam_roles
1419
1427
  # A list of Identity and Access Management (IAM) roles that can be used
1420
1428
  # 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.
1429
+ # supply the IAM roles in their Amazon Resource Name (ARN) format.
1430
+ #
1431
+ # The maximum number of IAM roles that you can associate is subject to a
1432
+ # quota. For more information, go to [Quotas and limits][1] in the
1433
+ # *Amazon Redshift Cluster Management Guide*.
1434
+ #
1423
1435
  #
1424
- # A cluster can have up to 10 IAM roles associated with it at any time.
1436
+ #
1437
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
1425
1438
  #
1426
1439
  # @option params [String] :maintenance_track_name
1427
1440
  # An optional parameter for the name of the maintenance track for the
@@ -2445,8 +2458,8 @@ module Aws::Redshift
2445
2458
  req.send_request(options)
2446
2459
  end
2447
2460
 
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
2461
+ # Creates a snapshot copy grant that permits Amazon Redshift to use an
2462
+ # encrypted symmetric key from Key Management Service (KMS) to encrypt
2450
2463
  # copied snapshots in a destination region.
2451
2464
  #
2452
2465
  # For more information about managing snapshot copy grants, go to
@@ -2475,9 +2488,9 @@ module Aws::Redshift
2475
2488
  # account.
2476
2489
  #
2477
2490
  # @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.
2491
+ # The unique identifier of the encrypted symmetric key to which to grant
2492
+ # Amazon Redshift permission. If no key is specified, the default key is
2493
+ # used.
2481
2494
  #
2482
2495
  # @option params [Array<Types::Tag>] :tags
2483
2496
  # A list of tag instances.
@@ -2647,7 +2660,9 @@ module Aws::Redshift
2647
2660
  # The type of limit. Depending on the feature type, this can be based on
2648
2661
  # a time duration or data size. If `FeatureType` is `spectrum`, then
2649
2662
  # `LimitType` must be `data-scanned`. If `FeatureType` is
2650
- # `concurrency-scaling`, then `LimitType` must be `time`.
2663
+ # `concurrency-scaling`, then `LimitType` must be `time`. If
2664
+ # `FeatureType` is `cross-region-datasharing`, then `LimitType` must be
2665
+ # `data-scanned`.
2651
2666
  #
2652
2667
  # @option params [required, Integer] :amount
2653
2668
  # The limit amount. If time-based, this amount is in minutes. If
@@ -2681,7 +2696,7 @@ module Aws::Redshift
2681
2696
  #
2682
2697
  # resp = client.create_usage_limit({
2683
2698
  # cluster_identifier: "String", # required
2684
- # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
2699
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
2685
2700
  # limit_type: "time", # required, accepts time, data-scanned
2686
2701
  # amount: 1, # required
2687
2702
  # period: "daily", # accepts daily, weekly, monthly
@@ -2698,7 +2713,7 @@ module Aws::Redshift
2698
2713
  #
2699
2714
  # resp.usage_limit_id #=> String
2700
2715
  # resp.cluster_identifier #=> String
2701
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
2716
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
2702
2717
  # resp.limit_type #=> String, one of "time", "data-scanned"
2703
2718
  # resp.amount #=> Integer
2704
2719
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -2751,6 +2766,7 @@ module Aws::Redshift
2751
2766
  # resp.data_share_associations #=> Array
2752
2767
  # resp.data_share_associations[0].consumer_identifier #=> String
2753
2768
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
2769
+ # resp.data_share_associations[0].consumer_region #=> String
2754
2770
  # resp.data_share_associations[0].created_date #=> Time
2755
2771
  # resp.data_share_associations[0].status_change_date #=> Time
2756
2772
  # resp.managed_by #=> String
@@ -4619,6 +4635,7 @@ module Aws::Redshift
4619
4635
  # resp.data_shares[0].data_share_associations #=> Array
4620
4636
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4621
4637
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4638
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4622
4639
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4623
4640
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4624
4641
  # resp.data_shares[0].managed_by #=> String
@@ -4686,6 +4703,7 @@ module Aws::Redshift
4686
4703
  # resp.data_shares[0].data_share_associations #=> Array
4687
4704
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4688
4705
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4706
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4689
4707
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4690
4708
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4691
4709
  # resp.data_shares[0].managed_by #=> String
@@ -4753,6 +4771,7 @@ module Aws::Redshift
4753
4771
  # resp.data_shares[0].data_share_associations #=> Array
4754
4772
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4755
4773
  # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4774
+ # resp.data_shares[0].data_share_associations[0].consumer_region #=> String
4756
4775
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4757
4776
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4758
4777
  # resp.data_shares[0].managed_by #=> String
@@ -6578,7 +6597,7 @@ module Aws::Redshift
6578
6597
  # resp = client.describe_usage_limits({
6579
6598
  # usage_limit_id: "String",
6580
6599
  # cluster_identifier: "String",
6581
- # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
6600
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
6582
6601
  # max_records: 1,
6583
6602
  # marker: "String",
6584
6603
  # tag_keys: ["String"],
@@ -6590,7 +6609,7 @@ module Aws::Redshift
6590
6609
  # resp.usage_limits #=> Array
6591
6610
  # resp.usage_limits[0].usage_limit_id #=> String
6592
6611
  # resp.usage_limits[0].cluster_identifier #=> String
6593
- # resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling"
6612
+ # resp.usage_limits[0].feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
6594
6613
  # resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
6595
6614
  # resp.usage_limits[0].amount #=> Integer
6596
6615
  # resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
@@ -6653,10 +6672,10 @@ module Aws::Redshift
6653
6672
  # Disables the automatic copying of snapshots from one region to another
6654
6673
  # region for a specified cluster.
6655
6674
  #
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.
6675
+ # If your cluster and its snapshots are encrypted using an encrypted
6676
+ # symmetric key from Key Management Service, use DeleteSnapshotCopyGrant
6677
+ # to delete the grant that grants Amazon Redshift permission to the key
6678
+ # in the destination region.
6660
6679
  #
6661
6680
  # @option params [required, String] :cluster_identifier
6662
6681
  # The unique identifier of the source cluster that you want to disable
@@ -6820,6 +6839,11 @@ module Aws::Redshift
6820
6839
  # The Amazon Resource Name (ARN) of the consumer that association for
6821
6840
  # the datashare is removed from.
6822
6841
  #
6842
+ # @option params [String] :consumer_region
6843
+ # From a datashare consumer account, removes association of a datashare
6844
+ # from all the existing and future namespaces in the specified Amazon
6845
+ # Web Services Region.
6846
+ #
6823
6847
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6824
6848
  #
6825
6849
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
@@ -6834,6 +6858,7 @@ module Aws::Redshift
6834
6858
  # data_share_arn: "String", # required
6835
6859
  # disassociate_entire_account: false,
6836
6860
  # consumer_arn: "String",
6861
+ # consumer_region: "String",
6837
6862
  # })
6838
6863
  #
6839
6864
  # @example Response structure
@@ -6844,6 +6869,7 @@ module Aws::Redshift
6844
6869
  # resp.data_share_associations #=> Array
6845
6870
  # resp.data_share_associations[0].consumer_identifier #=> String
6846
6871
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
6872
+ # resp.data_share_associations[0].consumer_region #=> String
6847
6873
  # resp.data_share_associations[0].created_date #=> Time
6848
6874
  # resp.data_share_associations[0].status_change_date #=> Time
6849
6875
  # resp.managed_by #=> String
@@ -7611,8 +7637,8 @@ module Aws::Redshift
7611
7637
  #
7612
7638
  # * Must contain one number.
7613
7639
  #
7614
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
7615
- # ' (single quote), " (double quote), \\, /, @, or space.
7640
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
7641
+ # (single quote), " (double quote), \\, /, or @.
7616
7642
  #
7617
7643
  # @option params [String] :cluster_parameter_group_name
7618
7644
  # The name of the cluster parameter group to apply to this cluster. This
@@ -8104,7 +8130,13 @@ module Aws::Redshift
8104
8130
  # can be used by the cluster to access other Amazon Web Services
8105
8131
  # services.
8106
8132
  #
8107
- # A cluster can have up to 10 IAM roles associated at any time.
8133
+ # The maximum number of IAM roles that you can associate is subject to a
8134
+ # quota. For more information, go to [Quotas and limits][1] in the
8135
+ # *Amazon Redshift Cluster Management Guide*.
8136
+ #
8137
+ #
8138
+ #
8139
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
8108
8140
  #
8109
8141
  # @option params [required, String] :cluster_identifier
8110
8142
  # The unique identifier of the cluster for which you want to associate
@@ -8112,13 +8144,10 @@ module Aws::Redshift
8112
8144
  #
8113
8145
  # @option params [Array<String>] :add_iam_roles
8114
8146
  # 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.
8147
+ # be in their Amazon Resource Name (ARN) format.
8117
8148
  #
8118
8149
  # @option params [Array<String>] :remove_iam_roles
8119
8150
  # 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
8151
  #
8123
8152
  # @option params [String] :default_iam_role_arn
8124
8153
  # The Amazon Resource Name (ARN) for the IAM role that was set as
@@ -9201,7 +9230,7 @@ module Aws::Redshift
9201
9230
  #
9202
9231
  # resp.usage_limit_id #=> String
9203
9232
  # resp.cluster_identifier #=> String
9204
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
9233
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
9205
9234
  # resp.limit_type #=> String, one of "time", "data-scanned"
9206
9235
  # resp.amount #=> Integer
9207
9236
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -9607,6 +9636,7 @@ module Aws::Redshift
9607
9636
  # resp.data_share_associations #=> Array
9608
9637
  # resp.data_share_associations[0].consumer_identifier #=> String
9609
9638
  # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
9639
+ # resp.data_share_associations[0].consumer_region #=> String
9610
9640
  # resp.data_share_associations[0].created_date #=> Time
9611
9641
  # resp.data_share_associations[0].status_change_date #=> Time
9612
9642
  # resp.managed_by #=> String
@@ -10102,10 +10132,15 @@ module Aws::Redshift
10102
10132
  # @option params [Array<String>] :iam_roles
10103
10133
  # A list of Identity and Access Management (IAM) roles that can be used
10104
10134
  # 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.
10135
+ # supply the IAM roles in their Amazon Resource Name (ARN) format.
10136
+ #
10137
+ # The maximum number of IAM roles that you can associate is subject to a
10138
+ # quota. For more information, go to [Quotas and limits][1] in the
10139
+ # *Amazon Redshift Cluster Management Guide*.
10140
+ #
10141
+ #
10107
10142
  #
10108
- # A cluster can have up to 10 IAM roles associated at any time.
10143
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
10109
10144
  #
10110
10145
  # @option params [String] :maintenance_track_name
10111
10146
  # The name of the maintenance track for the restored cluster. When you
@@ -10996,7 +11031,7 @@ module Aws::Redshift
10996
11031
  params: params,
10997
11032
  config: config)
10998
11033
  context[:gem_name] = 'aws-sdk-redshift'
10999
- context[:gem_version] = '1.77.0'
11034
+ context[:gem_version] = '1.78.0'
11000
11035
  Seahorse::Client::Request.new(handlers, context)
11001
11036
  end
11002
11037
 
@@ -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"))
@@ -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
+ #
2230
+ #
2217
2231
  #
2218
- # A cluster can have up to 10 IAM roles associated with it at any
2219
- # time.
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
@@ -10298,9 +10325,15 @@ module Aws::Redshift
10298
10325
  # A list of Identity and Access Management (IAM) roles that can be
10299
10326
  # used by the cluster to access other Amazon Web Services services.
10300
10327
  # 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.
10328
+ # format.
10329
+ #
10330
+ # The maximum number of IAM roles that you can associate is subject to
10331
+ # a quota. For more information, go to [Quotas and limits][1] in the
10332
+ # *Amazon Redshift Cluster Management Guide*.
10333
+ #
10334
+ #
10302
10335
  #
10303
- # A cluster can have up to 10 IAM roles associated at any time.
10336
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
10304
10337
  # @return [Array<String>]
10305
10338
  #
10306
10339
  # @!attribute [rw] maintenance_track_name
@@ -11269,7 +11302,7 @@ module Aws::Redshift
11269
11302
  class SnapshotCopyDisabledFault < Aws::EmptyStructure; end
11270
11303
 
11271
11304
  # The snapshot copy grant that grants Amazon Redshift permission to
11272
- # encrypt copied snapshots with the specified customer master key (CMK)
11305
+ # encrypt copied snapshots with the specified encrypted symmetric key
11273
11306
  # from Amazon Web Services KMS in the destination region.
11274
11307
  #
11275
11308
  # For more information about managing snapshot copy grants, go to
@@ -11285,7 +11318,7 @@ module Aws::Redshift
11285
11318
  # @return [String]
11286
11319
  #
11287
11320
  # @!attribute [rw] kms_key_id
11288
- # The unique identifier of the customer master key (CMK) in Amazon Web
11321
+ # The unique identifier of the encrypted symmetric key in Amazon Web
11289
11322
  # Services KMS to which Amazon Redshift is granted permission.
11290
11323
  # @return [String]
11291
11324
  #
@@ -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.78.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.78.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-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core