aws-sdk-redshift 1.82.0 → 1.85.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: c42ee2c42afc0c9c9d9b8a091061102c79a6b02c4fe305715038cc94860f1902
4
- data.tar.gz: df17f29b34fd27c78a5ce1651624dd90d174835b450054dffbb0cdbf2d511955
3
+ metadata.gz: 411d370bd7cc1007eeec12eb39a5414653bba164e515a35f50a82e4a0a13d164
4
+ data.tar.gz: 8bab978cff360458d94e10ea0b35167812a795db2db3089ac08899dd2ecc713a
5
5
  SHA512:
6
- metadata.gz: 163bbd98c9dbbd841f0e59d27687d25222a4f6970702067ce7237e752af5d4dd9fab6211ba5ce91c210ebf590b9a8add1885ac3c5ad27855dc05e6a75bc0bd94
7
- data.tar.gz: 12beb7595214b46950adab475c4836b4c759cb4a47ece2487612a76cf4089c8f432026af6b6d8919123427a2ba379fc511c84c91c13a974f03af431b72b27cfc
6
+ metadata.gz: a87f1b897a96611ce8e9433d61730d445b42fb7c367a497c9e433915d6d78e1e531bd153e7640dfc79647f670da7f7009f338939e850273e5bfb8c06de9caa2b
7
+ data.tar.gz: 7e92db5a67b40918a7343bdb4e5c131ab82c8153b4e42ac9d5d1dafa814423058fb3cea57043e3598100e0bb04bb5b2cc71414f31cf915f4c92286609a80c8ab
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2022-09-09)
5
+ ------------------
6
+
7
+ * Feature - This release updates documentation for AQUA features and other description updates.
8
+
9
+ 1.84.0 (2022-07-11)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.83.0 (2022-06-08)
15
+ ------------------
16
+
17
+ * Feature - Adds new API GetClusterCredentialsWithIAM to return temporary credentials.
18
+
4
19
  1.82.0 (2022-05-06)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.85.0
@@ -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 [required, String] :snapshot_identifier
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", # required
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), \\, /, or @.
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.
@@ -1451,16 +1455,9 @@ module Aws::Redshift
1451
1455
  # Availability Zones after the cluster is created.
1452
1456
  #
1453
1457
  # @option params [String] :aqua_configuration_status
1454
- # The value represents how the cluster is configured to use AQUA
1455
- # (Advanced Query Accelerator) when it is created. Possible values
1456
- # include the following.
1457
- #
1458
- # * enabled - Use AQUA if it is available for the current Amazon Web
1459
- # Services Region and Amazon Redshift node type.
1460
- #
1461
- # * disabled - Don't use AQUA.
1462
- #
1463
- # * auto - Amazon Redshift determines whether to use AQUA.
1458
+ # This parameter is retired. It does not set the AQUA configuration
1459
+ # status. Amazon Redshift automatically determines whether to use AQUA
1460
+ # (Advanced Query Accelerator).
1464
1461
  #
1465
1462
  # @option params [String] :default_iam_role_arn
1466
1463
  # The Amazon Resource Name (ARN) for the IAM role that was set as
@@ -3957,6 +3954,10 @@ module Aws::Redshift
3957
3954
  # The snapshot identifier of the snapshot about which to return
3958
3955
  # information.
3959
3956
  #
3957
+ # @option params [String] :snapshot_arn
3958
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
3959
+ # message to describe cluster snapshots.
3960
+ #
3960
3961
  # @option params [String] :snapshot_type
3961
3962
  # The type of snapshots for which you are requesting information. By
3962
3963
  # default, snapshots of all types are returned.
@@ -4064,6 +4065,7 @@ module Aws::Redshift
4064
4065
  # resp = client.describe_cluster_snapshots({
4065
4066
  # cluster_identifier: "String",
4066
4067
  # snapshot_identifier: "String",
4068
+ # snapshot_arn: "String",
4067
4069
  # snapshot_type: "String",
4068
4070
  # start_time: Time.now,
4069
4071
  # end_time: Time.now,
@@ -5550,6 +5552,10 @@ module Aws::Redshift
5550
5552
  # The identifier of the snapshot to evaluate for possible node
5551
5553
  # configurations.
5552
5554
  #
5555
+ # @option params [String] :snapshot_arn
5556
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
5557
+ # message to describe node configuration.
5558
+ #
5553
5559
  # @option params [String] :owner_account
5554
5560
  # The Amazon Web Services account used to create or copy the snapshot.
5555
5561
  # Required if you are restoring a snapshot you do not own, optional if
@@ -5591,6 +5597,7 @@ module Aws::Redshift
5591
5597
  # action_type: "restore-cluster", # required, accepts restore-cluster, recommend-node-config, resize-cluster
5592
5598
  # cluster_identifier: "String",
5593
5599
  # snapshot_identifier: "String",
5600
+ # snapshot_arn: "String",
5594
5601
  # owner_account: "String",
