@aws-sdk/client-networkmanager 3.700.0 → 3.709.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
|
@@ -1792,7 +1792,7 @@ var se_PutCoreNetworkPolicyCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1792
1792
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1793
1793
|
Description: [],
|
|
1794
1794
|
LatestVersionId: [],
|
|
1795
|
-
PolicyDocument: (_) => import_smithy_client.LazyJsonString.
|
|
1795
|
+
PolicyDocument: (_) => import_smithy_client.LazyJsonString.from(_)
|
|
1796
1796
|
})
|
|
1797
1797
|
);
|
|
1798
1798
|
b.m("POST").h(headers).b(body);
|
|
@@ -1808,7 +1808,7 @@ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1808
1808
|
let body;
|
|
1809
1809
|
body = JSON.stringify(
|
|
1810
1810
|
(0, import_smithy_client.take)(input, {
|
|
1811
|
-
PolicyDocument: (_) => import_smithy_client.LazyJsonString.
|
|
1811
|
+
PolicyDocument: (_) => import_smithy_client.LazyJsonString.from(_)
|
|
1812
1812
|
})
|
|
1813
1813
|
);
|
|
1814
1814
|
b.m("POST").h(headers).b(body);
|
|
@@ -2849,7 +2849,7 @@ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2849
2849
|
});
|
|
2850
2850
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2851
2851
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2852
|
-
PolicyDocument:
|
|
2852
|
+
PolicyDocument: import_smithy_client.LazyJsonString.from
|
|
2853
2853
|
});
|
|
2854
2854
|
Object.assign(contents, doc);
|
|
2855
2855
|
return contents;
|
|
@@ -3607,7 +3607,7 @@ var de_CoreNetworkPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
|
3607
3607
|
CoreNetworkId: import_smithy_client.expectString,
|
|
3608
3608
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3609
3609
|
Description: import_smithy_client.expectString,
|
|
3610
|
-
PolicyDocument:
|
|
3610
|
+
PolicyDocument: import_smithy_client.LazyJsonString.from,
|
|
3611
3611
|
PolicyErrors: import_smithy_client._json,
|
|
3612
3612
|
PolicyVersionId: import_smithy_client.expectInt32
|
|
3613
3613
|
});
|
|
@@ -945,7 +945,7 @@ export const se_PutCoreNetworkPolicyCommand = async (input, context) => {
|
|
|
945
945
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
946
946
|
Description: [],
|
|
947
947
|
LatestVersionId: [],
|
|
948
|
-
PolicyDocument: (_) => __LazyJsonString.
|
|
948
|
+
PolicyDocument: (_) => __LazyJsonString.from(_),
|
|
949
949
|
}));
|
|
950
950
|
b.m("POST").h(headers).b(body);
|
|
951
951
|
return b.build();
|
|
@@ -959,7 +959,7 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
|
959
959
|
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
960
960
|
let body;
|
|
961
961
|
body = JSON.stringify(take(input, {
|
|
962
|
-
PolicyDocument: (_) => __LazyJsonString.
|
|
962
|
+
PolicyDocument: (_) => __LazyJsonString.from(_),
|
|
963
963
|
}));
|
|
964
964
|
b.m("POST").h(headers).b(body);
|
|
965
965
|
return b.build();
|
|
@@ -1973,7 +1973,7 @@ export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
1973
1973
|
});
|
|
1974
1974
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1975
1975
|
const doc = take(data, {
|
|
1976
|
-
PolicyDocument:
|
|
1976
|
+
PolicyDocument: __LazyJsonString.from,
|
|
1977
1977
|
});
|
|
1978
1978
|
Object.assign(contents, doc);
|
|
1979
1979
|
return contents;
|
|
@@ -2739,7 +2739,7 @@ const de_CoreNetworkPolicy = (output, context) => {
|
|
|
2739
2739
|
CoreNetworkId: __expectString,
|
|
2740
2740
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2741
2741
|
Description: __expectString,
|
|
2742
|
-
PolicyDocument:
|
|
2742
|
+
PolicyDocument: __LazyJsonString.from,
|
|
2743
2743
|
PolicyErrors: _json,
|
|
2744
2744
|
PolicyVersionId: __expectInt32,
|
|
2745
2745
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
@@ -1773,7 +1773,7 @@ export interface CoreNetworkPolicy {
|
|
|
1773
1773
|
* <p>Describes a core network policy.</p>
|
|
1774
1774
|
* @public
|
|
1775
1775
|
*/
|
|
1776
|
-
PolicyDocument?:
|
|
1776
|
+
PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
|
|
1777
1777
|
}
|
|
1778
1778
|
/**
|
|
1779
1779
|
* <p>Describes a core network policy exception.</p>
|
|
@@ -4964,7 +4964,7 @@ export interface GetResourcePolicyResponse {
|
|
|
4964
4964
|
* <p>The resource policy document.</p>
|
|
4965
4965
|
* @public
|
|
4966
4966
|
*/
|
|
4967
|
-
PolicyDocument?:
|
|
4967
|
+
PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
|
|
4968
4968
|
}
|
|
4969
4969
|
/**
|
|
4970
4970
|
* @public
|
|
@@ -5748,7 +5748,7 @@ export interface PutCoreNetworkPolicyRequest {
|
|
|
5748
5748
|
* <p>The policy document.</p>
|
|
5749
5749
|
* @public
|
|
5750
5750
|
*/
|
|
5751
|
-
PolicyDocument:
|
|
5751
|
+
PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
|
|
5752
5752
|
/**
|
|
5753
5753
|
* <p>a core network policy description.</p>
|
|
5754
5754
|
* @public
|
|
@@ -5783,7 +5783,7 @@ export interface PutResourcePolicyRequest {
|
|
|
5783
5783
|
* <p>The JSON resource policy document.</p>
|
|
5784
5784
|
* @public
|
|
5785
5785
|
*/
|
|
5786
|
-
PolicyDocument:
|
|
5786
|
+
PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
|
|
5787
5787
|
/**
|
|
5788
5788
|
* <p>The ARN of the resource policy. </p>
|
|
5789
5789
|
* @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 { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
|
|
6
6
|
export interface AcceptAttachmentRequest {
|
|
@@ -553,7 +553,7 @@ export interface CoreNetworkPolicy {
|
|
|
553
553
|
CreatedAt?: Date | undefined;
|
|
554
554
|
ChangeSetState?: ChangeSetState | undefined;
|
|
555
555
|
PolicyErrors?: CoreNetworkPolicyError[] | undefined;
|
|
556
|
-
PolicyDocument?:
|
|
556
|
+
PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
|
|
557
557
|
}
|
|
558
558
|
export declare class CoreNetworkPolicyException extends __BaseException {
|
|
559
559
|
readonly name: "CoreNetworkPolicyException";
|
|
@@ -1284,7 +1284,7 @@ export interface GetResourcePolicyRequest {
|
|
|
1284
1284
|
ResourceArn: string | undefined;
|
|
1285
1285
|
}
|
|
1286
1286
|
export interface GetResourcePolicyResponse {
|
|
1287
|
-
PolicyDocument?:
|
|
1287
|
+
PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
|
|
1288
1288
|
}
|
|
1289
1289
|
export interface GetRouteAnalysisRequest {
|
|
1290
1290
|
GlobalNetworkId: string | undefined;
|
|
@@ -1492,7 +1492,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1492
1492
|
}
|
|
1493
1493
|
export interface PutCoreNetworkPolicyRequest {
|
|
1494
1494
|
CoreNetworkId: string | undefined;
|
|
1495
|
-
PolicyDocument:
|
|
1495
|
+
PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
|
|
1496
1496
|
Description?: string | undefined;
|
|
1497
1497
|
LatestVersionId?: number | undefined;
|
|
1498
1498
|
ClientToken?: string | undefined;
|
|
@@ -1501,7 +1501,7 @@ export interface PutCoreNetworkPolicyResponse {
|
|
|
1501
1501
|
CoreNetworkPolicy?: CoreNetworkPolicy | undefined;
|
|
1502
1502
|
}
|
|
1503
1503
|
export interface PutResourcePolicyRequest {
|
|
1504
|
-
PolicyDocument:
|
|
1504
|
+
PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
|
|
1505
1505
|
ResourceArn: string | undefined;
|
|
1506
1506
|
}
|
|
1507
1507
|
export interface PutResourcePolicyResponse {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-networkmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.709.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-networkmanager",
|
|
@@ -20,43 +20,43 @@
|
|
|
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.709.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.709.0",
|
|
25
|
+
"@aws-sdk/core": "3.709.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.709.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.709.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.
|
|
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
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|