@aws-sdk/client-schemas 3.699.0 → 3.712.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
CHANGED
|
@@ -746,7 +746,7 @@ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
746
746
|
let body;
|
|
747
747
|
body = JSON.stringify(
|
|
748
748
|
(0, import_smithy_client.take)(input, {
|
|
749
|
-
Policy: (_) => import_smithy_client.LazyJsonString.
|
|
749
|
+
Policy: (_) => import_smithy_client.LazyJsonString.from(_),
|
|
750
750
|
RevisionId: []
|
|
751
751
|
})
|
|
752
752
|
);
|
|
@@ -1102,7 +1102,7 @@ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1102
1102
|
});
|
|
1103
1103
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1104
1104
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1105
|
-
Policy:
|
|
1105
|
+
Policy: import_smithy_client.LazyJsonString.from,
|
|
1106
1106
|
RevisionId: import_smithy_client.expectString
|
|
1107
1107
|
});
|
|
1108
1108
|
Object.assign(contents, doc);
|
|
@@ -1208,7 +1208,7 @@ var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1208
1208
|
});
|
|
1209
1209
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1210
1210
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1211
|
-
Policy:
|
|
1211
|
+
Policy: import_smithy_client.LazyJsonString.from,
|
|
1212
1212
|
RevisionId: import_smithy_client.expectString
|
|
1213
1213
|
});
|
|
1214
1214
|
Object.assign(contents, doc);
|
|
@@ -291,7 +291,7 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
|
291
291
|
});
|
|
292
292
|
let body;
|
|
293
293
|
body = JSON.stringify(take(input, {
|
|
294
|
-
Policy: (_) => __LazyJsonString.
|
|
294
|
+
Policy: (_) => __LazyJsonString.from(_),
|
|
295
295
|
RevisionId: [],
|
|
296
296
|
}));
|
|
297
297
|
b.m("PUT").h(headers).q(query).b(body);
|
|
@@ -638,7 +638,7 @@ export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
638
638
|
});
|
|
639
639
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
640
640
|
const doc = take(data, {
|
|
641
|
-
Policy:
|
|
641
|
+
Policy: __LazyJsonString.from,
|
|
642
642
|
RevisionId: __expectString,
|
|
643
643
|
});
|
|
644
644
|
Object.assign(contents, doc);
|
|
@@ -744,7 +744,7 @@ export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
|
744
744
|
});
|
|
745
745
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
746
746
|
const doc = take(data, {
|
|
747
|
-
Policy:
|
|
747
|
+
Policy: __LazyJsonString.from,
|
|
748
748
|
RevisionId: __expectString,
|
|
749
749
|
});
|
|
750
750
|
Object.assign(contents, doc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
@@ -926,7 +926,7 @@ export interface GetResourcePolicyResponse {
|
|
|
926
926
|
* <p>The resource-based policy.</p>
|
|
927
927
|
* @public
|
|
928
928
|
*/
|
|
929
|
-
Policy?:
|
|
929
|
+
Policy?: __AutomaticJsonStringConversion | string | undefined;
|
|
930
930
|
/**
|
|
931
931
|
* <p>The revision ID.</p>
|
|
932
932
|
* @public
|
|
@@ -1198,7 +1198,7 @@ export interface PutResourcePolicyRequest {
|
|
|
1198
1198
|
* <p>The resource-based policy.</p>
|
|
1199
1199
|
* @public
|
|
1200
1200
|
*/
|
|
1201
|
-
Policy:
|
|
1201
|
+
Policy: __AutomaticJsonStringConversion | string | undefined;
|
|
1202
1202
|
/**
|
|
1203
1203
|
* <p>The name of the registry.</p>
|
|
1204
1204
|
* @public
|
|
@@ -1218,7 +1218,7 @@ export interface PutResourcePolicyResponse {
|
|
|
1218
1218
|
* <p>The resource-based policy.</p>
|
|
1219
1219
|
* @public
|
|
1220
1220
|
*/
|
|
1221
|
-
Policy?:
|
|
1221
|
+
Policy?: __AutomaticJsonStringConversion | string | undefined;
|
|
1222
1222
|
/**
|
|
1223
1223
|
* <p>The revision ID of the policy.</p>
|
|
1224
1224
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
|
|
2
3
|
ExceptionOptionType as __ExceptionOptionType,
|
|
3
|
-
LazyJsonString as __LazyJsonString,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
5
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
6
6
|
export declare const DiscovererState: {
|
|
@@ -268,7 +268,7 @@ export interface GetResourcePolicyRequest {
|
|
|
268
268
|
RegistryName?: string | undefined;
|
|
269
269
|
}
|
|
270
270
|
export interface GetResourcePolicyResponse {
|
|
271
|
-
Policy?:
|
|
271
|
+
Policy?: __AutomaticJsonStringConversion | string | undefined;
|
|
272
272
|
RevisionId?: string | undefined;
|
|
273
273
|
}
|
|
274
274
|
export declare class GoneException extends __BaseException {
|
|
@@ -346,12 +346,12 @@ export interface PutCodeBindingResponse {
|
|
|
346
346
|
Status?: CodeGenerationStatus | undefined;
|
|
347
347
|
}
|
|
348
348
|
export interface PutResourcePolicyRequest {
|
|
349
|
-
Policy:
|
|
349
|
+
Policy: __AutomaticJsonStringConversion | string | undefined;
|
|
350
350
|
RegistryName?: string | undefined;
|
|
351
351
|
RevisionId?: string | undefined;
|
|
352
352
|
}
|
|
353
353
|
export interface PutResourcePolicyResponse {
|
|
354
|
-
Policy?:
|
|
354
|
+
Policy?: __AutomaticJsonStringConversion | string | undefined;
|
|
355
355
|
RevisionId?: string | undefined;
|
|
356
356
|
}
|
|
357
357
|
export interface SearchSchemasRequest {
|
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.712.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,46 +20,46 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.712.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.712.0",
|
|
25
|
+
"@aws-sdk/core": "3.709.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.712.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.709.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.709.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.709.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.709.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.709.0",
|
|
32
|
+
"@aws-sdk/types": "3.709.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.709.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.709.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.712.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.13",
|
|
37
|
+
"@smithy/core": "^2.5.5",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.2",
|
|
39
|
+
"@smithy/hash-node": "^3.0.11",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.11",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.13",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.5",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.30",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.11",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.11",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.2",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
49
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
50
|
+
"@smithy/types": "^3.7.2",
|
|
51
|
+
"@smithy/url-parser": "^3.0.11",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
60
|
-
"@smithy/util-stream": "^3.3.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.30",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.30",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.7",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
59
|
+
"@smithy/util-retry": "^3.0.11",
|
|
60
|
+
"@smithy/util-stream": "^3.3.2",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
|
-
"@smithy/util-waiter": "^3.
|
|
62
|
+
"@smithy/util-waiter": "^3.2.0",
|
|
63
63
|
"@types/uuid": "^9.0.1",
|
|
64
64
|
"tslib": "^2.6.2",
|
|
65
65
|
"uuid": "^9.0.1"
|