@aws-sdk/client-redshift 3.968.0 → 3.970.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 +124 -122
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +123 -122
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +2 -2
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +2 -2
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -0
- package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +1 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +2 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +1 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +1 -0
- package/dist-types/commands/ModifyUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/PauseClusterCommand.d.ts +1 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +1 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +1 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +1 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +34 -34
|
@@ -116,6 +116,7 @@ declare const CreateClusterCommand_base: {
|
|
|
116
116
|
* MultiAZ: true || false,
|
|
117
117
|
* RedshiftIdcApplicationArn: "STRING_VALUE",
|
|
118
118
|
* CatalogName: "STRING_VALUE",
|
|
119
|
+
* ExtraComputeForAutomaticOptimization: true || false,
|
|
119
120
|
* };
|
|
120
121
|
* const command = new CreateClusterCommand(input);
|
|
121
122
|
* const response = await client.send(command);
|
|
@@ -310,6 +311,7 @@ declare const CreateClusterCommand_base: {
|
|
|
310
311
|
* // },
|
|
311
312
|
* // LakehouseRegistrationStatus: "STRING_VALUE",
|
|
312
313
|
* // CatalogArn: "STRING_VALUE",
|
|
314
|
+
* // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
|
|
313
315
|
* // },
|
|
314
316
|
* // };
|
|
315
317
|
*
|
|
@@ -39,7 +39,7 @@ declare const CreateUsageLimitCommand_base: {
|
|
|
39
39
|
* const client = new RedshiftClient(config);
|
|
40
40
|
* const input = { // CreateUsageLimitMessage
|
|
41
41
|
* ClusterIdentifier: "STRING_VALUE", // required
|
|
42
|
-
* FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing", // required
|
|
42
|
+
* FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization", // required
|
|
43
43
|
* LimitType: "time" || "data-scanned", // required
|
|
44
44
|
* Amount: Number("long"), // required
|
|
45
45
|
* Period: "daily" || "weekly" || "monthly",
|
|
@@ -56,7 +56,7 @@ declare const CreateUsageLimitCommand_base: {
|
|
|
56
56
|
* // { // UsageLimit
|
|
57
57
|
* // UsageLimitId: "STRING_VALUE",
|
|
58
58
|
* // ClusterIdentifier: "STRING_VALUE",
|
|
59
|
-
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing",
|
|
59
|
+
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization",
|
|
60
60
|
* // LimitType: "time" || "data-scanned",
|
|
61
61
|
* // Amount: Number("long"),
|
|
62
62
|
* // Period: "daily" || "weekly" || "monthly",
|
|
@@ -58,7 +58,7 @@ declare const DescribeUsageLimitsCommand_base: {
|
|
|
58
58
|
* const input = { // DescribeUsageLimitsMessage
|
|
59
59
|
* UsageLimitId: "STRING_VALUE",
|
|
60
60
|
* ClusterIdentifier: "STRING_VALUE",
|
|
61
|
-
* FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing",
|
|
61
|
+
* FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization",
|
|
62
62
|
* MaxRecords: Number("int"),
|
|
63
63
|
* Marker: "STRING_VALUE",
|
|
64
64
|
* TagKeys: [ // TagKeyList
|
|
@@ -75,7 +75,7 @@ declare const DescribeUsageLimitsCommand_base: {
|
|
|
75
75
|
* // { // UsageLimit
|
|
76
76
|
* // UsageLimitId: "STRING_VALUE",
|
|
77
77
|
* // ClusterIdentifier: "STRING_VALUE",
|
|
78
|
-
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing",
|
|
78
|
+
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization",
|
|
79
79
|
* // LimitType: "time" || "data-scanned",
|
|
80
80
|
* // Amount: Number("long"),
|
|
81
81
|
* // Period: "daily" || "weekly" || "monthly",
|
|
@@ -100,6 +100,7 @@ declare const ModifyClusterCommand_base: {
|
|
|
100
100
|
* MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
101
101
|
* IpAddressType: "STRING_VALUE",
|
|
102
102
|
* MultiAZ: true || false,
|
|
103
|
+
* ExtraComputeForAutomaticOptimization: true || false,
|
|
103
104
|
* };
|
|
104
105
|
* const command = new ModifyClusterCommand(input);
|
|
105
106
|
* const response = await client.send(command);
|
|
@@ -294,6 +295,7 @@ declare const ModifyClusterCommand_base: {
|
|
|
294
295
|
* // },
|
|
295
296
|
* // LakehouseRegistrationStatus: "STRING_VALUE",
|
|
296
297
|
* // CatalogArn: "STRING_VALUE",
|
|
298
|
+
* // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
|
|
297
299
|
* // },
|
|
298
300
|
* // };
|
|
299
301
|
*
|
|
@@ -240,6 +240,7 @@ declare const ModifySnapshotCopyRetentionPeriodCommand_base: {
|
|
|
240
240
|
* // },
|
|
241
241
|
* // LakehouseRegistrationStatus: "STRING_VALUE",
|
|
242
242
|
* // CatalogArn: "STRING_VALUE",
|
|
243
|
+
* // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
|
|
243
244
|
* // },
|
|
244
245
|
* // };
|
|
245
246
|
*
|
|
@@ -48,7 +48,7 @@ declare const ModifyUsageLimitCommand_base: {
|
|
|
48
48
|
* // { // UsageLimit
|
|
49
49
|
* // UsageLimitId: "STRING_VALUE",
|
|
50
50
|
* // ClusterIdentifier: "STRING_VALUE",
|
|
51
|
-
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing",
|
|
51
|
+
* // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization",
|
|
52
52
|
* // LimitType: "time" || "data-scanned",
|
|
53
53
|
* // Amount: Number("long"),
|
|
54
54
|
* // Period: "daily" || "weekly" || "monthly",
|
|
@@ -202,6 +202,7 @@ export type UsageLimitBreachAction = (typeof UsageLimitBreachAction)[keyof typeo
|
|
|
202
202
|
export declare const UsageLimitFeatureType: {
|
|
203
203
|
readonly CONCURRENCY_SCALING: "concurrency-scaling";
|
|
204
204
|
readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
|
|
205
|
+
readonly EXTRA_COMPUTE_FOR_AUTOMATIC_OPTIMIZATION: "extra-compute-for-automatic-optimization";
|
|
205
206
|
readonly SPECTRUM: "spectrum";
|
|
206
207
|
};
|
|
207
208
|
/**
|
|
@@ -2290,6 +2290,12 @@ export interface Cluster {
|
|
|
2290
2290
|
* @public
|
|
2291
2291
|
*/
|
|
2292
2292
|
CatalogArn?: string | undefined;
|
|
2293
|
+
/**
|
|
2294
|
+
* <p>A boolean value that, if <code>true</code>, indicates that the cluster allocates additional compute resources to run automatic optimization operations.</p>
|
|
2295
|
+
* <p>Default: false</p>
|
|
2296
|
+
* @public
|
|
2297
|
+
*/
|
|
2298
|
+
ExtraComputeForAutomaticOptimization?: string | undefined;
|
|
2293
2299
|
}
|
|
2294
2300
|
/**
|
|
2295
2301
|
* <p>Temporary credentials with authorization to log on to an Amazon Redshift database.
|
|
@@ -3277,6 +3283,12 @@ export interface CreateClusterMessage {
|
|
|
3277
3283
|
* @public
|
|
3278
3284
|
*/
|
|
3279
3285
|
CatalogName?: string | undefined;
|
|
3286
|
+
/**
|
|
3287
|
+
* <p>If <code>true</code>, allocates additional compute resources for running automatic optimization operations.</p>
|
|
3288
|
+
* <p>Default: false</p>
|
|
3289
|
+
* @public
|
|
3290
|
+
*/
|
|
3291
|
+
ExtraComputeForAutomaticOptimization?: boolean | undefined;
|
|
3280
3292
|
}
|
|
3281
3293
|
/**
|
|
3282
3294
|
* @public
|
|
@@ -4813,6 +4825,7 @@ export interface CreateUsageLimitMessage {
|
|
|
4813
4825
|
* If <code>FeatureType</code> is <code>spectrum</code>, then <code>LimitType</code> must be <code>data-scanned</code>.
|
|
4814
4826
|
* If <code>FeatureType</code> is <code>concurrency-scaling</code>, then <code>LimitType</code> must be <code>time</code>.
|
|
4815
4827
|
* If <code>FeatureType</code> is <code>cross-region-datasharing</code>, then <code>LimitType</code> must be <code>data-scanned</code>.
|
|
4828
|
+
* If <code>FeatureType</code> is <code>extra-compute-for-automatic-optimization</code>, then <code>LimitType</code> must be <code>time</code>.
|
|
4816
4829
|
* </p>
|
|
4817
4830
|
* @public
|
|
4818
4831
|
*/
|
|
@@ -9317,6 +9330,12 @@ export interface ModifyClusterMessage {
|
|
|
9317
9330
|
* @public
|
|
9318
9331
|
*/
|
|
9319
9332
|
MultiAZ?: boolean | undefined;
|
|
9333
|
+
/**
|
|
9334
|
+
* <p>If <code>true</code>, allocates additional compute resources for running automatic optimization operations.</p>
|
|
9335
|
+
* <p>Default: false</p>
|
|
9336
|
+
* @public
|
|
9337
|
+
*/
|
|
9338
|
+
ExtraComputeForAutomaticOptimization?: boolean | undefined;
|
|
9320
9339
|
}
|
|
9321
9340
|
/**
|
|
9322
9341
|
* @public
|
|
@@ -104,6 +104,7 @@ export type UsageLimitBreachAction =
|
|
|
104
104
|
export declare const UsageLimitFeatureType: {
|
|
105
105
|
readonly CONCURRENCY_SCALING: "concurrency-scaling";
|
|
106
106
|
readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
|
|
107
|
+
readonly EXTRA_COMPUTE_FOR_AUTOMATIC_OPTIMIZATION: "extra-compute-for-automatic-optimization";
|
|
107
108
|
readonly SPECTRUM: "spectrum";
|
|
108
109
|
};
|
|
109
110
|
export type UsageLimitFeatureType =
|
|
@@ -464,6 +464,7 @@ export interface Cluster {
|
|
|
464
464
|
MultiAZSecondary?: SecondaryClusterInfo | undefined;
|
|
465
465
|
LakehouseRegistrationStatus?: string | undefined;
|
|
466
466
|
CatalogArn?: string | undefined;
|
|
467
|
+
ExtraComputeForAutomaticOptimization?: string | undefined;
|
|
467
468
|
}
|
|
468
469
|
export interface ClusterCredentials {
|
|
469
470
|
DbUser?: string | undefined;
|
|
@@ -616,6 +617,7 @@ export interface CreateClusterMessage {
|
|
|
616
617
|
MultiAZ?: boolean | undefined;
|
|
617
618
|
RedshiftIdcApplicationArn?: string | undefined;
|
|
618
619
|
CatalogName?: string | undefined;
|
|
620
|
+
ExtraComputeForAutomaticOptimization?: boolean | undefined;
|
|
619
621
|
}
|
|
620
622
|
export interface CreateClusterResult {
|
|
621
623
|
Cluster?: Cluster | undefined;
|
|
@@ -1780,6 +1782,7 @@ export interface ModifyClusterMessage {
|
|
|
1780
1782
|
MasterPasswordSecretKmsKeyId?: string | undefined;
|
|
1781
1783
|
IpAddressType?: string | undefined;
|
|
1782
1784
|
MultiAZ?: boolean | undefined;
|
|
1785
|
+
ExtraComputeForAutomaticOptimization?: boolean | undefined;
|
|
1783
1786
|
}
|
|
1784
1787
|
export interface ModifyClusterResult {
|
|
1785
1788
|
Cluster?: Cluster | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.970.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift",
|
|
@@ -23,43 +23,43 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.20.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.10.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
26
|
+
"@aws-sdk/core": "3.970.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.970.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.969.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.969.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.969.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.970.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.969.0",
|
|
33
|
+
"@aws-sdk/types": "3.969.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.970.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.969.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.970.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
+
"@smithy/core": "^3.20.6",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
|
+
"@smithy/hash-node": "^4.2.8",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.7",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.23",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.9",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.8",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.8",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.8",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
+
"@smithy/smithy-client": "^4.10.8",
|
|
51
|
+
"@smithy/types": "^4.12.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.2.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.22",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.25",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.8",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.8",
|
|
60
|
+
"@smithy/util-retry": "^4.2.8",
|
|
61
61
|
"@smithy/util-utf8": "^4.2.0",
|
|
62
|
-
"@smithy/util-waiter": "^4.2.
|
|
62
|
+
"@smithy/util-waiter": "^4.2.8",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|