aws-sdk-redshift 1.76.0 → 1.79.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +70 -31
- data/lib/aws-sdk-redshift/client_api.rb +3 -0
- data/lib/aws-sdk-redshift/types.rb +56 -23
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da2016b84e90681f2122ac30a3c63c5674c3e0b5ff1ad63cdb9553af7752d82b
|
4
|
+
data.tar.gz: 7e855242a3d2d7ce501498f1b72cae2030f47c7bab934afdcec3fc8fac85f437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3c8c990e162602145913b4886b0f86aba159ee3c25b9f3606be5662f619aadddeafc86be4e9b21e0d50874d6d1e6e1e0e1ff3e25bf266148325102e0465600
|
7
|
+
data.tar.gz: 6f27b135cb4b6d268662a5599a52a0bd09b2d962bd79c74c2743b635ce2e5378fa270890523b1635adb98dc44ed3afd2aadc82b31355321084617dba4f20ff1e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.79.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.78.0 (2022-02-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - SDK release for Cross region datasharing and cost-control for cross region datasharing
|
13
|
+
|
14
|
+
1.77.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.76.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
@@ -27,7 +27,9 @@ 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'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Redshift
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::Query)
|
80
84
|
|
@@ -461,6 +465,11 @@ module Aws::Redshift
|
|
461
465
|
# The Amazon Resource Name (ARN) of the consumer that is associated with
|
462
466
|
# the datashare.
|
463
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
|
+
#
|
464
473
|
# @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
465
474
|
#
|
466
475
|
# * {Types::DataShare#data_share_arn #data_share_arn} => String
|
@@ -475,6 +484,7 @@ module Aws::Redshift
|
|
475
484
|
# data_share_arn: "String", # required
|
476
485
|
# associate_entire_account: false,
|
477
486
|
# consumer_arn: "String",
|
487
|
+
# consumer_region: "String",
|
478
488
|
# })
|
479
489
|
#
|
480
490
|
# @example Response structure
|
@@ -485,6 +495,7 @@ module Aws::Redshift
|
|
485
495
|
# resp.data_share_associations #=> Array
|
486
496
|
# resp.data_share_associations[0].consumer_identifier #=> String
|
487
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
|
488
499
|
# resp.data_share_associations[0].created_date #=> Time
|
489
500
|
# resp.data_share_associations[0].status_change_date #=> Time
|
490
501
|
# resp.managed_by #=> String
|
@@ -621,6 +632,7 @@ module Aws::Redshift
|
|
621
632
|
# resp.data_share_associations #=> Array
|
622
633
|
# resp.data_share_associations[0].consumer_identifier #=> String
|
623
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
|
624
636
|
# resp.data_share_associations[0].created_date #=> Time
|
625
637
|
# resp.data_share_associations[0].status_change_date #=> Time
|
626
638
|
# resp.managed_by #=> String
|
@@ -1211,8 +1223,8 @@ module Aws::Redshift
|
|
1211
1223
|
#
|
1212
1224
|
# * Must contain one number.
|
1213
1225
|
#
|
1214
|
-
# * Can be any printable ASCII character (ASCII code 33
|
1215
|
-
#
|
1226
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except '
|
1227
|
+
# (single quote), " (double quote), \\, /, or @.
|
1216
1228
|
#
|
1217
1229
|
# @option params [Array<String>] :cluster_security_groups
|
1218
1230
|
# A list of security groups to be associated with this cluster.
|
@@ -1416,10 +1428,15 @@ module Aws::Redshift
|
|
1416
1428
|
# @option params [Array<String>] :iam_roles
|
1417
1429
|
# A list of Identity and Access Management (IAM) roles that can be used
|
1418
1430
|
# by the cluster to access other Amazon Web Services services. You must
|
1419
|
-
# supply the IAM roles in their Amazon Resource Name (ARN) format.
|
1420
|
-
#
|
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
|
+
#
|
1421
1437
|
#
|
1422
|
-
#
|
1438
|
+
#
|
1439
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
|
1423
1440
|
#
|
1424
1441
|
# @option params [String] :maintenance_track_name
|
1425
1442
|
# An optional parameter for the name of the maintenance track for the
|
@@ -2443,8 +2460,8 @@ module Aws::Redshift
|
|
2443
2460
|
req.send_request(options)
|
2444
2461
|
end
|
2445
2462
|
|
2446
|
-
# Creates a snapshot copy grant that permits Amazon Redshift to use
|
2447
|
-
#
|
2463
|
+
# Creates a snapshot copy grant that permits Amazon Redshift to use an
|
2464
|
+
# encrypted symmetric key from Key Management Service (KMS) to encrypt
|
2448
2465
|
# copied snapshots in a destination region.
|
2449
2466
|
#
|
2450
2467
|
# For more information about managing snapshot copy grants, go to
|
@@ -2473,9 +2490,9 @@ module Aws::Redshift
|
|
2473
2490
|
# account.
|
2474
2491
|
#
|
2475
2492
|
# @option params [String] :kms_key_id
|
2476
|
-
# The unique identifier of the
|
2477
|
-
#
|
2478
|
-
#
|
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.
|
2479
2496
|
#
|
2480
2497
|
# @option params [Array<Types::Tag>] :tags
|
2481
2498
|
# A list of tag instances.
|
@@ -2645,7 +2662,9 @@ module Aws::Redshift
|
|
2645
2662
|
# The type of limit. Depending on the feature type, this can be based on
|
2646
2663
|
# a time duration or data size. If `FeatureType` is `spectrum`, then
|
2647
2664
|
# `LimitType` must be `data-scanned`. If `FeatureType` is
|
2648
|
-
# `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`.
|
2649
2668
|
#
|
2650
2669
|
# @option params [required, Integer] :amount
|
2651
2670
|
# The limit amount. If time-based, this amount is in minutes. If
|
@@ -2679,7 +2698,7 @@ module Aws::Redshift
|
|
2679
2698
|
#
|
2680
2699
|
# resp = client.create_usage_limit({
|
2681
2700
|
# cluster_identifier: "String", # required
|
2682
|
-
# feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
|
2701
|
+
# feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling, cross-region-datasharing
|
2683
2702
|
# limit_type: "time", # required, accepts time, data-scanned
|
2684
2703
|
# amount: 1, # required
|
2685
2704
|
# period: "daily", # accepts daily, weekly, monthly
|
@@ -2696,7 +2715,7 @@ module Aws::Redshift
|
|
2696
2715
|
#
|
2697
2716
|
# resp.usage_limit_id #=> String
|
2698
2717
|
# resp.cluster_identifier #=> String
|
2699
|
-
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
|
2718
|
+
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
|
2700
2719
|
# resp.limit_type #=> String, one of "time", "data-scanned"
|
2701
2720
|
# resp.amount #=> Integer
|
2702
2721
|
# resp.period #=> String, one of "daily", "weekly", "monthly"
|
@@ -2749,6 +2768,7 @@ module Aws::Redshift
|
|
2749
2768
|
# resp.data_share_associations #=> Array
|
2750
2769
|
# resp.data_share_associations[0].consumer_identifier #=> String
|
2751
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
|
2752
2772
|
# resp.data_share_associations[0].created_date #=> Time
|
2753
2773
|
# resp.data_share_associations[0].status_change_date #=> Time
|
2754
2774
|
# resp.managed_by #=> String
|
@@ -4617,6 +4637,7 @@ module Aws::Redshift
|
|
4617
4637
|
# resp.data_shares[0].data_share_associations #=> Array
|
4618
4638
|
# resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
|
4619
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
|
4620
4641
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
4621
4642
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
4622
4643
|
# resp.data_shares[0].managed_by #=> String
|
@@ -4684,6 +4705,7 @@ module Aws::Redshift
|
|
4684
4705
|
# resp.data_shares[0].data_share_associations #=> Array
|
4685
4706
|
# resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
|
4686
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
|
4687
4709
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
4688
4710
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
4689
4711
|
# resp.data_shares[0].managed_by #=> String
|
@@ -4751,6 +4773,7 @@ module Aws::Redshift
|
|
4751
4773
|
# resp.data_shares[0].data_share_associations #=> Array
|
4752
4774
|
# resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
|
4753
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
|
4754
4777
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
4755
4778
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
4756
4779
|
# resp.data_shares[0].managed_by #=> String
|
@@ -6576,7 +6599,7 @@ module Aws::Redshift
|
|
6576
6599
|
# resp = client.describe_usage_limits({
|
6577
6600
|
# usage_limit_id: "String",
|
6578
6601
|
# cluster_identifier: "String",
|
6579
|
-
# feature_type: "spectrum", # accepts spectrum, concurrency-scaling
|
6602
|
+
# feature_type: "spectrum", # accepts spectrum, concurrency-scaling, cross-region-datasharing
|
6580
6603
|
# max_records: 1,
|
6581
6604
|
# marker: "String",
|
6582
6605
|
# tag_keys: ["String"],
|
@@ -6588,7 +6611,7 @@ module Aws::Redshift
|
|
6588
6611
|
# resp.usage_limits #=> Array
|
6589
6612
|
# resp.usage_limits[0].usage_limit_id #=> String
|
6590
6613
|
# resp.usage_limits[0].cluster_identifier #=> String
|
6591
|
-
# 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"
|
6592
6615
|
# resp.usage_limits[0].limit_type #=> String, one of "time", "data-scanned"
|
6593
6616
|
# resp.usage_limits[0].amount #=> Integer
|
6594
6617
|
# resp.usage_limits[0].period #=> String, one of "daily", "weekly", "monthly"
|
@@ -6651,10 +6674,10 @@ module Aws::Redshift
|
|
6651
6674
|
# Disables the automatic copying of snapshots from one region to another
|
6652
6675
|
# region for a specified cluster.
|
6653
6676
|
#
|
6654
|
-
# If your cluster and its snapshots are encrypted using
|
6655
|
-
#
|
6656
|
-
#
|
6657
|
-
#
|
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.
|
6658
6681
|
#
|
6659
6682
|
# @option params [required, String] :cluster_identifier
|
6660
6683
|
# The unique identifier of the source cluster that you want to disable
|
@@ -6818,6 +6841,11 @@ module Aws::Redshift
|
|
6818
6841
|
# The Amazon Resource Name (ARN) of the consumer that association for
|
6819
6842
|
# the datashare is removed from.
|
6820
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
|
+
#
|
6821
6849
|
# @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6822
6850
|
#
|
6823
6851
|
# * {Types::DataShare#data_share_arn #data_share_arn} => String
|
@@ -6832,6 +6860,7 @@ module Aws::Redshift
|
|
6832
6860
|
# data_share_arn: "String", # required
|
6833
6861
|
# disassociate_entire_account: false,
|
6834
6862
|
# consumer_arn: "String",
|
6863
|
+
# consumer_region: "String",
|
6835
6864
|
# })
|
6836
6865
|
#
|
6837
6866
|
# @example Response structure
|
@@ -6842,6 +6871,7 @@ module Aws::Redshift
|
|
6842
6871
|
# resp.data_share_associations #=> Array
|
6843
6872
|
# resp.data_share_associations[0].consumer_identifier #=> String
|
6844
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
|
6845
6875
|
# resp.data_share_associations[0].created_date #=> Time
|
6846
6876
|
# resp.data_share_associations[0].status_change_date #=> Time
|
6847
6877
|
# resp.managed_by #=> String
|
@@ -7609,8 +7639,8 @@ module Aws::Redshift
|
|
7609
7639
|
#
|
7610
7640
|
# * Must contain one number.
|
7611
7641
|
#
|
7612
|
-
# * Can be any printable ASCII character (ASCII code 33
|
7613
|
-
#
|
7642
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except '
|
7643
|
+
# (single quote), " (double quote), \\, /, or @.
|
7614
7644
|
#
|
7615
7645
|
# @option params [String] :cluster_parameter_group_name
|
7616
7646
|
# The name of the cluster parameter group to apply to this cluster. This
|
@@ -8102,7 +8132,13 @@ module Aws::Redshift
|
|
8102
8132
|
# can be used by the cluster to access other Amazon Web Services
|
8103
8133
|
# services.
|
8104
8134
|
#
|
8105
|
-
#
|
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
|
8106
8142
|
#
|
8107
8143
|
# @option params [required, String] :cluster_identifier
|
8108
8144
|
# The unique identifier of the cluster for which you want to associate
|
@@ -8110,13 +8146,10 @@ module Aws::Redshift
|
|
8110
8146
|
#
|
8111
8147
|
# @option params [Array<String>] :add_iam_roles
|
8112
8148
|
# Zero or more IAM roles to associate with the cluster. The roles must
|
8113
|
-
# be in their Amazon Resource Name (ARN) format.
|
8114
|
-
# 10 IAM roles with a single cluster in a single request.
|
8149
|
+
# be in their Amazon Resource Name (ARN) format.
|
8115
8150
|
#
|
8116
8151
|
# @option params [Array<String>] :remove_iam_roles
|
8117
8152
|
# Zero or more IAM roles in ARN format to disassociate from the cluster.
|
8118
|
-
# You can disassociate up to 10 IAM roles from a single cluster in a
|
8119
|
-
# single request.
|
8120
8153
|
#
|
8121
8154
|
# @option params [String] :default_iam_role_arn
|
8122
8155
|
# The Amazon Resource Name (ARN) for the IAM role that was set as
|
@@ -9199,7 +9232,7 @@ module Aws::Redshift
|
|
9199
9232
|
#
|
9200
9233
|
# resp.usage_limit_id #=> String
|
9201
9234
|
# resp.cluster_identifier #=> String
|
9202
|
-
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling"
|
9235
|
+
# resp.feature_type #=> String, one of "spectrum", "concurrency-scaling", "cross-region-datasharing"
|
9203
9236
|
# resp.limit_type #=> String, one of "time", "data-scanned"
|
9204
9237
|
# resp.amount #=> Integer
|
9205
9238
|
# resp.period #=> String, one of "daily", "weekly", "monthly"
|
@@ -9605,6 +9638,7 @@ module Aws::Redshift
|
|
9605
9638
|
# resp.data_share_associations #=> Array
|
9606
9639
|
# resp.data_share_associations[0].consumer_identifier #=> String
|
9607
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
|
9608
9642
|
# resp.data_share_associations[0].created_date #=> Time
|
9609
9643
|
# resp.data_share_associations[0].status_change_date #=> Time
|
9610
9644
|
# resp.managed_by #=> String
|
@@ -10100,10 +10134,15 @@ module Aws::Redshift
|
|
10100
10134
|
# @option params [Array<String>] :iam_roles
|
10101
10135
|
# A list of Identity and Access Management (IAM) roles that can be used
|
10102
10136
|
# by the cluster to access other Amazon Web Services services. You must
|
10103
|
-
# supply the IAM roles in their Amazon Resource Name (ARN) format.
|
10104
|
-
#
|
10137
|
+
# supply the IAM roles in their Amazon Resource Name (ARN) format.
|
10138
|
+
#
|
10139
|
+
# The maximum number of IAM roles that you can associate is subject to a
|
10140
|
+
# quota. For more information, go to [Quotas and limits][1] in the
|
10141
|
+
# *Amazon Redshift Cluster Management Guide*.
|
10142
|
+
#
|
10143
|
+
#
|
10105
10144
|
#
|
10106
|
-
#
|
10145
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html
|
10107
10146
|
#
|
10108
10147
|
# @option params [String] :maintenance_track_name
|
10109
10148
|
# The name of the maintenance track for the restored cluster. When you
|
@@ -10994,7 +11033,7 @@ module Aws::Redshift
|
|
10994
11033
|
params: params,
|
10995
11034
|
config: config)
|
10996
11035
|
context[:gem_name] = 'aws-sdk-redshift'
|
10997
|
-
context[:gem_version] = '1.
|
11036
|
+
context[:gem_version] = '1.79.0'
|
10998
11037
|
Seahorse::Client::Request.new(handlers, context)
|
10999
11038
|
end
|
11000
11039
|
|
@@ -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
|
1987
|
-
#
|
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.
|
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
|
-
#
|
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
|
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
|
3022
|
-
#
|
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.
|
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.
|
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
|
8089
|
-
#
|
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.
|
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
|
-
#
|
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
|
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
|
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
|
#
|
data/lib/aws-sdk-redshift.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.79.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:
|
11
|
+
date: 2022-02-24 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.
|
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.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|