5595
5602
  # filters: [
5596
5603
  # {
@@ -7225,8 +7232,8 @@ module Aws::Redshift
7225
7232
  # * Must be 1 to 64 alphanumeric characters or hyphens. The user name
7226
7233
  # can't be `PUBLIC`.
7227
7234
  #
7228
- # * Must contain only lowercase letters, numbers, underscore, plus sign,
7229
- # period (dot), at symbol (@), or hyphen.
7235
+ # * Must contain uppercase or lowercase letters, numbers, underscore,
7236
+ # plus sign, period (dot), at symbol (@), or hyphen.
7230
7237
  #
7231
7238
  # * First character must be a letter.
7232
7239
  #
@@ -7249,8 +7256,8 @@ module Aws::Redshift
7249
7256
  #
7250
7257
  # * Must be 1 to 64 alphanumeric characters or hyphens
7251
7258
  #
7252
- # * Must contain only lowercase letters, numbers, underscore, plus sign,
7253
- # period (dot), at symbol (@), or hyphen.
7259
+ # * Must contain uppercase or lowercase letters, numbers, underscore,
7260
+ # plus sign, period (dot), at symbol (@), or hyphen.
7254
7261
  #
7255
7262
  # * First character must be a letter.
7256
7263
  #
@@ -7265,7 +7272,7 @@ module Aws::Redshift
7265
7272
  #
7266
7273
  # @option params [required, String] :cluster_identifier
7267
7274
  # The unique identifier of the cluster that contains the database for
7268
- # which your are requesting credentials. This parameter is case
7275
+ # which you are requesting credentials. This parameter is case
7269
7276
  # sensitive.
7270
7277
  #
7271
7278
  # @option params [Integer] :duration_seconds
@@ -7335,6 +7342,70 @@ module Aws::Redshift
7335
7342
  req.send_request(options)
7336
7343
  end
7337
7344
 
7345
+ # Returns a database user name and temporary password with temporary
7346
+ # authorization to log in to an Amazon Redshift database. The database
7347
+ # user is mapped 1:1 to the source Identity and Access Management (IAM)
7348
+ # identity. For more information about IAM identities, see [IAM
7349
+ # Identities (users, user groups, and roles)][1] in the Amazon Web
7350
+ # Services Identity and Access Management User Guide.
7351
+ #
7352
+ # The Identity and Access Management (IAM) identity that runs this
7353
+ # operation must have an IAM policy attached that allows access to all
7354
+ # necessary actions and resources. For more information about
7355
+ # permissions, see [Using identity-based policies (IAM policies)][2] in
7356
+ # the Amazon Redshift Cluster Management Guide.
7357
+ #
7358
+ #
7359
+ #
7360
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id.html
7361
+ # [2]: https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html
7362
+ #
7363
+ # @option params [String] :db_name
7364
+ # The name of the database for which you are requesting credentials. If
7365
+ # the database name is specified, the IAM policy must allow access to
7366
+ # the resource `dbname` for the specified database name. If the database
7367
+ # name is not specified, access to all databases is allowed.
7368
+ #
7369
+ # @option params [required, String] :cluster_identifier
7370
+ # The unique identifier of the cluster that contains the database for
7371
+ # which you are requesting credentials.
7372
+ #
7373
+ # @option params [Integer] :duration_seconds
7374
+ # The number of seconds until the returned temporary password expires.
7375
+ #
7376
+ # Range: 900-3600. Default: 900.
7377
+ #
7378
+ # @return [Types::ClusterExtendedCredentials] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7379
+ #
7380
+ # * {Types::ClusterExtendedCredentials#db_user #db_user} => String
7381
+ # * {Types::ClusterExtendedCredentials#db_password #db_password} => String
7382
+ # * {Types::ClusterExtendedCredentials#expiration #expiration} => Time
7383
+ # * {Types::ClusterExtendedCredentials#next_refresh_time #next_refresh_time} => Time
7384
+ #
7385
+ # @example Request syntax with placeholder values
7386
+ #
7387
+ # resp = client.get_cluster_credentials_with_iam({
7388
+ # db_name: "String",
7389
+ # cluster_identifier: "String", # required
7390
+ # duration_seconds: 1,
7391
+ # })
7392
+ #
7393
+ # @example Response structure
7394
+ #
7395
+ # resp.db_user #=> String
7396
+ # resp.db_password #=> String
7397
+ # resp.expiration #=> Time
7398
+ # resp.next_refresh_time #=> Time
7399
+ #
7400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsWithIAM AWS API Documentation
7401
+ #
7402
+ # @overload get_cluster_credentials_with_iam(params = {})
7403
+ # @param [Hash] params ({})
7404
+ def get_cluster_credentials_with_iam(params = {}, options = {})
7405
+ req = build_request(:get_cluster_credentials_with_iam, params)
7406
+ req.send_request(options)
7407
+ end
7408
+
7338
7409
  # Gets the configuration options for the reserved-node exchange. These
