aws-sdk-redshift 1.81.0 → 1.84.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 +118 -21
- data/lib/aws-sdk-redshift/client_api.rb +36 -3
- data/lib/aws-sdk-redshift/types.rb +127 -13
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b13b5524ab6aa781ed06676fab91832700d927d703bae8f54818305336087212
|
4
|
+
data.tar.gz: 1c2944243a1d7b5caaea64a89b196d30609abc1ef23f454a3ae498deb927c4b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fec04956e383385b2951e6c11062d5ec22de1042c0d69455eb508419c1b21f41bf54cf828a3cae438a7fc70beae19eb13a18705210d286c99ca66efacb28578f
|
7
|
+
data.tar.gz: 070c4fcbb7106f73ae5b8663923817b52a8968283d65f44b902fe6cffd6431a4261a388e75689b76199e2f4e35c1a49137de41fb977156aa8f5d0b4905c63b45
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2022-07-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new --snapshot-arn field for describe-cluster-snapshots, describe-node-configuration-options, restore-from-cluster-snapshot, authorize-snapshot-acsess, and revoke-snapshot-acsess APIs. It allows customers to give a Redshift snapshot ARN or a Redshift Serverless ARN as input.
|
8
|
+
|
9
|
+
1.83.0 (2022-06-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds new API GetClusterCredentialsWithIAM to return temporary credentials.
|
13
|
+
|
14
|
+
1.82.0 (2022-05-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Introduces new field 'LoadSampleData' in CreateCluster operation. Customers can now specify 'LoadSampleData' option during creation of a cluster, which results in loading of sample data in the cluster that is created.
|
18
|
+
|
4
19
|
1.81.0 (2022-04-19)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
@@ -598,7 +598,7 @@ module Aws::Redshift
|
|
598
598
|
# From a data producer account, authorizes the sharing of a datashare
|
599
599
|
# with one or more consumer accounts or managing entities. To authorize
|
600
600
|
# a datashare for a data consumer, the producer account must have the
|
601
|
-
# correct access
|
601
|
+
# correct access permissions.
|
602
602
|
#
|
603
603
|
# @option params [required, String] :data_share_arn
|
604
604
|
# The Amazon Resource Name (ARN) of the datashare that producers are to
|
@@ -710,9 +710,12 @@ module Aws::Redshift
|
|
710
710
|
#
|
711
711
|
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
|
712
712
|
#
|
713
|
-
# @option params [
|
713
|
+
# @option params [String] :snapshot_identifier
|
714
714
|
# The identifier of the snapshot the account is authorized to restore.
|
715
715
|
#
|
716
|
+
# @option params [String] :snapshot_arn
|
717
|
+
# The Amazon Resource Name (ARN) of the snapshot to authorize access to.
|
718
|
+
#
|
716
719
|
# @option params [String] :snapshot_cluster_identifier
|
717
720
|
# The identifier of the cluster the snapshot was created from. This
|
718
721
|
# parameter is required if your IAM user has a policy containing a
|
@@ -733,7 +736,8 @@ module Aws::Redshift
|
|
733
736
|
# @example Request syntax with placeholder values
|
734
737
|
#
|
735
738
|
# resp = client.authorize_snapshot_access({
|
736
|
-
# snapshot_identifier: "String",
|
739
|
+
# snapshot_identifier: "String",
|
740
|
+
# snapshot_arn: "String",
|
737
741
|
# snapshot_cluster_identifier: "String",
|
738
742
|
# account_with_restore_access: "String", # required
|
739
743
|
# })
|
@@ -1223,8 +1227,8 @@ module Aws::Redshift
|
|
1223
1227
|
#
|
1224
1228
|
# * Must contain one number.
|
1225
1229
|
#
|
1226
|
-
# * Can be any printable ASCII character (ASCII code 33-126) except '
|
1227
|
-
# (single quote), " (double quote),
|
1230
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except `'`
|
1231
|
+
# (single quote), `"` (double quote), ``, `/`, or `@`.
|
1228
1232
|
#
|
1229
1233
|
# @option params [Array<String>] :cluster_security_groups
|
1230
1234
|
# A list of security groups to be associated with this cluster.
|
@@ -1388,7 +1392,9 @@ module Aws::Redshift
|
|
1388
1392
|
# keys in an HSM.
|
1389
1393
|
#
|
1390
1394
|
# @option params [String] :elastic_ip
|
1391
|
-
# The Elastic IP (EIP) address for the cluster.
|
1395
|
+
# The Elastic IP (EIP) address for the cluster. You don't have to
|
1396
|
+
# specify the EIP for a publicly accessible cluster with
|
1397
|
+
# AvailabilityZoneRelocation turned on.
|
1392
1398
|
#
|
1393
1399
|
# Constraints: The cluster must be provisioned in EC2-VPC and
|
1394
1400
|
# publicly-accessible through an Internet gateway. For more information
|
@@ -1466,6 +1472,10 @@ module Aws::Redshift
|
|
1466
1472
|
# The Amazon Resource Name (ARN) for the IAM role that was set as
|
1467
1473
|
# default for the cluster when the cluster was created.
|
1468
1474
|
#
|
1475
|
+
# @option params [String] :load_sample_data
|
1476
|
+
# A flag that specifies whether to load sample data once the cluster is
|
1477
|
+
# created.
|
1478
|
+
#
|
1469
1479
|
# @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1470
1480
|
#
|
1471
1481
|
# * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
|
@@ -1511,6 +1521,7 @@ module Aws::Redshift
|
|
1511
1521
|
# availability_zone_relocation: false,
|
1512
1522
|
# aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
|
1513
1523
|
# default_iam_role_arn: "String",
|
1524
|
+
# load_sample_data: "String",
|
1514
1525
|
# })
|
1515
1526
|
#
|
1516
1527
|
# @example Response structure
|
@@ -2733,8 +2744,8 @@ module Aws::Redshift
|
|
2733
2744
|
req.send_request(options)
|
2734
2745
|
end
|
2735
2746
|
|
2736
|
-
# From
|
2737
|
-
# datashare.
|
2747
|
+
# From a datashare producer account, removes authorization from the
|
2748
|
+
# specified datashare.
|
2738
2749
|
#
|
2739
2750
|
# @option params [required, String] :data_share_arn
|
2740
2751
|
# The Amazon Resource Name (ARN) of the datashare to remove
|
@@ -3952,6 +3963,10 @@ module Aws::Redshift
|
|
3952
3963
|
# The snapshot identifier of the snapshot about which to return
|
3953
3964
|
# information.
|
3954
3965
|
#
|
3966
|
+
# @option params [String] :snapshot_arn
|
3967
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
3968
|
+
# message to describe cluster snapshots.
|
3969
|
+
#
|
3955
3970
|
# @option params [String] :snapshot_type
|
3956
3971
|
# The type of snapshots for which you are requesting information. By
|
3957
3972
|
# default, snapshots of all types are returned.
|
@@ -4059,6 +4074,7 @@ module Aws::Redshift
|
|
4059
4074
|
# resp = client.describe_cluster_snapshots({
|
4060
4075
|
# cluster_identifier: "String",
|
4061
4076
|
# snapshot_identifier: "String",
|
4077
|
+
# snapshot_arn: "String",
|
4062
4078
|
# snapshot_type: "String",
|
4063
4079
|
# start_time: Time.now,
|
4064
4080
|
# end_time: Time.now,
|
@@ -5545,6 +5561,10 @@ module Aws::Redshift
|
|
5545
5561
|
# The identifier of the snapshot to evaluate for possible node
|
5546
5562
|
# configurations.
|
5547
5563
|
#
|
5564
|
+
# @option params [String] :snapshot_arn
|
5565
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
5566
|
+
# message to describe node configuration.
|
5567
|
+
#
|
5548
5568
|
# @option params [String] :owner_account
|
5549
5569
|
# The Amazon Web Services account used to create or copy the snapshot.
|
5550
5570
|
# Required if you are restoring a snapshot you do not own, optional if
|
@@ -5586,6 +5606,7 @@ module Aws::Redshift
|
|
5586
5606
|
# action_type: "restore-cluster", # required, accepts restore-cluster, recommend-node-config, resize-cluster
|
5587
5607
|
# cluster_identifier: "String",
|
5588
5608
|
# snapshot_identifier: "String",
|
5609
|
+
# snapshot_arn: "String",
|
5589
5610
|
# owner_account: "String",
|
5590
5611
|
# filters: [
|
5591
5612
|
# {
|
@@ -6836,8 +6857,8 @@ module Aws::Redshift
|
|
6836
6857
|
req.send_request(options)
|
6837
6858
|
end
|
6838
6859
|
|
6839
|
-
# From a consumer account, remove association for the
|
6840
|
-
# datashare.
|
6860
|
+
# From a datashare consumer account, remove association for the
|
6861
|
+
# specified datashare.
|
6841
6862
|
#
|
6842
6863
|
# @option params [required, String] :data_share_arn
|
6843
6864
|
# The Amazon Resource Name (ARN) of the datashare to remove association
|
@@ -7192,7 +7213,7 @@ module Aws::Redshift
|
|
7192
7213
|
# the `redshift:JoinGroup` action with access to the listed `dbgroups`.
|
7193
7214
|
#
|
7194
7215
|
# In addition, if the `AutoCreate` parameter is set to `True`, then the
|
7195
|
-
# policy must include the `redshift:CreateClusterUser`
|
7216
|
+
# policy must include the `redshift:CreateClusterUser` permission.
|
7196
7217
|
#
|
7197
7218
|
# If the `DbName` parameter is specified, the IAM policy must allow
|
7198
7219
|
# access to the resource `dbname` for the specified database name.
|
@@ -7260,7 +7281,7 @@ module Aws::Redshift
|
|
7260
7281
|
#
|
7261
7282
|
# @option params [required, String] :cluster_identifier
|
7262
7283
|
# The unique identifier of the cluster that contains the database for
|
7263
|
-
# which
|
7284
|
+
# which you are requesting credentials. This parameter is case
|
7264
7285
|
# sensitive.
|
7265
7286
|
#
|
7266
7287
|
# @option params [Integer] :duration_seconds
|
@@ -7330,6 +7351,70 @@ module Aws::Redshift
|
|
7330
7351
|
req.send_request(options)
|
7331
7352
|
end
|
7332
7353
|
|
7354
|
+
# Returns a database user name and temporary password with temporary
|
7355
|
+
# authorization to log in to an Amazon Redshift database. The database
|
7356
|
+
# user is mapped 1:1 to the source Identity and Access Management (IAM)
|
7357
|
+
# identity. For more information about IAM identities, see [IAM
|
7358
|
+
# Identities (users, user groups, and roles)][1] in the Amazon Web
|
7359
|
+
# Services Identity and Access Management User Guide.
|
7360
|
+
#
|
7361
|
+
# The Identity and Access Management (IAM) identity that runs this
|
7362
|
+
# operation must have an IAM policy attached that allows access to all
|
7363
|
+
# necessary actions and resources. For more information about
|
7364
|
+
# permissions, see [Using identity-based policies (IAM policies)][2] in
|
7365
|
+
# the Amazon Redshift Cluster Management Guide.
|
7366
|
+
#
|
7367
|
+
#
|
7368
|
+
#
|
7369
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id.html
|
7370
|
+
# [2]: https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html
|
7371
|
+
#
|
7372
|
+
# @option params [String] :db_name
|
7373
|
+
# The name of the database for which you are requesting credentials. If
|
7374
|
+
# the database name is specified, the IAM policy must allow access to
|
7375
|
+
# the resource `dbname` for the specified database name. If the database
|
7376
|
+
# name is not specified, access to all databases is allowed.
|
7377
|
+
#
|
7378
|
+
# @option params [required, String] :cluster_identifier
|
7379
|
+
# The unique identifier of the cluster that contains the database for
|
7380
|
+
# which you are requesting credentials.
|
7381
|
+
#
|
7382
|
+
# @option params [Integer] :duration_seconds
|
7383
|
+
# The number of seconds until the returned temporary password expires.
|
7384
|
+
#
|
7385
|
+
# Range: 900-3600. Default: 900.
|
7386
|
+
#
|
7387
|
+
# @return [Types::ClusterExtendedCredentials] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7388
|
+
#
|
7389
|
+
# * {Types::ClusterExtendedCredentials#db_user #db_user} => String
|
7390
|
+
# * {Types::ClusterExtendedCredentials#db_password #db_password} => String
|
7391
|
+
# * {Types::ClusterExtendedCredentials#expiration #expiration} => Time
|
7392
|
+
# * {Types::ClusterExtendedCredentials#next_refresh_time #next_refresh_time} => Time
|
7393
|
+
#
|
7394
|
+
# @example Request syntax with placeholder values
|
7395
|
+
#
|
7396
|
+
# resp = client.get_cluster_credentials_with_iam({
|
7397
|
+
# db_name: "String",
|
7398
|
+
# cluster_identifier: "String", # required
|
7399
|
+
# duration_seconds: 1,
|
7400
|
+
# })
|
7401
|
+
#
|
7402
|
+
# @example Response structure
|
7403
|
+
#
|
7404
|
+
# resp.db_user #=> String
|
7405
|
+
# resp.db_password #=> String
|
7406
|
+
# resp.expiration #=> Time
|
7407
|
+
# resp.next_refresh_time #=> Time
|
7408
|
+
#
|
7409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsWithIAM AWS API Documentation
|
7410
|
+
#
|
7411
|
+
# @overload get_cluster_credentials_with_iam(params = {})
|
7412
|
+
# @param [Hash] params ({})
|
7413
|
+
def get_cluster_credentials_with_iam(params = {}, options = {})
|
7414
|
+
req = build_request(:get_cluster_credentials_with_iam, params)
|
7415
|
+
req.send_request(options)
|
7416
|
+
end
|
7417
|
+
|
7333
7418
|
# Gets the configuration options for the reserved-node exchange. These
|
7334
7419
|
# options include information about the source reserved node and target
|
7335
7420
|
# reserved node offering. Details include the node type, the price, the
|
@@ -7664,8 +7749,8 @@ module Aws::Redshift
|
|
7664
7749
|
#
|
7665
7750
|
# * Must contain one number.
|
7666
7751
|
#
|
7667
|
-
# * Can be any printable ASCII character (ASCII code 33-126) except '
|
7668
|
-
# (single quote), " (double quote),
|
7752
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except `'`
|
7753
|
+
# (single quote), `"` (double quote), ``, `/`, or `@`.
|
7669
7754
|
#
|
7670
7755
|
# @option params [String] :cluster_parameter_group_name
|
7671
7756
|
# The name of the cluster parameter group to apply to this cluster. This
|
@@ -9636,7 +9721,7 @@ module Aws::Redshift
|
|
9636
9721
|
req.send_request(options)
|
9637
9722
|
end
|
9638
9723
|
|
9639
|
-
# From
|
9724
|
+
# From a datashare consumer account, rejects the specified datashare.
|
9640
9725
|
#
|
9641
9726
|
# @option params [required, String] :data_share_arn
|
9642
9727
|
# The Amazon Resource Name (ARN) of the datashare to reject.
|
@@ -9978,12 +10063,16 @@ module Aws::Redshift
|
|
9978
10063
|
# * Must be unique for all clusters within an Amazon Web Services
|
9979
10064
|
# account.
|
9980
10065
|
#
|
9981
|
-
# @option params [
|
10066
|
+
# @option params [String] :snapshot_identifier
|
9982
10067
|
# The name of the snapshot from which to create the new cluster. This
|
9983
10068
|
# parameter isn't case sensitive.
|
9984
10069
|
#
|
9985
10070
|
# Example: `my-snapshot-id`
|
9986
10071
|
#
|
10072
|
+
# @option params [String] :snapshot_arn
|
10073
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
10074
|
+
# message to restore from a cluster.
|
10075
|
+
#
|
9987
10076
|
# @option params [String] :snapshot_cluster_identifier
|
9988
10077
|
# The name of the cluster the source snapshot was created from. This
|
9989
10078
|
# parameter is required if your IAM user has a policy containing a
|
@@ -10036,7 +10125,9 @@ module Aws::Redshift
|
|
10036
10125
|
# keys in an HSM.
|
10037
10126
|
#
|
10038
10127
|
# @option params [String] :elastic_ip
|
10039
|
-
# The elastic IP (EIP) address for the cluster.
|
10128
|
+
# The elastic IP (EIP) address for the cluster. You don't have to
|
10129
|
+
# specify the EIP for a publicly accessible cluster with
|
10130
|
+
# AvailabilityZoneRelocation turned on.
|
10040
10131
|
#
|
10041
10132
|
# @option params [String] :cluster_parameter_group_name
|
10042
10133
|
# The name of the parameter group to be associated with this cluster.
|
@@ -10228,7 +10319,8 @@ module Aws::Redshift
|
|
10228
10319
|
#
|
10229
10320
|
# resp = client.restore_from_cluster_snapshot({
|
10230
10321
|
# cluster_identifier: "String", # required
|
10231
|
-
# snapshot_identifier: "String",
|
10322
|
+
# snapshot_identifier: "String",
|
10323
|
+
# snapshot_arn: "String",
|
10232
10324
|
# snapshot_cluster_identifier: "String",
|
10233
10325
|
# port: 1,
|
10234
10326
|
# availability_zone: "String",
|
@@ -10778,9 +10870,13 @@ module Aws::Redshift
|
|
10778
10870
|
#
|
10779
10871
|
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
|
10780
10872
|
#
|
10781
|
-
# @option params [
|
10873
|
+
# @option params [String] :snapshot_identifier
|
10782
10874
|
# The identifier of the snapshot that the account can no longer access.
|
10783
10875
|
#
|
10876
|
+
# @option params [String] :snapshot_arn
|
10877
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
10878
|
+
# message to revoke access.
|
10879
|
+
#
|
10784
10880
|
# @option params [String] :snapshot_cluster_identifier
|
10785
10881
|
# The identifier of the cluster the snapshot was created from. This
|
10786
10882
|
# parameter is required if your IAM user has a policy containing a
|
@@ -10798,7 +10894,8 @@ module Aws::Redshift
|
|
10798
10894
|
# @example Request syntax with placeholder values
|
10799
10895
|
#
|
10800
10896
|
# resp = client.revoke_snapshot_access({
|
10801
|
-
# snapshot_identifier: "String",
|
10897
|
+
# snapshot_identifier: "String",
|
10898
|
+
# snapshot_arn: "String",
|
10802
10899
|
# snapshot_cluster_identifier: "String",
|
10803
10900
|
# account_with_restore_access: "String", # required
|
10804
10901
|
# })
|
@@ -11068,7 +11165,7 @@ module Aws::Redshift
|
|
11068
11165
|
params: params,
|
11069
11166
|
config: config)
|
11070
11167
|
context[:gem_name] = 'aws-sdk-redshift'
|
11071
|
-
context[:gem_version] = '1.
|
11168
|
+
context[:gem_version] = '1.84.0'
|
11072
11169
|
Seahorse::Client::Request.new(handlers, context)
|
11073
11170
|
end
|
11074
11171
|
|
@@ -68,6 +68,7 @@ module Aws::Redshift
|
|
68
68
|
ClusterDbRevision = Shapes::StructureShape.new(name: 'ClusterDbRevision')
|
69
69
|
ClusterDbRevisionsList = Shapes::ListShape.new(name: 'ClusterDbRevisionsList')
|
70
70
|
ClusterDbRevisionsMessage = Shapes::StructureShape.new(name: 'ClusterDbRevisionsMessage')
|
71
|
+
ClusterExtendedCredentials = Shapes::StructureShape.new(name: 'ClusterExtendedCredentials')
|
71
72
|
ClusterIamRole = Shapes::StructureShape.new(name: 'ClusterIamRole')
|
72
73
|
ClusterIamRoleList = Shapes::ListShape.new(name: 'ClusterIamRoleList')
|
73
74
|
ClusterList = Shapes::ListShape.new(name: 'ClusterList')
|
@@ -259,6 +260,7 @@ module Aws::Redshift
|
|
259
260
|
EventSubscriptionsMessage = Shapes::StructureShape.new(name: 'EventSubscriptionsMessage')
|
260
261
|
EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
|
261
262
|
GetClusterCredentialsMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsMessage')
|
263
|
+
GetClusterCredentialsWithIAMMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsWithIAMMessage')
|
262
264
|
GetReservedNodeExchangeConfigurationOptionsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsInputMessage')
|
263
265
|
GetReservedNodeExchangeConfigurationOptionsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsOutputMessage')
|
264
266
|
GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
|
@@ -620,7 +622,8 @@ module Aws::Redshift
|
|
620
622
|
AuthorizeEndpointAccessMessage.add_member(:vpc_ids, Shapes::ShapeRef.new(shape: VpcIdentifierList, location_name: "VpcIds"))
|
621
623
|
AuthorizeEndpointAccessMessage.struct_class = Types::AuthorizeEndpointAccessMessage
|
622
624
|
|
623
|
-
AuthorizeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String,
|
625
|
+
AuthorizeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
626
|
+
AuthorizeSnapshotAccessMessage.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn"))
|
624
627
|
AuthorizeSnapshotAccessMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
|
625
628
|
AuthorizeSnapshotAccessMessage.add_member(:account_with_restore_access, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountWithRestoreAccess"))
|
626
629
|
AuthorizeSnapshotAccessMessage.struct_class = Types::AuthorizeSnapshotAccessMessage
|
@@ -740,6 +743,12 @@ module Aws::Redshift
|
|
740
743
|
ClusterDbRevisionsMessage.add_member(:cluster_db_revisions, Shapes::ShapeRef.new(shape: ClusterDbRevisionsList, location_name: "ClusterDbRevisions"))
|
741
744
|
ClusterDbRevisionsMessage.struct_class = Types::ClusterDbRevisionsMessage
|
742
745
|
|
746
|
+
ClusterExtendedCredentials.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
747
|
+
ClusterExtendedCredentials.add_member(:db_password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "DbPassword"))
|
748
|
+
ClusterExtendedCredentials.add_member(:expiration, Shapes::ShapeRef.new(shape: TStamp, location_name: "Expiration"))
|
749
|
+
ClusterExtendedCredentials.add_member(:next_refresh_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "NextRefreshTime"))
|
750
|
+
ClusterExtendedCredentials.struct_class = Types::ClusterExtendedCredentials
|
751
|
+
|
743
752
|
ClusterIamRole.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamRoleArn"))
|
744
753
|
ClusterIamRole.add_member(:apply_status, Shapes::ShapeRef.new(shape: String, location_name: "ApplyStatus"))
|
745
754
|
ClusterIamRole.struct_class = Types::ClusterIamRole
|
@@ -927,6 +936,7 @@ module Aws::Redshift
|
|
927
936
|
CreateClusterMessage.add_member(:availability_zone_relocation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AvailabilityZoneRelocation"))
|
928
937
|
CreateClusterMessage.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
|
929
938
|
CreateClusterMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
939
|
+
CreateClusterMessage.add_member(:load_sample_data, Shapes::ShapeRef.new(shape: String, location_name: "LoadSampleData"))
|
930
940
|
CreateClusterMessage.struct_class = Types::CreateClusterMessage
|
931
941
|
|
932
942
|
CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
@@ -1194,6 +1204,7 @@ module Aws::Redshift
|
|
1194
1204
|
|
1195
1205
|
DescribeClusterSnapshotsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1196
1206
|
DescribeClusterSnapshotsMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
1207
|
+
DescribeClusterSnapshotsMessage.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn"))
|
1197
1208
|
DescribeClusterSnapshotsMessage.add_member(:snapshot_type, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotType"))
|
1198
1209
|
DescribeClusterSnapshotsMessage.add_member(:start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "StartTime"))
|
1199
1210
|
DescribeClusterSnapshotsMessage.add_member(:end_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "EndTime"))
|
@@ -1322,6 +1333,7 @@ module Aws::Redshift
|
|
1322
1333
|
DescribeNodeConfigurationOptionsMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
|
1323
1334
|
DescribeNodeConfigurationOptionsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1324
1335
|
DescribeNodeConfigurationOptionsMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
1336
|
+
DescribeNodeConfigurationOptionsMessage.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn"))
|
1325
1337
|
DescribeNodeConfigurationOptionsMessage.add_member(:owner_account, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccount"))
|
1326
1338
|
DescribeNodeConfigurationOptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: NodeConfigurationOptionsFilterList, location_name: "Filter"))
|
1327
1339
|
DescribeNodeConfigurationOptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
@@ -1581,6 +1593,11 @@ module Aws::Redshift
|
|
1581
1593
|
GetClusterCredentialsMessage.add_member(:db_groups, Shapes::ShapeRef.new(shape: DbGroupList, location_name: "DbGroups"))
|
1582
1594
|
GetClusterCredentialsMessage.struct_class = Types::GetClusterCredentialsMessage
|
1583
1595
|
|
1596
|
+
GetClusterCredentialsWithIAMMessage.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "DbName"))
|
1597
|
+
GetClusterCredentialsWithIAMMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1598
|
+
GetClusterCredentialsWithIAMMessage.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "DurationSeconds"))
|
1599
|
+
GetClusterCredentialsWithIAMMessage.struct_class = Types::GetClusterCredentialsWithIAMMessage
|
1600
|
+
|
1584
1601
|
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ReservedNodeExchangeActionType, required: true, location_name: "ActionType"))
|
1585
1602
|
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1586
1603
|
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
@@ -2123,7 +2140,8 @@ module Aws::Redshift
|
|
2123
2140
|
RestorableNodeTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "NodeType")
|
2124
2141
|
|
2125
2142
|
RestoreFromClusterSnapshotMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
2126
|
-
RestoreFromClusterSnapshotMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String,
|
2143
|
+
RestoreFromClusterSnapshotMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
2144
|
+
RestoreFromClusterSnapshotMessage.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn"))
|
2127
2145
|
RestoreFromClusterSnapshotMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
|
2128
2146
|
RestoreFromClusterSnapshotMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
|
2129
2147
|
RestoreFromClusterSnapshotMessage.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
@@ -2209,7 +2227,8 @@ module Aws::Redshift
|
|
2209
2227
|
RevokeEndpointAccessMessage.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
|
2210
2228
|
RevokeEndpointAccessMessage.struct_class = Types::RevokeEndpointAccessMessage
|
2211
2229
|
|
2212
|
-
RevokeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String,
|
2230
|
+
RevokeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
2231
|
+
RevokeSnapshotAccessMessage.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn"))
|
2213
2232
|
RevokeSnapshotAccessMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
|
2214
2233
|
RevokeSnapshotAccessMessage.add_member(:account_with_restore_access, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountWithRestoreAccess"))
|
2215
2234
|
RevokeSnapshotAccessMessage.struct_class = Types::RevokeSnapshotAccessMessage
|
@@ -2623,6 +2642,7 @@ module Aws::Redshift
|
|
2623
2642
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
2624
2643
|
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
|
2625
2644
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
2645
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
2626
2646
|
end)
|
2627
2647
|
|
2628
2648
|
api.add_operation(:batch_delete_cluster_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3162,6 +3182,7 @@ module Aws::Redshift
|
|
3162
3182
|
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
3163
3183
|
o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
|
3164
3184
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
|
3185
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3165
3186
|
o[:pager] = Aws::Pager.new(
|
3166
3187
|
limit_key: "max_records",
|
3167
3188
|
tokens: {
|
@@ -3413,6 +3434,7 @@ module Aws::Redshift
|
|
3413
3434
|
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
|
3414
3435
|
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
3415
3436
|
o.errors << Shapes::ShapeRef.new(shape: AccessToSnapshotDeniedFault)
|
3437
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3416
3438
|
o[:pager] = Aws::Pager.new(
|
3417
3439
|
limit_key: "max_records",
|
3418
3440
|
tokens: {
|
@@ -3682,6 +3704,16 @@ module Aws::Redshift
|
|
3682
3704
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3683
3705
|
end)
|
3684
3706
|
|
3707
|
+
api.add_operation(:get_cluster_credentials_with_iam, Seahorse::Model::Operation.new.tap do |o|
|
3708
|
+
o.name = "GetClusterCredentialsWithIAM"
|
3709
|
+
o.http_method = "POST"
|
3710
|
+
o.http_request_uri = "/"
|
3711
|
+
o.input = Shapes::ShapeRef.new(shape: GetClusterCredentialsWithIAMMessage)
|
3712
|
+
o.output = Shapes::ShapeRef.new(shape: ClusterExtendedCredentials)
|
3713
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
3714
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3715
|
+
end)
|
3716
|
+
|
3685
3717
|
api.add_operation(:get_reserved_node_exchange_configuration_options, Seahorse::Model::Operation.new.tap do |o|
|
3686
3718
|
o.name = "GetReservedNodeExchangeConfigurationOptions"
|
3687
3719
|
o.http_method = "POST"
|
@@ -4104,6 +4136,7 @@ module Aws::Redshift
|
|
4104
4136
|
o.errors << Shapes::ShapeRef.new(shape: AccessToSnapshotDeniedFault)
|
4105
4137
|
o.errors << Shapes::ShapeRef.new(shape: AuthorizationNotFoundFault)
|
4106
4138
|
o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
|
4139
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4107
4140
|
end)
|
4108
4141
|
|
4109
4142
|
api.add_operation(:rotate_encryption_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -385,7 +385,8 @@ module Aws::Redshift
|
|
385
385
|
# data as a hash:
|
386
386
|
#
|
387
387
|
# {
|
388
|
-
# snapshot_identifier: "String",
|
388
|
+
# snapshot_identifier: "String",
|
389
|
+
# snapshot_arn: "String",
|
389
390
|
# snapshot_cluster_identifier: "String",
|
390
391
|
# account_with_restore_access: "String", # required
|
391
392
|
# }
|
@@ -394,6 +395,11 @@ module Aws::Redshift
|
|
394
395
|
# The identifier of the snapshot the account is authorized to restore.
|
395
396
|
# @return [String]
|
396
397
|
#
|
398
|
+
# @!attribute [rw] snapshot_arn
|
399
|
+
# The Amazon Resource Name (ARN) of the snapshot to authorize access
|
400
|
+
# to.
|
401
|
+
# @return [String]
|
402
|
+
#
|
397
403
|
# @!attribute [rw] snapshot_cluster_identifier
|
398
404
|
# The identifier of the cluster the snapshot was created from. This
|
399
405
|
# parameter is required if your IAM user has a policy containing a
|
@@ -413,6 +419,7 @@ module Aws::Redshift
|
|
413
419
|
#
|
414
420
|
class AuthorizeSnapshotAccessMessage < Struct.new(
|
415
421
|
:snapshot_identifier,
|
422
|
+
:snapshot_arn,
|
416
423
|
:snapshot_cluster_identifier,
|
417
424
|
:account_with_restore_access)
|
418
425
|
SENSITIVE = []
|
@@ -1001,7 +1008,7 @@ module Aws::Redshift
|
|
1001
1008
|
# A database user name that is authorized to log on to the database
|
1002
1009
|
# `DbName` using the password `DbPassword`. If the specified DbUser
|
1003
1010
|
# exists in the database, the new user name has the same database
|
1004
|
-
#
|
1011
|
+
# permissions as the the user named in DbUser. By default, the user is
|
1005
1012
|
# added to PUBLIC. If the `DbGroups` parameter is specifed, `DbUser`
|
1006
1013
|
# is added to the listed groups for any sessions created using these
|
1007
1014
|
# credentials.
|
@@ -1077,6 +1084,37 @@ module Aws::Redshift
|
|
1077
1084
|
include Aws::Structure
|
1078
1085
|
end
|
1079
1086
|
|
1087
|
+
# @!attribute [rw] db_user
|
1088
|
+
# A database user name that you provide when you connect to a
|
1089
|
+
# database. The database user is mapped 1:1 to the source IAM
|
1090
|
+
# identity.
|
1091
|
+
# @return [String]
|
1092
|
+
#
|
1093
|
+
# @!attribute [rw] db_password
|
1094
|
+
# A temporary password that you provide when you connect to a
|
1095
|
+
# database.
|
1096
|
+
# @return [String]
|
1097
|
+
#
|
1098
|
+
# @!attribute [rw] expiration
|
1099
|
+
# The time (UTC) when the temporary password expires. After this
|
1100
|
+
# timestamp, a log in with the temporary password fails.
|
1101
|
+
# @return [Time]
|
1102
|
+
#
|
1103
|
+
# @!attribute [rw] next_refresh_time
|
1104
|
+
# Reserved for future use.
|
1105
|
+
# @return [Time]
|
1106
|
+
#
|
1107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterExtendedCredentials AWS API Documentation
|
1108
|
+
#
|
1109
|
+
class ClusterExtendedCredentials < Struct.new(
|
1110
|
+
:db_user,
|
1111
|
+
:db_password,
|
1112
|
+
:expiration,
|
1113
|
+
:next_refresh_time)
|
1114
|
+
SENSITIVE = [:db_password]
|
1115
|
+
include Aws::Structure
|
1116
|
+
end
|
1117
|
+
|
1080
1118
|
# An Identity and Access Management (IAM) role that can be used by the
|
1081
1119
|
# associated Amazon Redshift cluster to access other Amazon Web Services
|
1082
1120
|
# services.
|
@@ -1880,6 +1918,7 @@ module Aws::Redshift
|
|
1880
1918
|
# availability_zone_relocation: false,
|
1881
1919
|
# aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
|
1882
1920
|
# default_iam_role_arn: "String",
|
1921
|
+
# load_sample_data: "String",
|
1883
1922
|
# }
|
1884
1923
|
#
|
1885
1924
|
# @!attribute [rw] db_name
|
@@ -1991,8 +2030,8 @@ module Aws::Redshift
|
|
1991
2030
|
#
|
1992
2031
|
# * Must contain one number.
|
1993
2032
|
#
|
1994
|
-
# * Can be any printable ASCII character (ASCII code 33-126) except
|
1995
|
-
# (single quote), " (double quote),
|
2033
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except
|
2034
|
+
# `'` (single quote), `"` (double quote), ``, `/`, or `@`.
|
1996
2035
|
# @return [String]
|
1997
2036
|
#
|
1998
2037
|
# @!attribute [rw] cluster_security_groups
|
@@ -2175,7 +2214,9 @@ module Aws::Redshift
|
|
2175
2214
|
# @return [String]
|
2176
2215
|
#
|
2177
2216
|
# @!attribute [rw] elastic_ip
|
2178
|
-
# The Elastic IP (EIP) address for the cluster.
|
2217
|
+
# The Elastic IP (EIP) address for the cluster. You don't have to
|
2218
|
+
# specify the EIP for a publicly accessible cluster with
|
2219
|
+
# AvailabilityZoneRelocation turned on.
|
2179
2220
|
#
|
2180
2221
|
# Constraints: The cluster must be provisioned in EC2-VPC and
|
2181
2222
|
# publicly-accessible through an Internet gateway. For more
|
@@ -2265,6 +2306,11 @@ module Aws::Redshift
|
|
2265
2306
|
# default for the cluster when the cluster was created.
|
2266
2307
|
# @return [String]
|
2267
2308
|
#
|
2309
|
+
# @!attribute [rw] load_sample_data
|
2310
|
+
# A flag that specifies whether to load sample data once the cluster
|
2311
|
+
# is created.
|
2312
|
+
# @return [String]
|
2313
|
+
#
|
2268
2314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage AWS API Documentation
|
2269
2315
|
#
|
2270
2316
|
class CreateClusterMessage < Struct.new(
|
@@ -2300,7 +2346,8 @@ module Aws::Redshift
|
|
2300
2346
|
:snapshot_schedule_identifier,
|
2301
2347
|
:availability_zone_relocation,
|
2302
2348
|
:aqua_configuration_status,
|
2303
|
-
:default_iam_role_arn
|
2349
|
+
:default_iam_role_arn,
|
2350
|
+
:load_sample_data)
|
2304
2351
|
SENSITIVE = []
|
2305
2352
|
include Aws::Structure
|
2306
2353
|
end
|
@@ -3252,7 +3299,7 @@ module Aws::Redshift
|
|
3252
3299
|
#
|
3253
3300
|
# @!attribute [rw] data_share_associations
|
3254
3301
|
# A value that specifies when the datashare has an association between
|
3255
|
-
#
|
3302
|
+
# producer and data consumers.
|
3256
3303
|
# @return [Array<Types::DataShareAssociation>]
|
3257
3304
|
#
|
3258
3305
|
# @!attribute [rw] managed_by
|
@@ -4172,6 +4219,7 @@ module Aws::Redshift
|
|
4172
4219
|
# {
|
4173
4220
|
# cluster_identifier: "String",
|
4174
4221
|
# snapshot_identifier: "String",
|
4222
|
+
# snapshot_arn: "String",
|
4175
4223
|
# snapshot_type: "String",
|
4176
4224
|
# start_time: Time.now,
|
4177
4225
|
# end_time: Time.now,
|
@@ -4199,6 +4247,11 @@ module Aws::Redshift
|
|
4199
4247
|
# information.
|
4200
4248
|
# @return [String]
|
4201
4249
|
#
|
4250
|
+
# @!attribute [rw] snapshot_arn
|
4251
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
4252
|
+
# message to describe cluster snapshots.
|
4253
|
+
# @return [String]
|
4254
|
+
#
|
4202
4255
|
# @!attribute [rw] snapshot_type
|
4203
4256
|
# The type of snapshots for which you are requesting information. By
|
4204
4257
|
# default, snapshots of all types are returned.
|
@@ -4310,6 +4363,7 @@ module Aws::Redshift
|
|
4310
4363
|
class DescribeClusterSnapshotsMessage < Struct.new(
|
4311
4364
|
:cluster_identifier,
|
4312
4365
|
:snapshot_identifier,
|
4366
|
+
:snapshot_arn,
|
4313
4367
|
:snapshot_type,
|
4314
4368
|
:start_time,
|
4315
4369
|
:end_time,
|
@@ -5337,6 +5391,7 @@ module Aws::Redshift
|
|
5337
5391
|
# action_type: "restore-cluster", # required, accepts restore-cluster, recommend-node-config, resize-cluster
|
5338
5392
|
# cluster_identifier: "String",
|
5339
5393
|
# snapshot_identifier: "String",
|
5394
|
+
# snapshot_arn: "String",
|
5340
5395
|
# owner_account: "String",
|
5341
5396
|
# filters: [
|
5342
5397
|
# {
|
@@ -5368,6 +5423,11 @@ module Aws::Redshift
|
|
5368
5423
|
# configurations.
|
5369
5424
|
# @return [String]
|
5370
5425
|
#
|
5426
|
+
# @!attribute [rw] snapshot_arn
|
5427
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
5428
|
+
# message to describe node configuration.
|
5429
|
+
# @return [String]
|
5430
|
+
#
|
5371
5431
|
# @!attribute [rw] owner_account
|
5372
5432
|
# The Amazon Web Services account used to create or copy the snapshot.
|
5373
5433
|
# Required if you are restoring a snapshot you do not own, optional if
|
@@ -5406,6 +5466,7 @@ module Aws::Redshift
|
|
5406
5466
|
:action_type,
|
5407
5467
|
:cluster_identifier,
|
5408
5468
|
:snapshot_identifier,
|
5469
|
+
:snapshot_arn,
|
5409
5470
|
:owner_account,
|
5410
5471
|
:filters,
|
5411
5472
|
:marker,
|
@@ -7031,7 +7092,7 @@ module Aws::Redshift
|
|
7031
7092
|
#
|
7032
7093
|
# @!attribute [rw] cluster_identifier
|
7033
7094
|
# The unique identifier of the cluster that contains the database for
|
7034
|
-
# which
|
7095
|
+
# which you are requesting credentials. This parameter is case
|
7035
7096
|
# sensitive.
|
7036
7097
|
# @return [String]
|
7037
7098
|
#
|
@@ -7087,6 +7148,43 @@ module Aws::Redshift
|
|
7087
7148
|
include Aws::Structure
|
7088
7149
|
end
|
7089
7150
|
|
7151
|
+
# @note When making an API call, you may pass GetClusterCredentialsWithIAMMessage
|
7152
|
+
# data as a hash:
|
7153
|
+
#
|
7154
|
+
# {
|
7155
|
+
# db_name: "String",
|
7156
|
+
# cluster_identifier: "String", # required
|
7157
|
+
# duration_seconds: 1,
|
7158
|
+
# }
|
7159
|
+
#
|
7160
|
+
# @!attribute [rw] db_name
|
7161
|
+
# The name of the database for which you are requesting credentials.
|
7162
|
+
# If the database name is specified, the IAM policy must allow access
|
7163
|
+
# to the resource `dbname` for the specified database name. If the
|
7164
|
+
# database name is not specified, access to all databases is allowed.
|
7165
|
+
# @return [String]
|
7166
|
+
#
|
7167
|
+
# @!attribute [rw] cluster_identifier
|
7168
|
+
# The unique identifier of the cluster that contains the database for
|
7169
|
+
# which you are requesting credentials.
|
7170
|
+
# @return [String]
|
7171
|
+
#
|
7172
|
+
# @!attribute [rw] duration_seconds
|
7173
|
+
# The number of seconds until the returned temporary password expires.
|
7174
|
+
#
|
7175
|
+
# Range: 900-3600. Default: 900.
|
7176
|
+
# @return [Integer]
|
7177
|
+
#
|
7178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsWithIAMMessage AWS API Documentation
|
7179
|
+
#
|
7180
|
+
class GetClusterCredentialsWithIAMMessage < Struct.new(
|
7181
|
+
:db_name,
|
7182
|
+
:cluster_identifier,
|
7183
|
+
:duration_seconds)
|
7184
|
+
SENSITIVE = []
|
7185
|
+
include Aws::Structure
|
7186
|
+
end
|
7187
|
+
|
7090
7188
|
# @note When making an API call, you may pass GetReservedNodeExchangeConfigurationOptionsInputMessage
|
7091
7189
|
# data as a hash:
|
7092
7190
|
#
|
@@ -8138,8 +8236,8 @@ module Aws::Redshift
|
|
8138
8236
|
#
|
8139
8237
|
# * Must contain one number.
|
8140
8238
|
#
|
8141
|
-
# * Can be any printable ASCII character (ASCII code 33-126) except
|
8142
|
-
# (single quote), " (double quote),
|
8239
|
+
# * Can be any printable ASCII character (ASCII code 33-126) except
|
8240
|
+
# `'` (single quote), `"` (double quote), ``, `/`, or `@`.
|
8143
8241
|
# @return [String]
|
8144
8242
|
#
|
8145
8243
|
# @!attribute [rw] cluster_parameter_group_name
|
@@ -10098,7 +10196,8 @@ module Aws::Redshift
|
|
10098
10196
|
#
|
10099
10197
|
# {
|
10100
10198
|
# cluster_identifier: "String", # required
|
10101
|
-
# snapshot_identifier: "String",
|
10199
|
+
# snapshot_identifier: "String",
|
10200
|
+
# snapshot_arn: "String",
|
10102
10201
|
# snapshot_cluster_identifier: "String",
|
10103
10202
|
# port: 1,
|
10104
10203
|
# availability_zone: "String",
|
@@ -10156,6 +10255,11 @@ module Aws::Redshift
|
|
10156
10255
|
# Example: `my-snapshot-id`
|
10157
10256
|
# @return [String]
|
10158
10257
|
#
|
10258
|
+
# @!attribute [rw] snapshot_arn
|
10259
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
10260
|
+
# message to restore from a cluster.
|
10261
|
+
# @return [String]
|
10262
|
+
#
|
10159
10263
|
# @!attribute [rw] snapshot_cluster_identifier
|
10160
10264
|
# The name of the cluster the source snapshot was created from. This
|
10161
10265
|
# parameter is required if your IAM user has a policy containing a
|
@@ -10217,7 +10321,9 @@ module Aws::Redshift
|
|
10217
10321
|
# @return [String]
|
10218
10322
|
#
|
10219
10323
|
# @!attribute [rw] elastic_ip
|
10220
|
-
# The elastic IP (EIP) address for the cluster.
|
10324
|
+
# The elastic IP (EIP) address for the cluster. You don't have to
|
10325
|
+
# specify the EIP for a publicly accessible cluster with
|
10326
|
+
# AvailabilityZoneRelocation turned on.
|
10221
10327
|
# @return [String]
|
10222
10328
|
#
|
10223
10329
|
# @!attribute [rw] cluster_parameter_group_name
|
@@ -10430,6 +10536,7 @@ module Aws::Redshift
|
|
10430
10536
|
class RestoreFromClusterSnapshotMessage < Struct.new(
|
10431
10537
|
:cluster_identifier,
|
10432
10538
|
:snapshot_identifier,
|
10539
|
+
:snapshot_arn,
|
10433
10540
|
:snapshot_cluster_identifier,
|
10434
10541
|
:port,
|
10435
10542
|
:availability_zone,
|
@@ -10780,7 +10887,8 @@ module Aws::Redshift
|
|
10780
10887
|
# data as a hash:
|
10781
10888
|
#
|
10782
10889
|
# {
|
10783
|
-
# snapshot_identifier: "String",
|
10890
|
+
# snapshot_identifier: "String",
|
10891
|
+
# snapshot_arn: "String",
|
10784
10892
|
# snapshot_cluster_identifier: "String",
|
10785
10893
|
# account_with_restore_access: "String", # required
|
10786
10894
|
# }
|
@@ -10790,6 +10898,11 @@ module Aws::Redshift
|
|
10790
10898
|
# access.
|
10791
10899
|
# @return [String]
|
10792
10900
|
#
|
10901
|
+
# @!attribute [rw] snapshot_arn
|
10902
|
+
# The Amazon Resource Name (ARN) of the snapshot associated with the
|
10903
|
+
# message to revoke access.
|
10904
|
+
# @return [String]
|
10905
|
+
#
|
10793
10906
|
# @!attribute [rw] snapshot_cluster_identifier
|
10794
10907
|
# The identifier of the cluster the snapshot was created from. This
|
10795
10908
|
# parameter is required if your IAM user has a policy containing a
|
@@ -10806,6 +10919,7 @@ module Aws::Redshift
|
|
10806
10919
|
#
|
10807
10920
|
class RevokeSnapshotAccessMessage < Struct.new(
|
10808
10921
|
:snapshot_identifier,
|
10922
|
+
:snapshot_arn,
|
10809
10923
|
:snapshot_cluster_identifier,
|
10810
10924
|
:account_with_restore_access)
|
10811
10925
|
SENSITIVE = []
|
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.84.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-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|