@aws-sdk/client-redshift-serverless 3.433.0 → 3.434.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -2365,6 +2365,7 @@ const de_Workgroup = (output, context) => {
2365
2365
  endpoint: smithy_client_1._json,
2366
2366
  enhancedVpcRouting: smithy_client_1.expectBoolean,
2367
2367
  namespaceName: smithy_client_1.expectString,
2368
+ patchVersion: smithy_client_1.expectString,
2368
2369
  port: smithy_client_1.expectInt32,
2369
2370
  publiclyAccessible: smithy_client_1.expectBoolean,
2370
2371
  securityGroupIds: smithy_client_1._json,
@@ -2373,6 +2374,7 @@ const de_Workgroup = (output, context) => {
2373
2374
  workgroupArn: smithy_client_1.expectString,
2374
2375
  workgroupId: smithy_client_1.expectString,
2375
2376
  workgroupName: smithy_client_1.expectString,
2377
+ workgroupVersion: smithy_client_1.expectString,
2376
2378
  });
2377
2379
  };
2378
2380
  const de_WorkgroupList = (output, context) => {
@@ -1,4 +1,4 @@
1
- const q = "required", r = "fn", s = "argv", t = "ref";
2
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -2281,6 +2281,7 @@ const de_Workgroup = (output, context) => {
2281
2281
  endpoint: _json,
2282
2282
  enhancedVpcRouting: __expectBoolean,
2283
2283
  namespaceName: __expectString,
2284
+ patchVersion: __expectString,
2284
2285
  port: __expectInt32,
2285
2286
  publiclyAccessible: __expectBoolean,
2286
2287
  securityGroupIds: _json,
@@ -2289,6 +2290,7 @@ const de_Workgroup = (output, context) => {
2289
2290
  workgroupArn: __expectString,
2290
2291
  workgroupId: __expectString,
2291
2292
  workgroupName: __expectString,
2293
+ workgroupVersion: __expectString,
2292
2294
  });
2293
2295
  };
2294
2296
  const de_WorkgroupList = (output, context) => {
@@ -100,6 +100,8 @@ export interface CreateWorkgroupCommandOutput extends CreateWorkgroupResponse, _
100
100
  * // publiclyAccessible: true || false,
101
101
  * // creationDate: new Date("TIMESTAMP"),
102
102
  * // port: Number("int"),
103
+ * // workgroupVersion: "STRING_VALUE",
104
+ * // patchVersion: "STRING_VALUE",
103
105
  * // },
104
106
  * // };
105
107
  *
@@ -77,6 +77,8 @@ export interface DeleteWorkgroupCommandOutput extends DeleteWorkgroupResponse, _
77
77
  * // publiclyAccessible: true || false,
78
78
  * // creationDate: new Date("TIMESTAMP"),
79
79
  * // port: Number("int"),
80
+ * // workgroupVersion: "STRING_VALUE",
81
+ * // patchVersion: "STRING_VALUE",
80
82
  * // },
81
83
  * // };
82
84
  *
@@ -77,6 +77,8 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
77
77
  * // publiclyAccessible: true || false,
78
78
  * // creationDate: new Date("TIMESTAMP"),
79
79
  * // port: Number("int"),
80
+ * // workgroupVersion: "STRING_VALUE",
81
+ * // patchVersion: "STRING_VALUE",
80
82
  * // },
81
83
  * // };
82
84
  *
@@ -80,6 +80,8 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
80
80
  * // publiclyAccessible: true || false,
81
81
  * // creationDate: new Date("TIMESTAMP"),
82
82
  * // port: Number("int"),
83
+ * // workgroupVersion: "STRING_VALUE",
84
+ * // patchVersion: "STRING_VALUE",
83
85
  * // },
84
86
  * // ],
85
87
  * // };
@@ -94,6 +94,8 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
94
94
  * // publiclyAccessible: true || false,
95
95
  * // creationDate: new Date("TIMESTAMP"),
96
96
  * // port: Number("int"),
97
+ * // workgroupVersion: "STRING_VALUE",
98
+ * // patchVersion: "STRING_VALUE",
97
99
  * // },
98
100
  * // };
99
101
  *
@@ -969,6 +969,17 @@ export interface Workgroup {
969
969
  * <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>
970
970
  */
971
971
  port?: number;
972
+ /**
973
+ * @public
974
+ * <p>The Amazon Redshift Serverless version of your workgroup. For more information about Amazon Redshift Serverless versions, see<a href="https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html">Cluster versions for Amazon Redshift</a>.</p>
975
+ */
976
+ workgroupVersion?: string;
977
+ /**
978
+ * @public
979
+ * <p>The patch version of your Amazon Redshift Serverless workgroup. For more information about patch versions, see
980
+ * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html">Cluster versions for Amazon Redshift</a>.</p>
981
+ */
982
+ patchVersion?: string;
972
983
  }
973
984
  /**
974
985
  * @public
@@ -1903,7 +1914,7 @@ export interface UpdateNamespaceRequest {
1903
1914
  * @public
1904
1915
  * <p>The password of the administrator for the first database created in the namespace. This parameter must be updated together
1905
1916
  * with <code>adminUsername</code>.</p>
1906
- * <p>You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true. </p>
1917
+ * <p>You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true.</p>
1907
1918
  */
1908
1919
  adminUserPassword?: string;
1909
1920
  /**
@@ -270,6 +270,8 @@ export interface Workgroup {
270
270
  publiclyAccessible?: boolean;
271
271
  creationDate?: Date;
272
272
  port?: number;
273
+ workgroupVersion?: string;
274
+ patchVersion?: string;
273
275
  }
274
276
  export interface CreateWorkgroupResponse {
275
277
  workgroup?: Workgroup;
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.433.0",
4
+ "version": "3.434.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",