@aws-sdk/client-networkmonitor 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 +21 -21
- package/package.json +13 -13
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
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AddressFamily: () => AddressFamily,
|
|
26
26
|
ConflictException: () => ConflictException,
|
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
|
50
50
|
__Client: () => import_smithy_client.Client,
|
|
51
51
|
paginateListMonitors: () => paginateListMonitors
|
|
52
52
|
});
|
|
53
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
54
54
|
|
|
55
55
|
// src/NetworkMonitorClient.ts
|
|
56
56
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -177,9 +177,9 @@ var NetworkMonitorClient = class extends import_smithy_client.Client {
|
|
|
177
177
|
this.middlewareStack.use(
|
|
178
178
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
179
179
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultNetworkMonitorHttpAuthSchemeParametersProvider,
|
|
180
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
180
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
181
181
|
"aws.auth#sigv4": config.credentials
|
|
182
|
-
})
|
|
182
|
+
}), "identityProviderConfigProvider")
|
|
183
183
|
})
|
|
184
184
|
);
|
|
185
185
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -391,8 +391,8 @@ var se_CreateMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
391
391
|
aggregationPeriod: [],
|
|
392
392
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
393
393
|
monitorName: [],
|
|
394
|
-
probes: (_) => (0, import_smithy_client._json)(_),
|
|
395
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
394
|
+
probes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "probes"),
|
|
395
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
396
396
|
})
|
|
397
397
|
);
|
|
398
398
|
b.m("POST").h(headers).b(body);
|
|
@@ -409,8 +409,8 @@ var se_CreateProbeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
409
409
|
body = JSON.stringify(
|
|
410
410
|
(0, import_smithy_client.take)(input, {
|
|
411
411
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
412
|
-
probe: (_) => (0, import_smithy_client._json)(_),
|
|
413
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
412
|
+
probe: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "probe"),
|
|
413
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
414
414
|
})
|
|
415
415
|
);
|
|
416
416
|
b.m("POST").h(headers).b(body);
|
|
@@ -486,7 +486,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
486
486
|
let body;
|
|
487
487
|
body = JSON.stringify(
|
|
488
488
|
(0, import_smithy_client.take)(input, {
|
|
489
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
489
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
490
490
|
})
|
|
491
491
|
);
|
|
492
492
|
b.m("POST").h(headers).b(body);
|
|
@@ -569,10 +569,10 @@ var de_CreateProbeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
569
569
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
570
570
|
const doc = (0, import_smithy_client.take)(data, {
|
|
571
571
|
addressFamily: import_smithy_client.expectString,
|
|
572
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
572
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
573
573
|
destination: import_smithy_client.expectString,
|
|
574
574
|
destinationPort: import_smithy_client.expectInt32,
|
|
575
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
575
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
576
576
|
packetSize: import_smithy_client.expectInt32,
|
|
577
577
|
probeArn: import_smithy_client.expectString,
|
|
578
578
|
probeId: import_smithy_client.expectString,
|
|
@@ -615,11 +615,11 @@ var de_GetMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
615
615
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
616
616
|
const doc = (0, import_smithy_client.take)(data, {
|
|
617
617
|
aggregationPeriod: import_smithy_client.expectLong,
|
|
618
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
619
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
618
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
619
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
620
620
|
monitorArn: import_smithy_client.expectString,
|
|
621
621
|
monitorName: import_smithy_client.expectString,
|
|
622
|
-
probes: (_) => de_ProbeList(_, context),
|
|
622
|
+
probes: /* @__PURE__ */ __name((_) => de_ProbeList(_, context), "probes"),
|
|
623
623
|
state: import_smithy_client.expectString,
|
|
624
624
|
tags: import_smithy_client._json
|
|
625
625
|
});
|
|
@@ -636,10 +636,10 @@ var de_GetProbeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
636
636
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
637
637
|
const doc = (0, import_smithy_client.take)(data, {
|
|
638
638
|
addressFamily: import_smithy_client.expectString,
|
|
639
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
639
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
640
640
|
destination: import_smithy_client.expectString,
|
|
641
641
|
destinationPort: import_smithy_client.expectInt32,
|
|
642
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
642
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
643
643
|
packetSize: import_smithy_client.expectInt32,
|
|
644
644
|
probeArn: import_smithy_client.expectString,
|
|
645
645
|
probeId: import_smithy_client.expectString,
|
|
@@ -729,10 +729,10 @@ var de_UpdateProbeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
729
729
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
730
730
|
const doc = (0, import_smithy_client.take)(data, {
|
|
731
731
|
addressFamily: import_smithy_client.expectString,
|
|
732
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
732
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
733
733
|
destination: import_smithy_client.expectString,
|
|
734
734
|
destinationPort: import_smithy_client.expectInt32,
|
|
735
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
735
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
736
736
|
packetSize: import_smithy_client.expectInt32,
|
|
737
737
|
probeArn: import_smithy_client.expectString,
|
|
738
738
|
probeId: import_smithy_client.expectString,
|
|
@@ -877,10 +877,10 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
877
877
|
var de_Probe = /* @__PURE__ */ __name((output, context) => {
|
|
878
878
|
return (0, import_smithy_client.take)(output, {
|
|
879
879
|
addressFamily: import_smithy_client.expectString,
|
|
880
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
880
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
881
881
|
destination: import_smithy_client.expectString,
|
|
882
882
|
destinationPort: import_smithy_client.expectInt32,
|
|
883
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
883
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
884
884
|
packetSize: import_smithy_client.expectInt32,
|
|
885
885
|
probeArn: import_smithy_client.expectString,
|
|
886
886
|
probeId: import_smithy_client.expectString,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-networkmonitor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Networkmonitor 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-networkmonitor",
|
|
@@ -20,38 +20,38 @@
|
|
|
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",
|