aws-sdk-redshift 1.98.0 → 1.99.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: e75583d8a7a0c4f47f81e592fa4cea3210caf3d9b75e38de7dcd53d6decb140d
4
- data.tar.gz: 6ca4969e38b092ebccea7b50f534250a41329af599bc9996ad48a0e1cf8c0b5a
3
+ metadata.gz: ecebc756b8a58ea588494fe842ec7c35a83844044cc876c3e6f5b71148cfe3e1
4
+ data.tar.gz: f1cc1ee1262b1104ab3e0a360315ca9211ea1ea56e6446b24518b033d24ec766
5
5
  SHA512:
6
- metadata.gz: a9e1e3a98f47eb29b72bd6a5698f736515ea99e25be0765b3f6468cec5adcea9be18adc7242421d8d37bc21b363ebc2bba121fa34a58981138c39f8aff03c327
7
- data.tar.gz: 56a56d7f629b535b194332b6f9f85f0abf36619cf3da65d8276c18fa6c07ca759a8ec304c924ebc388ada24c1e25225cf210a5218f118ea24127658efe3846fa
6
+ metadata.gz: 5554355f76cc93a2d160bf5ec29e4334460147e2d1975af9d4f74c865d2d2e8171dd1b394cbb6d5549e8321952595c99a56bd68f6b5cdb3017b43fca201d4c83
7
+ data.tar.gz: 141d9810c4170d0678525e84908af65cfea578686e091a1ae9528a83257d033d9158b98f46fd7d063799e2476a4279320628585d5fa677e3834b5c0b7baec87e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2023-10-16)
5
+ ------------------
6
+
7
+ * Feature - Added support for managing credentials of provisioned cluster admin using AWS Secrets Manager.
8
+
4
9
  1.98.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -820,6 +820,8 @@ module Aws::Redshift
820
820
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
821
821
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
822
822
  # resp.snapshot.snapshot_retention_start_time #=> Time
823
+ # resp.snapshot.master_password_secret_arn #=> String
824
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
823
825
  #
824
826
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess AWS API Documentation
825
827
  #
@@ -1103,6 +1105,8 @@ module Aws::Redshift
1103
1105
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
1104
1106
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
1105
1107
  # resp.snapshot.snapshot_retention_start_time #=> Time
1108
+ # resp.snapshot.master_password_secret_arn #=> String
1109
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
1106
1110
  #
1107
1111
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot AWS API Documentation
1108
1112
  #
@@ -1255,10 +1259,13 @@ module Aws::Redshift
1255
1259
  #
1256
1260
  # [1]: https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html
1257
1261
  #
1258
- # @option params [required, String] :master_user_password
1262
+ # @option params [String] :master_user_password
1259
1263
  # The password associated with the admin user account for the cluster
1260
1264
  # that is being created.
1261
1265
  #
1266
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
1267
+ # `true`.
1268
+ #
1262
1269
  # Constraints:
1263
1270
  #
1264
1271
  # * Must be between 8 and 64 characters in length.
@@ -1510,6 +1517,18 @@ module Aws::Redshift
1510
1517
  # A flag that specifies whether to load sample data once the cluster is
1511
1518
  # created.
1512
1519
  #
1520
+ # @option params [Boolean] :manage_master_password
1521
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
1522
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
1523
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false or
1524
+ # not set, Amazon Redshift uses `MasterUserPassword` for the admin user
1525
+ # account's password.
1526
+ #
1527
+ # @option params [String] :master_password_secret_kms_key_id
1528
+ # The ID of the Key Management Service (KMS) key used to encrypt and
1529
+ # store the cluster's admin credentials secret. You can only use this
1530
+ # parameter if `ManageMasterPassword` is true.
1531
+ #
1513
1532
  # @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1514
1533
  #
1515
1534
  # * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
@@ -1522,7 +1541,7 @@ module Aws::Redshift
1522
1541
  # cluster_type: "String",
1523
1542
  # node_type: "String", # required
1524
1543
  # master_username: "String", # required
1525
- # master_user_password: "String", # required
1544
+ # master_user_password: "SensitiveString",
1526
1545
  # cluster_security_groups: ["String"],
1527
1546
  # vpc_security_group_ids: ["String"],
1528
1547
  # cluster_subnet_group_name: "String",
@@ -1556,6 +1575,8 @@ module Aws::Redshift
1556
1575
  # aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
1557
1576
  # default_iam_role_arn: "String",
1558
1577
  # load_sample_data: "String",
1578
+ # manage_master_password: false,
1579
+ # master_password_secret_kms_key_id: "String",
1559
1580
  # })
1560
1581
  #
1561
1582
  # @example Response structure
@@ -1681,6 +1702,8 @@ module Aws::Redshift
1681
1702
  # resp.cluster.custom_domain_name #=> String
1682
1703
  # resp.cluster.custom_domain_certificate_arn #=> String
1683
1704
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
1705
+ # resp.cluster.master_password_secret_arn #=> String
1706
+ # resp.cluster.master_password_secret_kms_key_id #=> String
1684
1707
  #
1685
1708
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
1686
1709
  #
@@ -1960,6 +1983,8 @@ module Aws::Redshift
1960
1983
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
1961
1984
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
1962
1985
  # resp.snapshot.snapshot_retention_start_time #=> Time
1986
+ # resp.snapshot.master_password_secret_arn #=> String
1987
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
1963
1988
  #
1964
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot AWS API Documentation
1965
1990
  #
@@ -3109,6 +3134,8 @@ module Aws::Redshift
3109
3134
  # resp.cluster.custom_domain_name #=> String
3110
3135
  # resp.cluster.custom_domain_certificate_arn #=> String
3111
3136
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
3137
+ # resp.cluster.master_password_secret_arn #=> String
3138
+ # resp.cluster.master_password_secret_kms_key_id #=> String
3112
3139
  #
3113
3140
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
3114
3141
  #
@@ -3264,6 +3291,8 @@ module Aws::Redshift
3264
3291
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
3265
3292
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
3266
3293
  # resp.snapshot.snapshot_retention_start_time #=> Time
3294
+ # resp.snapshot.master_password_secret_arn #=> String
3295
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
3267
3296
  #
3268
3297
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot AWS API Documentation
3269
3298
  #
@@ -4244,6 +4273,8 @@ module Aws::Redshift
4244
4273
  # resp.snapshots[0].manual_snapshot_retention_period #=> Integer
4245
4274
  # resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
4246
4275
  # resp.snapshots[0].snapshot_retention_start_time #=> Time
4276
+ # resp.snapshots[0].master_password_secret_arn #=> String
4277
+ # resp.snapshots[0].master_password_secret_kms_key_id #=> String
4247
4278
  #
4248
4279
  #
4249
4280
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4702,6 +4733,8 @@ module Aws::Redshift
4702
4733
  # resp.clusters[0].custom_domain_name #=> String
4703
4734
  # resp.clusters[0].custom_domain_certificate_arn #=> String
4704
4735
  # resp.clusters[0].custom_domain_certificate_expiry_date #=> Time
4736
+ # resp.clusters[0].master_password_secret_arn #=> String
4737
+ # resp.clusters[0].master_password_secret_kms_key_id #=> String
4705
4738
  #
4706
4739
  #
4707
4740
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4719,7 +4752,7 @@ module Aws::Redshift
4719
4752
  req.send_request(options)
4720
4753
  end
4721
4754
 
4722
- # Contains information for custom domain associations for a cluster.
4755
+ # Contains information about custom domain associations for a cluster.
4723
4756
  #
4724
4757
  # @option params [String] :custom_domain_name
4725
4758
  # The custom domain name for the custom domain association.
@@ -7012,6 +7045,8 @@ module Aws::Redshift
7012
7045
  # resp.cluster.custom_domain_name #=> String
7013
7046
  # resp.cluster.custom_domain_certificate_arn #=> String
7014
7047
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
7048
+ # resp.cluster.master_password_secret_arn #=> String
7049
+ # resp.cluster.master_password_secret_kms_key_id #=> String
7015
7050
  #
7016
7051
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
7017
7052
  #
@@ -7349,6 +7384,8 @@ module Aws::Redshift
7349
7384
  # resp.cluster.custom_domain_name #=> String
7350
7385
  # resp.cluster.custom_domain_certificate_arn #=> String
7351
7386
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
7387
+ # resp.cluster.master_password_secret_arn #=> String
7388
+ # resp.cluster.master_password_secret_kms_key_id #=> String
7352
7389
  #
7353
7390
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
7354
7391
  #
@@ -7902,6 +7939,9 @@ module Aws::Redshift
7902
7939
  # element exists in the `PendingModifiedValues` element of the operation
7903
7940
  # response.
7904
7941
  #
7942
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
7943
+ # `true`.
7944
+ #
7905
7945
  # <note markdown="1"> Operations never return the password, so this operation provides a way
7906
7946
  # to regain access to the admin user account for a cluster if the
7907
7947
  # password is lost.
@@ -8091,6 +8131,18 @@ module Aws::Redshift
8091
8131
  # @option params [Integer] :port
8092
8132
  # The option to change the port of an Amazon Redshift cluster.
8093
8133
  #
8134
+ # @option params [Boolean] :manage_master_password
8135
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
8136
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
8137
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false or
8138
+ # not set, Amazon Redshift uses `MasterUserPassword` for the admin user
8139
+ # account's password.
8140
+ #
8141
+ # @option params [String] :master_password_secret_kms_key_id
8142
+ # The ID of the Key Management Service (KMS) key used to encrypt and
8143
+ # store the cluster's admin credentials secret. You can only use this
8144
+ # parameter if `ManageMasterPassword` is true.
8145
+ #
8094
8146
  # @return [Types::ModifyClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8095
8147
  #
8096
8148
  # * {Types::ModifyClusterResult#cluster #cluster} => Types::Cluster
@@ -8104,7 +8156,7 @@ module Aws::Redshift
8104
8156
  # number_of_nodes: 1,
8105
8157
  # cluster_security_groups: ["String"],
8106
8158
  # vpc_security_group_ids: ["String"],
8107
- # master_user_password: "String",
8159
+ # master_user_password: "SensitiveString",
8108
8160
  # cluster_parameter_group_name: "String",
8109
8161
  # automated_snapshot_retention_period: 1,
8110
8162
  # manual_snapshot_retention_period: 1,
@@ -8123,6 +8175,8 @@ module Aws::Redshift
8123
8175
  # availability_zone_relocation: false,
8124
8176
  # availability_zone: "String",
8125
8177
  # port: 1,
8178
+ # manage_master_password: false,
8179
+ # master_password_secret_kms_key_id: "String",
8126
8180
  # })
8127
8181
  #
8128
8182
  # @example Response structure
@@ -8248,6 +8302,8 @@ module Aws::Redshift
8248
8302
  # resp.cluster.custom_domain_name #=> String
8249
8303
  # resp.cluster.custom_domain_certificate_arn #=> String
8250
8304
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8305
+ # resp.cluster.master_password_secret_arn #=> String
8306
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8251
8307
  #
8252
8308
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
8253
8309
  #
@@ -8405,6 +8461,8 @@ module Aws::Redshift
8405
8461
  # resp.cluster.custom_domain_name #=> String
8406
8462
  # resp.cluster.custom_domain_certificate_arn #=> String
8407
8463
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8464
+ # resp.cluster.master_password_secret_arn #=> String
8465
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8408
8466
  #
8409
8467
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
8410
8468
  #
@@ -8578,6 +8636,8 @@ module Aws::Redshift
8578
8636
  # resp.cluster.custom_domain_name #=> String
8579
8637
  # resp.cluster.custom_domain_certificate_arn #=> String
8580
8638
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8639
+ # resp.cluster.master_password_secret_arn #=> String
8640
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8581
8641
  #
8582
8642
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
8583
8643
  #
@@ -8751,6 +8811,8 @@ module Aws::Redshift
8751
8811
  # resp.cluster.custom_domain_name #=> String
8752
8812
  # resp.cluster.custom_domain_certificate_arn #=> String
8753
8813
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8814
+ # resp.cluster.master_password_secret_arn #=> String
8815
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8754
8816
  #
8755
8817
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance AWS API Documentation
8756
8818
  #
@@ -8898,6 +8960,8 @@ module Aws::Redshift
8898
8960
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
8899
8961
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
8900
8962
  # resp.snapshot.snapshot_retention_start_time #=> Time
8963
+ # resp.snapshot.master_password_secret_arn #=> String
8964
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
8901
8965
  #
8902
8966
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshot AWS API Documentation
8903
8967
  #
@@ -9472,6 +9536,8 @@ module Aws::Redshift
9472
9536
  # resp.cluster.custom_domain_name #=> String
9473
9537
  # resp.cluster.custom_domain_certificate_arn #=> String
9474
9538
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
9539
+ # resp.cluster.master_password_secret_arn #=> String
9540
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9475
9541
  #
9476
9542
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
9477
9543
  #
