Skip to content

Commit 00b6795

Browse files
author
awstools
committed
feat(client-redshift-serverless): Added support for managing credentials of serverless namespace admin using AWS Secrets Manager.
1 parent 90dcb19 commit 00b6795

16 files changed

+175
-9
lines changed

clients/client-redshift-serverless/src/commands/ConvertRecoveryPointToSnapshotCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export interface ConvertRecoveryPointToSnapshotCommandOutput
9393
* // accountsWithProvisionedRestoreAccess: [
9494
* // "STRING_VALUE",
9595
* // ],
96+
* // adminPasswordSecretArn: "STRING_VALUE",
97+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
9698
* // },
9799
* // };
98100
*

clients/client-redshift-serverless/src/commands/CreateNamespaceCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, _
7272
* value: "STRING_VALUE", // required
7373
* },
7474
* ],
75+
* manageAdminPassword: true || false,
76+
* adminPasswordSecretKmsKeyId: "STRING_VALUE",
7577
* };
7678
* const command = new CreateNamespaceCommand(input);
7779
* const response = await client.send(command);
@@ -92,6 +94,8 @@ export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, _
9294
* // ],
9395
* // status: "STRING_VALUE",
9496
* // creationDate: new Date("TIMESTAMP"),
97+
* // adminPasswordSecretArn: "STRING_VALUE",
98+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
9599
* // },
96100
* // };
97101
*

clients/client-redshift-serverless/src/commands/CreateSnapshotCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
9090
* // accountsWithProvisionedRestoreAccess: [
9191
* // "STRING_VALUE",
9292
* // ],
93+
* // adminPasswordSecretArn: "STRING_VALUE",
94+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
9395
* // },
9496
* // };
9597
*

clients/client-redshift-serverless/src/commands/DeleteNamespaceCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
7777
* // ],
7878
* // status: "STRING_VALUE",
7979
* // creationDate: new Date("TIMESTAMP"),
80+
* // adminPasswordSecretArn: "STRING_VALUE",
81+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
8082
* // },
8183
* // };
8284
*

clients/client-redshift-serverless/src/commands/DeleteSnapshotCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __M
7979
* // accountsWithProvisionedRestoreAccess: [
8080
* // "STRING_VALUE",
8181
* // ],
82+
* // adminPasswordSecretArn: "STRING_VALUE",
83+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
8284
* // },
8385
* // };
8486
*

clients/client-redshift-serverless/src/commands/GetNamespaceCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
7070
* // ],
7171
* // status: "STRING_VALUE",
7272
* // creationDate: new Date("TIMESTAMP"),
73+
* // adminPasswordSecretArn: "STRING_VALUE",
74+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
7375
* // },
7476
* // };
7577
*

clients/client-redshift-serverless/src/commands/GetSnapshotCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export interface GetSnapshotCommandOutput extends GetSnapshotResponse, __Metadat
8181
* // accountsWithProvisionedRestoreAccess: [
8282
* // "STRING_VALUE",
8383
* // ],
84+
* // adminPasswordSecretArn: "STRING_VALUE",
85+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
8486
* // },
8587
* // };
8688
*

clients/client-redshift-serverless/src/commands/ListNamespacesCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
7777
* // ],
7878
* // status: "STRING_VALUE",
7979
* // creationDate: new Date("TIMESTAMP"),
80+
* // adminPasswordSecretArn: "STRING_VALUE",
81+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
8082
* // },
8183
* // ],
8284
* // };

clients/client-redshift-serverless/src/commands/ListSnapshotsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __Met
8787
* // accountsWithProvisionedRestoreAccess: [
8888
* // "STRING_VALUE",
8989
* // ],
90+
* // adminPasswordSecretArn: "STRING_VALUE",
91+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
9092
* // },
9193
* // ],
9294
* // };

clients/client-redshift-serverless/src/commands/RestoreFromRecoveryPointCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ export interface RestoreFromRecoveryPointCommandOutput extends RestoreFromRecove
7777
* // ],
7878
* // status: "STRING_VALUE",
7979
* // creationDate: new Date("TIMESTAMP"),
80+
* // adminPasswordSecretArn: "STRING_VALUE",
81+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
8082
* // },
8183
* // };
8284
*

0 commit comments

Comments
 (0)