7339
7410
  # options include information about the source reserved node and target
7340
7411
  # reserved node offering. Details include the node type, the price, the
@@ -7481,21 +7552,16 @@ module Aws::Redshift
7481
7552
  req.send_request(options)
7482
7553
  end
7483
7554
 
7484
- # Modifies whether a cluster can use AQUA (Advanced Query Accelerator).
7555
+ # This operation is retired. Calling this operation does not change AQUA
7556
+ # configuration. Amazon Redshift automatically determines whether to use
7557
+ # AQUA (Advanced Query Accelerator).
7485
7558
  #
7486
7559
  # @option params [required, String] :cluster_identifier
7487
7560
  # The identifier of the cluster to be modified.
7488
7561
  #
7489
7562
  # @option params [String] :aqua_configuration_status
7490
- # The new value of AQUA configuration status. Possible values include
7491
- # the following.
7492
- #
7493
- # * enabled - Use AQUA if it is available for the current Amazon Web
7494
- # Services Region and Amazon Redshift node type.
7495
- #
7496
- # * disabled - Don't use AQUA.
7497
- #
7498
- # * auto - Amazon Redshift determines whether to use AQUA.
7563
+ # This parameter is retired. Amazon Redshift automatically determines
7564
+ # whether to use AQUA (Advanced Query Accelerator).
7499
7565
  #
7500
7566
  # @return [Types::ModifyAquaOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7501
7567
  #
@@ -7669,8 +7735,8 @@ module Aws::Redshift
7669
7735
  #
7670
7736
  # * Must contain one number.
7671
7737
  #
7672
- # * Can be any printable ASCII character (ASCII code 33-126) except '
7673
- # (single quote), " (double quote), \\, /, or @.
7738
+ # * Can be any printable ASCII character (ASCII code 33-126) except `'`
7739
+ # (single quote), `"` (double quote), ``, `/`, or `@`.
7674
7740
  #
7675
7741
  # @option params [String] :cluster_parameter_group_name
7676
7742
  # The name of the cluster parameter group to apply to this cluster. This
@@ -9983,12 +10049,18 @@ module Aws::Redshift
9983
10049
  # * Must be unique for all clusters within an Amazon Web Services
9984
10050
  # account.
9985
10051
  #
9986
- # @option params [required, String] :snapshot_identifier
10052
+ # @option params [String] :snapshot_identifier
9987
10053
  # The name of the snapshot from which to create the new cluster. This
9988
- # parameter isn't case sensitive.
10054
+ # parameter isn't case sensitive. You can specify this parameter or
10055
+ # `snapshotArn`, but not both.
9989
10056
  #
9990
10057
  # Example: `my-snapshot-id`
9991
10058
  #
10059
+ # @option params [String] :snapshot_arn
10060
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
10061
+ # message to restore from a cluster. You can specify this parameter or
10062
+ # `snapshotIdentifier`, but not both.
10063
+ #
9992
10064
  # @option params [String] :snapshot_cluster_identifier
9993
10065
  # The name of the cluster the source snapshot was created from. This
9994
10066
  # parameter is required if your IAM user has a policy containing a
@@ -10198,16 +10270,9 @@ module Aws::Redshift
10198
10270
  # Availability Zones after the cluster is restored.
10199
10271
  #
10200
10272
  # @option params [String] :aqua_configuration_status
10201
- # The value represents how the cluster is configured to use AQUA
10202
- # (Advanced Query Accelerator) after the cluster is restored. Possible
10203
- # values include the following.
10204
- #
10205
- # * enabled - Use AQUA if it is available for the current Amazon Web
10206
- # Services Region and Amazon Redshift node type.
10207
- #
10208
- # * disabled - Don't use AQUA.
10209
- #
10210
- # * auto - Amazon Redshift determines whether to use AQUA.
10273
+ # This parameter is retired. It does not set the AQUA configuration
10274
+ # status. Amazon Redshift automatically determines whether to use AQUA
10275
+ # (Advanced Query Accelerator).
10211
10276
  #
10212
10277
  # @option params [String] :default_iam_role_arn
10213
10278
  # The Amazon Resource Name (ARN) for the IAM role that was set as
@@ -10233,7 +10298,8 @@ module Aws::Redshift
10233
10298
  #
10234
10299
  # resp = client.restore_from_cluster_snapshot({
10235
10300
  # cluster_identifier: "String", # required
10236
- # snapshot_identifier: "String", # required
10301
+ # snapshot_identifier: "String",
10302
+ # snapshot_arn: "String",
10237
10303
  # snapshot_cluster_identifier: "String",
10238
10304
  # port: 1,
10239
10305
  # availability_zone: "String",
@@ -10783,9 +10849,13 @@ module Aws::Redshift
10783
10849
  #
10784
10850
  # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
10785
10851
  #
10786
- # @option params [required, String] :snapshot_identifier
10852
+ # @option params [String] :snapshot_identifier
10787
10853
  # The identifier of the snapshot that the account can no longer access.
10788
10854
  #
10855
+ # @option params [String] :snapshot_arn
10856
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
10857
+ # message to revoke access.
10858
+ #
10789
10859
  # @option params [String] :snapshot_cluster_identifier
10790
10860
  # The identifier of the cluster the snapshot was created from. This
10791
10861
  # parameter is required if your IAM user has a policy containing a
@@ -10803,7 +10873,8 @@ module Aws::Redshift
10803
10873
  # @example Request syntax with placeholder values
10804
10874
  #
10805
10875
  # resp = client.revoke_snapshot_access({
10806
- # snapshot_identifier: "String", # required
10876
+ # snapshot_identifier: "String",
10877
+ # snapshot_arn: "String",
10807
10878
  # snapshot_cluster_identifier: "String",
10808
10879
  # account_with_restore_access: "String", # required
10809
10880
  # })
@@ -11073,7 +11144,7 @@ module Aws::Redshift
11073
11144
  params: params,
11074
11145
  config: config)
11075
11146
  context[:gem_name] = 'aws-sdk-redshift'
11076
- context[:gem_version] = '1.82.0'
11147
+ context[:gem_version] = '1.85.0'
11077
11148
  Seahorse::Client::Request.new(handlers, context)
11078
11149
  end
11079
11150
 
@@ -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, required: true, location_name: "SnapshotIdentifier"))
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
@@ -1195,6 +1204,7 @@ module Aws::Redshift
1195
1204
 
1196
1205
  DescribeClusterSnapshotsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1197
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"))
1198
1208
  DescribeClusterSnapshotsMessage.add_member(:snapshot_type, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotType"))
1199
1209
  DescribeClusterSnapshotsMessage.add_member(:start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "StartTime"))
1200
1210
  DescribeClusterSnapshotsMessage.add_member(:end_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "EndTime"))
@@ -1323,6 +1333,7 @@ module Aws::Redshift
1323
1333
  DescribeNodeConfigurationOptionsMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
1324
1334
  DescribeNodeConfigurationOptionsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1325
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"))
1326
1337
  DescribeNodeConfigurationOptionsMessage.add_member(:owner_account, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccount"))
1327
1338
  DescribeNodeConfigurationOptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: NodeConfigurationOptionsFilterList, location_name: "Filter"))
1328
1339
  DescribeNodeConfigurationOptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -1582,6 +1593,11 @@ module Aws::Redshift
1582
1593
  GetClusterCredentialsMessage.add_member(:db_groups, Shapes::ShapeRef.new(shape: DbGroupList, location_name: "DbGroups"))
1583
1594
  GetClusterCredentialsMessage.struct_class = Types::GetClusterCredentialsMessage
1584
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
+
1585
1601
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ReservedNodeExchangeActionType, required: true, location_name: "ActionType"))
1586
1602
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1587
1603
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
@@ -2124,7 +2140,8 @@ module Aws::Redshift
2124
2140
  RestorableNodeTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "NodeType")
2125
2141
 
2126
2142
  RestoreFromClusterSnapshotMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
2127
- RestoreFromClusterSnapshotMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotIdentifier"))
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"))
2128
2145
  RestoreFromClusterSnapshotMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
2129
2146
  RestoreFromClusterSnapshotMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
2130
2147
  RestoreFromClusterSnapshotMessage.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
@@ -2210,7 +2227,8 @@ module Aws::Redshift
2210
2227
  RevokeEndpointAccessMessage.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
2211
2228
  RevokeEndpointAccessMessage.struct_class = Types::RevokeEndpointAccessMessage
2212
2229
 
2213
- RevokeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotIdentifier"))
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"))
2214
2232
  RevokeSnapshotAccessMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
2215
2233
  RevokeSnapshotAccessMessage.add_member(:account_with_restore_access, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountWithRestoreAccess"))
2216
2234
  RevokeSnapshotAccessMessage.struct_class = Types::RevokeSnapshotAccessMessage
@@ -2624,6 +2642,7 @@ module Aws::Redshift
2624
2642
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
2625
2643
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
2626
2644
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
2645
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2627
2646
  end)
2628
2647
 
2629
2648
  api.add_operation(:batch_delete_cluster_snapshots, Seahorse::Model::Operation.new.tap do |o|
@@ -3163,6 +3182,7 @@ module Aws::Redshift
3163
3182
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3164
3183
  o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
3165
3184
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
3185
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3166
3186
  o[:pager] = Aws::Pager.new(
3167
3187
  limit_key: "max_records",
3168
3188
  tokens: {
@@ -3414,6 +3434,7 @@ module Aws::Redshift
3414
3434
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
3415
3435
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3416
3436
  o.errors << Shapes::ShapeRef.new(shape: AccessToSnapshotDeniedFault)
3437
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3417
3438
  o[:pager] = Aws::Pager.new(
3418
3439
  limit_key: "max_records",
3419
3440
  tokens: {
@@ -3683,6 +3704,16 @@ module Aws::Redshift
3683
3704
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3684
3705
  end)
3685
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
+
3686
3717
  api.add_operation(:get_reserved_node_exchange_configuration_options, Seahorse::Model::Operation.new.tap do |o|
3687
3718
  o.name = "GetReservedNodeExchangeConfigurationOptions"
3688
3719
  o.http_method = "POST"
@@ -4105,6 +4136,7 @@ module Aws::Redshift
4105
4136
  o.errors << Shapes::ShapeRef.new(shape: AccessToSnapshotDeniedFault)
4106
4137
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationNotFoundFault)
4107
4138
  o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
4139
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4108
4140
  end)
4109
4141
 
4110
4142
  api.add_operation(:rotate_encryption_key, Seahorse::Model::Operation.new.tap do |o|
@@ -116,29 +116,18 @@ module Aws::Redshift
116
116
  include Aws::Structure
117
117
  end
118
118
 
119
- # The AQUA (Advanced Query Accelerator) configuration of the cluster.
119
+ # The operation that uses this structure is retired. Amazon Redshift
120
+ # automatically determines whether to use AQUA (Advanced Query
121
+ # Accelerator).
120
122
  #
121
123
  # @!attribute [rw] aqua_status
122
- # The value indicates the status of AQUA on the cluster. Possible
123
- # values include the following.
124
- #
125
- # * enabled - AQUA is enabled.
126
- #
127
- # * disabled - AQUA is not enabled.
128
- #
129
- # * applying - AQUA status is being applied.
124
+ # This field is retired. Amazon Redshift automatically determines
125
+ # whether to use AQUA (Advanced Query Accelerator).
130
126
  # @return [String]
131
127
  #
132
128
  # @!attribute [rw] aqua_configuration_status
133
- # The value represents how the cluster is configured to use AQUA.
134
- # Possible values include the following.
135
- #
136
- # * enabled - Use AQUA if it is available for the current Amazon Web
137
- # Services Region and Amazon Redshift node type.
138
- #
139
- # * disabled - Don't use AQUA.
140
- #
141
- # * auto - Amazon Redshift determines whether to use AQUA.
129
+ # This field is retired. Amazon Redshift automatically determines
130
+ # whether to use AQUA (Advanced Query Accelerator).
142
131
  # @return [String]
143
132
  #
144
133
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AquaConfiguration AWS API Documentation
@@ -385,7 +374,8 @@ module Aws::Redshift
385
374
  # data as a hash:
386
375
  #
387
376
  # {
388
- # snapshot_identifier: "String", # required
377
+ # snapshot_identifier: "String",
378
+ # snapshot_arn: "String",
389
379
  # snapshot_cluster_identifier: "String",
390
380
  # account_with_restore_access: "String", # required
391
381
  # }
@@ -394,6 +384,11 @@ module Aws::Redshift
394
384
  # The identifier of the snapshot the account is authorized to restore.
395
385
  # @return [String]
396
386
  #
387
+ # @!attribute [rw] snapshot_arn
388
+ # The Amazon Resource Name (ARN) of the snapshot to authorize access
389
+ # to.
390
+ # @return [String]
391
+ #
397
392
  # @!attribute [rw] snapshot_cluster_identifier
398
393
  # The identifier of the cluster the snapshot was created from. This
399
394
  # parameter is required if your IAM user has a policy containing a
@@ -413,6 +408,7 @@ module Aws::Redshift
413
408
  #
414
409
  class AuthorizeSnapshotAccessMessage < Struct.new(
415
410
  :snapshot_identifier,
411
+ :snapshot_arn,
416
412
  :snapshot_cluster_identifier,
417
413
  :account_with_restore_access)
418
414
  SENSITIVE = []
@@ -901,7 +897,8 @@ module Aws::Redshift
901
897
  # @return [Integer]
902
898
  #
903
899
  # @!attribute [rw] aqua_configuration
904
- # The AQUA (Advanced Query Accelerator) configuration of the cluster.
900
+ # This field is retired. Amazon Redshift automatically determines
901
+ # whether to use AQUA (Advanced Query Accelerator).
905
902
  # @return [Types::AquaConfiguration]
906
903
  #
907
904
  # @!attribute [rw] default_iam_role_arn
@@ -1077,6 +1074,37 @@ module Aws::Redshift
1077
1074
  include Aws::Structure
1078
1075
  end
1079
1076
 
1077
+ # @!attribute [rw] db_user
1078
+ # A database user name that you provide when you connect to a
1079
+ # database. The database user is mapped 1:1 to the source IAM
1080
+ # identity.
1081
+ # @return [String]
1082
+ #
1083
+ # @!attribute [rw] db_password
1084
+ # A temporary password that you provide when you connect to a
1085
+ # database.
1086
+ # @return [String]
1087
+ #
1088
+ # @!attribute [rw] expiration
1089
+ # The time (UTC) when the temporary password expires. After this
1090
+ # timestamp, a log in with the temporary password fails.
1091
+ # @return [Time]
1092
+ #
1093
+ # @!attribute [rw] next_refresh_time
1094
+ # Reserved for future use.
1095
+ # @return [Time]
1096
+ #
1097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterExtendedCredentials AWS API Documentation
1098
+ #
1099
+ class ClusterExtendedCredentials < Struct.new(
1100
+ :db_user,
1101
+ :db_password,
1102
+ :expiration,
1103
+ :next_refresh_time)
1104
+ SENSITIVE = [:db_password]
1105
+ include Aws::Structure
1106
+ end
1107
+
1080
1108
  # An Identity and Access Management (IAM) role that can be used by the
1081
1109
  # associated Amazon Redshift cluster to access other Amazon Web Services
1082
1110
  # services.
@@ -1992,8 +2020,8 @@ module Aws::Redshift
1992
2020
  #
1993
2021
  # * Must contain one number.
1994
2022
  #
1995
- # * Can be any printable ASCII character (ASCII code 33-126) except '
1996
- # (single quote), " (double quote), \\, /, or @.
2023
+ # * Can be any printable ASCII character (ASCII code 33-126) except
2024
+ # `'` (single quote), `"` (double quote), ``, `/`, or `@`.
1997
2025
  # @return [String]
1998
2026
  #
1999
2027
  # @!attribute [rw] cluster_security_groups
@@ -2249,16 +2277,9 @@ module Aws::Redshift
2249
2277
  # @return [Boolean]
2250
2278
  #
2251
2279
  # @!attribute [rw] aqua_configuration_status
2252
- # The value represents how the cluster is configured to use AQUA
2253
- # (Advanced Query Accelerator) when it is created. Possible values
2254
- # include the following.
2255
- #
2256
- # * enabled - Use AQUA if it is available for the current Amazon Web
2257
- # Services Region and Amazon Redshift node type.
2258
- #
2259
- # * disabled - Don't use AQUA.
2260
- #
2261
- # * auto - Amazon Redshift determines whether to use AQUA.
2280
+ # This parameter is retired. It does not set the AQUA configuration
2281
+ # status. Amazon Redshift automatically determines whether to use AQUA
2282
+ # (Advanced Query Accelerator).
2262
2283
  # @return [String]
2263
2284
  #
2264
2285
  # @!attribute [rw] default_iam_role_arn
@@ -4179,6 +4200,7 @@ module Aws::Redshift
4179
4200
  # {
4180
4201
  # cluster_identifier: "String",
4181
4202
  # snapshot_identifier: "String",
4203
+ # snapshot_arn: "String",
4182
4204
  # snapshot_type: "String",
4183
4205
  # start_time: Time.now,
4184
4206
  # end_time: Time.now,
@@ -4206,6 +4228,11 @@ module Aws::Redshift
4206
4228
  # information.
4207
4229
  # @return [String]
4208
4230
  #
4231
+ # @!attribute [rw] snapshot_arn
4232
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
4233
+ # message to describe cluster snapshots.
4234
+ # @return [String]
4235
+ #
4209
4236
  # @!attribute [rw] snapshot_type
4210
4237
  # The type of snapshots for which you are requesting information. By
4211
4238
  # default, snapshots of all types are returned.
@@ -4317,6 +4344,7 @@ module Aws::Redshift
4317
4344
  class DescribeClusterSnapshotsMessage < Struct.new(
4318
4345
  :cluster_identifier,
4319
4346
  :snapshot_identifier,
4347
+ :snapshot_arn,
4320
4348
  :snapshot_type,
4321
4349
  :start_time,
4322
4350
  :end_time,
@@ -5344,6 +5372,7 @@ module Aws::Redshift
5344
5372
  # action_type: "restore-cluster", # required, accepts restore-cluster, recommend-node-config, resize-cluster
5345
5373
  # cluster_identifier: "String",
5346
5374
  # snapshot_identifier: "String",
5375
+ # snapshot_arn: "String",
5347
5376
  # owner_account: "String",
5348
5377
  # filters: [
5349
5378
  # {
@@ -5375,6 +5404,11 @@ module Aws::Redshift
5375
5404
  # configurations.
5376
5405
  # @return [String]
5377
5406
  #
5407
+ # @!attribute [rw] snapshot_arn
5408
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
5409
+ # message to describe node configuration.
5410
+ # @return [String]
5411
+ #
5378
5412
  # @!attribute [rw] owner_account
5379
5413
  # The Amazon Web Services account used to create or copy the snapshot.
5380
5414
  # Required if you are restoring a snapshot you do not own, optional if
@@ -5413,6 +5447,7 @@ module Aws::Redshift
5413
5447
  :action_type,
5414
5448
  :cluster_identifier,
5415
5449
  :snapshot_identifier,
5450
+ :snapshot_arn,
5416
5451
  :owner_account,
5417
5452
  :filters,
5418
5453
  :marker,
@@ -6994,8 +7029,8 @@ module Aws::Redshift
6994
7029
  # * Must be 1 to 64 alphanumeric characters or hyphens. The user name
6995
7030
  # can't be `PUBLIC`.
6996
7031
  #
6997
- # * Must contain only lowercase letters, numbers, underscore, plus
6998
- # sign, period (dot), at symbol (@), or hyphen.
7032
+ # * Must contain uppercase or lowercase letters, numbers, underscore,
7033
+ # plus sign, period (dot), at symbol (@), or hyphen.
6999
7034
  #
7000
7035
  # * First character must be a letter.
7001
7036
  #
@@ -7020,8 +7055,8 @@ module Aws::Redshift
7020
7055
  #
7021
7056
  # * Must be 1 to 64 alphanumeric characters or hyphens
7022
7057
  #
7023
- # * Must contain only lowercase letters, numbers, underscore, plus
7024
- # sign, period (dot), at symbol (@), or hyphen.
7058
+ # * Must contain uppercase or lowercase letters, numbers, underscore,
7059
+ # plus sign, period (dot), at symbol (@), or hyphen.
7025
7060
  #
7026
7061
  # * First character must be a letter.
7027
7062
  #
@@ -7038,7 +7073,7 @@ module Aws::Redshift
7038
7073
  #
7039
7074
  # @!attribute [rw] cluster_identifier
7040
7075
  # The unique identifier of the cluster that contains the database for
7041
- # which your are requesting credentials. This parameter is case
7076
+ # which you are requesting credentials. This parameter is case
7042
7077
  # sensitive.
7043
7078
  # @return [String]
7044
7079
  #
@@ -7094,6 +7129,43 @@ module Aws::Redshift
7094
7129
  include Aws::Structure
7095
7130
  end
7096
7131
 
7132
+ # @note When making an API call, you may pass GetClusterCredentialsWithIAMMessage
7133
+ # data as a hash:
7134
+ #
7135
+ # {
7136
+ # db_name: "String",
7137
+ # cluster_identifier: "String", # required
7138
+ # duration_seconds: 1,
7139
+ # }
7140
+ #
7141
+ # @!attribute [rw] db_name
7142
+ # The name of the database for which you are requesting credentials.
7143
+ # If the database name is specified, the IAM policy must allow access
7144
+ # to the resource `dbname` for the specified database name. If the
7145
+ # database name is not specified, access to all databases is allowed.
7146
+ # @return [String]
7147
+ #
7148
+ # @!attribute [rw] cluster_identifier
7149
+ # The unique identifier of the cluster that contains the database for
7150
+ # which you are requesting credentials.
7151
+ # @return [String]
7152
+ #
7153
+ # @!attribute [rw] duration_seconds
7154
+ # The number of seconds until the returned temporary password expires.
7155
+ #
7156
+ # Range: 900-3600. Default: 900.
7157
+ # @return [Integer]
7158
+ #
7159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsWithIAMMessage AWS API Documentation
7160
+ #
7161
+ class GetClusterCredentialsWithIAMMessage < Struct.new(
7162
+ :db_name,
7163
+ :cluster_identifier,
7164
+ :duration_seconds)
7165
+ SENSITIVE = []
7166
+ include Aws::Structure
7167
+ end
7168
+
7097
7169
  # @note When making an API call, you may pass GetReservedNodeExchangeConfigurationOptionsInputMessage
7098
7170
  # data as a hash:
7099
7171
  #
@@ -7780,15 +7852,8 @@ module Aws::Redshift
7780
7852
  # @return [String]
7781
7853
  #
7782
7854
  # @!attribute [rw] aqua_configuration_status
7783
- # The new value of AQUA configuration status. Possible values include
7784
- # the following.
7785
- #
7786
- # * enabled - Use AQUA if it is available for the current Amazon Web
7787
- # Services Region and Amazon Redshift node type.
7788
- #
7789
- # * disabled - Don't use AQUA.
7790
- #
7791
- # * auto - Amazon Redshift determines whether to use AQUA.
7855
+ # This parameter is retired. Amazon Redshift automatically determines
7856
+ # whether to use AQUA (Advanced Query Accelerator).
7792
7857
  # @return [String]
7793
7858
  #
7794
7859
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaInputMessage AWS API Documentation
@@ -7801,7 +7866,8 @@ module Aws::Redshift
7801
7866
  end
7802
7867
 
7803
7868
  # @!attribute [rw] aqua_configuration
7804
- # The updated AQUA configuration of the cluster.
7869
+ # This parameter is retired. Amazon Redshift automatically determines
7870
+ # whether to use AQUA (Advanced Query Accelerator).
7805
7871
  # @return [Types::AquaConfiguration]
7806
7872
  #
7807
7873
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaOutputMessage AWS API Documentation
@@ -8145,8 +8211,8 @@ module Aws::Redshift
8145
8211
  #
8146
8212
  # * Must contain one number.
8147
8213
  #
8148
- # * Can be any printable ASCII character (ASCII code 33-126) except '
8149
- # (single quote), " (double quote), \\, /, or @.
8214
+ # * Can be any printable ASCII character (ASCII code 33-126) except
8215
+ # `'` (single quote), `"` (double quote), ``, `/`, or `@`.
8150
8216
  # @return [String]
8151
8217
  #
8152
8218
  # @!attribute [rw] cluster_parameter_group_name
@@ -10105,7 +10171,8 @@ module Aws::Redshift
10105
10171
  #
10106
10172
  # {
10107
10173
  # cluster_identifier: "String", # required
10108
- # snapshot_identifier: "String", # required
10174
+ # snapshot_identifier: "String",
10175
+ # snapshot_arn: "String",
10109
10176
  # snapshot_cluster_identifier: "String",
10110
10177
  # port: 1,
10111
10178
  # availability_zone: "String",
@@ -10158,11 +10225,18 @@ module Aws::Redshift
10158
10225
  #
10159
10226
  # @!attribute [rw] snapshot_identifier
10160
10227
  # The name of the snapshot from which to create the new cluster. This
10161
- # parameter isn't case sensitive.
10228
+ # parameter isn't case sensitive. You can specify this parameter or
10229
+ # `snapshotArn`, but not both.
10162
10230
  #
10163
10231
  # Example: `my-snapshot-id`
10164
10232
  # @return [String]
10165
10233
  #
10234
+ # @!attribute [rw] snapshot_arn
10235
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
10236
+ # message to restore from a cluster. You can specify this parameter or
10237
+ # `snapshotIdentifier`, but not both.
10238
+ # @return [String]
10239
+ #
10166
10240
  # @!attribute [rw] snapshot_cluster_identifier
10167
10241
  # The name of the cluster the source snapshot was created from. This
10168
10242
  # parameter is required if your IAM user has a policy containing a
@@ -10400,16 +10474,9 @@ module Aws::Redshift
10400
10474
  # @return [Boolean]
10401
10475
  #
10402
10476
  # @!attribute [rw] aqua_configuration_status
10403
- # The value represents how the cluster is configured to use AQUA
10404
- # (Advanced Query Accelerator) after the cluster is restored. Possible
10405
- # values include the following.
10406
- #
10407
- # * enabled - Use AQUA if it is available for the current Amazon Web
10408
- # Services Region and Amazon Redshift node type.
10409
- #
10410
- # * disabled - Don't use AQUA.
10411
- #
10412
- # * auto - Amazon Redshift determines whether to use AQUA.
10477
+ # This parameter is retired. It does not set the AQUA configuration
10478
+ # status. Amazon Redshift automatically determines whether to use AQUA
10479
+ # (Advanced Query Accelerator).
10413
10480
  # @return [String]
10414
10481
  #
10415
10482
  # @!attribute [rw] default_iam_role_arn
@@ -10437,6 +10504,7 @@ module Aws::Redshift
10437
10504
  class RestoreFromClusterSnapshotMessage < Struct.new(
10438
10505
  :cluster_identifier,
10439
10506
  :snapshot_identifier,
10507
+ :snapshot_arn,
10440
10508
  :snapshot_cluster_identifier,
10441
10509
  :port,
10442
10510
  :availability_zone,
@@ -10787,7 +10855,8 @@ module Aws::Redshift
10787
10855
  # data as a hash:
10788
10856
  #
10789
10857
  # {
10790
- # snapshot_identifier: "String", # required
10858
+ # snapshot_identifier: "String",
10859
+ # snapshot_arn: "String",
10791
10860
  # snapshot_cluster_identifier: "String",
10792
10861
  # account_with_restore_access: "String", # required
10793
10862
  # }
@@ -10797,6 +10866,11 @@ module Aws::Redshift
10797
10866
  # access.
10798
10867
  # @return [String]
10799
10868
  #
10869
+ # @!attribute [rw] snapshot_arn
10870
+ # The Amazon Resource Name (ARN) of the snapshot associated with the
10871
+ # message to revoke access.
10872
+ # @return [String]
10873
+ #
10800
10874
  # @!attribute [rw] snapshot_cluster_identifier
10801
10875
  # The identifier of the cluster the snapshot was created from. This
10802
10876
  # parameter is required if your IAM user has a policy containing a
@@ -10813,6 +10887,7 @@ module Aws::Redshift
10813
10887
  #
10814
10888
  class RevokeSnapshotAccessMessage < Struct.new(
10815
10889
  :snapshot_identifier,
10890
+ :snapshot_arn,
10816
10891
  :snapshot_cluster_identifier,
10817
10892
  :account_with_restore_access)
10818
10893
  SENSITIVE = []
@@ -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.82.0'
52
+ GEM_VERSION = '1.85.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.82.0
4
+ version: 1.85.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-05-06 00:00:00.000000000 Z
11
+ date: 2022-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core