@aws-sdk/client-schemas 3.405.0 → 3.409.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 p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, 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: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://schemas.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
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://schemas-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://schemas-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://schemas.{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://schemas.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, 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: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://schemas.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
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://schemas-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://schemas-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://schemas.{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://schemas.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -45,7 +45,7 @@ export interface CreateDiscovererCommandOutput extends CreateDiscovererResponse,
45
45
  * // DiscovererArn: "STRING_VALUE",
46
46
  * // DiscovererId: "STRING_VALUE",
47
47
  * // SourceArn: "STRING_VALUE",
48
- * // State: "STRING_VALUE",
48
+ * // State: "STARTED" || "STOPPED",
49
49
  * // CrossAccount: true || false,
50
50
  * // Tags: { // Tags
51
51
  * // "<keys>": "STRING_VALUE",
@@ -38,7 +38,7 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
38
38
  * Tags: { // Tags
39
39
  * "<keys>": "STRING_VALUE",
40
40
  * },
41
- * Type: "STRING_VALUE", // required
41
+ * Type: "OpenApi3" || "JSONSchemaDraft4", // required
42
42
  * };
43
43
  * const command = new CreateSchemaCommand(input);
44
44
  * const response = await client.send(command);
@@ -42,7 +42,7 @@ export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingRes
42
42
  * // CreationDate: new Date("TIMESTAMP"),
43
43
  * // LastModified: new Date("TIMESTAMP"),
44
44
  * // SchemaVersion: "STRING_VALUE",
45
- * // Status: "STRING_VALUE",
45
+ * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -40,7 +40,7 @@ export interface DescribeDiscovererCommandOutput extends DescribeDiscovererRespo
40
40
  * // DiscovererArn: "STRING_VALUE",
41
41
  * // DiscovererId: "STRING_VALUE",
42
42
  * // SourceArn: "STRING_VALUE",
43
- * // State: "STRING_VALUE",
43
+ * // State: "STARTED" || "STOPPED",
44
44
  * // CrossAccount: true || false,
45
45
  * // Tags: { // Tags
46
46
  * // "<keys>": "STRING_VALUE",
@@ -34,7 +34,7 @@ export interface GetDiscoveredSchemaCommandOutput extends GetDiscoveredSchemaRes
34
34
  * Events: [ // __listOfGetDiscoveredSchemaVersionItemInput // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * Type: "STRING_VALUE", // required
37
+ * Type: "OpenApi3" || "JSONSchemaDraft4", // required
38
38
  * };
39
39
  * const command = new GetDiscoveredSchemaCommand(input);
40
40
  * const response = await client.send(command);
@@ -44,7 +44,7 @@ export interface ListDiscoverersCommandOutput extends ListDiscoverersResponse, _
44
44
  * // DiscovererArn: "STRING_VALUE",
45
45
  * // DiscovererId: "STRING_VALUE",
46
46
  * // SourceArn: "STRING_VALUE",
47
- * // State: "STRING_VALUE",
47
+ * // State: "STARTED" || "STOPPED",
48
48
  * // CrossAccount: true || false,
49
49
  * // Tags: { // Tags
50
50
  * // "<keys>": "STRING_VALUE",
@@ -45,7 +45,7 @@ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsRespo
45
45
  * // SchemaArn: "STRING_VALUE",
46
46
  * // SchemaName: "STRING_VALUE",
47
47
  * // SchemaVersion: "STRING_VALUE",
48
- * // Type: "STRING_VALUE",
48
+ * // Type: "OpenApi3" || "JSONSchemaDraft4",
49
49
  * // },
50
50
  * // ],
51
51
  * // };
@@ -42,7 +42,7 @@ export interface PutCodeBindingCommandOutput extends PutCodeBindingResponse, __M
42
42
  * // CreationDate: new Date("TIMESTAMP"),
43
43
  * // LastModified: new Date("TIMESTAMP"),
44
44
  * // SchemaVersion: "STRING_VALUE",
45
- * // Status: "STRING_VALUE",
45
+ * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -49,7 +49,7 @@ export interface SearchSchemasCommandOutput extends SearchSchemasResponse, __Met
49
49
  * // { // SearchSchemaVersionSummary
50
50
  * // CreatedDate: new Date("TIMESTAMP"),
51
51
  * // SchemaVersion: "STRING_VALUE",
52
- * // Type: "STRING_VALUE",
52
+ * // Type: "OpenApi3" || "JSONSchemaDraft4",
53
53
  * // },
54
54
  * // ],
55
55
  * // },
@@ -37,7 +37,7 @@ export interface StartDiscovererCommandOutput extends StartDiscovererResponse, _
37
37
  * const response = await client.send(command);
38
38
  * // { // StartDiscovererResponse
39
39
  * // DiscovererId: "STRING_VALUE",
40
- * // State: "STRING_VALUE",
40
+ * // State: "STARTED" || "STOPPED",
41
41
  * // };
42
42
  *
43
43
  * ```
@@ -37,7 +37,7 @@ export interface StopDiscovererCommandOutput extends StopDiscovererResponse, __M
37
37
  * const response = await client.send(command);
38
38
  * // { // StopDiscovererResponse
39
39
  * // DiscovererId: "STRING_VALUE",
40
- * // State: "STRING_VALUE",
40
+ * // State: "STARTED" || "STOPPED",
41
41
  * // };
42
42
  *
43
43
  * ```
@@ -42,7 +42,7 @@ export interface UpdateDiscovererCommandOutput extends UpdateDiscovererResponse,
42
42
  * // DiscovererArn: "STRING_VALUE",
43
43
  * // DiscovererId: "STRING_VALUE",
44
44
  * // SourceArn: "STRING_VALUE",
45
- * // State: "STRING_VALUE",
45
+ * // State: "STARTED" || "STOPPED",
46
46
  * // CrossAccount: true || false,
47
47
  * // Tags: { // Tags
48
48
  * // "<keys>": "STRING_VALUE",
@@ -36,7 +36,7 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad
36
36
  * Description: "STRING_VALUE",
37
37
  * RegistryName: "STRING_VALUE", // required
38
38
  * SchemaName: "STRING_VALUE", // required
39
- * Type: "STRING_VALUE",
39
+ * Type: "OpenApi3" || "JSONSchemaDraft4",
40
40
  * };
41
41
  * const command = new UpdateSchemaCommand(input);
42
42
  * const response = await client.send(command);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-schemas",
3
3
  "description": "AWS SDK for JavaScript Schemas Client for Node.js, Browser and React Native",
4
- "version": "3.405.0",
4
+ "version": "3.409.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,17 +21,17 @@
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.405.0",
25
- "@aws-sdk/credential-provider-node": "3.405.0",
26
- "@aws-sdk/middleware-host-header": "3.398.0",
27
- "@aws-sdk/middleware-logger": "3.398.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
- "@aws-sdk/middleware-signing": "3.398.0",
30
- "@aws-sdk/middleware-user-agent": "3.398.0",
31
- "@aws-sdk/types": "3.398.0",
32
- "@aws-sdk/util-endpoints": "3.398.0",
33
- "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.405.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
+ "@aws-sdk/middleware-host-header": "3.408.0",
27
+ "@aws-sdk/middleware-logger": "3.408.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
+ "@aws-sdk/middleware-signing": "3.408.0",
30
+ "@aws-sdk/middleware-user-agent": "3.408.0",
31
+ "@aws-sdk/types": "3.408.0",
32
+ "@aws-sdk/util-endpoints": "3.408.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.408.0",
34
+ "@aws-sdk/util-user-agent-node": "3.408.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",