@@ -9728,6 +9794,8 @@ module Aws::Redshift
9728
9794
  # resp.cluster.custom_domain_name #=> String
9729
9795
  # resp.cluster.custom_domain_certificate_arn #=> String
9730
9796
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
9797
+ # resp.cluster.master_password_secret_arn #=> String
9798
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9731
9799
  #
9732
9800
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
9733
9801
  #
@@ -9947,6 +10015,8 @@ module Aws::Redshift
9947
10015
  # resp.cluster.custom_domain_name #=> String
9948
10016
  # resp.cluster.custom_domain_certificate_arn #=> String
9949
10017
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10018
+ # resp.cluster.master_password_secret_arn #=> String
10019
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9950
10020
  #
9951
10021
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
9952
10022
  #
@@ -10254,6 +10324,8 @@ module Aws::Redshift
10254
10324
  # resp.cluster.custom_domain_name #=> String
10255
10325
  # resp.cluster.custom_domain_certificate_arn #=> String
10256
10326
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10327
+ # resp.cluster.master_password_secret_arn #=> String
10328
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10257
10329
  #
10258
10330
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster AWS API Documentation
10259
10331
  #
@@ -10545,6 +10617,17 @@ module Aws::Redshift
10545
10617
  # encrypted with Key Management Service (KMS) and a customer managed
10546
10618
  # key.
10547
10619
  #
10620
+ # @option params [Boolean] :manage_master_password
10621
+ # If `true`, Amazon Redshift uses Secrets Manager to manage the restored
10622
+ # cluster's admin credentials. If `ManageMasterPassword` is false or
10623
+ # not set, Amazon Redshift uses the admin credentials the cluster had at
10624
+ # the time the snapshot was taken.
10625
+ #
10626
+ # @option params [String] :master_password_secret_kms_key_id
10627
+ # The ID of the Key Management Service (KMS) key used to encrypt and
10628
+ # store the cluster's admin credentials secret. You can only use this
10629
+ # parameter if `ManageMasterPassword` is true.
10630
+ #
10548
10631
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10549
10632
  #
10550
10633
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -10585,6 +10668,8 @@ module Aws::Redshift
10585
10668
  # reserved_node_id: "String",
10586
10669
  # target_reserved_node_offering_id: "String",
10587
10670
  # encrypted: false,
10671
+ # manage_master_password: false,
10672
+ # master_password_secret_kms_key_id: "String",
10588
10673
  # })
10589
10674
  #
10590
10675
  # @example Response structure
@@ -10710,6 +10795,8 @@ module Aws::Redshift
10710
10795
  # resp.cluster.custom_domain_name #=> String
10711
10796
  # resp.cluster.custom_domain_certificate_arn #=> String
10712
10797
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10798
+ # resp.cluster.master_password_secret_arn #=> String
10799
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10713
10800
  #
10714
10801
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
10715
10802
  #
@@ -10958,6 +11045,8 @@ module Aws::Redshift
10958
11045
  # resp.cluster.custom_domain_name #=> String
10959
11046
  # resp.cluster.custom_domain_certificate_arn #=> String
10960
11047
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
11048
+ # resp.cluster.master_password_secret_arn #=> String
11049
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10961
11050
  #
10962
11051
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
10963
11052
  #
@@ -11188,6 +11277,8 @@ module Aws::Redshift
11188
11277
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
11189
11278
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
11190
11279
  # resp.snapshot.snapshot_retention_start_time #=> Time
11280
+ # resp.snapshot.master_password_secret_arn #=> String
11281
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
11191
11282
  #
11192
11283
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess AWS API Documentation
11193
11284
  #
@@ -11340,6 +11431,8 @@ module Aws::Redshift
11340
11431
  # resp.cluster.custom_domain_name #=> String
11341
11432
  # resp.cluster.custom_domain_certificate_arn #=> String
11342
11433
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
11434
+ # resp.cluster.master_password_secret_arn #=> String
11435
+ # resp.cluster.master_password_secret_kms_key_id #=> String
11343
11436
  #
11344
11437
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
11345
11438
  #
@@ -11415,7 +11508,7 @@ module Aws::Redshift
11415
11508
  params: params,
11416
11509
  config: config)
11417
11510
  context[:gem_name] = 'aws-sdk-redshift'
11418
- context[:gem_version] = '1.98.0'
11511
+ context[:gem_version] = '1.99.0'
11419
11512
  Seahorse::Client::Request.new(handlers, context)
