aws-sdk-redshift 1.74.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73b1e535b8e3e4f7f639fc7579fa81f891caff51c4181035b22523702f9131d2
4
- data.tar.gz: 9cd01608fa5ee6a6fddccef751c907451c0acf614b4eb3f17675c0b30eeac15f
3
+ metadata.gz: ce03fb7ba082665876cfeda054c7347c2754c9fe8f49dbe2a077c99b50a0f40b
4
+ data.tar.gz: e6d0ef27b2bdd233a4ea23f81cdf0804d25d230a13bd43af0c0c9a8ed9d1b805
5
5
  SHA512:
6
- metadata.gz: 982af42b8f2d5f8ff10ecb915283e8a1e0f14022a20e288e86d266143d9cef315eeb7f708163e2e3c526fd6274e5f5833f10ac2e1ec59728de770bfa2d05dec2
7
- data.tar.gz: 6ff6ff4bb0f30b26b1cedb74abdbd71a3b35e14eee4075719359ffb8047cc71829411fc2c1196fd5cac6a7869dc5029e43ceda3275968641ce1019841b460adc
6
+ metadata.gz: 5fdc8ec2eeacdb88793eded1d6b47601ceec874ae9a1fcbb352de0656b3a9e5b7e3d22da69c2feaccc3c4ea0b8c31d485739c8f73b6a4dc3aede9b054bc26bf4
7
+ data.tar.gz: 1e83be0521040618d56552d79d7f2a8e4de5e553aeab0aed306a4b8d489019bb97e584929147a84d6aa049079a2ab9be6fb4431bff93d2a8f065a6d9e2557be6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
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
+
9
+ 1.77.0 (2022-02-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.76.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.75.0 (2021-12-20)
20
+ ------------------
21
+
22
+ * Feature - This release adds API support for managed Redshift datashares. Customers can now interact with a Redshift datashare that is managed by a different service, such as AWS Data Exchange.
23
+
4
24
  1.74.0 (2021-11-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.78.0
@@ -27,6 +27,8 @@ 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/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/query.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::Redshift
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::Query)
78
82
 
@@ -175,6 +179,10 @@ module Aws::Redshift
175
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
180
  # a clock skew correction and retry requests with skewed client clocks.
177
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
178
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
187
  # Set to true to disable SDK automatically adding host prefix
180
188
  # to default service endpoint when available.
@@ -297,7 +305,7 @@ module Aws::Redshift
297
305
  # seconds to wait when opening a HTTP session before raising a
298
306
  # `Timeout::Error`.
299
307
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
301
309
  # number of seconds to wait for response data. This value can
302
310
  # safely be set per-request on the session.
303
311
  #
@@ -313,6 +321,9 @@ module Aws::Redshift
313
321
  # disables this behaviour. This value can safely be set per
314
322
  # request on the session.
315
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
316
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
328
  # HTTP debug output will be sent to the `:logger`.
318
329
  #
@@ -452,12 +463,18 @@ module Aws::Redshift
452
463
  # The Amazon Resource Name (ARN) of the consumer that is associated with
453
464
  # the datashare.
454
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
+ #
455
471
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
456
472
  #
457
473
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
458
474
  # * {Types::DataShare#producer_arn #producer_arn} => String
459
475
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
460
476
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
477
+ # * {Types::DataShare#managed_by #managed_by} => String
461
478
  #
462
479
  # @example Request syntax with placeholder values
463
480
  #
@@ -465,6 +482,7 @@ module Aws::Redshift
465
482
  # data_share_arn: "String", # required
466
483
  # associate_entire_account: false,
467
484
  # consumer_arn: "String",
485
+ # consumer_region: "String",
468
486
  # })
469
487
  #
470
488
  # @example Response structure
@@ -475,8 +493,10 @@ module Aws::Redshift
475
493
  # resp.data_share_associations #=> Array
476
494
  # resp.data_share_associations[0].consumer_identifier #=> String
477
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
478
497
  # resp.data_share_associations[0].created_date #=> Time
479
498
  # resp.data_share_associations[0].status_change_date #=> Time
499
+ # resp.managed_by #=> String
480
500
  #
481
501
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer AWS API Documentation
482
502
  #
@@ -574,9 +594,9 @@ module Aws::Redshift
574
594
  end
575
595
 
576
596
  # From a data producer account, authorizes the sharing of a datashare
577
- # with one or more consumer accounts. To authorize a datashare for a
578
- # data consumer, the producer account must have the correct access
579
- # privileges.
597
+ # with one or more consumer accounts or managing entities. To authorize
598
+ # a datashare for a data consumer, the producer account must have the
599
+ # correct access privileges.
580
600
  #
581
601
  # @option params [required, String] :data_share_arn
582
602
  # The Amazon Resource Name (ARN) of the datashare that producers are to
@@ -584,7 +604,8 @@ module Aws::Redshift
584
604
  #
585
605
  # @option params [required, String] :consumer_identifier
586
606
  # The identifier of the data consumer that is authorized to access the
587
- # datashare. This identifier is an Amazon Web Services account ID.
607
+ # datashare. This identifier is an Amazon Web Services account ID or a
608
+ # keyword, such as ADX.
588
609
  #
589
610
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
590
611
  #
@@ -592,6 +613,7 @@ module Aws::Redshift
592
613
  # * {Types::DataShare#producer_arn #producer_arn} => String
593
614
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
594
615
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
616
+ # * {Types::DataShare#managed_by #managed_by} => String
595
617
  #
596
618
  # @example Request syntax with placeholder values
597
619
  #
@@ -608,8 +630,10 @@ module Aws::Redshift
608
630
  # resp.data_share_associations #=> Array
609
631
  # resp.data_share_associations[0].consumer_identifier #=> String
610
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
611
634
  # resp.data_share_associations[0].created_date #=> Time
612
635
  # resp.data_share_associations[0].status_change_date #=> Time
636
+ # resp.managed_by #=> String
613
637
  #
614
638
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare AWS API Documentation
615
639
  #
@@ -1197,8 +1221,8 @@ module Aws::Redshift
1197
1221
  #
1198
1222
  # * Must contain one number.
1199
1223
  #
1200
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
1201
- # ' (single quote), " (double quote), \\, /, @, or space.
1224
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
1225
+ # (single quote), " (double quote), \\, /, or @.
1202
1226
  #
1203
1227
  # @option params [Array<String>] :cluster_security_groups
1204
1228
  # A list of security groups to be associated with this cluster.
@@ -1402,10 +1426,15 @@ module Aws::Redshift
1402
1426
  # @option params [Array<String>] :iam_roles
1403
1427
  # A list of Identity and Access Management (IAM) roles that can be used
1404
1428
  # by the cluster to access other Amazon Web Services services. You must
1405
- # supply the IAM roles in their Amazon Resource Name (ARN) format. You
1406
- # 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*.
1407
1434
  #
1408
- # A cluster can have up to 10 IAM roles associated with it at any time.
1435
+ #
1436
+ #
1437
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
1409
1438
  #
1410
1439
  # @option params [String] :maintenance_track_name
1411
1440
  # An optional parameter for the name of the maintenance track for the
@@ -2429,8 +2458,8 @@ module Aws::Redshift
2429
2458
  req.send_request(options)
2430
2459
  end
2431
2460
 
2432
- # Creates a snapshot copy grant that permits Amazon Redshift to use a
2433
- # 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
2434
2463
  # copied snapshots in a destination region.
2435
2464
  #
2436
2465
  # For more information about managing snapshot copy grants, go to
@@ -2459,9 +2488,9 @@ module Aws::Redshift
2459
2488
  # account.
2460
2489
  #
2461
2490
  # @option params [String] :kms_key_id
2462
- # The unique identifier of the customer master key (CMK) to which to
2463
- # grant Amazon Redshift permission. If no key is specified, the default
2464
- # 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.
2465
2494
  #
2466
2495
  # @option params [Array<Types::Tag>] :tags
2467
2496
  # A list of tag instances.
@@ -2631,7 +2660,9 @@ module Aws::Redshift
2631
2660
  # The type of limit. Depending on the feature type, this can be based on
2632
2661
  # a time duration or data size. If `FeatureType` is `spectrum`, then
2633
2662
  # `LimitType` must be `data-scanned`. If `FeatureType` is
2634
- # `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`.
2635
2666
  #
2636
2667
  # @option params [required, Integer] :amount
2637
2668
  # The limit amount. If time-based, this amount is in minutes. If
@@ -2665,7 +2696,7 @@ module Aws::Redshift
2665
2696
  #
2666
2697
  # resp = client.create_usage_limit({
2667
2698
  # cluster_identifier: "String", # required
2668
- # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
2699
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
2669
2700
  # limit_type: "time", # required, accepts time, data-scanned
2670
2701
  # amount: 1, # required
2671
2702
  # period: "daily", # accepts daily, weekly, monthly
@@ -2682,7 +2713,7 @@ module Aws::Redshift
2682
2713
  #
2683
2714
  # resp.usage_limit_id #=> String
2684
2715
  # resp.cluster_identifier #=> String
2685
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
2716
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
2686
2717
  # resp.limit_type #=> String, one of "time", "data-scanned"
2687
2718
  # resp.amount #=> Integer
2688
2719
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -2710,7 +2741,7 @@ module Aws::Redshift
2710
2741
  # @option params [required, String] :consumer_identifier
2711
2742
  # The identifier of the data consumer that is to have authorization
2712
2743
  # removed from the datashare. This identifier is an Amazon Web Services
2713
- # account ID.
2744
+ # account ID or a keyword, such as ADX.
2714
2745
  #
2715
2746
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2716
2747
  #
@@ -2718,6 +2749,7 @@ module Aws::Redshift
2718
2749
  # * {Types::DataShare#producer_arn #producer_arn} => String
2719
2750
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
2720
2751
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
2752
+ # * {Types::DataShare#managed_by #managed_by} => String
2721
2753
  #
2722
2754
  # @example Request syntax with placeholder values
2723
2755
  #
@@ -2734,8 +2766,10 @@ module Aws::Redshift
2734
2766
  # resp.data_share_associations #=> Array
2735
2767
  # resp.data_share_associations[0].consumer_identifier #=> String
2736
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
2737
2770
  # resp.data_share_associations[0].created_date #=> Time
2738
2771
  # resp.data_share_associations[0].status_change_date #=> Time
2772
+ # resp.managed_by #=> String
2739
2773
  #
2740
2774
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
2741
2775
  #
@@ -4601,8 +4635,10 @@ module Aws::Redshift
4601
4635
  # resp.data_shares[0].data_share_associations #=> Array
4602
4636
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4603
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
4604
4639
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4605
4640
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4641
+ # resp.data_shares[0].managed_by #=> String
4606
4642
  # resp.marker #=> String
4607
4643
  #
4608
4644
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares AWS API Documentation
@@ -4667,8 +4703,10 @@ module Aws::Redshift
4667
4703
  # resp.data_shares[0].data_share_associations #=> Array
4668
4704
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4669
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
4670
4707
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4671
4708
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4709
+ # resp.data_shares[0].managed_by #=> String
4672
4710
  # resp.marker #=> String
4673
4711
  #
4674
4712
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer AWS API Documentation
@@ -4733,8 +4771,10 @@ module Aws::Redshift
4733
4771
  # resp.data_shares[0].data_share_associations #=> Array
4734
4772
  # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4735
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
4736
4775
  # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4737
4776
  # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4777
+ # resp.data_shares[0].managed_by #=> String
4738
4778
  # resp.marker #=> String
4739
4779
  #
4740
4780
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer AWS API Documentation
@@ -6557,7 +6597,7 @@ module Aws::Redshift
6557
6597
  # resp = client.describe_usage_limits({
6558
6598
  # usage_limit_id: "String",
6559
6599
  # cluster_identifier: "String",
6560
- # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
6600
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
6561
6601
  # max_records: 1,
6562
6602
  # marker: "String",
6563
6603
  # tag_keys: ["String"],
@@ -6569,7 +6609,7 @@ module Aws::Redshift
6569
6609
  # resp.usage_limits #=> Array
6570
6610
  # resp.usage_limits[0].usage_limit_id #=> String
6571
6611
  # resp.usage_limits[0].cluster_identifier #=> String
6572
- # 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"
6573
6613
  # resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
6574
6614
  # resp.usage_limits[0].amount #=> Integer
6575
6615
  # resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
@@ -6632,10 +6672,10 @@ module Aws::Redshift
6632
6672
  # Disables the automatic copying of snapshots from one region to another
6633
6673
  # region for a specified cluster.
6634
6674
  #
6635
- # If your cluster and its snapshots are encrypted using a customer
6636
- # master key (CMK) from Key Management Service, use
6637
- # DeleteSnapshotCopyGrant to delete the grant that grants Amazon
6638
- # 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.
6639
6679
  #
6640
6680
  # @option params [required, String] :cluster_identifier
6641
6681
  # The unique identifier of the source cluster that you want to disable
@@ -6799,12 +6839,18 @@ module Aws::Redshift
6799
6839
  # The Amazon Resource Name (ARN) of the consumer that association for
6800
6840
  # the datashare is removed from.
6801
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
+ #
6802
6847
  # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6803
6848
  #
6804
6849
  # * {Types::DataShare#data_share_arn #data_share_arn} => String
6805
6850
  # * {Types::DataShare#producer_arn #producer_arn} => String
6806
6851
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
6807
6852
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
6853
+ # * {Types::DataShare#managed_by #managed_by} => String
6808
6854
  #
6809
6855
  # @example Request syntax with placeholder values
6810
6856
  #
@@ -6812,6 +6858,7 @@ module Aws::Redshift
6812
6858
  # data_share_arn: "String", # required
6813
6859
  # disassociate_entire_account: false,
6814
6860
  # consumer_arn: "String",
6861
+ # consumer_region: "String",
6815
6862
  # })
6816
6863
  #
6817
6864
  # @example Response structure
@@ -6822,8 +6869,10 @@ module Aws::Redshift
6822
6869
  # resp.data_share_associations #=> Array
6823
6870
  # resp.data_share_associations[0].consumer_identifier #=> String
6824
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
6825
6873
  # resp.data_share_associations[0].created_date #=> Time
6826
6874
  # resp.data_share_associations[0].status_change_date #=> Time
6875
+ # resp.managed_by #=> String
6827
6876
  #
6828
6877
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
6829
6878
  #
@@ -7588,8 +7637,8 @@ module Aws::Redshift
7588
7637
  #
7589
7638
  # * Must contain one number.
7590
7639
  #
7591
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
7592
- # ' (single quote), " (double quote), \\, /, @, or space.
7640
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
7641
+ # (single quote), " (double quote), \\, /, or @.
7593
7642
  #
7594
7643
  # @option params [String] :cluster_parameter_group_name
7595
7644
  # The name of the cluster parameter group to apply to this cluster. This
@@ -8081,7 +8130,13 @@ module Aws::Redshift
8081
8130
  # can be used by the cluster to access other Amazon Web Services
8082
8131
  # services.
8083
8132
  #
8084
- # 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
8085
8140
  #
8086
8141
  # @option params [required, String] :cluster_identifier
8087
8142
  # The unique identifier of the cluster for which you want to associate
@@ -8089,13 +8144,10 @@ module Aws::Redshift
8089
8144
  #
8090
8145
  # @option params [Array<String>] :add_iam_roles
8091
8146
  # Zero or more IAM roles to associate with the cluster. The roles must
8092
- # be in their Amazon Resource Name (ARN) format. You can associate up to
8093
- # 10 IAM roles with a single cluster in a single request.
8147
+ # be in their Amazon Resource Name (ARN) format.
8094
8148
  #
8095
8149
  # @option params [Array<String>] :remove_iam_roles
8096
8150
  # Zero or more IAM roles in ARN format to disassociate from the cluster.
8097
- # You can disassociate up to 10 IAM roles from a single cluster in a
8098
- # single request.
8099
8151
  #
8100
8152
  # @option params [String] :default_iam_role_arn
8101
8153
  # The Amazon Resource Name (ARN) for the IAM role that was set as
@@ -9178,7 +9230,7 @@ module Aws::Redshift
9178
9230
  #
9179
9231
  # resp.usage_limit_id #=> String
9180
9232
  # resp.cluster_identifier #=> String
9181
- # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
9233
+ # resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
9182
9234
  # resp.limit_type #=> String, one of "time", "data-scanned"
9183
9235
  # resp.amount #=> Integer
9184
9236
  # resp.period #=> String, one of "daily", "weekly", "monthly"
@@ -9568,6 +9620,7 @@ module Aws::Redshift
9568
9620
  # * {Types::DataShare#producer_arn #producer_arn} => String
9569
9621
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
9570
9622
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
9623
+ # * {Types::DataShare#managed_by #managed_by} => String
9571
9624
  #
9572
9625
  # @example Request syntax with placeholder values
9573
9626
  #
@@ -9583,8 +9636,10 @@ module Aws::Redshift
9583
9636
  # resp.data_share_associations #=> Array
9584
9637
  # resp.data_share_associations[0].consumer_identifier #=> String
9585
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
9586
9640
  # resp.data_share_associations[0].created_date #=> Time
9587
9641
  # resp.data_share_associations[0].status_change_date #=> Time
9642
+ # resp.managed_by #=> String
9588
9643
  #
9589
9644
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
9590
9645
  #
@@ -10077,10 +10132,15 @@ module Aws::Redshift
10077
10132
  # @option params [Array<String>] :iam_roles
10078
10133
  # A list of Identity and Access Management (IAM) roles that can be used
10079
10134
  # by the cluster to access other Amazon Web Services services. You must
10080
- # supply the IAM roles in their Amazon Resource Name (ARN) format. You
10081
- # 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
+ #
10082
10142
  #
10083
- # 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
10084
10144
  #
10085
10145
  # @option params [String] :maintenance_track_name
10086
10146
  # The name of the maintenance track for the restored cluster. When you
@@ -10971,7 +11031,7 @@ module Aws::Redshift
10971
11031
  params: params,
10972
11032
  config: config)
10973
11033
  context[:gem_name] = 'aws-sdk-redshift'
10974
- context[:gem_version] = '1.74.0'
11034
+ context[:gem_version] = '1.78.0'
10975
11035
  Seahorse::Client::Request.new(handlers, context)
10976
11036
  end
10977
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")
@@ -1050,10 +1051,12 @@ module Aws::Redshift
1050
1051
  DataShare.add_member(:producer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ProducerArn"))
1051
1052
  DataShare.add_member(:allow_publicly_accessible_consumers, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowPubliclyAccessibleConsumers"))
1052
1053
  DataShare.add_member(:data_share_associations, Shapes::ShapeRef.new(shape: DataShareAssociationList, location_name: "DataShareAssociations"))
1054
+ DataShare.add_member(:managed_by, Shapes::ShapeRef.new(shape: String, location_name: "ManagedBy"))
1053
1055
  DataShare.struct_class = Types::DataShare
1054
1056
 
1055
1057
  DataShareAssociation.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerIdentifier"))
1056
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"))
1057
1060
  DataShareAssociation.add_member(:created_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedDate"))
1058
1061
  DataShareAssociation.add_member(:status_change_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "StatusChangeDate"))
1059
1062
  DataShareAssociation.struct_class = Types::DataShareAssociation
@@ -1425,6 +1428,7 @@ module Aws::Redshift
1425
1428
  DisassociateDataShareConsumerMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
1426
1429
  DisassociateDataShareConsumerMessage.add_member(:disassociate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DisassociateEntireAccount"))
1427
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"))
1428
1432
  DisassociateDataShareConsumerMessage.struct_class = Types::DisassociateDataShareConsumerMessage
1429
1433
 
1430
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
@@ -329,7 +337,8 @@ module Aws::Redshift
329
337
  #
330
338
  # @!attribute [rw] consumer_identifier
331
339
  # The identifier of the data consumer that is authorized to access the
332
- # datashare. This identifier is an Amazon Web Services account ID.
340
+ # datashare. This identifier is an Amazon Web Services account ID or a
341
+ # keyword, such as ADX.
333
342
  # @return [String]
334
343
  #
335
344
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShareMessage AWS API Documentation
@@ -1982,8 +1991,8 @@ module Aws::Redshift
1982
1991
  #
1983
1992
  # * Must contain one number.
1984
1993
  #
1985
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
1986
- # ' (single quote), " (double quote), \\, /, @, or space.
1994
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
1995
+ # (single quote), " (double quote), \\, /, or @.
1987
1996
  # @return [String]
1988
1997
  #
1989
1998
  # @!attribute [rw] cluster_security_groups
@@ -2212,10 +2221,15 @@ module Aws::Redshift
2212
2221
  # A list of Identity and Access Management (IAM) roles that can be
2213
2222
  # used by the cluster to access other Amazon Web Services services.
2214
2223
  # You must supply the IAM roles in their Amazon Resource Name (ARN)
2215
- # 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*.
2216
2229
  #
2217
- # A cluster can have up to 10 IAM roles associated with it at any
2218
- # time.
2230
+ #
2231
+ #
2232
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
2219
2233
  # @return [Array<String>]
2220
2234
  #
2221
2235
  # @!attribute [rw] maintenance_track_name
@@ -2996,7 +3010,7 @@ module Aws::Redshift
2996
3010
  # @return [String]
2997
3011
  #
2998
3012
  # @!attribute [rw] kms_key_id
2999
- # The unique identifier of the customer master key (CMK) to which to
3013
+ # The unique identifier of the encrypted symmetric key to which to
3000
3014
  # grant Amazon Redshift permission. If no key is specified, the
3001
3015
  # default key is used.
3002
3016
  # @return [String]
@@ -3017,8 +3031,8 @@ module Aws::Redshift
3017
3031
 
3018
3032
  # @!attribute [rw] snapshot_copy_grant
3019
3033
  # The snapshot copy grant that grants Amazon Redshift permission to
3020
- # encrypt copied snapshots with the specified customer master key
3021
- # (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.
3022
3036
  #
3023
3037
  # For more information about managing snapshot copy grants, go to
3024
3038
  # [Amazon Redshift Database Encryption][1] in the *Amazon Redshift
@@ -3137,7 +3151,7 @@ module Aws::Redshift
3137
3151
  #
3138
3152
  # {
3139
3153
  # cluster_identifier: "String", # required
3140
- # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
3154
+ # feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
3141
3155
  # limit_type: "time", # required, accepts time, data-scanned
3142
3156
  # amount: 1, # required
3143
3157
  # period: "daily", # accepts daily, weekly, monthly
@@ -3162,7 +3176,9 @@ module Aws::Redshift
3162
3176
  # The type of limit. Depending on the feature type, this can be based
3163
3177
  # on a time duration or data size. If `FeatureType` is `spectrum`,
3164
3178
  # then `LimitType` must be `data-scanned`. If `FeatureType` is
3165
- # `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`.
3166
3182
  # @return [String]
3167
3183
  #
3168
3184
  # @!attribute [rw] amount
@@ -3239,13 +3255,18 @@ module Aws::Redshift
3239
3255
  # a producer and data consumers.
3240
3256
  # @return [Array<Types::DataShareAssociation>]
3241
3257
  #
3258
+ # @!attribute [rw] managed_by
3259
+ # The identifier of a datashare to show its managing entity.
3260
+ # @return [String]
3261
+ #
3242
3262
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShare AWS API Documentation
3243
3263
  #
3244
3264
  class DataShare < Struct.new(
3245
3265
  :data_share_arn,
3246
3266
  :producer_arn,
3247
3267
  :allow_publicly_accessible_consumers,
3248
- :data_share_associations)
3268
+ :data_share_associations,
3269
+ :managed_by)
3249
3270
  SENSITIVE = []
3250
3271
  include Aws::Structure
3251
3272
  end
@@ -3262,6 +3283,11 @@ module Aws::Redshift
3262
3283
  # The status of the datashare that is associated.
3263
3284
  # @return [String]
3264
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
+ #
3265
3291
  # @!attribute [rw] created_date
3266
3292
  # The creation date of the datashare that is associated.
3267
3293
  # @return [Time]
@@ -3275,6 +3301,7 @@ module Aws::Redshift
3275
3301
  class DataShareAssociation < Struct.new(
3276
3302
  :consumer_identifier,
3277
3303
  :status,
3304
+ :consumer_region,
3278
3305
  :created_date,
3279
3306
  :status_change_date)
3280
3307
  SENSITIVE = []
@@ -3341,7 +3368,7 @@ module Aws::Redshift
3341
3368
  # @!attribute [rw] consumer_identifier
3342
3369
  # The identifier of the data consumer that is to have authorization
3343
3370
  # removed from the datashare. This identifier is an Amazon Web
3344
- # Services account ID.
3371
+ # Services account ID or a keyword, such as ADX.
3345
3372
  # @return [String]
3346
3373
  #
3347
3374
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShareMessage AWS API Documentation
@@ -6070,7 +6097,7 @@ module Aws::Redshift
6070
6097
  # {
6071
6098
  # usage_limit_id: "String",
6072
6099
  # cluster_identifier: "String",
6073
- # feature_type: "spectrum", # accepts spectrum, concurrency-scaling
6100
+ # feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
6074
6101
  # max_records: 1,
6075
6102
  # marker: "String",
6076
6103
  # tag_keys: ["String"],
@@ -6209,6 +6236,7 @@ module Aws::Redshift
6209
6236
  # data_share_arn: "String", # required
6210
6237
  # disassociate_entire_account: false,
6211
6238
  # consumer_arn: "String",
6239
+ # consumer_region: "String",
6212
6240
  # }
6213
6241
  #
6214
6242
  # @!attribute [rw] data_share_arn
@@ -6226,12 +6254,19 @@ module Aws::Redshift
6226
6254
  # the datashare is removed from.
6227
6255
  # @return [String]
6228
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
+ #
6229
6263
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumerMessage AWS API Documentation
6230
6264
  #
6231
6265
  class DisassociateDataShareConsumerMessage < Struct.new(
6232
6266
  :data_share_arn,
6233
6267
  :disassociate_entire_account,
6234
- :consumer_arn)
6268
+ :consumer_arn,
6269
+ :consumer_region)
6235
6270
  SENSITIVE = []
6236
6271
  include Aws::Structure
6237
6272
  end
@@ -7846,14 +7881,12 @@ module Aws::Redshift
7846
7881
  #
7847
7882
  # @!attribute [rw] add_iam_roles
7848
7883
  # Zero or more IAM roles to associate with the cluster. The roles must
7849
- # be in their Amazon Resource Name (ARN) format. You can associate up
7850
- # to 10 IAM roles with a single cluster in a single request.
7884
+ # be in their Amazon Resource Name (ARN) format.
7851
7885
  # @return [Array<String>]
7852
7886
  #
7853
7887
  # @!attribute [rw] remove_iam_roles
7854
7888
  # Zero or more IAM roles in ARN format to disassociate from the
7855
- # cluster. You can disassociate up to 10 IAM roles from a single
7856
- # cluster in a single request.
7889
+ # cluster.
7857
7890
  # @return [Array<String>]
7858
7891
  #
7859
7892
  # @!attribute [rw] default_iam_role_arn
@@ -8079,8 +8112,8 @@ module Aws::Redshift
8079
8112
  #
8080
8113
  # * Must contain one number.
8081
8114
  #
8082
- # * Can be any printable ASCII character (ASCII code 33 to 126) except
8083
- # ' (single quote), " (double quote), \\, /, @, or space.
8115
+ # * Can be any printable ASCII character (ASCII code 33-126) except '
8116
+ # (single quote), " (double quote), \\, /, or @.
8084
8117
  # @return [String]
8085
8118
  #
8086
8119
  # @!attribute [rw] cluster_parameter_group_name
@@ -10292,9 +10325,15 @@ module Aws::Redshift
10292
10325
  # A list of Identity and Access Management (IAM) roles that can be
10293
10326
  # used by the cluster to access other Amazon Web Services services.
10294
10327
  # You must supply the IAM roles in their Amazon Resource Name (ARN)
10295
- # 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
+ #
10296
10335
  #
10297
- # 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
10298
10337
  # @return [Array<String>]
10299
10338
  #
10300
10339
  # @!attribute [rw] maintenance_track_name
@@ -11263,7 +11302,7 @@ module Aws::Redshift
11263
11302
  class SnapshotCopyDisabledFault < Aws::EmptyStructure; end
11264
11303
 
11265
11304
  # The snapshot copy grant that grants Amazon Redshift permission to
11266
- # encrypt copied snapshots with the specified customer master key (CMK)
11305
+ # encrypt copied snapshots with the specified encrypted symmetric key
11267
11306
  # from Amazon Web Services KMS in the destination region.
11268
11307
  #
11269
11308
  # For more information about managing snapshot copy grants, go to
@@ -11279,7 +11318,7 @@ module Aws::Redshift
11279
11318
  # @return [String]
11280
11319
  #
11281
11320
  # @!attribute [rw] kms_key_id
11282
- # The unique identifier of the customer master key (CMK) in Amazon Web
11321
+ # The unique identifier of the encrypted symmetric key in Amazon Web
11283
11322
  # Services KMS to which Amazon Redshift is granted permission.
11284
11323
  # @return [String]
11285
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.74.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.74.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: 2021-11-30 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.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.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement