@aws-sdk/client-internetmonitor 3.583.0 → 3.588.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 +6 -6
- package/dist-es/protocols/Aws_restJson1.js +7 -7
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -596,8 +596,8 @@ var se_ListHealthEventsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
596
596
|
b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents");
|
|
597
597
|
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
598
598
|
const query = (0, import_smithy_client.map)({
|
|
599
|
-
[_ST]: [() => input.StartTime !== void 0, () => (
|
|
600
|
-
[_ET]: [() => input.EndTime !== void 0, () => (
|
|
599
|
+
[_ST]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
600
|
+
[_ET]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
601
601
|
[_NT]: [, input[_NT]],
|
|
602
602
|
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
603
603
|
[_ES]: [, input[_ES]],
|
|
@@ -614,8 +614,8 @@ var se_ListInternetEventsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
614
614
|
const query = (0, import_smithy_client.map)({
|
|
615
615
|
[_NT]: [, input[_NT]],
|
|
616
616
|
[_IEMR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
617
|
-
[_ST]: [() => input.StartTime !== void 0, () => (
|
|
618
|
-
[_ET]: [() => input.EndTime !== void 0, () => (
|
|
617
|
+
[_ST]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
618
|
+
[_ET]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
619
619
|
[_ES]: [, input[_ES]],
|
|
620
620
|
[_ETv]: [, input[_ETv]]
|
|
621
621
|
});
|
|
@@ -656,11 +656,11 @@ var se_StartQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
656
656
|
let body;
|
|
657
657
|
body = JSON.stringify(
|
|
658
658
|
(0, import_smithy_client.take)(input, {
|
|
659
|
-
EndTime: (_) =>
|
|
659
|
+
EndTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
660
660
|
FilterParameters: (_) => (0, import_smithy_client._json)(_),
|
|
661
661
|
LinkedAccountId: [],
|
|
662
662
|
QueryType: [],
|
|
663
|
-
StartTime: (_) =>
|
|
663
|
+
StartTime: (_) => (0, import_smithy_client.serializeDateTime)(_)
|
|
664
664
|
})
|
|
665
665
|
);
|
|
666
666
|
b.m("POST").h(headers).b(body);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { InternetMonitorServiceException as __BaseException } from "../models/InternetMonitorServiceException";
|
|
6
6
|
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerErrorException, InternalServerException, LimitExceededException, NotFoundException, ResourceNotFoundException, ThrottlingException, TooManyRequestsException, ValidationException, } from "../models/models_0";
|
|
@@ -97,8 +97,8 @@ export const se_ListHealthEventsCommand = async (input, context) => {
|
|
|
97
97
|
b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents");
|
|
98
98
|
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
99
99
|
const query = map({
|
|
100
|
-
[_ST]: [() => input.StartTime !== void 0, () => (input[_ST]
|
|
101
|
-
[_ET]: [() => input.EndTime !== void 0, () => (input[_ET]
|
|
100
|
+
[_ST]: [() => input.StartTime !== void 0, () => __serializeDateTime(input[_ST]).toString()],
|
|
101
|
+
[_ET]: [() => input.EndTime !== void 0, () => __serializeDateTime(input[_ET]).toString()],
|
|
102
102
|
[_NT]: [, input[_NT]],
|
|
103
103
|
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
104
104
|
[_ES]: [, input[_ES]],
|
|
@@ -115,8 +115,8 @@ export const se_ListInternetEventsCommand = async (input, context) => {
|
|
|
115
115
|
const query = map({
|
|
116
116
|
[_NT]: [, input[_NT]],
|
|
117
117
|
[_IEMR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
118
|
-
[_ST]: [() => input.StartTime !== void 0, () => (input[_ST]
|
|
119
|
-
[_ET]: [() => input.EndTime !== void 0, () => (input[_ET]
|
|
118
|
+
[_ST]: [() => input.StartTime !== void 0, () => __serializeDateTime(input[_ST]).toString()],
|
|
119
|
+
[_ET]: [() => input.EndTime !== void 0, () => __serializeDateTime(input[_ET]).toString()],
|
|
120
120
|
[_ES]: [, input[_ES]],
|
|
121
121
|
[_ETv]: [, input[_ETv]],
|
|
122
122
|
});
|
|
@@ -156,11 +156,11 @@ export const se_StartQueryCommand = async (input, context) => {
|
|
|
156
156
|
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
157
157
|
let body;
|
|
158
158
|
body = JSON.stringify(take(input, {
|
|
159
|
-
EndTime: (_) => _
|
|
159
|
+
EndTime: (_) => __serializeDateTime(_),
|
|
160
160
|
FilterParameters: (_) => _json(_),
|
|
161
161
|
LinkedAccountId: [],
|
|
162
162
|
QueryType: [],
|
|
163
|
-
StartTime: (_) => _
|
|
163
|
+
StartTime: (_) => __serializeDateTime(_),
|
|
164
164
|
}));
|
|
165
165
|
b.m("POST").h(headers).b(body);
|
|
166
166
|
return b.build();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-internetmonitor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.588.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-internetmonitor",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.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.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.588.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.588.0",
|
|
25
|
+
"@aws-sdk/core": "3.588.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.588.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
32
32
|
"@aws-sdk/types": "3.577.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
+
"@smithy/core": "^2.1.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.0",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.0",
|
|
46
|
-
"@smithy/node-config-provider": "^3.
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
47
47
|
"@smithy/node-http-handler": "^3.0.0",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
50
50
|
"@smithy/types": "^3.0.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.0",
|
|
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.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.0",
|
|
59
59
|
"@smithy/util-retry": "^3.0.0",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|