11420
11513
  end
11421
11514
 
@@ -749,6 +749,8 @@ module Aws::Redshift
749
749
  Cluster.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
750
750
  Cluster.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainCertificateArn"))
751
751
  Cluster.add_member(:custom_domain_certificate_expiry_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CustomDomainCertificateExpiryDate"))
752
+ Cluster.add_member(:master_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretArn"))
753
+ Cluster.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
752
754
  Cluster.struct_class = Types::Cluster
753
755
 
754
756
  ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
@@ -939,7 +941,7 @@ module Aws::Redshift
939
941
  CreateClusterMessage.add_member(:cluster_type, Shapes::ShapeRef.new(shape: String, location_name: "ClusterType"))
940
942
  CreateClusterMessage.add_member(:node_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "NodeType"))
941
943
  CreateClusterMessage.add_member(:master_username, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MasterUsername"))
942
- CreateClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MasterUserPassword"))
944
+ CreateClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "MasterUserPassword"))
943
945
  CreateClusterMessage.add_member(:cluster_security_groups, Shapes::ShapeRef.new(shape: ClusterSecurityGroupNameList, location_name: "ClusterSecurityGroups"))
944
946
  CreateClusterMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
945
947
  CreateClusterMessage.add_member(:cluster_subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ClusterSubnetGroupName"))
@@ -968,6 +970,8 @@ module Aws::Redshift
968
970
  CreateClusterMessage.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
969
971
  CreateClusterMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
970
972
  CreateClusterMessage.add_member(:load_sample_data, Shapes::ShapeRef.new(shape: String, location_name: "LoadSampleData"))
973
+ CreateClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
974
+ CreateClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
971
975
  CreateClusterMessage.struct_class = Types::CreateClusterMessage
972
976
 
973
977
  CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -1870,7 +1874,7 @@ module Aws::Redshift
1870
1874
  ModifyClusterMessage.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
1871
1875
  ModifyClusterMessage.add_member(:cluster_security_groups, Shapes::ShapeRef.new(shape: ClusterSecurityGroupNameList, location_name: "ClusterSecurityGroups"))
1872
1876
  ModifyClusterMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
1873
- ModifyClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserPassword"))
1877
+ ModifyClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "MasterUserPassword"))
1874
1878
  ModifyClusterMessage.add_member(:cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ClusterParameterGroupName"))
1875
1879
  ModifyClusterMessage.add_member(:automated_snapshot_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AutomatedSnapshotRetentionPeriod"))
1876
1880
  ModifyClusterMessage.add_member(:manual_snapshot_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ManualSnapshotRetentionPeriod"))
@@ -1889,6 +1893,8 @@ module Aws::Redshift
1889
1893
  ModifyClusterMessage.add_member(:availability_zone_relocation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AvailabilityZoneRelocation"))
1890
1894
  ModifyClusterMessage.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
1891
1895
  ModifyClusterMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
1896
+ ModifyClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
1897
+ ModifyClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
1892
1898
  ModifyClusterMessage.struct_class = Types::ModifyClusterMessage
1893
1899
 
1894
1900
  ModifyClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -2061,7 +2067,7 @@ module Aws::Redshift
2061
2067
 
2062
2068
  PendingActionsList.member = Shapes::ShapeRef.new(shape: String)
2063
2069
 
2064
- PendingModifiedValues.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserPassword"))
2070
+ PendingModifiedValues.add_member(:master_user_password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "MasterUserPassword"))
2065
2071
  PendingModifiedValues.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
2066
2072
  PendingModifiedValues.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
2067
2073
  PendingModifiedValues.add_member(:cluster_type, Shapes::ShapeRef.new(shape: String, location_name: "ClusterType"))
@@ -2244,6 +2250,8 @@ module Aws::Redshift
2244
2250
  RestoreFromClusterSnapshotMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
2245
2251
  RestoreFromClusterSnapshotMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
2246
2252
  RestoreFromClusterSnapshotMessage.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Encrypted"))
2253
+ RestoreFromClusterSnapshotMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
2254
+ RestoreFromClusterSnapshotMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
2247
2255
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
2248
2256
 
2249
2257
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -2398,6 +2406,8 @@ module Aws::Redshift
2398
2406
  Snapshot.add_member(:manual_snapshot_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ManualSnapshotRetentionPeriod"))
2399
2407
  Snapshot.add_member(:manual_snapshot_remaining_days, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ManualSnapshotRemainingDays"))
2400
2408
  Snapshot.add_member(:snapshot_retention_start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotRetentionStartTime"))
2409
+ Snapshot.add_member(:master_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretArn"))
2410
+ Snapshot.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
2401
2411
  Snapshot.struct_class = Types::Snapshot
2402
2412
 
2403
2413
  SnapshotCopyAlreadyDisabledFault.struct_class = Types::SnapshotCopyAlreadyDisabledFault
@@ -888,6 +888,16 @@ module Aws::Redshift
888
888
  # domain name.
889
889
  # @return [Time]
890
890
  #
891
+ # @!attribute [rw] master_password_secret_arn
892
+ # The Amazon Resource Name (ARN) for the cluster's admin user
893
+ # credentials secret.
894
+ # @return [String]
895
+ #
896
+ # @!attribute [rw] master_password_secret_kms_key_id
897
+ # The ID of the Key Management Service (KMS) key used to encrypt and
898
+ # store the cluster's admin credentials secret.
899
+ # @return [String]
900
+ #
891
901
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
892
902
  #
893
903
  class Cluster < Struct.new(
@@ -945,7 +955,9 @@ module Aws::Redshift
945
955
  :reserved_node_exchange_status,
946
956
  :custom_domain_name,
947
957
  :custom_domain_certificate_arn,
948
- :custom_domain_certificate_expiry_date)
958
+ :custom_domain_certificate_expiry_date,
959
+ :master_password_secret_arn,
960
+ :master_password_secret_kms_key_id)
949
961
  SENSITIVE = []
950
962
  include Aws::Structure
951
963
  end
@@ -1932,6 +1944,9 @@ module Aws::Redshift
1932
1944
  # The password associated with the admin user account for the cluster
1933
1945
  # that is being created.
1934
1946
  #
1947
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
1948
+ # `true`.
1949
+ #
1935
1950
  # Constraints:
1936
1951
  #
1937
1952
  # * Must be between 8 and 64 characters in length.
@@ -2216,6 +2231,20 @@ module Aws::Redshift
2216
2231
  # is created.
2217
2232
  # @return [String]
2218
2233
  #
2234
+ # @!attribute [rw] manage_master_password
2235
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
2236
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
2237
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false
2238
+ # or not set, Amazon Redshift uses `MasterUserPassword` for the admin
2239
+ # user account's password.
2240
+ # @return [Boolean]
2241
+ #
2242
+ # @!attribute [rw] master_password_secret_kms_key_id
2243
+ # The ID of the Key Management Service (KMS) key used to encrypt and
2244
+ # store the cluster's admin credentials secret. You can only use this
2245
+ # parameter if `ManageMasterPassword` is true.
2246
+ # @return [String]
2247
+ #
2219
2248
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage AWS API Documentation
2220
2249
  #
2221
2250
  class CreateClusterMessage < Struct.new(
@@ -2252,8 +2281,10 @@ module Aws::Redshift
2252
2281
  :availability_zone_relocation,
2253
2282
  :aqua_configuration_status,
2254
2283
  :default_iam_role_arn,
2255
- :load_sample_data)
2256
- SENSITIVE = []
2284
+ :load_sample_data,
2285
+ :manage_master_password,
2286
+ :master_password_secret_kms_key_id)
2287
+ SENSITIVE = [:master_user_password]
2257
2288
  include Aws::Structure
2258
2289
  end
2259
2290
 
@@ -7364,6 +7395,9 @@ module Aws::Redshift
7364
7395
  # element exists in the `PendingModifiedValues` element of the
7365
7396
  # operation response.
7366
7397
  #
7398
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
7399
+ # `true`.
7400
+ #
7367
7401
  # <note markdown="1"> Operations never return the password, so this operation provides a
7368
7402
  # way to regain access to the admin user account for a cluster if the
7369
7403
  # password is lost.
@@ -7575,6 +7609,20 @@ module Aws::Redshift
7575
7609
  # The option to change the port of an Amazon Redshift cluster.
7576
7610
  # @return [Integer]
7577
7611
  #
7612
+ # @!attribute [rw] manage_master_password
7613
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
7614
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
7615
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false
7616
+ # or not set, Amazon Redshift uses `MasterUserPassword` for the admin
7617
+ # user account's password.
7618
+ # @return [Boolean]
7619
+ #
7620
+ # @!attribute [rw] master_password_secret_kms_key_id
7621
+ # The ID of the Key Management Service (KMS) key used to encrypt and
7622
+ # store the cluster's admin credentials secret. You can only use this
7623
+ # parameter if `ManageMasterPassword` is true.
7624
+ # @return [String]
7625
+ #
7578
7626
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage AWS API Documentation
7579
7627
  #
7580
7628
  class ModifyClusterMessage < Struct.new(
@@ -7602,8 +7650,10 @@ module Aws::Redshift
7602
7650
  :kms_key_id,
7603
7651
  :availability_zone_relocation,
7604
7652
  :availability_zone,
7605
- :port)
7606
- SENSITIVE = []
7653
+ :port,
7654
+ :manage_master_password,
7655
+ :master_password_secret_kms_key_id)
7656
+ SENSITIVE = [:master_user_password]
7607
7657
  include Aws::Structure
7608
7658
  end
7609
7659
 
@@ -8510,7 +8560,7 @@ module Aws::Redshift
8510
8560
  :enhanced_vpc_routing,
8511
8561
  :maintenance_track_name,
8512
8562
  :encryption_type)
8513
- SENSITIVE = []
8563
+ SENSITIVE = [:master_user_password]
8514
8564
  include Aws::Structure
8515
8565
  end
8516
8566
 
@@ -9467,6 +9517,19 @@ module Aws::Redshift
9467
9517
  # key.
9468
9518
  # @return [Boolean]
9469
9519
  #
9520
+ # @!attribute [rw] manage_master_password
9521
+ # If `true`, Amazon Redshift uses Secrets Manager to manage the
9522
+ # restored cluster's admin credentials. If `ManageMasterPassword` is
9523
+ # false or not set, Amazon Redshift uses the admin credentials the
9524
+ # cluster had at the time the snapshot was taken.
9525
+ # @return [Boolean]
9526
+ #
9527
+ # @!attribute [rw] master_password_secret_kms_key_id
9528
+ # The ID of the Key Management Service (KMS) key used to encrypt and
9529
+ # store the cluster's admin credentials secret. You can only use this
9530
+ # parameter if `ManageMasterPassword` is true.
9531
+ # @return [String]
9532
+ #
9470
9533
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
9471
9534
  #
9472
9535
  class RestoreFromClusterSnapshotMessage < Struct.new(
@@ -9502,7 +9565,9 @@ module Aws::Redshift
9502
9565
  :default_iam_role_arn,
9503
9566
  :reserved_node_id,
9504
9567
  :target_reserved_node_offering_id,
9505
- :encrypted)
9568
+ :encrypted,
9569
+ :manage_master_password,
9570
+ :master_password_secret_kms_key_id)
9506
9571
  SENSITIVE = []
9507
9572
  include Aws::Structure
9508
9573
  end
@@ -10241,6 +10306,16 @@ module Aws::Redshift
10241
10306
  # snapshot.
10242
10307
  # @return [Time]
10243
10308
  #
10309
+ # @!attribute [rw] master_password_secret_arn
10310
+ # The Amazon Resource Name (ARN) for the cluster's admin user
10311
+ # credentials secret.
10312
+ # @return [String]
10313
+ #
10314
+ # @!attribute [rw] master_password_secret_kms_key_id
10315
+ # The ID of the Key Management Service (KMS) key used to encrypt and
10316
+ # store the cluster's admin credentials secret.
10317
+ # @return [String]
10318
+ #
10244
10319
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Snapshot AWS API Documentation
10245
10320
  #
10246
10321
  class Snapshot < Struct.new(
@@ -10277,7 +10352,9 @@ module Aws::Redshift
10277
10352
  :maintenance_track_name,
10278
10353
  :manual_snapshot_retention_period,
10279
10354
  :manual_snapshot_remaining_days,
10280
- :snapshot_retention_start_time)
10355
+ :snapshot_retention_start_time,
10356
+ :master_password_secret_arn,
10357
+ :master_password_secret_kms_key_id)
10281
10358
  SENSITIVE = []
10282
10359
  include Aws::Structure
10283
10360
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-redshift/customizations'
53
53
  # @!group service
54
54
  module Aws::Redshift
55
55
 
56
- GEM_VERSION = '1.98.0'
56
+ GEM_VERSION = '1.99.0'
57
57
 
58
58
  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.98.0
4
+ version: 1.99.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core