@aws-sdk/client-greengrass 3.200.0 → 3.202.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/CHANGELOG.md +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restJson1.js +99 -103
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-greengrass
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-greengrass
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "greengrass",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -13,7 +13,7 @@ const serializeAws_restJson1AssociateRoleToGroupCommand = async (input, context)
|
|
|
13
13
|
const headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
let resolvedPath = `${
|
|
16
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/role";
|
|
17
17
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
18
18
|
let body;
|
|
19
19
|
body = JSON.stringify({
|
|
@@ -35,7 +35,7 @@ const serializeAws_restJson1AssociateServiceRoleToAccountCommand = async (input,
|
|
|
35
35
|
const headers = {
|
|
36
36
|
"content-type": "application/json",
|
|
37
37
|
};
|
|
38
|
-
const resolvedPath = `${
|
|
38
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/servicerole";
|
|
39
39
|
let body;
|
|
40
40
|
body = JSON.stringify({
|
|
41
41
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
@@ -57,7 +57,7 @@ const serializeAws_restJson1CreateConnectorDefinitionCommand = async (input, con
|
|
|
57
57
|
"content-type": "application/json",
|
|
58
58
|
"x-amzn-client-token": input.AmznClientToken,
|
|
59
59
|
});
|
|
60
|
-
const resolvedPath = `${
|
|
60
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/connectors";
|
|
61
61
|
let body;
|
|
62
62
|
body = JSON.stringify({
|
|
63
63
|
...(input.InitialVersion != null && {
|
|
@@ -83,7 +83,7 @@ const serializeAws_restJson1CreateConnectorDefinitionVersionCommand = async (inp
|
|
|
83
83
|
"content-type": "application/json",
|
|
84
84
|
"x-amzn-client-token": input.AmznClientToken,
|
|
85
85
|
});
|
|
86
|
-
let resolvedPath = `${
|
|
86
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
87
87
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions";
|
|
88
88
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
89
89
|
let body;
|
|
@@ -107,7 +107,7 @@ const serializeAws_restJson1CreateCoreDefinitionCommand = async (input, context)
|
|
|
107
107
|
"content-type": "application/json",
|
|
108
108
|
"x-amzn-client-token": input.AmznClientToken,
|
|
109
109
|
});
|
|
110
|
-
const resolvedPath = `${
|
|
110
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/cores";
|
|
111
111
|
let body;
|
|
112
112
|
body = JSON.stringify({
|
|
113
113
|
...(input.InitialVersion != null && {
|
|
@@ -133,7 +133,7 @@ const serializeAws_restJson1CreateCoreDefinitionVersionCommand = async (input, c
|
|
|
133
133
|
"content-type": "application/json",
|
|
134
134
|
"x-amzn-client-token": input.AmznClientToken,
|
|
135
135
|
});
|
|
136
|
-
let resolvedPath = `${
|
|
136
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
137
137
|
"/greengrass/definition/cores/{CoreDefinitionId}/versions";
|
|
138
138
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
139
139
|
let body;
|
|
@@ -157,7 +157,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
157
157
|
"content-type": "application/json",
|
|
158
158
|
"x-amzn-client-token": input.AmznClientToken,
|
|
159
159
|
});
|
|
160
|
-
let resolvedPath = `${
|
|
160
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/deployments";
|
|
161
161
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
162
162
|
let body;
|
|
163
163
|
body = JSON.stringify({
|
|
@@ -182,7 +182,7 @@ const serializeAws_restJson1CreateDeviceDefinitionCommand = async (input, contex
|
|
|
182
182
|
"content-type": "application/json",
|
|
183
183
|
"x-amzn-client-token": input.AmznClientToken,
|
|
184
184
|
});
|
|
185
|
-
const resolvedPath = `${
|
|
185
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/devices";
|
|
186
186
|
let body;
|
|
187
187
|
body = JSON.stringify({
|
|
188
188
|
...(input.InitialVersion != null && {
|
|
@@ -208,7 +208,7 @@ const serializeAws_restJson1CreateDeviceDefinitionVersionCommand = async (input,
|
|
|
208
208
|
"content-type": "application/json",
|
|
209
209
|
"x-amzn-client-token": input.AmznClientToken,
|
|
210
210
|
});
|
|
211
|
-
let resolvedPath = `${
|
|
211
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
212
212
|
"/greengrass/definition/devices/{DeviceDefinitionId}/versions";
|
|
213
213
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
214
214
|
let body;
|
|
@@ -232,7 +232,7 @@ const serializeAws_restJson1CreateFunctionDefinitionCommand = async (input, cont
|
|
|
232
232
|
"content-type": "application/json",
|
|
233
233
|
"x-amzn-client-token": input.AmznClientToken,
|
|
234
234
|
});
|
|
235
|
-
const resolvedPath = `${
|
|
235
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/functions";
|
|
236
236
|
let body;
|
|
237
237
|
body = JSON.stringify({
|
|
238
238
|
...(input.InitialVersion != null && {
|
|
@@ -258,7 +258,7 @@ const serializeAws_restJson1CreateFunctionDefinitionVersionCommand = async (inpu
|
|
|
258
258
|
"content-type": "application/json",
|
|
259
259
|
"x-amzn-client-token": input.AmznClientToken,
|
|
260
260
|
});
|
|
261
|
-
let resolvedPath = `${
|
|
261
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
262
262
|
"/greengrass/definition/functions/{FunctionDefinitionId}/versions";
|
|
263
263
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
264
264
|
let body;
|
|
@@ -285,7 +285,7 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
|
|
|
285
285
|
"content-type": "application/json",
|
|
286
286
|
"x-amzn-client-token": input.AmznClientToken,
|
|
287
287
|
});
|
|
288
|
-
const resolvedPath = `${
|
|
288
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups";
|
|
289
289
|
let body;
|
|
290
290
|
body = JSON.stringify({
|
|
291
291
|
...(input.InitialVersion != null && {
|
|
@@ -310,7 +310,7 @@ const serializeAws_restJson1CreateGroupCertificateAuthorityCommand = async (inpu
|
|
|
310
310
|
const headers = map({}, isSerializableHeaderValue, {
|
|
311
311
|
"x-amzn-client-token": input.AmznClientToken,
|
|
312
312
|
});
|
|
313
|
-
let resolvedPath = `${
|
|
313
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
314
314
|
"/greengrass/groups/{GroupId}/certificateauthorities";
|
|
315
315
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
316
316
|
let body;
|
|
@@ -331,7 +331,7 @@ const serializeAws_restJson1CreateGroupVersionCommand = async (input, context) =
|
|
|
331
331
|
"content-type": "application/json",
|
|
332
332
|
"x-amzn-client-token": input.AmznClientToken,
|
|
333
333
|
});
|
|
334
|
-
let resolvedPath = `${
|
|
334
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/versions";
|
|
335
335
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
336
336
|
let body;
|
|
337
337
|
body = JSON.stringify({
|
|
@@ -368,7 +368,7 @@ const serializeAws_restJson1CreateLoggerDefinitionCommand = async (input, contex
|
|
|
368
368
|
"content-type": "application/json",
|
|
369
369
|
"x-amzn-client-token": input.AmznClientToken,
|
|
370
370
|
});
|
|
371
|
-
const resolvedPath = `${
|
|
371
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/loggers";
|
|
372
372
|
let body;
|
|
373
373
|
body = JSON.stringify({
|
|
374
374
|
...(input.InitialVersion != null && {
|
|
@@ -394,7 +394,7 @@ const serializeAws_restJson1CreateLoggerDefinitionVersionCommand = async (input,
|
|
|
394
394
|
"content-type": "application/json",
|
|
395
395
|
"x-amzn-client-token": input.AmznClientToken,
|
|
396
396
|
});
|
|
397
|
-
let resolvedPath = `${
|
|
397
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
398
398
|
"/greengrass/definition/loggers/{LoggerDefinitionId}/versions";
|
|
399
399
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
400
400
|
let body;
|
|
@@ -418,7 +418,7 @@ const serializeAws_restJson1CreateResourceDefinitionCommand = async (input, cont
|
|
|
418
418
|
"content-type": "application/json",
|
|
419
419
|
"x-amzn-client-token": input.AmznClientToken,
|
|
420
420
|
});
|
|
421
|
-
const resolvedPath = `${
|
|
421
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/resources";
|
|
422
422
|
let body;
|
|
423
423
|
body = JSON.stringify({
|
|
424
424
|
...(input.InitialVersion != null && {
|
|
@@ -444,7 +444,7 @@ const serializeAws_restJson1CreateResourceDefinitionVersionCommand = async (inpu
|
|
|
444
444
|
"content-type": "application/json",
|
|
445
445
|
"x-amzn-client-token": input.AmznClientToken,
|
|
446
446
|
});
|
|
447
|
-
let resolvedPath = `${
|
|
447
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
448
448
|
"/greengrass/definition/resources/{ResourceDefinitionId}/versions";
|
|
449
449
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
450
450
|
let body;
|
|
@@ -468,7 +468,7 @@ const serializeAws_restJson1CreateSoftwareUpdateJobCommand = async (input, conte
|
|
|
468
468
|
"content-type": "application/json",
|
|
469
469
|
"x-amzn-client-token": input.AmznClientToken,
|
|
470
470
|
});
|
|
471
|
-
const resolvedPath = `${
|
|
471
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/updates";
|
|
472
472
|
let body;
|
|
473
473
|
body = JSON.stringify({
|
|
474
474
|
...(input.S3UrlSignerRole != null && { S3UrlSignerRole: input.S3UrlSignerRole }),
|
|
@@ -499,7 +499,7 @@ const serializeAws_restJson1CreateSubscriptionDefinitionCommand = async (input,
|
|
|
499
499
|
"content-type": "application/json",
|
|
500
500
|
"x-amzn-client-token": input.AmznClientToken,
|
|
501
501
|
});
|
|
502
|
-
const resolvedPath = `${
|
|
502
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/subscriptions";
|
|
503
503
|
let body;
|
|
504
504
|
body = JSON.stringify({
|
|
505
505
|
...(input.InitialVersion != null && {
|
|
@@ -525,7 +525,7 @@ const serializeAws_restJson1CreateSubscriptionDefinitionVersionCommand = async (
|
|
|
525
525
|
"content-type": "application/json",
|
|
526
526
|
"x-amzn-client-token": input.AmznClientToken,
|
|
527
527
|
});
|
|
528
|
-
let resolvedPath = `${
|
|
528
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
529
529
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions";
|
|
530
530
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
531
531
|
let body;
|
|
@@ -548,7 +548,7 @@ exports.serializeAws_restJson1CreateSubscriptionDefinitionVersionCommand = seria
|
|
|
548
548
|
const serializeAws_restJson1DeleteConnectorDefinitionCommand = async (input, context) => {
|
|
549
549
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
550
550
|
const headers = {};
|
|
551
|
-
let resolvedPath = `${
|
|
551
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
552
552
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}";
|
|
553
553
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
554
554
|
let body;
|
|
@@ -566,7 +566,7 @@ exports.serializeAws_restJson1DeleteConnectorDefinitionCommand = serializeAws_re
|
|
|
566
566
|
const serializeAws_restJson1DeleteCoreDefinitionCommand = async (input, context) => {
|
|
567
567
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
568
568
|
const headers = {};
|
|
569
|
-
let resolvedPath = `${
|
|
569
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
570
570
|
"/greengrass/definition/cores/{CoreDefinitionId}";
|
|
571
571
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
572
572
|
let body;
|
|
@@ -584,7 +584,7 @@ exports.serializeAws_restJson1DeleteCoreDefinitionCommand = serializeAws_restJso
|
|
|
584
584
|
const serializeAws_restJson1DeleteDeviceDefinitionCommand = async (input, context) => {
|
|
585
585
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
586
586
|
const headers = {};
|
|
587
|
-
let resolvedPath = `${
|
|
587
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
588
588
|
"/greengrass/definition/devices/{DeviceDefinitionId}";
|
|
589
589
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
590
590
|
let body;
|
|
@@ -602,7 +602,7 @@ exports.serializeAws_restJson1DeleteDeviceDefinitionCommand = serializeAws_restJ
|
|
|
602
602
|
const serializeAws_restJson1DeleteFunctionDefinitionCommand = async (input, context) => {
|
|
603
603
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
604
604
|
const headers = {};
|
|
605
|
-
let resolvedPath = `${
|
|
605
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
606
606
|
"/greengrass/definition/functions/{FunctionDefinitionId}";
|
|
607
607
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
608
608
|
let body;
|
|
@@ -620,7 +620,7 @@ exports.serializeAws_restJson1DeleteFunctionDefinitionCommand = serializeAws_res
|
|
|
620
620
|
const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
|
|
621
621
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
622
622
|
const headers = {};
|
|
623
|
-
let resolvedPath = `${
|
|
623
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}";
|
|
624
624
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
625
625
|
let body;
|
|
626
626
|
return new protocol_http_1.HttpRequest({
|
|
@@ -637,7 +637,7 @@ exports.serializeAws_restJson1DeleteGroupCommand = serializeAws_restJson1DeleteG
|
|
|
637
637
|
const serializeAws_restJson1DeleteLoggerDefinitionCommand = async (input, context) => {
|
|
638
638
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
639
639
|
const headers = {};
|
|
640
|
-
let resolvedPath = `${
|
|
640
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
641
641
|
"/greengrass/definition/loggers/{LoggerDefinitionId}";
|
|
642
642
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
643
643
|
let body;
|
|
@@ -655,7 +655,7 @@ exports.serializeAws_restJson1DeleteLoggerDefinitionCommand = serializeAws_restJ
|
|
|
655
655
|
const serializeAws_restJson1DeleteResourceDefinitionCommand = async (input, context) => {
|
|
656
656
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
657
657
|
const headers = {};
|
|
658
|
-
let resolvedPath = `${
|
|
658
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
659
659
|
"/greengrass/definition/resources/{ResourceDefinitionId}";
|
|
660
660
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
661
661
|
let body;
|
|
@@ -673,7 +673,7 @@ exports.serializeAws_restJson1DeleteResourceDefinitionCommand = serializeAws_res
|
|
|
673
673
|
const serializeAws_restJson1DeleteSubscriptionDefinitionCommand = async (input, context) => {
|
|
674
674
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
675
675
|
const headers = {};
|
|
676
|
-
let resolvedPath = `${
|
|
676
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
677
677
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}";
|
|
678
678
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
679
679
|
let body;
|
|
@@ -691,7 +691,7 @@ exports.serializeAws_restJson1DeleteSubscriptionDefinitionCommand = serializeAws
|
|
|
691
691
|
const serializeAws_restJson1DisassociateRoleFromGroupCommand = async (input, context) => {
|
|
692
692
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
693
693
|
const headers = {};
|
|
694
|
-
let resolvedPath = `${
|
|
694
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/role";
|
|
695
695
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
696
696
|
let body;
|
|
697
697
|
return new protocol_http_1.HttpRequest({
|
|
@@ -710,7 +710,7 @@ const serializeAws_restJson1DisassociateServiceRoleFromAccountCommand = async (i
|
|
|
710
710
|
const headers = {
|
|
711
711
|
"content-type": "application/json",
|
|
712
712
|
};
|
|
713
|
-
const resolvedPath = `${
|
|
713
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/servicerole";
|
|
714
714
|
let body;
|
|
715
715
|
body = "";
|
|
716
716
|
return new protocol_http_1.HttpRequest({
|
|
@@ -727,7 +727,7 @@ exports.serializeAws_restJson1DisassociateServiceRoleFromAccountCommand = serial
|
|
|
727
727
|
const serializeAws_restJson1GetAssociatedRoleCommand = async (input, context) => {
|
|
728
728
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
729
729
|
const headers = {};
|
|
730
|
-
let resolvedPath = `${
|
|
730
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/role";
|
|
731
731
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
732
732
|
let body;
|
|
733
733
|
return new protocol_http_1.HttpRequest({
|
|
@@ -744,7 +744,7 @@ exports.serializeAws_restJson1GetAssociatedRoleCommand = serializeAws_restJson1G
|
|
|
744
744
|
const serializeAws_restJson1GetBulkDeploymentStatusCommand = async (input, context) => {
|
|
745
745
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
746
746
|
const headers = {};
|
|
747
|
-
let resolvedPath = `${
|
|
747
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
748
748
|
"/greengrass/bulk/deployments/{BulkDeploymentId}/status";
|
|
749
749
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BulkDeploymentId", () => input.BulkDeploymentId, "{BulkDeploymentId}", false);
|
|
750
750
|
let body;
|
|
@@ -762,7 +762,7 @@ exports.serializeAws_restJson1GetBulkDeploymentStatusCommand = serializeAws_rest
|
|
|
762
762
|
const serializeAws_restJson1GetConnectivityInfoCommand = async (input, context) => {
|
|
763
763
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
764
764
|
const headers = {};
|
|
765
|
-
let resolvedPath = `${
|
|
765
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
766
766
|
"/greengrass/things/{ThingName}/connectivityInfo";
|
|
767
767
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThingName", () => input.ThingName, "{ThingName}", false);
|
|
768
768
|
let body;
|
|
@@ -780,7 +780,7 @@ exports.serializeAws_restJson1GetConnectivityInfoCommand = serializeAws_restJson
|
|
|
780
780
|
const serializeAws_restJson1GetConnectorDefinitionCommand = async (input, context) => {
|
|
781
781
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
782
782
|
const headers = {};
|
|
783
|
-
let resolvedPath = `${
|
|
783
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
784
784
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}";
|
|
785
785
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
786
786
|
let body;
|
|
@@ -798,7 +798,7 @@ exports.serializeAws_restJson1GetConnectorDefinitionCommand = serializeAws_restJ
|
|
|
798
798
|
const serializeAws_restJson1GetConnectorDefinitionVersionCommand = async (input, context) => {
|
|
799
799
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
800
800
|
const headers = {};
|
|
801
|
-
let resolvedPath = `${
|
|
801
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
802
802
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}";
|
|
803
803
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
804
804
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionVersionId", () => input.ConnectorDefinitionVersionId, "{ConnectorDefinitionVersionId}", false);
|
|
@@ -821,7 +821,7 @@ exports.serializeAws_restJson1GetConnectorDefinitionVersionCommand = serializeAw
|
|
|
821
821
|
const serializeAws_restJson1GetCoreDefinitionCommand = async (input, context) => {
|
|
822
822
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
823
823
|
const headers = {};
|
|
824
|
-
let resolvedPath = `${
|
|
824
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
825
825
|
"/greengrass/definition/cores/{CoreDefinitionId}";
|
|
826
826
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
827
827
|
let body;
|
|
@@ -839,7 +839,7 @@ exports.serializeAws_restJson1GetCoreDefinitionCommand = serializeAws_restJson1G
|
|
|
839
839
|
const serializeAws_restJson1GetCoreDefinitionVersionCommand = async (input, context) => {
|
|
840
840
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
841
841
|
const headers = {};
|
|
842
|
-
let resolvedPath = `${
|
|
842
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
843
843
|
"/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}";
|
|
844
844
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
845
845
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionVersionId", () => input.CoreDefinitionVersionId, "{CoreDefinitionVersionId}", false);
|
|
@@ -858,7 +858,7 @@ exports.serializeAws_restJson1GetCoreDefinitionVersionCommand = serializeAws_res
|
|
|
858
858
|
const serializeAws_restJson1GetDeploymentStatusCommand = async (input, context) => {
|
|
859
859
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
860
860
|
const headers = {};
|
|
861
|
-
let resolvedPath = `${
|
|
861
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
862
862
|
"/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status";
|
|
863
863
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentId", () => input.DeploymentId, "{DeploymentId}", false);
|
|
864
864
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
@@ -877,7 +877,7 @@ exports.serializeAws_restJson1GetDeploymentStatusCommand = serializeAws_restJson
|
|
|
877
877
|
const serializeAws_restJson1GetDeviceDefinitionCommand = async (input, context) => {
|
|
878
878
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
879
879
|
const headers = {};
|
|
880
|
-
let resolvedPath = `${
|
|
880
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
881
881
|
"/greengrass/definition/devices/{DeviceDefinitionId}";
|
|
882
882
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
883
883
|
let body;
|
|
@@ -895,7 +895,7 @@ exports.serializeAws_restJson1GetDeviceDefinitionCommand = serializeAws_restJson
|
|
|
895
895
|
const serializeAws_restJson1GetDeviceDefinitionVersionCommand = async (input, context) => {
|
|
896
896
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
897
897
|
const headers = {};
|
|
898
|
-
let resolvedPath = `${
|
|
898
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
899
899
|
"/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}";
|
|
900
900
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
901
901
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionVersionId", () => input.DeviceDefinitionVersionId, "{DeviceDefinitionVersionId}", false);
|
|
@@ -918,7 +918,7 @@ exports.serializeAws_restJson1GetDeviceDefinitionVersionCommand = serializeAws_r
|
|
|
918
918
|
const serializeAws_restJson1GetFunctionDefinitionCommand = async (input, context) => {
|
|
919
919
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
920
920
|
const headers = {};
|
|
921
|
-
let resolvedPath = `${
|
|
921
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
922
922
|
"/greengrass/definition/functions/{FunctionDefinitionId}";
|
|
923
923
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
924
924
|
let body;
|
|
@@ -936,7 +936,7 @@ exports.serializeAws_restJson1GetFunctionDefinitionCommand = serializeAws_restJs
|
|
|
936
936
|
const serializeAws_restJson1GetFunctionDefinitionVersionCommand = async (input, context) => {
|
|
937
937
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
938
938
|
const headers = {};
|
|
939
|
-
let resolvedPath = `${
|
|
939
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
940
940
|
"/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}";
|
|
941
941
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
942
942
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionVersionId", () => input.FunctionDefinitionVersionId, "{FunctionDefinitionVersionId}", false);
|
|
@@ -959,7 +959,7 @@ exports.serializeAws_restJson1GetFunctionDefinitionVersionCommand = serializeAws
|
|
|
959
959
|
const serializeAws_restJson1GetGroupCommand = async (input, context) => {
|
|
960
960
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
961
961
|
const headers = {};
|
|
962
|
-
let resolvedPath = `${
|
|
962
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}";
|
|
963
963
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
964
964
|
let body;
|
|
965
965
|
return new protocol_http_1.HttpRequest({
|
|
@@ -976,7 +976,7 @@ exports.serializeAws_restJson1GetGroupCommand = serializeAws_restJson1GetGroupCo
|
|
|
976
976
|
const serializeAws_restJson1GetGroupCertificateAuthorityCommand = async (input, context) => {
|
|
977
977
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
978
978
|
const headers = {};
|
|
979
|
-
let resolvedPath = `${
|
|
979
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
980
980
|
"/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}";
|
|
981
981
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CertificateAuthorityId", () => input.CertificateAuthorityId, "{CertificateAuthorityId}", false);
|
|
982
982
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
@@ -995,7 +995,7 @@ exports.serializeAws_restJson1GetGroupCertificateAuthorityCommand = serializeAws
|
|
|
995
995
|
const serializeAws_restJson1GetGroupCertificateConfigurationCommand = async (input, context) => {
|
|
996
996
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
997
997
|
const headers = {};
|
|
998
|
-
let resolvedPath = `${
|
|
998
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
999
999
|
"/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry";
|
|
1000
1000
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1001
1001
|
let body;
|
|
@@ -1013,7 +1013,7 @@ exports.serializeAws_restJson1GetGroupCertificateConfigurationCommand = serializ
|
|
|
1013
1013
|
const serializeAws_restJson1GetGroupVersionCommand = async (input, context) => {
|
|
1014
1014
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1015
1015
|
const headers = {};
|
|
1016
|
-
let resolvedPath = `${
|
|
1016
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1017
1017
|
"/greengrass/groups/{GroupId}/versions/{GroupVersionId}";
|
|
1018
1018
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1019
1019
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupVersionId", () => input.GroupVersionId, "{GroupVersionId}", false);
|
|
@@ -1032,7 +1032,7 @@ exports.serializeAws_restJson1GetGroupVersionCommand = serializeAws_restJson1Get
|
|
|
1032
1032
|
const serializeAws_restJson1GetLoggerDefinitionCommand = async (input, context) => {
|
|
1033
1033
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1034
1034
|
const headers = {};
|
|
1035
|
-
let resolvedPath = `${
|
|
1035
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1036
1036
|
"/greengrass/definition/loggers/{LoggerDefinitionId}";
|
|
1037
1037
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
1038
1038
|
let body;
|
|
@@ -1050,7 +1050,7 @@ exports.serializeAws_restJson1GetLoggerDefinitionCommand = serializeAws_restJson
|
|
|
1050
1050
|
const serializeAws_restJson1GetLoggerDefinitionVersionCommand = async (input, context) => {
|
|
1051
1051
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1052
1052
|
const headers = {};
|
|
1053
|
-
let resolvedPath = `${
|
|
1053
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1054
1054
|
"/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}";
|
|
1055
1055
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
1056
1056
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionVersionId", () => input.LoggerDefinitionVersionId, "{LoggerDefinitionVersionId}", false);
|
|
@@ -1073,7 +1073,7 @@ exports.serializeAws_restJson1GetLoggerDefinitionVersionCommand = serializeAws_r
|
|
|
1073
1073
|
const serializeAws_restJson1GetResourceDefinitionCommand = async (input, context) => {
|
|
1074
1074
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1075
1075
|
const headers = {};
|
|
1076
|
-
let resolvedPath = `${
|
|
1076
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1077
1077
|
"/greengrass/definition/resources/{ResourceDefinitionId}";
|
|
1078
1078
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
1079
1079
|
let body;
|
|
@@ -1091,7 +1091,7 @@ exports.serializeAws_restJson1GetResourceDefinitionCommand = serializeAws_restJs
|
|
|
1091
1091
|
const serializeAws_restJson1GetResourceDefinitionVersionCommand = async (input, context) => {
|
|
1092
1092
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1093
1093
|
const headers = {};
|
|
1094
|
-
let resolvedPath = `${
|
|
1094
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1095
1095
|
"/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}";
|
|
1096
1096
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
1097
1097
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionVersionId", () => input.ResourceDefinitionVersionId, "{ResourceDefinitionVersionId}", false);
|
|
@@ -1112,7 +1112,7 @@ const serializeAws_restJson1GetServiceRoleForAccountCommand = async (input, cont
|
|
|
1112
1112
|
const headers = {
|
|
1113
1113
|
"content-type": "application/json",
|
|
1114
1114
|
};
|
|
1115
|
-
const resolvedPath = `${
|
|
1115
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/servicerole";
|
|
1116
1116
|
let body;
|
|
1117
1117
|
body = "";
|
|
1118
1118
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1129,7 +1129,7 @@ exports.serializeAws_restJson1GetServiceRoleForAccountCommand = serializeAws_res
|
|
|
1129
1129
|
const serializeAws_restJson1GetSubscriptionDefinitionCommand = async (input, context) => {
|
|
1130
1130
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1131
1131
|
const headers = {};
|
|
1132
|
-
let resolvedPath = `${
|
|
1132
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1133
1133
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}";
|
|
1134
1134
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
1135
1135
|
let body;
|
|
@@ -1147,7 +1147,7 @@ exports.serializeAws_restJson1GetSubscriptionDefinitionCommand = serializeAws_re
|
|
|
1147
1147
|
const serializeAws_restJson1GetSubscriptionDefinitionVersionCommand = async (input, context) => {
|
|
1148
1148
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1149
1149
|
const headers = {};
|
|
1150
|
-
let resolvedPath = `${
|
|
1150
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1151
1151
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}";
|
|
1152
1152
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
1153
1153
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionVersionId", () => input.SubscriptionDefinitionVersionId, "{SubscriptionDefinitionVersionId}", false);
|
|
@@ -1170,7 +1170,7 @@ exports.serializeAws_restJson1GetSubscriptionDefinitionVersionCommand = serializ
|
|
|
1170
1170
|
const serializeAws_restJson1GetThingRuntimeConfigurationCommand = async (input, context) => {
|
|
1171
1171
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1172
1172
|
const headers = {};
|
|
1173
|
-
let resolvedPath = `${
|
|
1173
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1174
1174
|
"/greengrass/things/{ThingName}/runtimeconfig";
|
|
1175
1175
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThingName", () => input.ThingName, "{ThingName}", false);
|
|
1176
1176
|
let body;
|
|
@@ -1188,7 +1188,7 @@ exports.serializeAws_restJson1GetThingRuntimeConfigurationCommand = serializeAws
|
|
|
1188
1188
|
const serializeAws_restJson1ListBulkDeploymentDetailedReportsCommand = async (input, context) => {
|
|
1189
1189
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1190
1190
|
const headers = {};
|
|
1191
|
-
let resolvedPath = `${
|
|
1191
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1192
1192
|
"/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports";
|
|
1193
1193
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BulkDeploymentId", () => input.BulkDeploymentId, "{BulkDeploymentId}", false);
|
|
1194
1194
|
const query = map({
|
|
@@ -1211,7 +1211,7 @@ exports.serializeAws_restJson1ListBulkDeploymentDetailedReportsCommand = seriali
|
|
|
1211
1211
|
const serializeAws_restJson1ListBulkDeploymentsCommand = async (input, context) => {
|
|
1212
1212
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1213
1213
|
const headers = {};
|
|
1214
|
-
const resolvedPath = `${
|
|
1214
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/bulk/deployments";
|
|
1215
1215
|
const query = map({
|
|
1216
1216
|
MaxResults: [, input.MaxResults],
|
|
1217
1217
|
NextToken: [, input.NextToken],
|
|
@@ -1232,7 +1232,7 @@ exports.serializeAws_restJson1ListBulkDeploymentsCommand = serializeAws_restJson
|
|
|
1232
1232
|
const serializeAws_restJson1ListConnectorDefinitionsCommand = async (input, context) => {
|
|
1233
1233
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1234
1234
|
const headers = {};
|
|
1235
|
-
const resolvedPath = `${
|
|
1235
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/connectors";
|
|
1236
1236
|
const query = map({
|
|
1237
1237
|
MaxResults: [, input.MaxResults],
|
|
1238
1238
|
NextToken: [, input.NextToken],
|
|
@@ -1253,7 +1253,7 @@ exports.serializeAws_restJson1ListConnectorDefinitionsCommand = serializeAws_res
|
|
|
1253
1253
|
const serializeAws_restJson1ListConnectorDefinitionVersionsCommand = async (input, context) => {
|
|
1254
1254
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1255
1255
|
const headers = {};
|
|
1256
|
-
let resolvedPath = `${
|
|
1256
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1257
1257
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions";
|
|
1258
1258
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
1259
1259
|
const query = map({
|
|
@@ -1276,7 +1276,7 @@ exports.serializeAws_restJson1ListConnectorDefinitionVersionsCommand = serialize
|
|
|
1276
1276
|
const serializeAws_restJson1ListCoreDefinitionsCommand = async (input, context) => {
|
|
1277
1277
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1278
1278
|
const headers = {};
|
|
1279
|
-
const resolvedPath = `${
|
|
1279
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/cores";
|
|
1280
1280
|
const query = map({
|
|
1281
1281
|
MaxResults: [, input.MaxResults],
|
|
1282
1282
|
NextToken: [, input.NextToken],
|
|
@@ -1297,7 +1297,7 @@ exports.serializeAws_restJson1ListCoreDefinitionsCommand = serializeAws_restJson
|
|
|
1297
1297
|
const serializeAws_restJson1ListCoreDefinitionVersionsCommand = async (input, context) => {
|
|
1298
1298
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1299
1299
|
const headers = {};
|
|
1300
|
-
let resolvedPath = `${
|
|
1300
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1301
1301
|
"/greengrass/definition/cores/{CoreDefinitionId}/versions";
|
|
1302
1302
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
1303
1303
|
const query = map({
|
|
@@ -1320,7 +1320,7 @@ exports.serializeAws_restJson1ListCoreDefinitionVersionsCommand = serializeAws_r
|
|
|
1320
1320
|
const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
1321
1321
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1322
1322
|
const headers = {};
|
|
1323
|
-
let resolvedPath = `${
|
|
1323
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/deployments";
|
|
1324
1324
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1325
1325
|
const query = map({
|
|
1326
1326
|
MaxResults: [, input.MaxResults],
|
|
@@ -1342,7 +1342,7 @@ exports.serializeAws_restJson1ListDeploymentsCommand = serializeAws_restJson1Lis
|
|
|
1342
1342
|
const serializeAws_restJson1ListDeviceDefinitionsCommand = async (input, context) => {
|
|
1343
1343
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1344
1344
|
const headers = {};
|
|
1345
|
-
const resolvedPath = `${
|
|
1345
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/devices";
|
|
1346
1346
|
const query = map({
|
|
1347
1347
|
MaxResults: [, input.MaxResults],
|
|
1348
1348
|
NextToken: [, input.NextToken],
|
|
@@ -1363,7 +1363,7 @@ exports.serializeAws_restJson1ListDeviceDefinitionsCommand = serializeAws_restJs
|
|
|
1363
1363
|
const serializeAws_restJson1ListDeviceDefinitionVersionsCommand = async (input, context) => {
|
|
1364
1364
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1365
1365
|
const headers = {};
|
|
1366
|
-
let resolvedPath = `${
|
|
1366
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1367
1367
|
"/greengrass/definition/devices/{DeviceDefinitionId}/versions";
|
|
1368
1368
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
1369
1369
|
const query = map({
|
|
@@ -1386,7 +1386,7 @@ exports.serializeAws_restJson1ListDeviceDefinitionVersionsCommand = serializeAws
|
|
|
1386
1386
|
const serializeAws_restJson1ListFunctionDefinitionsCommand = async (input, context) => {
|
|
1387
1387
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1388
1388
|
const headers = {};
|
|
1389
|
-
const resolvedPath = `${
|
|
1389
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/functions";
|
|
1390
1390
|
const query = map({
|
|
1391
1391
|
MaxResults: [, input.MaxResults],
|
|
1392
1392
|
NextToken: [, input.NextToken],
|
|
@@ -1407,7 +1407,7 @@ exports.serializeAws_restJson1ListFunctionDefinitionsCommand = serializeAws_rest
|
|
|
1407
1407
|
const serializeAws_restJson1ListFunctionDefinitionVersionsCommand = async (input, context) => {
|
|
1408
1408
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1409
1409
|
const headers = {};
|
|
1410
|
-
let resolvedPath = `${
|
|
1410
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1411
1411
|
"/greengrass/definition/functions/{FunctionDefinitionId}/versions";
|
|
1412
1412
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
1413
1413
|
const query = map({
|
|
@@ -1430,7 +1430,7 @@ exports.serializeAws_restJson1ListFunctionDefinitionVersionsCommand = serializeA
|
|
|
1430
1430
|
const serializeAws_restJson1ListGroupCertificateAuthoritiesCommand = async (input, context) => {
|
|
1431
1431
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1432
1432
|
const headers = {};
|
|
1433
|
-
let resolvedPath = `${
|
|
1433
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1434
1434
|
"/greengrass/groups/{GroupId}/certificateauthorities";
|
|
1435
1435
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1436
1436
|
let body;
|
|
@@ -1448,7 +1448,7 @@ exports.serializeAws_restJson1ListGroupCertificateAuthoritiesCommand = serialize
|
|
|
1448
1448
|
const serializeAws_restJson1ListGroupsCommand = async (input, context) => {
|
|
1449
1449
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1450
1450
|
const headers = {};
|
|
1451
|
-
const resolvedPath = `${
|
|
1451
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups";
|
|
1452
1452
|
const query = map({
|
|
1453
1453
|
MaxResults: [, input.MaxResults],
|
|
1454
1454
|
NextToken: [, input.NextToken],
|
|
@@ -1469,7 +1469,7 @@ exports.serializeAws_restJson1ListGroupsCommand = serializeAws_restJson1ListGrou
|
|
|
1469
1469
|
const serializeAws_restJson1ListGroupVersionsCommand = async (input, context) => {
|
|
1470
1470
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1471
1471
|
const headers = {};
|
|
1472
|
-
let resolvedPath = `${
|
|
1472
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}/versions";
|
|
1473
1473
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1474
1474
|
const query = map({
|
|
1475
1475
|
MaxResults: [, input.MaxResults],
|
|
@@ -1491,7 +1491,7 @@ exports.serializeAws_restJson1ListGroupVersionsCommand = serializeAws_restJson1L
|
|
|
1491
1491
|
const serializeAws_restJson1ListLoggerDefinitionsCommand = async (input, context) => {
|
|
1492
1492
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1493
1493
|
const headers = {};
|
|
1494
|
-
const resolvedPath = `${
|
|
1494
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/loggers";
|
|
1495
1495
|
const query = map({
|
|
1496
1496
|
MaxResults: [, input.MaxResults],
|
|
1497
1497
|
NextToken: [, input.NextToken],
|
|
@@ -1512,7 +1512,7 @@ exports.serializeAws_restJson1ListLoggerDefinitionsCommand = serializeAws_restJs
|
|
|
1512
1512
|
const serializeAws_restJson1ListLoggerDefinitionVersionsCommand = async (input, context) => {
|
|
1513
1513
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1514
1514
|
const headers = {};
|
|
1515
|
-
let resolvedPath = `${
|
|
1515
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1516
1516
|
"/greengrass/definition/loggers/{LoggerDefinitionId}/versions";
|
|
1517
1517
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
1518
1518
|
const query = map({
|
|
@@ -1535,7 +1535,7 @@ exports.serializeAws_restJson1ListLoggerDefinitionVersionsCommand = serializeAws
|
|
|
1535
1535
|
const serializeAws_restJson1ListResourceDefinitionsCommand = async (input, context) => {
|
|
1536
1536
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1537
1537
|
const headers = {};
|
|
1538
|
-
const resolvedPath = `${
|
|
1538
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/resources";
|
|
1539
1539
|
const query = map({
|
|
1540
1540
|
MaxResults: [, input.MaxResults],
|
|
1541
1541
|
NextToken: [, input.NextToken],
|
|
@@ -1556,7 +1556,7 @@ exports.serializeAws_restJson1ListResourceDefinitionsCommand = serializeAws_rest
|
|
|
1556
1556
|
const serializeAws_restJson1ListResourceDefinitionVersionsCommand = async (input, context) => {
|
|
1557
1557
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1558
1558
|
const headers = {};
|
|
1559
|
-
let resolvedPath = `${
|
|
1559
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1560
1560
|
"/greengrass/definition/resources/{ResourceDefinitionId}/versions";
|
|
1561
1561
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
1562
1562
|
const query = map({
|
|
@@ -1579,7 +1579,7 @@ exports.serializeAws_restJson1ListResourceDefinitionVersionsCommand = serializeA
|
|
|
1579
1579
|
const serializeAws_restJson1ListSubscriptionDefinitionsCommand = async (input, context) => {
|
|
1580
1580
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1581
1581
|
const headers = {};
|
|
1582
|
-
const resolvedPath = `${
|
|
1582
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/definition/subscriptions";
|
|
1583
1583
|
const query = map({
|
|
1584
1584
|
MaxResults: [, input.MaxResults],
|
|
1585
1585
|
NextToken: [, input.NextToken],
|
|
@@ -1600,7 +1600,7 @@ exports.serializeAws_restJson1ListSubscriptionDefinitionsCommand = serializeAws_
|
|
|
1600
1600
|
const serializeAws_restJson1ListSubscriptionDefinitionVersionsCommand = async (input, context) => {
|
|
1601
1601
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1602
1602
|
const headers = {};
|
|
1603
|
-
let resolvedPath = `${
|
|
1603
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1604
1604
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions";
|
|
1605
1605
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
1606
1606
|
const query = map({
|
|
@@ -1623,7 +1623,7 @@ exports.serializeAws_restJson1ListSubscriptionDefinitionVersionsCommand = serial
|
|
|
1623
1623
|
const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
1624
1624
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1625
1625
|
const headers = {};
|
|
1626
|
-
let resolvedPath = `${
|
|
1626
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
1627
1627
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1628
1628
|
let body;
|
|
1629
1629
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1643,7 +1643,7 @@ const serializeAws_restJson1ResetDeploymentsCommand = async (input, context) =>
|
|
|
1643
1643
|
"content-type": "application/json",
|
|
1644
1644
|
"x-amzn-client-token": input.AmznClientToken,
|
|
1645
1645
|
});
|
|
1646
|
-
let resolvedPath = `${
|
|
1646
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1647
1647
|
"/greengrass/groups/{GroupId}/deployments/$reset";
|
|
1648
1648
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1649
1649
|
let body;
|
|
@@ -1667,7 +1667,7 @@ const serializeAws_restJson1StartBulkDeploymentCommand = async (input, context)
|
|
|
1667
1667
|
"content-type": "application/json",
|
|
1668
1668
|
"x-amzn-client-token": input.AmznClientToken,
|
|
1669
1669
|
});
|
|
1670
|
-
const resolvedPath = `${
|
|
1670
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/bulk/deployments";
|
|
1671
1671
|
let body;
|
|
1672
1672
|
body = JSON.stringify({
|
|
1673
1673
|
...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
|
|
@@ -1688,7 +1688,7 @@ exports.serializeAws_restJson1StartBulkDeploymentCommand = serializeAws_restJson
|
|
|
1688
1688
|
const serializeAws_restJson1StopBulkDeploymentCommand = async (input, context) => {
|
|
1689
1689
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1690
1690
|
const headers = {};
|
|
1691
|
-
let resolvedPath = `${
|
|
1691
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1692
1692
|
"/greengrass/bulk/deployments/{BulkDeploymentId}/$stop";
|
|
1693
1693
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BulkDeploymentId", () => input.BulkDeploymentId, "{BulkDeploymentId}", false);
|
|
1694
1694
|
let body;
|
|
@@ -1708,7 +1708,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1708
1708
|
const headers = {
|
|
1709
1709
|
"content-type": "application/json",
|
|
1710
1710
|
};
|
|
1711
|
-
let resolvedPath = `${
|
|
1711
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
1712
1712
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1713
1713
|
let body;
|
|
1714
1714
|
body = JSON.stringify({
|
|
@@ -1728,7 +1728,7 @@ exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagReso
|
|
|
1728
1728
|
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
1729
1729
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1730
1730
|
const headers = {};
|
|
1731
|
-
let resolvedPath = `${
|
|
1731
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
1732
1732
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1733
1733
|
const query = map({
|
|
1734
1734
|
tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
|
|
@@ -1751,7 +1751,7 @@ const serializeAws_restJson1UpdateConnectivityInfoCommand = async (input, contex
|
|
|
1751
1751
|
const headers = {
|
|
1752
1752
|
"content-type": "application/json",
|
|
1753
1753
|
};
|
|
1754
|
-
let resolvedPath = `${
|
|
1754
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1755
1755
|
"/greengrass/things/{ThingName}/connectivityInfo";
|
|
1756
1756
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThingName", () => input.ThingName, "{ThingName}", false);
|
|
1757
1757
|
let body;
|
|
@@ -1776,7 +1776,7 @@ const serializeAws_restJson1UpdateConnectorDefinitionCommand = async (input, con
|
|
|
1776
1776
|
const headers = {
|
|
1777
1777
|
"content-type": "application/json",
|
|
1778
1778
|
};
|
|
1779
|
-
let resolvedPath = `${
|
|
1779
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1780
1780
|
"/greengrass/definition/connectors/{ConnectorDefinitionId}";
|
|
1781
1781
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConnectorDefinitionId", () => input.ConnectorDefinitionId, "{ConnectorDefinitionId}", false);
|
|
1782
1782
|
let body;
|
|
@@ -1799,7 +1799,7 @@ const serializeAws_restJson1UpdateCoreDefinitionCommand = async (input, context)
|
|
|
1799
1799
|
const headers = {
|
|
1800
1800
|
"content-type": "application/json",
|
|
1801
1801
|
};
|
|
1802
|
-
let resolvedPath = `${
|
|
1802
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1803
1803
|
"/greengrass/definition/cores/{CoreDefinitionId}";
|
|
1804
1804
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreDefinitionId", () => input.CoreDefinitionId, "{CoreDefinitionId}", false);
|
|
1805
1805
|
let body;
|
|
@@ -1822,7 +1822,7 @@ const serializeAws_restJson1UpdateDeviceDefinitionCommand = async (input, contex
|
|
|
1822
1822
|
const headers = {
|
|
1823
1823
|
"content-type": "application/json",
|
|
1824
1824
|
};
|
|
1825
|
-
let resolvedPath = `${
|
|
1825
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1826
1826
|
"/greengrass/definition/devices/{DeviceDefinitionId}";
|
|
1827
1827
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeviceDefinitionId", () => input.DeviceDefinitionId, "{DeviceDefinitionId}", false);
|
|
1828
1828
|
let body;
|
|
@@ -1845,7 +1845,7 @@ const serializeAws_restJson1UpdateFunctionDefinitionCommand = async (input, cont
|
|
|
1845
1845
|
const headers = {
|
|
1846
1846
|
"content-type": "application/json",
|
|
1847
1847
|
};
|
|
1848
|
-
let resolvedPath = `${
|
|
1848
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1849
1849
|
"/greengrass/definition/functions/{FunctionDefinitionId}";
|
|
1850
1850
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionDefinitionId", () => input.FunctionDefinitionId, "{FunctionDefinitionId}", false);
|
|
1851
1851
|
let body;
|
|
@@ -1868,7 +1868,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
|
|
|
1868
1868
|
const headers = {
|
|
1869
1869
|
"content-type": "application/json",
|
|
1870
1870
|
};
|
|
1871
|
-
let resolvedPath = `${
|
|
1871
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/groups/{GroupId}";
|
|
1872
1872
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1873
1873
|
let body;
|
|
1874
1874
|
body = JSON.stringify({
|
|
@@ -1890,7 +1890,7 @@ const serializeAws_restJson1UpdateGroupCertificateConfigurationCommand = async (
|
|
|
1890
1890
|
const headers = {
|
|
1891
1891
|
"content-type": "application/json",
|
|
1892
1892
|
};
|
|
1893
|
-
let resolvedPath = `${
|
|
1893
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1894
1894
|
"/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry";
|
|
1895
1895
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupId", () => input.GroupId, "{GroupId}", false);
|
|
1896
1896
|
let body;
|
|
@@ -1915,7 +1915,7 @@ const serializeAws_restJson1UpdateLoggerDefinitionCommand = async (input, contex
|
|
|
1915
1915
|
const headers = {
|
|
1916
1916
|
"content-type": "application/json",
|
|
1917
1917
|
};
|
|
1918
|
-
let resolvedPath = `${
|
|
1918
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1919
1919
|
"/greengrass/definition/loggers/{LoggerDefinitionId}";
|
|
1920
1920
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LoggerDefinitionId", () => input.LoggerDefinitionId, "{LoggerDefinitionId}", false);
|
|
1921
1921
|
let body;
|
|
@@ -1938,7 +1938,7 @@ const serializeAws_restJson1UpdateResourceDefinitionCommand = async (input, cont
|
|
|
1938
1938
|
const headers = {
|
|
1939
1939
|
"content-type": "application/json",
|
|
1940
1940
|
};
|
|
1941
|
-
let resolvedPath = `${
|
|
1941
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1942
1942
|
"/greengrass/definition/resources/{ResourceDefinitionId}";
|
|
1943
1943
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceDefinitionId", () => input.ResourceDefinitionId, "{ResourceDefinitionId}", false);
|
|
1944
1944
|
let body;
|
|
@@ -1961,7 +1961,7 @@ const serializeAws_restJson1UpdateSubscriptionDefinitionCommand = async (input,
|
|
|
1961
1961
|
const headers = {
|
|
1962
1962
|
"content-type": "application/json",
|
|
1963
1963
|
};
|
|
1964
|
-
let resolvedPath = `${
|
|
1964
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1965
1965
|
"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}";
|
|
1966
1966
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscriptionDefinitionId", () => input.SubscriptionDefinitionId, "{SubscriptionDefinitionId}", false);
|
|
1967
1967
|
let body;
|
|
@@ -1984,7 +1984,7 @@ const serializeAws_restJson1UpdateThingRuntimeConfigurationCommand = async (inpu
|
|
|
1984
1984
|
const headers = {
|
|
1985
1985
|
"content-type": "application/json",
|
|
1986
1986
|
};
|
|
1987
|
-
let resolvedPath = `${
|
|
1987
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1988
1988
|
"/greengrass/things/{ThingName}/runtimeconfig";
|
|
1989
1989
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThingName", () => input.ThingName, "{ThingName}", false);
|
|
1990
1990
|
let body;
|
|
@@ -6638,15 +6638,12 @@ const deserializeAws_restJson1VersionInformation = (output, context) => {
|
|
|
6638
6638
|
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
6639
6639
|
};
|
|
6640
6640
|
};
|
|
6641
|
-
const deserializeMetadata = (output) => {
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
6648
|
-
});
|
|
6649
|
-
};
|
|
6641
|
+
const deserializeMetadata = (output) => ({
|
|
6642
|
+
httpStatusCode: output.statusCode,
|
|
6643
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
6644
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
6645
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
6646
|
+
});
|
|
6650
6647
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
6651
6648
|
if (streamBody instanceof Uint8Array) {
|
|
6652
6649
|
return Promise.resolve(streamBody);
|
|
@@ -6666,9 +6663,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6666
6663
|
return {};
|
|
6667
6664
|
});
|
|
6668
6665
|
const parseErrorBody = async (errorBody, context) => {
|
|
6669
|
-
var _a;
|
|
6670
6666
|
const value = await parseBody(errorBody, context);
|
|
6671
|
-
value.message =
|
|
6667
|
+
value.message = value.message ?? value.Message;
|
|
6672
6668
|
return value;
|
|
6673
6669
|
};
|
|
6674
6670
|
const loadRestJsonErrorCode = (output, data) => {
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2017-06-07",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "Greengrass",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-greengrass",
|
|
3
3
|
"description": "AWS SDK for JavaScript Greengrass Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,44 +19,44 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
59
|
-
"@tsconfig/
|
|
59
|
+
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^12.7.5",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
|
-
"node": ">=
|
|
73
|
+
"node": ">=14.0.0"
|
|
74
74
|
},
|
|
75
75
|
"typesVersions": {
|
|
76
76
|
"<4.0": {
|