@aws-sdk/client-redshift-serverless 3.428.0 → 3.430.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/protocols/Aws_json1_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateNamespaceCommand.d.ts +4 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/GetSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +2 -0
- package/dist-types/commands/ListSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +2 -0
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/UpdateNamespaceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +79 -14
- package/dist-types/ts3.4/models/models_0.d.ts +24 -14
- package/package.json +11 -11
|
@@ -2217,6 +2217,8 @@ const de_ListWorkgroupsResponse = (output, context) => {
|
|
|
2217
2217
|
};
|
|
2218
2218
|
const de_Namespace = (output, context) => {
|
|
2219
2219
|
return (0, smithy_client_1.take)(output, {
|
|
2220
|
+
adminPasswordSecretArn: smithy_client_1.expectString,
|
|
2221
|
+
adminPasswordSecretKmsKeyId: smithy_client_1.expectString,
|
|
2220
2222
|
adminUsername: smithy_client_1.expectString,
|
|
2221
2223
|
creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2222
2224
|
dbName: smithy_client_1.expectString,
|
|
@@ -2279,6 +2281,8 @@ const de_Snapshot = (output, context) => {
|
|
|
2279
2281
|
accountsWithProvisionedRestoreAccess: smithy_client_1._json,
|
|
2280
2282
|
accountsWithRestoreAccess: smithy_client_1._json,
|
|
2281
2283
|
actualIncrementalBackupSizeInMegaBytes: smithy_client_1.limitedParseDouble,
|
|
2284
|
+
adminPasswordSecretArn: smithy_client_1.expectString,
|
|
2285
|
+
adminPasswordSecretKmsKeyId: smithy_client_1.expectString,
|
|
2282
2286
|
adminUsername: smithy_client_1.expectString,
|
|
2283
2287
|
backupProgressInMegaBytes: smithy_client_1.limitedParseDouble,
|
|
2284
2288
|
currentBackupRateInMegaBytesPerSecond: smithy_client_1.limitedParseDouble,
|
|
@@ -2133,6 +2133,8 @@ const de_ListWorkgroupsResponse = (output, context) => {
|
|
|
2133
2133
|
};
|
|
2134
2134
|
const de_Namespace = (output, context) => {
|
|
2135
2135
|
return take(output, {
|
|
2136
|
+
adminPasswordSecretArn: __expectString,
|
|
2137
|
+
adminPasswordSecretKmsKeyId: __expectString,
|
|
2136
2138
|
adminUsername: __expectString,
|
|
2137
2139
|
creationDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2138
2140
|
dbName: __expectString,
|
|
@@ -2195,6 +2197,8 @@ const de_Snapshot = (output, context) => {
|
|
|
2195
2197
|
accountsWithProvisionedRestoreAccess: _json,
|
|
2196
2198
|
accountsWithRestoreAccess: _json,
|
|
2197
2199
|
actualIncrementalBackupSizeInMegaBytes: __limitedParseDouble,
|
|
2200
|
+
adminPasswordSecretArn: __expectString,
|
|
2201
|
+
adminPasswordSecretKmsKeyId: __expectString,
|
|
2198
2202
|
adminUsername: __expectString,
|
|
2199
2203
|
backupProgressInMegaBytes: __limitedParseDouble,
|
|
2200
2204
|
currentBackupRateInMegaBytesPerSecond: __limitedParseDouble,
|
|
@@ -70,6 +70,8 @@ export interface ConvertRecoveryPointToSnapshotCommandOutput extends ConvertReco
|
|
|
70
70
|
* // accountsWithProvisionedRestoreAccess: [
|
|
71
71
|
* // "STRING_VALUE",
|
|
72
72
|
* // ],
|
|
73
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
74
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
73
75
|
* // },
|
|
74
76
|
* // };
|
|
75
77
|
*
|
|
@@ -49,6 +49,8 @@ export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, _
|
|
|
49
49
|
* value: "STRING_VALUE", // required
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
52
|
+
* manageAdminPassword: true || false,
|
|
53
|
+
* adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
52
54
|
* };
|
|
53
55
|
* const command = new CreateNamespaceCommand(input);
|
|
54
56
|
* const response = await client.send(command);
|
|
@@ -69,6 +71,8 @@ export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, _
|
|
|
69
71
|
* // ],
|
|
70
72
|
* // status: "STRING_VALUE",
|
|
71
73
|
* // creationDate: new Date("TIMESTAMP"),
|
|
74
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
75
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
72
76
|
* // },
|
|
73
77
|
* // };
|
|
74
78
|
*
|
|
@@ -72,6 +72,8 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
|
|
|
72
72
|
* // accountsWithProvisionedRestoreAccess: [
|
|
73
73
|
* // "STRING_VALUE",
|
|
74
74
|
* // ],
|
|
75
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
76
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
75
77
|
* // },
|
|
76
78
|
* // };
|
|
77
79
|
*
|
|
@@ -55,6 +55,8 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // status: "STRING_VALUE",
|
|
57
57
|
* // creationDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
59
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // };
|
|
60
62
|
*
|
|
@@ -61,6 +61,8 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __M
|
|
|
61
61
|
* // accountsWithProvisionedRestoreAccess: [
|
|
62
62
|
* // "STRING_VALUE",
|
|
63
63
|
* // ],
|
|
64
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
65
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
64
66
|
* // },
|
|
65
67
|
* // };
|
|
66
68
|
*
|
|
@@ -52,6 +52,8 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
|
|
|
52
52
|
* // ],
|
|
53
53
|
* // status: "STRING_VALUE",
|
|
54
54
|
* // creationDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
56
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
55
57
|
* // },
|
|
56
58
|
* // };
|
|
57
59
|
*
|
|
@@ -63,6 +63,8 @@ export interface GetSnapshotCommandOutput extends GetSnapshotResponse, __Metadat
|
|
|
63
63
|
* // accountsWithProvisionedRestoreAccess: [
|
|
64
64
|
* // "STRING_VALUE",
|
|
65
65
|
* // ],
|
|
66
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
67
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
66
68
|
* // },
|
|
67
69
|
* // };
|
|
68
70
|
*
|
|
@@ -55,6 +55,8 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // status: "STRING_VALUE",
|
|
57
57
|
* // creationDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
59
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // ],
|
|
60
62
|
* // };
|
|
@@ -69,6 +69,8 @@ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __Met
|
|
|
69
69
|
* // accountsWithProvisionedRestoreAccess: [
|
|
70
70
|
* // "STRING_VALUE",
|
|
71
71
|
* // ],
|
|
72
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
73
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
72
74
|
* // },
|
|
73
75
|
* // ],
|
|
74
76
|
* // };
|
|
@@ -55,6 +55,8 @@ export interface RestoreFromRecoveryPointCommandOutput extends RestoreFromRecove
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // status: "STRING_VALUE",
|
|
57
57
|
* // creationDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
59
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // };
|
|
60
62
|
*
|
|
@@ -36,6 +36,8 @@ export interface RestoreFromSnapshotCommandOutput extends RestoreFromSnapshotRes
|
|
|
36
36
|
* snapshotName: "STRING_VALUE",
|
|
37
37
|
* snapshotArn: "STRING_VALUE",
|
|
38
38
|
* ownerAccount: "STRING_VALUE",
|
|
39
|
+
* manageAdminPassword: true || false,
|
|
40
|
+
* adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
39
41
|
* };
|
|
40
42
|
* const command = new RestoreFromSnapshotCommand(input);
|
|
41
43
|
* const response = await client.send(command);
|
|
@@ -58,6 +60,8 @@ export interface RestoreFromSnapshotCommandOutput extends RestoreFromSnapshotRes
|
|
|
58
60
|
* // ],
|
|
59
61
|
* // status: "STRING_VALUE",
|
|
60
62
|
* // creationDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
64
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
61
65
|
* // },
|
|
62
66
|
* // };
|
|
63
67
|
*
|
|
@@ -44,6 +44,8 @@ export interface UpdateNamespaceCommandOutput extends UpdateNamespaceResponse, _
|
|
|
44
44
|
* logExports: [ // LogExportList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
+
* manageAdminPassword: true || false,
|
|
48
|
+
* adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
47
49
|
* };
|
|
48
50
|
* const command = new UpdateNamespaceCommand(input);
|
|
49
51
|
* const response = await client.send(command);
|
|
@@ -64,6 +66,8 @@ export interface UpdateNamespaceCommandOutput extends UpdateNamespaceResponse, _
|
|
|
64
66
|
* // ],
|
|
65
67
|
* // status: "STRING_VALUE",
|
|
66
68
|
* // creationDate: new Date("TIMESTAMP"),
|
|
69
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
70
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
67
71
|
* // },
|
|
68
72
|
* // };
|
|
69
73
|
*
|
|
@@ -62,6 +62,8 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M
|
|
|
62
62
|
* // accountsWithProvisionedRestoreAccess: [
|
|
63
63
|
* // "STRING_VALUE",
|
|
64
64
|
* // ],
|
|
65
|
+
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
66
|
+
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
65
67
|
* // },
|
|
66
68
|
* // };
|
|
67
69
|
*
|
|
@@ -137,7 +137,7 @@ export interface Snapshot {
|
|
|
137
137
|
* @public
|
|
138
138
|
* <p>The status of the snapshot.</p>
|
|
139
139
|
*/
|
|
140
|
-
status?: SnapshotStatus
|
|
140
|
+
status?: SnapshotStatus;
|
|
141
141
|
/**
|
|
142
142
|
* @public
|
|
143
143
|
* <p>The unique identifier of the KMS key used to encrypt the snapshot.</p>
|
|
@@ -209,6 +209,16 @@ export interface Snapshot {
|
|
|
209
209
|
* <p>All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.</p>
|
|
210
210
|
*/
|
|
211
211
|
accountsWithProvisionedRestoreAccess?: string[];
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
* <p>The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.</p>
|
|
215
|
+
*/
|
|
216
|
+
adminPasswordSecretArn?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
* <p>The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.</p>
|
|
220
|
+
*/
|
|
221
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
212
222
|
}
|
|
213
223
|
/**
|
|
214
224
|
* @public
|
|
@@ -482,6 +492,7 @@ export interface CreateNamespaceRequest {
|
|
|
482
492
|
/**
|
|
483
493
|
* @public
|
|
484
494
|
* <p>The password of the administrator for the first database created in the namespace.</p>
|
|
495
|
+
* <p>You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true. </p>
|
|
485
496
|
*/
|
|
486
497
|
adminUserPassword?: string;
|
|
487
498
|
/**
|
|
@@ -509,12 +520,27 @@ export interface CreateNamespaceRequest {
|
|
|
509
520
|
* <p>The types of logs the namespace can export.
|
|
510
521
|
* Available export types are <code>userlog</code>, <code>connectionlog</code>, and <code>useractivitylog</code>.</p>
|
|
511
522
|
*/
|
|
512
|
-
logExports?:
|
|
523
|
+
logExports?: LogExport[];
|
|
513
524
|
/**
|
|
514
525
|
* @public
|
|
515
526
|
* <p>A list of tag instances.</p>
|
|
516
527
|
*/
|
|
517
528
|
tags?: Tag[];
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
* <p>If <code>true</code>, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
|
|
532
|
+
* You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true.
|
|
533
|
+
* If <code>manageAdminPassword</code> is false or not set, Amazon Redshift uses
|
|
534
|
+
* <code>adminUserPassword</code> for the admin user account's password.
|
|
535
|
+
* </p>
|
|
536
|
+
*/
|
|
537
|
+
manageAdminPassword?: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* @public
|
|
540
|
+
* <p>The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
|
|
541
|
+
* You can only use this parameter if <code>manageAdminPassword</code> is true.</p>
|
|
542
|
+
*/
|
|
543
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
518
544
|
}
|
|
519
545
|
/**
|
|
520
546
|
* @public
|
|
@@ -581,17 +607,27 @@ export interface Namespace {
|
|
|
581
607
|
* @public
|
|
582
608
|
* <p>The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.</p>
|
|
583
609
|
*/
|
|
584
|
-
logExports?:
|
|
610
|
+
logExports?: LogExport[];
|
|
585
611
|
/**
|
|
586
612
|
* @public
|
|
587
613
|
* <p>The status of the namespace.</p>
|
|
588
614
|
*/
|
|
589
|
-
status?: NamespaceStatus
|
|
615
|
+
status?: NamespaceStatus;
|
|
590
616
|
/**
|
|
591
617
|
* @public
|
|
592
618
|
* <p>The date of when the namespace was created.</p>
|
|
593
619
|
*/
|
|
594
620
|
creationDate?: Date;
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
* <p>The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.</p>
|
|
624
|
+
*/
|
|
625
|
+
adminPasswordSecretArn?: string;
|
|
626
|
+
/**
|
|
627
|
+
* @public
|
|
628
|
+
* <p>The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.</p>
|
|
629
|
+
*/
|
|
630
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
595
631
|
}
|
|
596
632
|
/**
|
|
597
633
|
* @public
|
|
@@ -689,7 +725,7 @@ export interface CreateUsageLimitRequest {
|
|
|
689
725
|
* @public
|
|
690
726
|
* <p>The type of Amazon Redshift Serverless usage to create a usage limit for.</p>
|
|
691
727
|
*/
|
|
692
|
-
usageType: UsageLimitUsageType |
|
|
728
|
+
usageType: UsageLimitUsageType | undefined;
|
|
693
729
|
/**
|
|
694
730
|
* @public
|
|
695
731
|
* <p>The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data
|
|
@@ -700,12 +736,12 @@ export interface CreateUsageLimitRequest {
|
|
|
700
736
|
* @public
|
|
701
737
|
* <p>The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.</p>
|
|
702
738
|
*/
|
|
703
|
-
period?: UsageLimitPeriod
|
|
739
|
+
period?: UsageLimitPeriod;
|
|
704
740
|
/**
|
|
705
741
|
* @public
|
|
706
742
|
* <p>The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.</p>
|
|
707
743
|
*/
|
|
708
|
-
breachAction?: UsageLimitBreachAction
|
|
744
|
+
breachAction?: UsageLimitBreachAction;
|
|
709
745
|
}
|
|
710
746
|
/**
|
|
711
747
|
* @public
|
|
@@ -731,7 +767,7 @@ export interface UsageLimit {
|
|
|
731
767
|
* @public
|
|
732
768
|
* <p>The Amazon Redshift Serverless feature to limit.</p>
|
|
733
769
|
*/
|
|
734
|
-
usageType?: UsageLimitUsageType
|
|
770
|
+
usageType?: UsageLimitUsageType;
|
|
735
771
|
/**
|
|
736
772
|
* @public
|
|
737
773
|
* <p>The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.</p>
|
|
@@ -741,12 +777,12 @@ export interface UsageLimit {
|
|
|
741
777
|
* @public
|
|
742
778
|
* <p>The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.</p>
|
|
743
779
|
*/
|
|
744
|
-
period?: UsageLimitPeriod
|
|
780
|
+
period?: UsageLimitPeriod;
|
|
745
781
|
/**
|
|
746
782
|
* @public
|
|
747
783
|
* <p>The action that Amazon Redshift Serverless takes when the limit is reached.</p>
|
|
748
784
|
*/
|
|
749
|
-
breachAction?: UsageLimitBreachAction
|
|
785
|
+
breachAction?: UsageLimitBreachAction;
|
|
750
786
|
}
|
|
751
787
|
/**
|
|
752
788
|
* @public
|
|
@@ -911,7 +947,7 @@ export interface Workgroup {
|
|
|
911
947
|
* @public
|
|
912
948
|
* <p>The status of the workgroup.</p>
|
|
913
949
|
*/
|
|
914
|
-
status?: WorkgroupStatus
|
|
950
|
+
status?: WorkgroupStatus;
|
|
915
951
|
/**
|
|
916
952
|
* @public
|
|
917
953
|
* <p>The endpoint that is created from the workgroup.</p>
|
|
@@ -1785,7 +1821,7 @@ export interface ListUsageLimitsRequest {
|
|
|
1785
1821
|
* @public
|
|
1786
1822
|
* <p>The Amazon Redshift Serverless feature whose limits you want to see.</p>
|
|
1787
1823
|
*/
|
|
1788
|
-
usageType?: UsageLimitUsageType
|
|
1824
|
+
usageType?: UsageLimitUsageType;
|
|
1789
1825
|
/**
|
|
1790
1826
|
* @public
|
|
1791
1827
|
* <p>If your initial <code>ListUsageLimits</code> operation returns a <code>nextToken</code>,
|
|
@@ -1867,6 +1903,7 @@ export interface UpdateNamespaceRequest {
|
|
|
1867
1903
|
* @public
|
|
1868
1904
|
* <p>The password of the administrator for the first database created in the namespace. This parameter must be updated together
|
|
1869
1905
|
* with <code>adminUsername</code>.</p>
|
|
1906
|
+
* <p>You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true. </p>
|
|
1870
1907
|
*/
|
|
1871
1908
|
adminUserPassword?: string;
|
|
1872
1909
|
/**
|
|
@@ -1895,7 +1932,22 @@ export interface UpdateNamespaceRequest {
|
|
|
1895
1932
|
* @public
|
|
1896
1933
|
* <p>The types of logs the namespace can export. The export types are <code>userlog</code>, <code>connectionlog</code>, and <code>useractivitylog</code>.</p>
|
|
1897
1934
|
*/
|
|
1898
|
-
logExports?:
|
|
1935
|
+
logExports?: LogExport[];
|
|
1936
|
+
/**
|
|
1937
|
+
* @public
|
|
1938
|
+
* <p>If <code>true</code>, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
|
|
1939
|
+
* You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true.
|
|
1940
|
+
* If <code>manageAdminPassword</code> is false or not set, Amazon Redshift uses
|
|
1941
|
+
* <code>adminUserPassword</code> for the admin user account's password.
|
|
1942
|
+
* </p>
|
|
1943
|
+
*/
|
|
1944
|
+
manageAdminPassword?: boolean;
|
|
1945
|
+
/**
|
|
1946
|
+
* @public
|
|
1947
|
+
* <p>The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
|
|
1948
|
+
* You can only use this parameter if <code>manageAdminPassword</code> is true.</p>
|
|
1949
|
+
*/
|
|
1950
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
1899
1951
|
}
|
|
1900
1952
|
/**
|
|
1901
1953
|
* @public
|
|
@@ -2004,6 +2056,19 @@ export interface RestoreFromSnapshotRequest {
|
|
|
2004
2056
|
* <p>The Amazon Web Services account that owns the snapshot.</p>
|
|
2005
2057
|
*/
|
|
2006
2058
|
ownerAccount?: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* @public
|
|
2061
|
+
* <p>If <code>true</code>, Amazon Redshift uses Secrets Manager to manage the restored
|
|
2062
|
+
* snapshot's admin credentials. If <code>MmanageAdminPassword</code> is false or not set,
|
|
2063
|
+
* Amazon Redshift uses the admin credentials that the namespace or cluster
|
|
2064
|
+
* had at the time the snapshot was taken.</p>
|
|
2065
|
+
*/
|
|
2066
|
+
manageAdminPassword?: boolean;
|
|
2067
|
+
/**
|
|
2068
|
+
* @public
|
|
2069
|
+
* <p>The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.</p>
|
|
2070
|
+
*/
|
|
2071
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
2007
2072
|
}
|
|
2008
2073
|
/**
|
|
2009
2074
|
* @public
|
|
@@ -2177,7 +2242,7 @@ export interface UpdateUsageLimitRequest {
|
|
|
2177
2242
|
* @public
|
|
2178
2243
|
* <p>The new action that Amazon Redshift Serverless takes when the limit is reached.</p>
|
|
2179
2244
|
*/
|
|
2180
|
-
breachAction?: UsageLimitBreachAction
|
|
2245
|
+
breachAction?: UsageLimitBreachAction;
|
|
2181
2246
|
}
|
|
2182
2247
|
/**
|
|
2183
2248
|
* @public
|
|
@@ -43,7 +43,7 @@ export interface Snapshot {
|
|
|
43
43
|
snapshotName?: string;
|
|
44
44
|
snapshotCreateTime?: Date;
|
|
45
45
|
adminUsername?: string;
|
|
46
|
-
status?: SnapshotStatus
|
|
46
|
+
status?: SnapshotStatus;
|
|
47
47
|
kmsKeyId?: string;
|
|
48
48
|
ownerAccount?: string;
|
|
49
49
|
totalBackupSizeInMegaBytes?: number;
|
|
@@ -58,6 +58,8 @@ export interface Snapshot {
|
|
|
58
58
|
snapshotArn?: string;
|
|
59
59
|
accountsWithRestoreAccess?: string[];
|
|
60
60
|
accountsWithProvisionedRestoreAccess?: string[];
|
|
61
|
+
adminPasswordSecretArn?: string;
|
|
62
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
61
63
|
}
|
|
62
64
|
export interface ConvertRecoveryPointToSnapshotResponse {
|
|
63
65
|
snapshot?: Snapshot;
|
|
@@ -150,8 +152,10 @@ export interface CreateNamespaceRequest {
|
|
|
150
152
|
kmsKeyId?: string;
|
|
151
153
|
defaultIamRoleArn?: string;
|
|
152
154
|
iamRoles?: string[];
|
|
153
|
-
logExports?:
|
|
155
|
+
logExports?: LogExport[];
|
|
154
156
|
tags?: Tag[];
|
|
157
|
+
manageAdminPassword?: boolean;
|
|
158
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
155
159
|
}
|
|
156
160
|
export declare const NamespaceStatus: {
|
|
157
161
|
readonly AVAILABLE: "AVAILABLE";
|
|
@@ -169,9 +173,11 @@ export interface Namespace {
|
|
|
169
173
|
kmsKeyId?: string;
|
|
170
174
|
defaultIamRoleArn?: string;
|
|
171
175
|
iamRoles?: string[];
|
|
172
|
-
logExports?:
|
|
173
|
-
status?: NamespaceStatus
|
|
176
|
+
logExports?: LogExport[];
|
|
177
|
+
status?: NamespaceStatus;
|
|
174
178
|
creationDate?: Date;
|
|
179
|
+
adminPasswordSecretArn?: string;
|
|
180
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
175
181
|
}
|
|
176
182
|
export interface CreateNamespaceResponse {
|
|
177
183
|
namespace?: Namespace;
|
|
@@ -207,19 +213,19 @@ export type UsageLimitUsageType =
|
|
|
207
213
|
(typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
|
|
208
214
|
export interface CreateUsageLimitRequest {
|
|
209
215
|
resourceArn: string | undefined;
|
|
210
|
-
usageType: UsageLimitUsageType |
|
|
216
|
+
usageType: UsageLimitUsageType | undefined;
|
|
211
217
|
amount: number | undefined;
|
|
212
|
-
period?: UsageLimitPeriod
|
|
213
|
-
breachAction?: UsageLimitBreachAction
|
|
218
|
+
period?: UsageLimitPeriod;
|
|
219
|
+
breachAction?: UsageLimitBreachAction;
|
|
214
220
|
}
|
|
215
221
|
export interface UsageLimit {
|
|
216
222
|
usageLimitId?: string;
|
|
217
223
|
usageLimitArn?: string;
|
|
218
224
|
resourceArn?: string;
|
|
219
|
-
usageType?: UsageLimitUsageType
|
|
225
|
+
usageType?: UsageLimitUsageType;
|
|
220
226
|
amount?: number;
|
|
221
|
-
period?: UsageLimitPeriod
|
|
222
|
-
breachAction?: UsageLimitBreachAction
|
|
227
|
+
period?: UsageLimitPeriod;
|
|
228
|
+
breachAction?: UsageLimitBreachAction;
|
|
223
229
|
}
|
|
224
230
|
export interface CreateUsageLimitResponse {
|
|
225
231
|
usageLimit?: UsageLimit;
|
|
@@ -259,7 +265,7 @@ export interface Workgroup {
|
|
|
259
265
|
configParameters?: ConfigParameter[];
|
|
260
266
|
securityGroupIds?: string[];
|
|
261
267
|
subnetIds?: string[];
|
|
262
|
-
status?: WorkgroupStatus
|
|
268
|
+
status?: WorkgroupStatus;
|
|
263
269
|
endpoint?: Endpoint;
|
|
264
270
|
publiclyAccessible?: boolean;
|
|
265
271
|
creationDate?: Date;
|
|
@@ -486,7 +492,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
486
492
|
}
|
|
487
493
|
export interface ListUsageLimitsRequest {
|
|
488
494
|
resourceArn?: string;
|
|
489
|
-
usageType?: UsageLimitUsageType
|
|
495
|
+
usageType?: UsageLimitUsageType;
|
|
490
496
|
nextToken?: string;
|
|
491
497
|
maxResults?: number;
|
|
492
498
|
}
|
|
@@ -509,7 +515,9 @@ export interface UpdateNamespaceRequest {
|
|
|
509
515
|
kmsKeyId?: string;
|
|
510
516
|
defaultIamRoleArn?: string;
|
|
511
517
|
iamRoles?: string[];
|
|
512
|
-
logExports?:
|
|
518
|
+
logExports?: LogExport[];
|
|
519
|
+
manageAdminPassword?: boolean;
|
|
520
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
513
521
|
}
|
|
514
522
|
export interface UpdateNamespaceResponse {
|
|
515
523
|
namespace: Namespace | undefined;
|
|
@@ -536,6 +544,8 @@ export interface RestoreFromSnapshotRequest {
|
|
|
536
544
|
snapshotName?: string;
|
|
537
545
|
snapshotArn?: string;
|
|
538
546
|
ownerAccount?: string;
|
|
547
|
+
manageAdminPassword?: boolean;
|
|
548
|
+
adminPasswordSecretKmsKeyId?: string;
|
|
539
549
|
}
|
|
540
550
|
export interface RestoreFromSnapshotResponse {
|
|
541
551
|
snapshotName?: string;
|
|
@@ -577,7 +587,7 @@ export interface UntagResourceResponse {}
|
|
|
577
587
|
export interface UpdateUsageLimitRequest {
|
|
578
588
|
usageLimitId: string | undefined;
|
|
579
589
|
amount?: number;
|
|
580
|
-
breachAction?: UsageLimitBreachAction
|
|
590
|
+
breachAction?: UsageLimitBreachAction;
|
|
581
591
|
}
|
|
582
592
|
export interface UpdateUsageLimitResponse {
|
|
583
593
|
usageLimit?: UsageLimit;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.430.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|