@aws-sdk/client-schemas 3.750.0 → 3.772.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 +24 -24
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
BadRequestException: () => BadRequestException,
|
|
25
25
|
CodeGenerationStatus: () => CodeGenerationStatus,
|
|
26
26
|
ConflictException: () => ConflictException,
|
|
@@ -77,7 +77,7 @@ __export(src_exports, {
|
|
|
77
77
|
waitForCodeBindingExists: () => waitForCodeBindingExists,
|
|
78
78
|
waitUntilCodeBindingExists: () => waitUntilCodeBindingExists
|
|
79
79
|
});
|
|
80
|
-
module.exports = __toCommonJS(
|
|
80
|
+
module.exports = __toCommonJS(index_exports);
|
|
81
81
|
|
|
82
82
|
// src/SchemasClient.ts
|
|
83
83
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -204,9 +204,9 @@ var SchemasClient = class extends import_smithy_client.Client {
|
|
|
204
204
|
this.middlewareStack.use(
|
|
205
205
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
206
206
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSchemasHttpAuthSchemeParametersProvider,
|
|
207
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
207
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
208
208
|
"aws.auth#sigv4": config.credentials
|
|
209
|
-
})
|
|
209
|
+
}), "identityProviderConfigProvider")
|
|
210
210
|
})
|
|
211
211
|
);
|
|
212
212
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -753,7 +753,7 @@ var se_GetDiscoveredSchemaCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
753
753
|
let body;
|
|
754
754
|
body = JSON.stringify(
|
|
755
755
|
(0, import_smithy_client.take)(input, {
|
|
756
|
-
Events: (_) => (0, import_smithy_client._json)(_),
|
|
756
|
+
Events: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Events"),
|
|
757
757
|
Type: []
|
|
758
758
|
})
|
|
759
759
|
);
|
|
@@ -862,7 +862,7 @@ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
862
862
|
let body;
|
|
863
863
|
body = JSON.stringify(
|
|
864
864
|
(0, import_smithy_client.take)(input, {
|
|
865
|
-
Policy: (_) => import_smithy_client.LazyJsonString.from(_),
|
|
865
|
+
Policy: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "Policy"),
|
|
866
866
|
RevisionId: []
|
|
867
867
|
})
|
|
868
868
|
);
|
|
@@ -1029,13 +1029,13 @@ var de_CreateSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1029
1029
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1030
1030
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1031
1031
|
Description: import_smithy_client.expectString,
|
|
1032
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1032
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1033
1033
|
SchemaArn: import_smithy_client.expectString,
|
|
1034
1034
|
SchemaName: import_smithy_client.expectString,
|
|
1035
1035
|
SchemaVersion: import_smithy_client.expectString,
|
|
1036
1036
|
Tags: [, import_smithy_client._json, `tags`],
|
|
1037
1037
|
Type: import_smithy_client.expectString,
|
|
1038
|
-
VersionCreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1038
|
+
VersionCreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "VersionCreatedDate")
|
|
1039
1039
|
});
|
|
1040
1040
|
Object.assign(contents, doc);
|
|
1041
1041
|
return contents;
|
|
@@ -1099,8 +1099,8 @@ var de_DescribeCodeBindingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1099
1099
|
});
|
|
1100
1100
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1101
1101
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1102
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1103
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1102
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"),
|
|
1103
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1104
1104
|
SchemaVersion: import_smithy_client.expectString,
|
|
1105
1105
|
Status: import_smithy_client.expectString
|
|
1106
1106
|
});
|
|
@@ -1155,13 +1155,13 @@ var de_DescribeSchemaCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1155
1155
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1156
1156
|
Content: import_smithy_client.expectString,
|
|
1157
1157
|
Description: import_smithy_client.expectString,
|
|
1158
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1158
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1159
1159
|
SchemaArn: import_smithy_client.expectString,
|
|
1160
1160
|
SchemaName: import_smithy_client.expectString,
|
|
1161
1161
|
SchemaVersion: import_smithy_client.expectString,
|
|
1162
1162
|
Tags: [, import_smithy_client._json, `tags`],
|
|
1163
1163
|
Type: import_smithy_client.expectString,
|
|
1164
|
-
VersionCreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1164
|
+
VersionCreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "VersionCreatedDate")
|
|
1165
1165
|
});
|
|
1166
1166
|
Object.assign(contents, doc);
|
|
1167
1167
|
return contents;
|
|
@@ -1233,7 +1233,7 @@ var de_ListDiscoverersCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1233
1233
|
});
|
|
1234
1234
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1235
1235
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1236
|
-
Discoverers: (_) => de___listOfDiscovererSummary(_, context),
|
|
1236
|
+
Discoverers: /* @__PURE__ */ __name((_) => de___listOfDiscovererSummary(_, context), "Discoverers"),
|
|
1237
1237
|
NextToken: import_smithy_client.expectString
|
|
1238
1238
|
});
|
|
1239
1239
|
Object.assign(contents, doc);
|
|
@@ -1249,7 +1249,7 @@ var de_ListRegistriesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1249
1249
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1250
1250
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
1251
|
NextToken: import_smithy_client.expectString,
|
|
1252
|
-
Registries: (_) => de___listOfRegistrySummary(_, context)
|
|
1252
|
+
Registries: /* @__PURE__ */ __name((_) => de___listOfRegistrySummary(_, context), "Registries")
|
|
1253
1253
|
});
|
|
1254
1254
|
Object.assign(contents, doc);
|
|
1255
1255
|
return contents;
|
|
@@ -1264,7 +1264,7 @@ var de_ListSchemasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1264
1264
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1265
1265
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1266
1266
|
NextToken: import_smithy_client.expectString,
|
|
1267
|
-
Schemas: (_) => de___listOfSchemaSummary(_, context)
|
|
1267
|
+
Schemas: /* @__PURE__ */ __name((_) => de___listOfSchemaSummary(_, context), "Schemas")
|
|
1268
1268
|
});
|
|
1269
1269
|
Object.assign(contents, doc);
|
|
1270
1270
|
return contents;
|
|
@@ -1307,8 +1307,8 @@ var de_PutCodeBindingCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1307
1307
|
});
|
|
1308
1308
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1309
1309
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1310
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1311
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1310
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"),
|
|
1311
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1312
1312
|
SchemaVersion: import_smithy_client.expectString,
|
|
1313
1313
|
Status: import_smithy_client.expectString
|
|
1314
1314
|
});
|
|
@@ -1340,7 +1340,7 @@ var de_SearchSchemasCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1340
1340
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1341
1341
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1342
1342
|
NextToken: import_smithy_client.expectString,
|
|
1343
|
-
Schemas: (_) => de___listOfSearchSchemaSummary(_, context)
|
|
1343
|
+
Schemas: /* @__PURE__ */ __name((_) => de___listOfSearchSchemaSummary(_, context), "Schemas")
|
|
1344
1344
|
});
|
|
1345
1345
|
Object.assign(contents, doc);
|
|
1346
1346
|
return contents;
|
|
@@ -1442,13 +1442,13 @@ var de_UpdateSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1442
1442
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1443
1443
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1444
1444
|
Description: import_smithy_client.expectString,
|
|
1445
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1445
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1446
1446
|
SchemaArn: import_smithy_client.expectString,
|
|
1447
1447
|
SchemaName: import_smithy_client.expectString,
|
|
1448
1448
|
SchemaVersion: import_smithy_client.expectString,
|
|
1449
1449
|
Tags: [, import_smithy_client._json, `tags`],
|
|
1450
1450
|
Type: import_smithy_client.expectString,
|
|
1451
|
-
VersionCreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1451
|
+
VersionCreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "VersionCreatedDate")
|
|
1452
1452
|
});
|
|
1453
1453
|
Object.assign(contents, doc);
|
|
1454
1454
|
return contents;
|
|
@@ -1689,7 +1689,7 @@ var de_RegistrySummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1689
1689
|
}, "de_RegistrySummary");
|
|
1690
1690
|
var de_SchemaSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1691
1691
|
return (0, import_smithy_client.take)(output, {
|
|
1692
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1692
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModified"),
|
|
1693
1693
|
SchemaArn: import_smithy_client.expectString,
|
|
1694
1694
|
SchemaName: import_smithy_client.expectString,
|
|
1695
1695
|
Tags: [, import_smithy_client._json, `tags`],
|
|
@@ -1701,12 +1701,12 @@ var de_SearchSchemaSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1701
1701
|
RegistryName: import_smithy_client.expectString,
|
|
1702
1702
|
SchemaArn: import_smithy_client.expectString,
|
|
1703
1703
|
SchemaName: import_smithy_client.expectString,
|
|
1704
|
-
SchemaVersions: (_) => de___listOfSearchSchemaVersionSummary(_, context)
|
|
1704
|
+
SchemaVersions: /* @__PURE__ */ __name((_) => de___listOfSearchSchemaVersionSummary(_, context), "SchemaVersions")
|
|
1705
1705
|
});
|
|
1706
1706
|
}, "de_SearchSchemaSummary");
|
|
1707
1707
|
var de_SearchSchemaVersionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1708
1708
|
return (0, import_smithy_client.take)(output, {
|
|
1709
|
-
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1709
|
+
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedDate"),
|
|
1710
1710
|
SchemaVersion: import_smithy_client.expectString,
|
|
1711
1711
|
Type: import_smithy_client.expectString
|
|
1712
1712
|
});
|
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.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-schemas",
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|
|
58
|
-
"@smithy/util-stream": "^4.1.
|
|
58
|
+
"@smithy/util-stream": "^4.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^4.0.0",
|
|
60
60
|
"@smithy/util-waiter": "^4.0.2",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|