@aws-sdk/client-rds 3.787.0 → 3.796.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.
package/dist-cjs/index.js CHANGED
@@ -10404,6 +10404,12 @@ var se_CreateTenantDatabaseMessage = /* @__PURE__ */ __name((input, context) =>
10404
10404
  if (input[_NCSN] != null) {
10405
10405
  entries[_NCSN] = input[_NCSN];
10406
10406
  }
10407
+ if (input[_MMUP] != null) {
10408
+ entries[_MMUP] = input[_MMUP];
10409
+ }
10410
+ if (input[_MUSKKI] != null) {
10411
+ entries[_MUSKKI] = input[_MUSKKI];
10412
+ }
10407
10413
  if (input[_T] != null) {
10408
10414
  const memberEntries = se_TagList(input[_T], context);
10409
10415
  if (input[_T]?.length === 0) {
@@ -12789,6 +12795,15 @@ var se_ModifyTenantDatabaseMessage = /* @__PURE__ */ __name((input, context) =>
12789
12795
  if (input[_NTDBN] != null) {
12790
12796
  entries[_NTDBN] = input[_NTDBN];
12791
12797
  }
12798
+ if (input[_MMUP] != null) {
12799
+ entries[_MMUP] = input[_MMUP];
12800
+ }
12801
+ if (input[_RMUP] != null) {
12802
+ entries[_RMUP] = input[_RMUP];
12803
+ }
12804
+ if (input[_MUSKKI] != null) {
12805
+ entries[_MUSKKI] = input[_MUSKKI];
12806
+ }
12792
12807
  return entries;
12793
12808
  }, "se_ModifyTenantDatabaseMessage");
12794
12809
  var se_OptionConfiguration = /* @__PURE__ */ __name((input, context) => {
@@ -13830,6 +13845,12 @@ var se_RestoreDBInstanceFromDBSnapshotMessage = /* @__PURE__ */ __name((input, c
13830
13845
  if (input[_ELS] != null) {
13831
13846
  entries[_ELS] = input[_ELS];
13832
13847
  }
13848
+ if (input[_MMUP] != null) {
13849
+ entries[_MMUP] = input[_MMUP];
13850
+ }
13851
+ if (input[_MUSKKI] != null) {
13852
+ entries[_MUSKKI] = input[_MUSKKI];
13853
+ }
13833
13854
  return entries;
13834
13855
  }, "se_RestoreDBInstanceFromDBSnapshotMessage");
13835
13856
  var se_RestoreDBInstanceFromS3Message = /* @__PURE__ */ __name((input, context) => {
@@ -14202,6 +14223,12 @@ var se_RestoreDBInstanceToPointInTimeMessage = /* @__PURE__ */ __name((input, co
14202
14223
  if (input[_ELS] != null) {
14203
14224
  entries[_ELS] = input[_ELS];
14204
14225
  }
14226
+ if (input[_MMUP] != null) {
14227
+ entries[_MMUP] = input[_MMUP];
14228
+ }
14229
+ if (input[_MUSKKI] != null) {
14230
+ entries[_MUSKKI] = input[_MUSKKI];
14231
+ }
14205
14232
  return entries;
14206
14233
  }, "se_RestoreDBInstanceToPointInTimeMessage");
14207
14234
  var se_RevokeDBSecurityGroupIngressMessage = /* @__PURE__ */ __name((input, context) => {
@@ -20439,6 +20466,9 @@ var de_TenantDatabase = /* @__PURE__ */ __name((output, context) => {
20439
20466
  if (output[_PMV] != null) {
20440
20467
  contents[_PMV] = de_TenantDatabasePendingModifiedValues(output[_PMV], context);
20441
20468
  }
20469
+ if (output[_MUS] != null) {
20470
+ contents[_MUS] = de_MasterUserSecret(output[_MUS], context);
20471
+ }
20442
20472
  if (output.TagList === "") {
20443
20473
  contents[_TL] = [];
20444
20474
  } else if (output[_TL] != null && output[_TL][_Tag] != null) {
@@ -6974,6 +6974,12 @@ const se_CreateTenantDatabaseMessage = (input, context) => {
6974
6974
  if (input[_NCSN] != null) {
6975
6975
  entries[_NCSN] = input[_NCSN];
6976
6976
  }
6977
+ if (input[_MMUP] != null) {
6978
+ entries[_MMUP] = input[_MMUP];
6979
+ }
6980
+ if (input[_MUSKKI] != null) {
6981
+ entries[_MUSKKI] = input[_MUSKKI];
6982
+ }
6977
6983
  if (input[_T] != null) {
6978
6984
  const memberEntries = se_TagList(input[_T], context);
6979
6985
  if (input[_T]?.length === 0) {
@@ -9361,6 +9367,15 @@ const se_ModifyTenantDatabaseMessage = (input, context) => {
9361
9367
  if (input[_NTDBN] != null) {
9362
9368
  entries[_NTDBN] = input[_NTDBN];
9363
9369
  }
9370
+ if (input[_MMUP] != null) {
9371
+ entries[_MMUP] = input[_MMUP];
9372
+ }
9373
+ if (input[_RMUP] != null) {
9374
+ entries[_RMUP] = input[_RMUP];
9375
+ }
9376
+ if (input[_MUSKKI] != null) {
9377
+ entries[_MUSKKI] = input[_MUSKKI];
9378
+ }
9364
9379
  return entries;
9365
9380
  };
9366
9381
  const se_OptionConfiguration = (input, context) => {
@@ -10402,6 +10417,12 @@ const se_RestoreDBInstanceFromDBSnapshotMessage = (input, context) => {
10402
10417
  if (input[_ELS] != null) {
10403
10418
  entries[_ELS] = input[_ELS];
10404
10419
  }
10420
+ if (input[_MMUP] != null) {
10421
+ entries[_MMUP] = input[_MMUP];
10422
+ }
10423
+ if (input[_MUSKKI] != null) {
10424
+ entries[_MUSKKI] = input[_MUSKKI];
10425
+ }
10405
10426
  return entries;
10406
10427
  };
10407
10428
  const se_RestoreDBInstanceFromS3Message = (input, context) => {
@@ -10774,6 +10795,12 @@ const se_RestoreDBInstanceToPointInTimeMessage = (input, context) => {
10774
10795
  if (input[_ELS] != null) {
10775
10796
  entries[_ELS] = input[_ELS];
10776
10797
  }
10798
+ if (input[_MMUP] != null) {
10799
+ entries[_MMUP] = input[_MMUP];
10800
+ }
10801
+ if (input[_MUSKKI] != null) {
10802
+ entries[_MUSKKI] = input[_MUSKKI];
10803
+ }
10777
10804
  return entries;
10778
10805
  };
10779
10806
  const se_RevokeDBSecurityGroupIngressMessage = (input, context) => {
@@ -17329,6 +17356,9 @@ const de_TenantDatabase = (output, context) => {
17329
17356
  if (output[_PMV] != null) {
17330
17357
  contents[_PMV] = de_TenantDatabasePendingModifiedValues(output[_PMV], context);
17331
17358
  }
17359
+ if (output[_MUS] != null) {
17360
+ contents[_MUS] = de_MasterUserSecret(output[_MUS], context);
17361
+ }
17332
17362
  if (output.TagList === "") {
17333
17363
  contents[_TL] = [];
17334
17364
  }
@@ -39,9 +39,11 @@ declare const CreateTenantDatabaseCommand_base: {
39
39
  * DBInstanceIdentifier: "STRING_VALUE", // required
40
40
  * TenantDBName: "STRING_VALUE", // required
41
41
  * MasterUsername: "STRING_VALUE", // required
42
- * MasterUserPassword: "STRING_VALUE", // required
42
+ * MasterUserPassword: "STRING_VALUE",
43
43
  * CharacterSetName: "STRING_VALUE",
44
44
  * NcharCharacterSetName: "STRING_VALUE",
45
+ * ManageMasterUserPassword: true || false,
46
+ * MasterUserSecretKmsKeyId: "STRING_VALUE",
45
47
  * Tags: [ // TagList
46
48
  * { // Tag
47
49
  * Key: "STRING_VALUE",
@@ -68,6 +70,11 @@ declare const CreateTenantDatabaseCommand_base: {
68
70
  * // MasterUserPassword: "STRING_VALUE",
69
71
  * // TenantDBName: "STRING_VALUE",
70
72
  * // },
73
+ * // MasterUserSecret: { // MasterUserSecret
74
+ * // SecretArn: "STRING_VALUE",
75
+ * // SecretStatus: "STRING_VALUE",
76
+ * // KmsKeyId: "STRING_VALUE",
77
+ * // },
71
78
  * // TagList: [ // TagList
72
79
  * // { // Tag
73
80
  * // Key: "STRING_VALUE",
@@ -92,6 +99,9 @@ declare const CreateTenantDatabaseCommand_base: {
92
99
  * @throws {@link InvalidDBInstanceStateFault} (client fault)
93
100
  * <p>The DB instance isn't in a valid state.</p>
94
101
  *
102
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
103
+ * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
104
+ *
95
105
  * @throws {@link TenantDatabaseAlreadyExistsFault} (client fault)
96
106
  * <p>You attempted to either create a tenant database that already exists or
97
107
  * modify a tenant database to use the name of an existing tenant database.</p>
@@ -62,6 +62,11 @@ declare const DeleteTenantDatabaseCommand_base: {
62
62
  * // MasterUserPassword: "STRING_VALUE",
63
63
  * // TenantDBName: "STRING_VALUE",
64
64
  * // },
65
+ * // MasterUserSecret: { // MasterUserSecret
66
+ * // SecretArn: "STRING_VALUE",
67
+ * // SecretStatus: "STRING_VALUE",
68
+ * // KmsKeyId: "STRING_VALUE",
69
+ * // },
65
70
  * // TagList: [ // TagList
66
71
  * // { // Tag
67
72
  * // Key: "STRING_VALUE",
@@ -70,6 +70,11 @@ declare const DescribeTenantDatabasesCommand_base: {
70
70
  * // MasterUserPassword: "STRING_VALUE",
71
71
  * // TenantDBName: "STRING_VALUE",
72
72
  * // },
73
+ * // MasterUserSecret: { // MasterUserSecret
74
+ * // SecretArn: "STRING_VALUE",
75
+ * // SecretStatus: "STRING_VALUE",
76
+ * // KmsKeyId: "STRING_VALUE",
77
+ * // },
73
78
  * // TagList: [ // TagList
74
79
  * // { // Tag
75
80
  * // Key: "STRING_VALUE",
@@ -41,6 +41,9 @@ declare const ModifyTenantDatabaseCommand_base: {
41
41
  * TenantDBName: "STRING_VALUE", // required
42
42
  * MasterUserPassword: "STRING_VALUE",
43
43
  * NewTenantDBName: "STRING_VALUE",
44
+ * ManageMasterUserPassword: true || false,
45
+ * RotateMasterUserPassword: true || false,
46
+ * MasterUserSecretKmsKeyId: "STRING_VALUE",
44
47
  * };
45
48
  * const command = new ModifyTenantDatabaseCommand(input);
46
49
  * const response = await client.send(command);
@@ -61,6 +64,11 @@ declare const ModifyTenantDatabaseCommand_base: {
61
64
  * // MasterUserPassword: "STRING_VALUE",
62
65
  * // TenantDBName: "STRING_VALUE",
63
66
  * // },
67
+ * // MasterUserSecret: { // MasterUserSecret
68
+ * // SecretArn: "STRING_VALUE",
69
+ * // SecretStatus: "STRING_VALUE",
70
+ * // KmsKeyId: "STRING_VALUE",
71
+ * // },
64
72
  * // TagList: [ // TagList
65
73
  * // { // Tag
66
74
  * // Key: "STRING_VALUE",
@@ -85,6 +93,9 @@ declare const ModifyTenantDatabaseCommand_base: {
85
93
  * @throws {@link InvalidDBInstanceStateFault} (client fault)
86
94
  * <p>The DB instance isn't in a valid state.</p>
87
95
  *
96
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
97
+ * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
98
+ *
88
99
  * @throws {@link TenantDatabaseAlreadyExistsFault} (client fault)
89
100
  * <p>You attempted to either create a tenant database that already exists or
90
101
  * modify a tenant database to use the name of an existing tenant database.</p>
@@ -109,6 +109,8 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
109
109
  * DedicatedLogVolume: true || false,
110
110
  * CACertificateIdentifier: "STRING_VALUE",
111
111
  * EngineLifecycleSupport: "STRING_VALUE",
112
+ * ManageMasterUserPassword: true || false,
113
+ * MasterUserSecretKmsKeyId: "STRING_VALUE",
112
114
  * };
113
115
  * const command = new RestoreDBInstanceFromDBSnapshotCommand(input);
114
116
  * const response = await client.send(command);
@@ -106,6 +106,8 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
106
106
  * DedicatedLogVolume: true || false,
107
107
  * CACertificateIdentifier: "STRING_VALUE",
108
108
  * EngineLifecycleSupport: "STRING_VALUE",
109
+ * ManageMasterUserPassword: true || false,
110
+ * MasterUserSecretKmsKeyId: "STRING_VALUE",
109
111
  * };
110
112
  * const command = new RestoreDBInstanceToPointInTimeCommand(input);
111
113
  * const response = await client.send(command);
@@ -4450,7 +4450,8 @@ export interface CreateDBClusterMessage {
4450
4450
  /**
4451
4451
  * <p>Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
4452
4452
  * By default, minor engine upgrades are applied automatically.</p>
4453
- * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster</p>
4453
+ * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster.</p>
4454
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
4454
4455
  * @public
4455
4456
  */
4456
4457
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -5511,6 +5512,7 @@ export interface DBCluster {
5511
5512
  /**
5512
5513
  * <p>Indicates whether minor version patches are applied automatically.</p>
5513
5514
  * <p>This setting is for Aurora DB clusters and Multi-AZ DB clusters.</p>
5515
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
5514
5516
  * @public
5515
5517
  */
5516
5518
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -6947,6 +6949,7 @@ export interface CreateDBInstanceMessage {
6947
6949
  * By default, minor engine upgrades are applied automatically.</p>
6948
6950
  * <p>If you create an RDS Custom DB instance, you must set <code>AutoMinorVersionUpgrade</code> to
6949
6951
  * <code>false</code>.</p>
6952
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
6950
6953
  * @public
6951
6954
  */
6952
6955
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -8193,6 +8196,7 @@ export interface DBInstance {
8193
8196
  EngineVersion?: string | undefined;
8194
8197
  /**
8195
8198
  * <p>Indicates whether minor version patches are applied automatically.</p>
8199
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
8196
8200
  * @public
8197
8201
  */
8198
8202
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -8810,6 +8814,7 @@ export interface CreateDBInstanceReadReplicaMessage {
8810
8814
  * read replica during the maintenance window.</p>
8811
8815
  * <p>This setting doesn't apply to RDS Custom DB instances.</p>
8812
8816
  * <p>Default: Inherits the value from the source DB instance.</p>
8817
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
8813
8818
  * @public
8814
8819
  */
8815
8820
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -9586,7 +9591,21 @@ export interface UserAuthConfig {
9586
9591
  */
9587
9592
  IAMAuth?: IAMAuthMode | undefined;
9588
9593
  /**
9589
- * <p>The type of authentication the proxy uses for connections from clients.</p>
9594
+ * <p>The type of authentication the proxy uses for connections from clients. The following values are defaults for the corresponding engines:</p>
9595
+ * <ul>
9596
+ * <li>
9597
+ * <p>RDS for MySQL: <code>MYSQL_CACHING_SHA2_PASSWORD</code>
9598
+ * </p>
9599
+ * </li>
9600
+ * <li>
9601
+ * <p>RDS for SQL Server: <code>SQL_SERVER_AUTHENTICATION</code>
9602
+ * </p>
9603
+ * </li>
9604
+ * <li>
9605
+ * <p>RDS for PostgreSQL: <code>POSTGRES_SCRAM_SHA2_256</code>
9606
+ * </p>
9607
+ * </li>
9608
+ * </ul>
9590
9609
  * @public
9591
9610
  */
9592
9611
  ClientPasswordAuthType?: ClientPasswordAuthType | undefined;
@@ -11386,10 +11405,14 @@ export interface CreateTenantDatabaseMessage {
11386
11405
  * (<code>/</code>), double quote (<code>"</code>), at symbol (<code>@</code>),
11387
11406
  * ampersand (<code>&</code>), or single quote (<code>'</code>).</p>
11388
11407
  * </li>
11408
+ * <li>
11409
+ * <p>Can't be specified when <code>ManageMasterUserPassword</code> is
11410
+ * enabled.</p>
11411
+ * </li>
11389
11412
  * </ul>
11390
11413
  * @public
11391
11414
  */
11392
- MasterUserPassword: string | undefined;
11415
+ MasterUserPassword?: string | undefined;
11393
11416
  /**
11394
11417
  * <p>The character set for your tenant database. If you don't specify a value, the
11395
11418
  * character set name defaults to <code>AL32UTF8</code>.</p>
@@ -11401,6 +11424,37 @@ export interface CreateTenantDatabaseMessage {
11401
11424
  * @public
11402
11425
  */
11403
11426
  NcharCharacterSetName?: string | undefined;
11427
+ /**
11428
+ * <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
11429
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
11430
+ * in the <i>Amazon RDS User Guide.</i>
11431
+ * </p>
11432
+ * <p>Constraints:</p>
11433
+ * <ul>
11434
+ * <li>
11435
+ * <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code>
11436
+ * is specified.</p>
11437
+ * </li>
11438
+ * </ul>
11439
+ * @public
11440
+ */
11441
+ ManageMasterUserPassword?: boolean | undefined;
11442
+ /**
11443
+ * <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and
11444
+ * managed in Amazon Web Services Secrets Manager.</p>
11445
+ * <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
11446
+ * Manager for the DB instance.</p>
11447
+ * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
11448
+ * To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
11449
+ * <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code>
11450
+ * KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't
11451
+ * use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer
11452
+ * managed KMS key.</p>
11453
+ * <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account
11454
+ * has a different default KMS key for each Amazon Web Services Region.</p>
11455
+ * @public
11456
+ */
11457
+ MasterUserSecretKmsKeyId?: string | undefined;
11404
11458
  /**
11405
11459
  * <p>A list of tags.</p>
11406
11460
  * <p>For more information, see
@@ -11494,6 +11548,15 @@ export interface TenantDatabase {
11494
11548
  * @public
11495
11549
  */
11496
11550
  PendingModifiedValues?: TenantDatabasePendingModifiedValues | undefined;
11551
+ /**
11552
+ * <p>Contains the secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.</p>
11553
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
11554
+ * in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
11555
+ * in the <i>Amazon Aurora User Guide.</i>
11556
+ * </p>
11557
+ * @public
11558
+ */
11559
+ MasterUserSecret?: MasterUserSecret | undefined;
11497
11560
  /**
11498
11561
  * <p>A list of tags.</p>
11499
11562
  * <p>For more information, see
@@ -7124,7 +7124,8 @@ export interface ModifyDBClusterMessage {
7124
7124
  /**
7125
7125
  * <p>Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
7126
7126
  * By default, minor engine upgrades are applied automatically.</p>
7127
- * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
7127
+ * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters.</p>
7128
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
7128
7129
  * @public
7129
7130
  */
7130
7131
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -7690,12 +7691,18 @@ export interface ModifyDBInstanceMessage {
7690
7691
  * <p>This setting doesn't apply to the following DB instances:</p>
7691
7692
  * <ul>
7692
7693
  * <li>
7693
- * <p>Amazon Aurora (The password for the master user is managed by the DB cluster. For
7694
- * more information, see <code>ModifyDBCluster</code>.)</p>
7694
+ * <p>Amazon Aurora</p>
7695
+ * <p>The password for the master user is managed by the DB cluster. For more
7696
+ * information, see <code>ModifyDBCluster</code>.</p>
7695
7697
  * </li>
7696
7698
  * <li>
7697
7699
  * <p>RDS Custom</p>
7698
7700
  * </li>
7701
+ * <li>
7702
+ * <p>RDS for Oracle CDBs in the multi-tenant configuration</p>
7703
+ * <p>Specify the master password in <code>ModifyTenantDatabase</code>
7704
+ * instead.</p>
7705
+ * </li>
7699
7706
  * </ul>
7700
7707
  * <p>Default: Uses existing setting</p>
7701
7708
  * <p>Constraints:</p>
@@ -7905,6 +7912,7 @@ export interface ModifyDBInstanceMessage {
7905
7912
  * <p>If any of the preceding conditions isn't met, Amazon RDS applies the change as soon as possible and
7906
7913
  * doesn't cause an outage.</p>
7907
7914
  * <p>For an RDS Custom DB instance, don't enable this setting. Otherwise, the operation returns an error.</p>
7915
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
7908
7916
  * @public
7909
7917
  */
7910
7918
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -8495,6 +8503,14 @@ export interface ModifyDBInstanceMessage {
8495
8503
  * <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code>
8496
8504
  * is specified.</p>
8497
8505
  * </li>
8506
+ * <li>
8507
+ * <p>Can't specify for RDS for Oracle CDB instances in the multi-tenant
8508
+ * configuration. Use <code>ModifyTenantDatabase</code> instead.</p>
8509
+ * </li>
8510
+ * <li>
8511
+ * <p>Can't specify the parameters <code>ManageMasterUserPassword</code> and
8512
+ * <code>MultiTenant</code> in the same operation.</p>
8513
+ * </li>
8498
8514
  * </ul>
8499
8515
  * @public
8500
8516
  */
@@ -8503,7 +8519,7 @@ export interface ModifyDBInstanceMessage {
8503
8519
  * <p>Specifies whether to rotate the secret managed by Amazon Web Services Secrets Manager for the
8504
8520
  * master user password.</p>
8505
8521
  * <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
8506
- * Manager for the DB cluster. The secret value contains the updated password.</p>
8522
+ * Manager for the DB instance. The secret value contains the updated password.</p>
8507
8523
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
8508
8524
  * in the <i>Amazon RDS User Guide.</i>
8509
8525
  * </p>
@@ -9455,6 +9471,88 @@ export interface ModifyTenantDatabaseMessage {
9455
9471
  * @public
9456
9472
  */
9457
9473
  NewTenantDBName?: string | undefined;
9474
+ /**
9475
+ * <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
9476
+ * <p>If the tenant database doesn't manage the master user password with Amazon Web Services Secrets
9477
+ * Manager, you can turn on this management. In this case, you can't specify
9478
+ * <code>MasterUserPassword</code>.</p>
9479
+ * <p>If the tenant database already manages the master user password with Amazon Web Services Secrets
9480
+ * Manager, and you specify that the master user password is not managed with Amazon Web Services Secrets
9481
+ * Manager, then you must specify <code>MasterUserPassword</code>. In this case, Amazon RDS
9482
+ * deletes the secret and uses the new password for the master user specified by
9483
+ * <code>MasterUserPassword</code>.</p>
9484
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
9485
+ * in the <i>Amazon RDS User Guide.</i>
9486
+ * </p>
9487
+ * <p>Constraints:</p>
9488
+ * <ul>
9489
+ * <li>
9490
+ * <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code>
9491
+ * is specified.</p>
9492
+ * </li>
9493
+ * </ul>
9494
+ * @public
9495
+ */
9496
+ ManageMasterUserPassword?: boolean | undefined;
9497
+ /**
9498
+ * <p>Specifies whether to rotate the secret managed by Amazon Web Services Secrets Manager for the
9499
+ * master user password.</p>
9500
+ * <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
9501
+ * Manager for the DB instance. The secret value contains the updated password.</p>
9502
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
9503
+ * in the <i>Amazon RDS User Guide.</i>
9504
+ * </p>
9505
+ * <p>Constraints:</p>
9506
+ * <ul>
9507
+ * <li>
9508
+ * <p>You must apply the change immediately when rotating the master user password.</p>
9509
+ * </li>
9510
+ * </ul>
9511
+ * @public
9512
+ */
9513
+ RotateMasterUserPassword?: boolean | undefined;
9514
+ /**
9515
+ * <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and
9516
+ * managed in Amazon Web Services Secrets Manager.</p>
9517
+ * <p>This setting is valid only if both of the following conditions are met:</p>
9518
+ * <ul>
9519
+ * <li>
9520
+ * <p>The tenant database doesn't manage the master user password in Amazon Web Services Secrets Manager.</p>
9521
+ * <p>If the tenant database already manages the master user password in Amazon Web Services Secrets Manager,
9522
+ * you can't change the KMS key used to encrypt the secret.</p>
9523
+ * </li>
9524
+ * <li>
9525
+ * <p>You're turning on <code>ManageMasterUserPassword</code> to manage the master user password
9526
+ * in Amazon Web Services Secrets Manager.</p>
9527
+ * <p>If you're turning on <code>ManageMasterUserPassword</code> and don't specify
9528
+ * <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code>
9529
+ * KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't
9530
+ * use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a self-managed
9531
+ * KMS key.</p>
9532
+ * </li>
9533
+ * </ul>
9534
+ * <p>The Amazon Web Services KMS key identifier is any of the following:</p>
9535
+ * <ul>
9536
+ * <li>
9537
+ * <p>Key ARN</p>
9538
+ * </li>
9539
+ * <li>
9540
+ * <p>Key ID</p>
9541
+ * </li>
9542
+ * <li>
9543
+ * <p>Alias ARN</p>
9544
+ * </li>
9545
+ * <li>
9546
+ * <p>Alias name for the KMS key</p>
9547
+ * </li>
9548
+ * </ul>
9549
+ * <p>To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias
9550
+ * ARN.</p>
9551
+ * <p>A default KMS key exists for your Amazon Web Services account. Your Amazon Web Services account has a different
9552
+ * default KMS key for each Amazon Web Services Region.</p>
9553
+ * @public
9554
+ */
9555
+ MasterUserSecretKmsKeyId?: string | undefined;
9458
9556
  }
9459
9557
  /**
9460
9558
  * @public
@@ -11598,6 +11696,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
11598
11696
  * <p>Specifies whether to automatically apply minor version upgrades to the DB instance
11599
11697
  * during the maintenance window.</p>
11600
11698
  * <p>If you restore an RDS Custom DB instance, you must disable this parameter.</p>
11699
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
11601
11700
  * @public
11602
11701
  */
11603
11702
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -12076,6 +12175,36 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
12076
12175
  * @public
12077
12176
  */
12078
12177
  EngineLifecycleSupport?: string | undefined;
12178
+ /**
12179
+ * <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager in the
12180
+ * restored DB instance.</p>
12181
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
12182
+ * in the <i>Amazon RDS User Guide</i>.</p>
12183
+ * <p>Constraints:</p>
12184
+ * <ul>
12185
+ * <li>
12186
+ * <p>Applies to RDS for Oracle only.</p>
12187
+ * </li>
12188
+ * </ul>
12189
+ * @public
12190
+ */
12191
+ ManageMasterUserPassword?: boolean | undefined;
12192
+ /**
12193
+ * <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and
12194
+ * managed in Amazon Web Services Secrets Manager.</p>
12195
+ * <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
12196
+ * Manager for the DB instance.</p>
12197
+ * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
12198
+ * To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
12199
+ * <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code>
12200
+ * KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't
12201
+ * use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer
12202
+ * managed KMS key.</p>
12203
+ * <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account
12204
+ * has a different default KMS key for each Amazon Web Services Region.</p>
12205
+ * @public
12206
+ */
12207
+ MasterUserSecretKmsKeyId?: string | undefined;
12079
12208
  }
12080
12209
  /**
12081
12210
  * @public
@@ -12326,6 +12455,7 @@ export interface RestoreDBInstanceFromS3Message {
12326
12455
  * <p>Specifies whether to automatically apply minor engine upgrades
12327
12456
  * to the DB instance during the maintenance window. By default, minor engine upgrades
12328
12457
  * are not applied automatically.</p>
12458
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
12329
12459
  * @public
12330
12460
  */
12331
12461
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -12837,6 +12967,7 @@ export interface RestoreDBInstanceToPointInTimeMessage {
12837
12967
  * <p>Specifies whether minor version upgrades are applied automatically to the
12838
12968
  * DB instance during the maintenance window.</p>
12839
12969
  * <p>This setting doesn't apply to RDS Custom.</p>
12970
+ * <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>
12840
12971
  * @public
12841
12972
  */
12842
12973
  AutoMinorVersionUpgrade?: boolean | undefined;
@@ -13336,6 +13467,36 @@ export interface RestoreDBInstanceToPointInTimeMessage {
13336
13467
  * @public
13337
13468
  */
13338
13469
  EngineLifecycleSupport?: string | undefined;
13470
+ /**
13471
+ * <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager in the
13472
+ * restored DB instance.</p>
13473
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a>
13474
+ * in the <i>Amazon RDS User Guide</i>.</p>
13475
+ * <p>Constraints:</p>
13476
+ * <ul>
13477
+ * <li>
13478
+ * <p>Applies to RDS for Oracle only.</p>
13479
+ * </li>
13480
+ * </ul>
13481
+ * @public
13482
+ */
13483
+ ManageMasterUserPassword?: boolean | undefined;
13484
+ /**
13485
+ * <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and
13486
+ * managed in Amazon Web Services Secrets Manager.</p>
13487
+ * <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
13488
+ * Manager for the DB instance.</p>
13489
+ * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
13490
+ * To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
13491
+ * <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code>
13492
+ * KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't
13493
+ * use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer
13494
+ * managed KMS key.</p>
13495
+ * <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account
13496
+ * has a different default KMS key for each Amazon Web Services Region.</p>
13497
+ * @public
13498
+ */
13499
+ MasterUserSecretKmsKeyId?: string | undefined;
13339
13500
  }
13340
13501
  /**
13341
13502
  * @public
@@ -2172,9 +2172,11 @@ export interface CreateTenantDatabaseMessage {
2172
2172
  DBInstanceIdentifier: string | undefined;
2173
2173
  TenantDBName: string | undefined;
2174
2174
  MasterUsername: string | undefined;
2175
- MasterUserPassword: string | undefined;
2175
+ MasterUserPassword?: string | undefined;
2176
2176
  CharacterSetName?: string | undefined;
2177
2177
  NcharCharacterSetName?: string | undefined;
2178
+ ManageMasterUserPassword?: boolean | undefined;
2179
+ MasterUserSecretKmsKeyId?: string | undefined;
2178
2180
  Tags?: Tag[] | undefined;
2179
2181
  }
2180
2182
  export interface TenantDatabasePendingModifiedValues {
@@ -2194,6 +2196,7 @@ export interface TenantDatabase {
2194
2196
  NcharCharacterSetName?: string | undefined;
2195
2197
  DeletionProtection?: boolean | undefined;
2196
2198
  PendingModifiedValues?: TenantDatabasePendingModifiedValues | undefined;
2199
+ MasterUserSecret?: MasterUserSecret | undefined;
2197
2200
  TagList?: Tag[] | undefined;
2198
2201
  }
2199
2202
  export interface CreateTenantDatabaseResult {
@@ -1422,6 +1422,9 @@ export interface ModifyTenantDatabaseMessage {
1422
1422
  TenantDBName: string | undefined;
1423
1423
  MasterUserPassword?: string | undefined;
1424
1424
  NewTenantDBName?: string | undefined;
1425
+ ManageMasterUserPassword?: boolean | undefined;
1426
+ RotateMasterUserPassword?: boolean | undefined;
1427
+ MasterUserSecretKmsKeyId?: string | undefined;
1425
1428
  }
1426
1429
  export interface ModifyTenantDatabaseResult {
1427
1430
  TenantDatabase?: TenantDatabase | undefined;
@@ -1761,6 +1764,8 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
1761
1764
  DedicatedLogVolume?: boolean | undefined;
1762
1765
  CACertificateIdentifier?: string | undefined;
1763
1766
  EngineLifecycleSupport?: string | undefined;
1767
+ ManageMasterUserPassword?: boolean | undefined;
1768
+ MasterUserSecretKmsKeyId?: string | undefined;
1764
1769
  }
1765
1770
  export interface RestoreDBInstanceFromDBSnapshotResult {
1766
1771
  DBInstance?: DBInstance | undefined;
@@ -1879,6 +1884,8 @@ export interface RestoreDBInstanceToPointInTimeMessage {
1879
1884
  DedicatedLogVolume?: boolean | undefined;
1880
1885
  CACertificateIdentifier?: string | undefined;
1881
1886
  EngineLifecycleSupport?: string | undefined;
1887
+ ManageMasterUserPassword?: boolean | undefined;
1888
+ MasterUserSecretKmsKeyId?: string | undefined;
1882
1889
  }
1883
1890
  export interface RestoreDBInstanceToPointInTimeResult {
1884
1891
  DBInstance?: DBInstance | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds",
3
3
  "description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
4
- "version": "3.787.0",
4
+ "version": "3.796.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.796.0",
24
+ "@aws-sdk/credential-provider-node": "3.796.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-sdk-rds": "3.775.0",
29
- "@aws-sdk/middleware-user-agent": "3.787.0",
28
+ "@aws-sdk/middleware-sdk-rds": "3.796.0",
29
+ "@aws-sdk/middleware-user-agent": "3.796.0",
30
30
  "@aws-sdk/region-config-resolver": "3.775.0",
31
31
  "@aws-sdk/types": "3.775.0",
32
32
  "@aws-sdk/util-endpoints": "3.787.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.775.0",
34
- "@aws-sdk/util-user-agent-node": "3.787.0",
34
+ "@aws-sdk/util-user-agent-node": "3.796.0",
35
35
  "@smithy/config-resolver": "^4.1.0",
36
36
  "@smithy/core": "^3.2.0",
37
37
  "@smithy/fetch-http-handler": "^5.0.2",