@aws-sdk/client-redshift-serverless 3.445.0 → 3.446.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.
@@ -2685,6 +2685,7 @@ const de_Workgroup = (output, context) => {
2685
2685
  customDomainName: smithy_client_1.expectString,
2686
2686
  endpoint: smithy_client_1._json,
2687
2687
  enhancedVpcRouting: smithy_client_1.expectBoolean,
2688
+ maxCapacity: smithy_client_1.expectInt32,
2688
2689
  namespaceName: smithy_client_1.expectString,
2689
2690
  patchVersion: smithy_client_1.expectString,
2690
2691
  port: smithy_client_1.expectInt32,
@@ -2591,6 +2591,7 @@ const de_Workgroup = (output, context) => {
2591
2591
  customDomainName: __expectString,
2592
2592
  endpoint: _json,
2593
2593
  enhancedVpcRouting: __expectBoolean,
2594
+ maxCapacity: __expectInt32,
2594
2595
  namespaceName: __expectString,
2595
2596
  patchVersion: __expectString,
2596
2597
  port: __expectInt32,
@@ -55,6 +55,7 @@ export interface CreateWorkgroupCommandOutput extends CreateWorkgroupResponse, _
55
55
  * },
56
56
  * ],
57
57
  * port: Number("int"),
58
+ * maxCapacity: Number("int"),
58
59
  * };
59
60
  * const command = new CreateWorkgroupCommand(input);
60
61
  * const response = await client.send(command);
@@ -105,6 +106,7 @@ export interface CreateWorkgroupCommandOutput extends CreateWorkgroupResponse, _
105
106
  * // customDomainCertificateExpiryTime: new Date("TIMESTAMP"),
106
107
  * // workgroupVersion: "STRING_VALUE",
107
108
  * // patchVersion: "STRING_VALUE",
109
+ * // maxCapacity: Number("int"),
108
110
  * // },
109
111
  * // };
110
112
  *
@@ -82,6 +82,7 @@ export interface DeleteWorkgroupCommandOutput extends DeleteWorkgroupResponse, _
82
82
  * // customDomainCertificateExpiryTime: new Date("TIMESTAMP"),
83
83
  * // workgroupVersion: "STRING_VALUE",
84
84
  * // patchVersion: "STRING_VALUE",
85
+ * // maxCapacity: Number("int"),
85
86
  * // },
86
87
  * // };
87
88
  *
@@ -82,6 +82,7 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
82
82
  * // customDomainCertificateExpiryTime: new Date("TIMESTAMP"),
83
83
  * // workgroupVersion: "STRING_VALUE",
84
84
  * // patchVersion: "STRING_VALUE",
85
+ * // maxCapacity: Number("int"),
85
86
  * // },
86
87
  * // };
87
88
  *
@@ -85,6 +85,7 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
85
85
  * // customDomainCertificateExpiryTime: new Date("TIMESTAMP"),
86
86
  * // workgroupVersion: "STRING_VALUE",
87
87
  * // patchVersion: "STRING_VALUE",
88
+ * // maxCapacity: Number("int"),
88
89
  * // },
89
90
  * // ],
90
91
  * // };
@@ -49,6 +49,7 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
49
49
  * "STRING_VALUE",
50
50
  * ],
51
51
  * port: Number("int"),
52
+ * maxCapacity: Number("int"),
52
53
  * };
53
54
  * const command = new UpdateWorkgroupCommand(input);
54
55
  * const response = await client.send(command);
@@ -99,6 +100,7 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
99
100
  * // customDomainCertificateExpiryTime: new Date("TIMESTAMP"),
100
101
  * // workgroupVersion: "STRING_VALUE",
101
102
  * // patchVersion: "STRING_VALUE",
103
+ * // maxCapacity: Number("int"),
102
104
  * // },
103
105
  * // };
104
106
  *
@@ -938,6 +938,11 @@ export interface CreateWorkgroupRequest {
938
938
  * <p>The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.</p>
939
939
  */
940
940
  port?: number;
941
+ /**
942
+ * @public
943
+ * <p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>
944
+ */
945
+ maxCapacity?: number;
941
946
  }
942
947
  /**
943
948
  * @public
@@ -1080,6 +1085,11 @@ export interface Workgroup {
1080
1085
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html">Cluster versions for Amazon Redshift</a>.</p>
1081
1086
  */
1082
1087
  patchVersion?: string;
1088
+ /**
1089
+ * @public
1090
+ * <p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>
1091
+ */
1092
+ maxCapacity?: number;
1083
1093
  }
1084
1094
  /**
1085
1095
  * @public
@@ -2556,6 +2566,11 @@ export interface UpdateWorkgroupRequest {
2556
2566
  * <p>The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.</p>
2557
2567
  */
2558
2568
  port?: number;
2569
+ /**
2570
+ * @public
2571
+ * <p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>
2572
+ */
2573
+ maxCapacity?: number;
2559
2574
  }
2560
2575
  /**
2561
2576
  * @public
@@ -267,6 +267,7 @@ export interface CreateWorkgroupRequest {
267
267
  publiclyAccessible?: boolean;
268
268
  tags?: Tag[];
269
269
  port?: number;
270
+ maxCapacity?: number;
270
271
  }
271
272
  export interface Endpoint {
272
273
  address?: string;
@@ -301,6 +302,7 @@ export interface Workgroup {
301
302
  customDomainCertificateExpiryTime?: Date;
302
303
  workgroupVersion?: string;
303
304
  patchVersion?: string;
305
+ maxCapacity?: number;
304
306
  }
305
307
  export interface CreateWorkgroupResponse {
306
308
  workgroup?: Workgroup;
@@ -660,6 +662,7 @@ export interface UpdateWorkgroupRequest {
660
662
  subnetIds?: string[];
661
663
  securityGroupIds?: string[];
662
664
  port?: number;
665
+ maxCapacity?: number;
663
666
  }
664
667
  export interface UpdateWorkgroupResponse {
665
668
  workgroup: Workgroup | undefined;
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.445.0",
4
+ "version": "3.446.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",