@aws-sdk/client-redshift 3.968.0 → 3.969.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.
Files changed (28) hide show
  1. package/dist-cjs/index.js +124 -122
  2. package/dist-es/models/enums.js +1 -0
  3. package/dist-es/schemas/schemas_0.js +123 -122
  4. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  5. package/dist-types/commands/CreateUsageLimitCommand.d.ts +2 -2
  6. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -0
  7. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -0
  8. package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +2 -2
  9. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -0
  10. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -0
  11. package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +1 -0
  12. package/dist-types/commands/ModifyClusterCommand.d.ts +2 -0
  13. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -0
  14. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +1 -0
  15. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -0
  16. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +1 -0
  17. package/dist-types/commands/ModifyUsageLimitCommand.d.ts +1 -1
  18. package/dist-types/commands/PauseClusterCommand.d.ts +1 -0
  19. package/dist-types/commands/RebootClusterCommand.d.ts +1 -0
  20. package/dist-types/commands/ResizeClusterCommand.d.ts +1 -0
  21. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +1 -0
  22. package/dist-types/commands/ResumeClusterCommand.d.ts +1 -0
  23. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +1 -0
  25. package/dist-types/models/models_0.d.ts +19 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  28. 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",
@@ -250,6 +250,7 @@ declare const DeleteClusterCommand_base: {
250
250
  * // },
251
251
  * // LakehouseRegistrationStatus: "STRING_VALUE",
252
252
  * // CatalogArn: "STRING_VALUE",
253
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
253
254
  * // },
254
255
  * // };
255
256
  *
@@ -254,6 +254,7 @@ declare const DescribeClustersCommand_base: {
254
254
  * // },
255
255
  * // LakehouseRegistrationStatus: "STRING_VALUE",
256
256
  * // CatalogArn: "STRING_VALUE",
257
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
257
258
  * // },
258
259
  * // ],
259
260
  * // };
@@ -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",
@@ -236,6 +236,7 @@ declare const DisableSnapshotCopyCommand_base: {
236
236
  * // },
237
237
  * // LakehouseRegistrationStatus: "STRING_VALUE",
238
238
  * // CatalogArn: "STRING_VALUE",
239
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
239
240
  * // },
240
241
  * // };
241
242
  *
@@ -237,6 +237,7 @@ declare const EnableSnapshotCopyCommand_base: {
237
237
  * // },
238
238
  * // LakehouseRegistrationStatus: "STRING_VALUE",
239
239
  * // CatalogArn: "STRING_VALUE",
240
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
240
241
  * // },
241
242
  * // };
242
243
  *
@@ -232,6 +232,7 @@ declare const FailoverPrimaryComputeCommand_base: {
232
232
  * // },
233
233
  * // LakehouseRegistrationStatus: "STRING_VALUE",
234
234
  * // CatalogArn: "STRING_VALUE",
235
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
235
236
  * // },
236
237
  * // };
237
238
  *
@@ -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
  *
@@ -234,6 +234,7 @@ declare const ModifyClusterDbRevisionCommand_base: {
234
234
  * // },
235
235
  * // LakehouseRegistrationStatus: "STRING_VALUE",
236
236
  * // CatalogArn: "STRING_VALUE",
237
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
237
238
  * // },
238
239
  * // };
239
240
  *
@@ -243,6 +243,7 @@ declare const ModifyClusterIamRolesCommand_base: {
243
243
  * // },
244
244
  * // LakehouseRegistrationStatus: "STRING_VALUE",
245
245
  * // CatalogArn: "STRING_VALUE",
246
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
246
247
  * // },
247
248
  * // };
248
249
  *
@@ -237,6 +237,7 @@ declare const ModifyClusterMaintenanceCommand_base: {
237
237
  * // },
238
238
  * // LakehouseRegistrationStatus: "STRING_VALUE",
239
239
  * // CatalogArn: "STRING_VALUE",
240
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
240
241
  * // },
241
242
  * // };
242
243
  *
@@ -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",
@@ -233,6 +233,7 @@ declare const PauseClusterCommand_base: {
233
233
  * // },
234
234
  * // LakehouseRegistrationStatus: "STRING_VALUE",
235
235
  * // CatalogArn: "STRING_VALUE",
236
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
236
237
  * // },
237
238
  * // };
238
239
  *
@@ -239,6 +239,7 @@ declare const RebootClusterCommand_base: {
239
239
  * // },
240
240
  * // LakehouseRegistrationStatus: "STRING_VALUE",
241
241
  * // CatalogArn: "STRING_VALUE",
242
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
242
243
  * // },
243
244
  * // };
244
245
  *
@@ -272,6 +272,7 @@ declare const ResizeClusterCommand_base: {
272
272
  * // },
273
273
  * // LakehouseRegistrationStatus: "STRING_VALUE",
274
274
  * // CatalogArn: "STRING_VALUE",
275
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
275
276
  * // },
276
277
  * // };
277
278
  *
@@ -309,6 +309,7 @@ declare const RestoreFromClusterSnapshotCommand_base: {
309
309
  * // },
310
310
  * // LakehouseRegistrationStatus: "STRING_VALUE",
311
311
  * // CatalogArn: "STRING_VALUE",
312
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
312
313
  * // },
313
314
  * // };
314
315
  *
@@ -233,6 +233,7 @@ declare const ResumeClusterCommand_base: {
233
233
  * // },
234
234
  * // LakehouseRegistrationStatus: "STRING_VALUE",
235
235
  * // CatalogArn: "STRING_VALUE",
236
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
236
237
  * // },
237
238
  * // };
238
239
  *
@@ -232,6 +232,7 @@ declare const RotateEncryptionKeyCommand_base: {
232
232
  * // },
233
233
  * // LakehouseRegistrationStatus: "STRING_VALUE",
234
234
  * // CatalogArn: "STRING_VALUE",
235
+ * // ExtraComputeForAutomaticOptimization: "STRING_VALUE",
235
236
  * // },
236
237
  * // };
237
238
  *
@@ -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.968.0",
4
+ "version": "3.969.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.968.0",
27
- "@aws-sdk/credential-provider-node": "3.968.0",
28
- "@aws-sdk/middleware-host-header": "3.968.0",
29
- "@aws-sdk/middleware-logger": "3.968.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.968.0",
31
- "@aws-sdk/middleware-user-agent": "3.968.0",
32
- "@aws-sdk/region-config-resolver": "3.968.0",
33
- "@aws-sdk/types": "3.968.0",
34
- "@aws-sdk/util-endpoints": "3.968.0",
35
- "@aws-sdk/util-user-agent-browser": "3.968.0",
36
- "@aws-sdk/util-user-agent-node": "3.968.0",
37
- "@smithy/config-resolver": "^4.4.5",
38
- "@smithy/core": "^3.20.3",
39
- "@smithy/fetch-http-handler": "^5.3.8",
40
- "@smithy/hash-node": "^4.2.7",
41
- "@smithy/invalid-dependency": "^4.2.7",
42
- "@smithy/middleware-content-length": "^4.2.7",
43
- "@smithy/middleware-endpoint": "^4.4.4",
44
- "@smithy/middleware-retry": "^4.4.20",
45
- "@smithy/middleware-serde": "^4.2.8",
46
- "@smithy/middleware-stack": "^4.2.7",
47
- "@smithy/node-config-provider": "^4.3.7",
48
- "@smithy/node-http-handler": "^4.4.7",
49
- "@smithy/protocol-http": "^5.3.7",
50
- "@smithy/smithy-client": "^4.10.5",
51
- "@smithy/types": "^4.11.0",
52
- "@smithy/url-parser": "^4.2.7",
26
+ "@aws-sdk/core": "3.969.0",
27
+ "@aws-sdk/credential-provider-node": "3.969.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.969.0",
32
+ "@aws-sdk/region-config-resolver": "3.969.0",
33
+ "@aws-sdk/types": "3.969.0",
34
+ "@aws-sdk/util-endpoints": "3.969.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.969.0",
36
+ "@aws-sdk/util-user-agent-node": "3.969.0",
37
+ "@smithy/config-resolver": "^4.4.6",
38
+ "@smithy/core": "^3.20.5",
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.6",
44
+ "@smithy/middleware-retry": "^4.4.22",
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.7",
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.19",
57
- "@smithy/util-defaults-mode-node": "^4.2.22",
58
- "@smithy/util-endpoints": "^3.2.7",
59
- "@smithy/util-middleware": "^4.2.7",
60
- "@smithy/util-retry": "^4.2.7",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.21",
57
+ "@smithy/util-defaults-mode-node": "^4.2.24",
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.7",
62
+ "@smithy/util-waiter": "^4.2.8",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {