@aws-sdk/client-braket 3.654.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 +3 -12
- package/dist-es/protocols/Aws_restJson1.js +3 -17
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -602,10 +602,7 @@ var se_GetJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
602
602
|
b.bp("/job/{jobArn}");
|
|
603
603
|
b.p("jobArn", () => input.jobArn, "{jobArn}", false);
|
|
604
604
|
const query = (0, import_smithy_client.map)({
|
|
605
|
-
[_aAN]: [
|
|
606
|
-
() => input.additionalAttributeNames !== void 0,
|
|
607
|
-
() => (input[_aAN] || []).map((_entry) => _entry)
|
|
608
|
-
]
|
|
605
|
+
[_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []]
|
|
609
606
|
});
|
|
610
607
|
let body;
|
|
611
608
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -617,10 +614,7 @@ var se_GetQuantumTaskCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
617
614
|
b.bp("/quantum-task/{quantumTaskArn}");
|
|
618
615
|
b.p("quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false);
|
|
619
616
|
const query = (0, import_smithy_client.map)({
|
|
620
|
-
[_aAN]: [
|
|
621
|
-
() => input.additionalAttributeNames !== void 0,
|
|
622
|
-
() => (input[_aAN] || []).map((_entry) => _entry)
|
|
623
|
-
]
|
|
617
|
+
[_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []]
|
|
624
618
|
});
|
|
625
619
|
let body;
|
|
626
620
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -708,10 +702,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
708
702
|
b.bp("/tags/{resourceArn}");
|
|
709
703
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
710
704
|
const query = (0, import_smithy_client.map)({
|
|
711
|
-
[_tK]: [
|
|
712
|
-
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
713
|
-
() => (input[_tK] || []).map((_entry) => _entry)
|
|
714
|
-
]
|
|
705
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
715
706
|
});
|
|
716
707
|
let body;
|
|
717
708
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -89,10 +89,7 @@ export const se_GetJobCommand = async (input, context) => {
|
|
|
89
89
|
b.bp("/job/{jobArn}");
|
|
90
90
|
b.p("jobArn", () => input.jobArn, "{jobArn}", false);
|
|
91
91
|
const query = map({
|
|
92
|
-
[_aAN]: [
|
|
93
|
-
() => input.additionalAttributeNames !== void 0,
|
|
94
|
-
() => (input[_aAN] || []).map((_entry) => _entry),
|
|
95
|
-
],
|
|
92
|
+
[_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []],
|
|
96
93
|
});
|
|
97
94
|
let body;
|
|
98
95
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -104,10 +101,7 @@ export const se_GetQuantumTaskCommand = async (input, context) => {
|
|
|
104
101
|
b.bp("/quantum-task/{quantumTaskArn}");
|
|
105
102
|
b.p("quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false);
|
|
106
103
|
const query = map({
|
|
107
|
-
[_aAN]: [
|
|
108
|
-
() => input.additionalAttributeNames !== void 0,
|
|
109
|
-
() => (input[_aAN] || []).map((_entry) => _entry),
|
|
110
|
-
],
|
|
104
|
+
[_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []],
|
|
111
105
|
});
|
|
112
106
|
let body;
|
|
113
107
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -187,10 +181,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
187
181
|
b.bp("/tags/{resourceArn}");
|
|
188
182
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
189
183
|
const query = map({
|
|
190
|
-
[_tK]: [
|
|
191
|
-
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
192
|
-
() => (input[_tK] || []).map((_entry) => _entry),
|
|
193
|
-
],
|
|
184
|
+
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
194
185
|
});
|
|
195
186
|
let body;
|
|
196
187
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -638,10 +629,5 @@ const deserializeMetadata = (output) => ({
|
|
|
638
629
|
cfId: output.headers["x-amz-cf-id"],
|
|
639
630
|
});
|
|
640
631
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
641
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
642
|
-
value !== null &&
|
|
643
|
-
value !== "" &&
|
|
644
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
645
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
646
632
|
const _aAN = "additionalAttributeNames";
|
|
647
633
|
const _tK = "tagKeys";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-braket",
|
|
3
3
|
"description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-braket",
|
|
@@ -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.
|
|
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.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,26 +34,26 @@
|
|
|
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",
|