@aws-sdk/client-neptune-graph 3.658.0 → 3.658.1
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 -10
- package/dist-es/protocols/Aws_restJson1.js +2 -10
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -526,7 +526,7 @@ var se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
526
526
|
}, "se_CancelImportTaskCommand");
|
|
527
527
|
var se_CancelQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
528
528
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
529
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
529
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
530
530
|
[_g]: input[_gI]
|
|
531
531
|
});
|
|
532
532
|
b.bp("/queries/{queryId}");
|
|
@@ -666,7 +666,7 @@ var se_DeletePrivateGraphEndpointCommand = /* @__PURE__ */ __name(async (input,
|
|
|
666
666
|
}, "se_DeletePrivateGraphEndpointCommand");
|
|
667
667
|
var se_ExecuteQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
668
668
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
669
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
669
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
670
670
|
"content-type": "application/json",
|
|
671
671
|
[_g]: input[_gI]
|
|
672
672
|
});
|
|
@@ -717,7 +717,7 @@ var se_GetGraphSnapshotCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
717
717
|
}, "se_GetGraphSnapshotCommand");
|
|
718
718
|
var se_GetGraphSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
719
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
720
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
720
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
721
721
|
[_g]: input[_gI]
|
|
722
722
|
});
|
|
723
723
|
b.bp("/summary");
|
|
@@ -761,7 +761,7 @@ var se_GetPrivateGraphEndpointCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
761
761
|
}, "se_GetPrivateGraphEndpointCommand");
|
|
762
762
|
var se_GetQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
763
763
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
764
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
764
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
765
765
|
[_g]: input[_gI]
|
|
766
766
|
});
|
|
767
767
|
b.bp("/queries/{queryId}");
|
|
@@ -834,7 +834,7 @@ var se_ListPrivateGraphEndpointsCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
834
834
|
}, "se_ListPrivateGraphEndpointsCommand");
|
|
835
835
|
var se_ListQueriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
836
836
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
837
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
837
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
838
838
|
[_g]: input[_gI]
|
|
839
839
|
});
|
|
840
840
|
b.bp("/queries");
|
|
@@ -947,10 +947,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
947
947
|
b.bp("/tags/{resourceArn}");
|
|
948
948
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
949
949
|
const query = (0, import_smithy_client.map)({
|
|
950
|
-
[_tK]: [
|
|
951
|
-
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
952
|
-
() => (input[_tK] || []).map((_entry) => _entry)
|
|
953
|
-
]
|
|
950
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
954
951
|
});
|
|
955
952
|
let body;
|
|
956
953
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -1698,7 +1695,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1698
1695
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1699
1696
|
cfId: output.headers["x-amz-cf-id"]
|
|
1700
1697
|
}), "deserializeMetadata");
|
|
1701
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
1702
1698
|
var _g = "graphidentifier";
|
|
1703
1699
|
var _gI = "graphIdentifier";
|
|
1704
1700
|
var _m = "mode";
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
4
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnprocessableException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { NeptuneGraphServiceException as __BaseException } from "../models/NeptuneGraphServiceException";
|
|
7
7
|
export const se_CancelImportTaskCommand = async (input, context) => {
|
|
@@ -418,10 +418,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
418
418
|
b.bp("/tags/{resourceArn}");
|
|
419
419
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
420
420
|
const query = map({
|
|
421
|
-
[_tK]: [
|
|
422
|
-
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
423
|
-
() => (input[_tK] || []).map((_entry) => _entry),
|
|
424
|
-
],
|
|
421
|
+
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
425
422
|
});
|
|
426
423
|
let body;
|
|
427
424
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -1170,11 +1167,6 @@ const deserializeMetadata = (output) => ({
|
|
|
1170
1167
|
cfId: output.headers["x-amz-cf-id"],
|
|
1171
1168
|
});
|
|
1172
1169
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1173
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1174
|
-
value !== null &&
|
|
1175
|
-
value !== "" &&
|
|
1176
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1177
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1178
1170
|
const _g = "graphidentifier";
|
|
1179
1171
|
const _gI = "graphIdentifier";
|
|
1180
1172
|
const _m = "mode";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-neptune-graph",
|
|
3
3
|
"description": "AWS SDK for JavaScript Neptune Graph Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.658.
|
|
4
|
+
"version": "3.658.1",
|
|
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-neptune-graph",
|
|
@@ -20,10 +20,10 @@
|
|
|
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.658.
|
|
24
|
-
"@aws-sdk/client-sts": "3.658.
|
|
25
|
-
"@aws-sdk/core": "3.658.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -34,30 +34,30 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.8",
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.4.6",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
39
39
|
"@smithy/hash-node": "^3.0.6",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.6",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.6",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.7",
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.3",
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
49
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
50
50
|
"@smithy/types": "^3.4.2",
|
|
51
51
|
"@smithy/url-parser": "^3.0.6",
|
|
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.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
57
57
|
"@smithy/util-endpoints": "^2.1.2",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.6",
|
|
59
59
|
"@smithy/util-retry": "^3.0.6",
|
|
60
|
-
"@smithy/util-stream": "^3.1.
|
|
60
|
+
"@smithy/util-stream": "^3.1.8",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"@smithy/util-waiter": "^3.1.5",
|
|
63
63
|
"tslib": "^2.6.2"
|