@aws-sdk/client-datazone 3.583.0 → 3.587.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 +5 -5
- package/dist-es/protocols/Aws_restJson1.js +6 -6
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -2979,8 +2979,8 @@ var se_ListNotificationsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2979
2979
|
b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
|
|
2980
2980
|
const query = (0, import_smithy_client.map)({
|
|
2981
2981
|
[_t]: [, (0, import_smithy_client.expectNonNull)(input[_t], `type`)],
|
|
2982
|
-
[_aT]: [() => input.afterTimestamp !== void 0, () => (
|
|
2983
|
-
[_bT]: [() => input.beforeTimestamp !== void 0, () => (
|
|
2982
|
+
[_aT]: [() => input.afterTimestamp !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_aT]).toString()],
|
|
2983
|
+
[_bT]: [() => input.beforeTimestamp !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_bT]).toString()],
|
|
2984
2984
|
[_su]: [() => input.subjects !== void 0, () => (input[_su] || []).map((_entry) => _entry)],
|
|
2985
2985
|
[_tS]: [, input[_tS]],
|
|
2986
2986
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
@@ -3114,8 +3114,8 @@ var se_ListTimeSeriesDataPointsCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
3114
3114
|
b.p("entityType", () => input.entityType, "{entityType}", false);
|
|
3115
3115
|
const query = (0, import_smithy_client.map)({
|
|
3116
3116
|
[_fN]: [, (0, import_smithy_client.expectNonNull)(input[_fN], `formName`)],
|
|
3117
|
-
[_sA]: [() => input.startedAt !== void 0, () => (
|
|
3118
|
-
[_eA]: [() => input.endedAt !== void 0, () => (
|
|
3117
|
+
[_sA]: [() => input.startedAt !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sA]).toString()],
|
|
3118
|
+
[_eA]: [() => input.endedAt !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_eA]).toString()],
|
|
3119
3119
|
[_nT]: [, input[_nT]],
|
|
3120
3120
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
3121
3121
|
});
|
|
@@ -5894,7 +5894,7 @@ var se_TimeSeriesDataPointFormInput = /* @__PURE__ */ __name((input, context) =>
|
|
|
5894
5894
|
return (0, import_smithy_client.take)(input, {
|
|
5895
5895
|
content: [],
|
|
5896
5896
|
formName: [],
|
|
5897
|
-
timestamp: (_) =>
|
|
5897
|
+
timestamp: (_) => _.getTime() / 1e3,
|
|
5898
5898
|
typeIdentifier: [],
|
|
5899
5899
|
typeRevision: []
|
|
5900
5900
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, 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, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, 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 { DataZoneServiceException as __BaseException } from "../models/DataZoneServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/models_0";
|
|
@@ -1001,8 +1001,8 @@ export const se_ListNotificationsCommand = async (input, context) => {
|
|
|
1001
1001
|
b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
|
|
1002
1002
|
const query = map({
|
|
1003
1003
|
[_t]: [, __expectNonNull(input[_t], `type`)],
|
|
1004
|
-
[_aT]: [() => input.afterTimestamp !== void 0, () => (input[_aT]
|
|
1005
|
-
[_bT]: [() => input.beforeTimestamp !== void 0, () => (input[_bT]
|
|
1004
|
+
[_aT]: [() => input.afterTimestamp !== void 0, () => __serializeDateTime(input[_aT]).toString()],
|
|
1005
|
+
[_bT]: [() => input.beforeTimestamp !== void 0, () => __serializeDateTime(input[_bT]).toString()],
|
|
1006
1006
|
[_su]: [() => input.subjects !== void 0, () => (input[_su] || []).map((_entry) => _entry)],
|
|
1007
1007
|
[_tS]: [, input[_tS]],
|
|
1008
1008
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
@@ -1136,8 +1136,8 @@ export const se_ListTimeSeriesDataPointsCommand = async (input, context) => {
|
|
|
1136
1136
|
b.p("entityType", () => input.entityType, "{entityType}", false);
|
|
1137
1137
|
const query = map({
|
|
1138
1138
|
[_fN]: [, __expectNonNull(input[_fN], `formName`)],
|
|
1139
|
-
[_sA]: [() => input.startedAt !== void 0, () => (input[_sA]
|
|
1140
|
-
[_eA]: [() => input.endedAt !== void 0, () => (input[_eA]
|
|
1139
|
+
[_sA]: [() => input.startedAt !== void 0, () => __serializeDateTime(input[_sA]).toString()],
|
|
1140
|
+
[_eA]: [() => input.endedAt !== void 0, () => __serializeDateTime(input[_eA]).toString()],
|
|
1141
1141
|
[_nT]: [, input[_nT]],
|
|
1142
1142
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1143
1143
|
});
|
|
@@ -3863,7 +3863,7 @@ const se_TimeSeriesDataPointFormInput = (input, context) => {
|
|
|
3863
3863
|
return take(input, {
|
|
3864
3864
|
content: [],
|
|
3865
3865
|
formName: [],
|
|
3866
|
-
timestamp: (_) =>
|
|
3866
|
+
timestamp: (_) => _.getTime() / 1000,
|
|
3867
3867
|
typeIdentifier: [],
|
|
3868
3868
|
typeRevision: [],
|
|
3869
3869
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datazone",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datazone Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.587.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-datazone",
|
|
@@ -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.587.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
25
|
+
"@aws-sdk/core": "3.587.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.587.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",
|