@aws-sdk/client-iot-jobs-data-plane 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/DescribeJobExecutionCommand.js +2 -2
- package/dist-cjs/commands/GetPendingJobExecutionsCommand.js +2 -2
- package/dist-cjs/commands/StartNextPendingJobExecutionCommand.js +2 -2
- package/dist-cjs/commands/UpdateJobExecutionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +70 -74
- package/dist-es/commands/DescribeJobExecutionCommand.js +3 -3
- package/dist-es/commands/GetPendingJobExecutionsCommand.js +3 -3
- package/dist-es/commands/StartNextPendingJobExecutionCommand.js +3 -3
- package/dist-es/commands/UpdateJobExecutionCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +61 -65
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -8
- package/package.json +35 -35
|
@@ -36,10 +36,10 @@ class DescribeJobExecutionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DescribeJobExecutionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DescribeJobExecutionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DescribeJobExecutionCommand = DescribeJobExecutionCommand;
|
|
@@ -36,10 +36,10 @@ class GetPendingJobExecutionsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetPendingJobExecutionsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetPendingJobExecutionsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetPendingJobExecutionsCommand = GetPendingJobExecutionsCommand;
|
|
@@ -36,10 +36,10 @@ class StartNextPendingJobExecutionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_StartNextPendingJobExecutionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_StartNextPendingJobExecutionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartNextPendingJobExecutionCommand = StartNextPendingJobExecutionCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateJobExecutionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_UpdateJobExecutionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_UpdateJobExecutionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateJobExecutionCommand = UpdateJobExecutionCommand;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateJobExecutionCommand = exports.de_StartNextPendingJobExecutionCommand = exports.de_GetPendingJobExecutionsCommand = exports.de_DescribeJobExecutionCommand = exports.se_UpdateJobExecutionCommand = exports.se_StartNextPendingJobExecutionCommand = exports.se_GetPendingJobExecutionsCommand = exports.se_DescribeJobExecutionCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const IoTJobsDataPlaneServiceException_1 = require("../models/IoTJobsDataPlaneServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_DescribeJobExecutionCommand = async (input, context) => {
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
10
10
|
const headers = {};
|
|
11
11
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/things/{thingName}/jobs/{jobId}";
|
|
@@ -27,8 +27,8 @@ const serializeAws_restJson1DescribeJobExecutionCommand = async (input, context)
|
|
|
27
27
|
body,
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
|
-
exports.
|
|
31
|
-
const
|
|
30
|
+
exports.se_DescribeJobExecutionCommand = se_DescribeJobExecutionCommand;
|
|
31
|
+
const se_GetPendingJobExecutionsCommand = async (input, context) => {
|
|
32
32
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
33
33
|
const headers = {};
|
|
34
34
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/things/{thingName}/jobs";
|
|
@@ -44,8 +44,8 @@ const serializeAws_restJson1GetPendingJobExecutionsCommand = async (input, conte
|
|
|
44
44
|
body,
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_GetPendingJobExecutionsCommand = se_GetPendingJobExecutionsCommand;
|
|
48
|
+
const se_StartNextPendingJobExecutionCommand = async (input, context) => {
|
|
49
49
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
@@ -54,9 +54,7 @@ const serializeAws_restJson1StartNextPendingJobExecutionCommand = async (input,
|
|
|
54
54
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "thingName", () => input.thingName, "{thingName}", false);
|
|
55
55
|
let body;
|
|
56
56
|
body = JSON.stringify({
|
|
57
|
-
...(input.statusDetails != null && {
|
|
58
|
-
statusDetails: serializeAws_restJson1DetailsMap(input.statusDetails, context),
|
|
59
|
-
}),
|
|
57
|
+
...(input.statusDetails != null && { statusDetails: se_DetailsMap(input.statusDetails, context) }),
|
|
60
58
|
...(input.stepTimeoutInMinutes != null && { stepTimeoutInMinutes: input.stepTimeoutInMinutes }),
|
|
61
59
|
});
|
|
62
60
|
return new protocol_http_1.HttpRequest({
|
|
@@ -69,8 +67,8 @@ const serializeAws_restJson1StartNextPendingJobExecutionCommand = async (input,
|
|
|
69
67
|
body,
|
|
70
68
|
});
|
|
71
69
|
};
|
|
72
|
-
exports.
|
|
73
|
-
const
|
|
70
|
+
exports.se_StartNextPendingJobExecutionCommand = se_StartNextPendingJobExecutionCommand;
|
|
71
|
+
const se_UpdateJobExecutionCommand = async (input, context) => {
|
|
74
72
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
75
73
|
const headers = {
|
|
76
74
|
"content-type": "application/json",
|
|
@@ -85,9 +83,7 @@ const serializeAws_restJson1UpdateJobExecutionCommand = async (input, context) =
|
|
|
85
83
|
...(input.includeJobDocument != null && { includeJobDocument: input.includeJobDocument }),
|
|
86
84
|
...(input.includeJobExecutionState != null && { includeJobExecutionState: input.includeJobExecutionState }),
|
|
87
85
|
...(input.status != null && { status: input.status }),
|
|
88
|
-
...(input.statusDetails != null && {
|
|
89
|
-
statusDetails: serializeAws_restJson1DetailsMap(input.statusDetails, context),
|
|
90
|
-
}),
|
|
86
|
+
...(input.statusDetails != null && { statusDetails: se_DetailsMap(input.statusDetails, context) }),
|
|
91
87
|
...(input.stepTimeoutInMinutes != null && { stepTimeoutInMinutes: input.stepTimeoutInMinutes }),
|
|
92
88
|
});
|
|
93
89
|
return new protocol_http_1.HttpRequest({
|
|
@@ -100,22 +96,22 @@ const serializeAws_restJson1UpdateJobExecutionCommand = async (input, context) =
|
|
|
100
96
|
body,
|
|
101
97
|
});
|
|
102
98
|
};
|
|
103
|
-
exports.
|
|
104
|
-
const
|
|
99
|
+
exports.se_UpdateJobExecutionCommand = se_UpdateJobExecutionCommand;
|
|
100
|
+
const de_DescribeJobExecutionCommand = async (output, context) => {
|
|
105
101
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
106
|
-
return
|
|
102
|
+
return de_DescribeJobExecutionCommandError(output, context);
|
|
107
103
|
}
|
|
108
104
|
const contents = map({
|
|
109
105
|
$metadata: deserializeMetadata(output),
|
|
110
106
|
});
|
|
111
107
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
112
108
|
if (data.execution != null) {
|
|
113
|
-
contents.execution =
|
|
109
|
+
contents.execution = de_JobExecution(data.execution, context);
|
|
114
110
|
}
|
|
115
111
|
return contents;
|
|
116
112
|
};
|
|
117
|
-
exports.
|
|
118
|
-
const
|
|
113
|
+
exports.de_DescribeJobExecutionCommand = de_DescribeJobExecutionCommand;
|
|
114
|
+
const de_DescribeJobExecutionCommandError = async (output, context) => {
|
|
119
115
|
const parsedOutput = {
|
|
120
116
|
...output,
|
|
121
117
|
body: await parseErrorBody(output.body, context),
|
|
@@ -124,22 +120,22 @@ const deserializeAws_restJson1DescribeJobExecutionCommandError = async (output,
|
|
|
124
120
|
switch (errorCode) {
|
|
125
121
|
case "CertificateValidationException":
|
|
126
122
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
127
|
-
throw await
|
|
123
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
128
124
|
case "InvalidRequestException":
|
|
129
125
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
130
|
-
throw await
|
|
126
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
131
127
|
case "ResourceNotFoundException":
|
|
132
128
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
133
|
-
throw await
|
|
129
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
134
130
|
case "ServiceUnavailableException":
|
|
135
131
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
136
|
-
throw await
|
|
132
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
137
133
|
case "TerminalStateException":
|
|
138
134
|
case "com.amazonaws.iotjobsdataplane#TerminalStateException":
|
|
139
|
-
throw await
|
|
135
|
+
throw await de_TerminalStateExceptionRes(parsedOutput, context);
|
|
140
136
|
case "ThrottlingException":
|
|
141
137
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
142
|
-
throw await
|
|
138
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
143
139
|
default:
|
|
144
140
|
const parsedBody = parsedOutput.body;
|
|
145
141
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -150,24 +146,24 @@ const deserializeAws_restJson1DescribeJobExecutionCommandError = async (output,
|
|
|
150
146
|
});
|
|
151
147
|
}
|
|
152
148
|
};
|
|
153
|
-
const
|
|
149
|
+
const de_GetPendingJobExecutionsCommand = async (output, context) => {
|
|
154
150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
155
|
-
return
|
|
151
|
+
return de_GetPendingJobExecutionsCommandError(output, context);
|
|
156
152
|
}
|
|
157
153
|
const contents = map({
|
|
158
154
|
$metadata: deserializeMetadata(output),
|
|
159
155
|
});
|
|
160
156
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
161
157
|
if (data.inProgressJobs != null) {
|
|
162
|
-
contents.inProgressJobs =
|
|
158
|
+
contents.inProgressJobs = de_JobExecutionSummaryList(data.inProgressJobs, context);
|
|
163
159
|
}
|
|
164
160
|
if (data.queuedJobs != null) {
|
|
165
|
-
contents.queuedJobs =
|
|
161
|
+
contents.queuedJobs = de_JobExecutionSummaryList(data.queuedJobs, context);
|
|
166
162
|
}
|
|
167
163
|
return contents;
|
|
168
164
|
};
|
|
169
|
-
exports.
|
|
170
|
-
const
|
|
165
|
+
exports.de_GetPendingJobExecutionsCommand = de_GetPendingJobExecutionsCommand;
|
|
166
|
+
const de_GetPendingJobExecutionsCommandError = async (output, context) => {
|
|
171
167
|
const parsedOutput = {
|
|
172
168
|
...output,
|
|
173
169
|
body: await parseErrorBody(output.body, context),
|
|
@@ -176,19 +172,19 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommandError = async (outpu
|
|
|
176
172
|
switch (errorCode) {
|
|
177
173
|
case "CertificateValidationException":
|
|
178
174
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
179
|
-
throw await
|
|
175
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
180
176
|
case "InvalidRequestException":
|
|
181
177
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
182
|
-
throw await
|
|
178
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
183
179
|
case "ResourceNotFoundException":
|
|
184
180
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
185
|
-
throw await
|
|
181
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
186
182
|
case "ServiceUnavailableException":
|
|
187
183
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
188
|
-
throw await
|
|
184
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
189
185
|
case "ThrottlingException":
|
|
190
186
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
191
|
-
throw await
|
|
187
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
192
188
|
default:
|
|
193
189
|
const parsedBody = parsedOutput.body;
|
|
194
190
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -199,21 +195,21 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommandError = async (outpu
|
|
|
199
195
|
});
|
|
200
196
|
}
|
|
201
197
|
};
|
|
202
|
-
const
|
|
198
|
+
const de_StartNextPendingJobExecutionCommand = async (output, context) => {
|
|
203
199
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
204
|
-
return
|
|
200
|
+
return de_StartNextPendingJobExecutionCommandError(output, context);
|
|
205
201
|
}
|
|
206
202
|
const contents = map({
|
|
207
203
|
$metadata: deserializeMetadata(output),
|
|
208
204
|
});
|
|
209
205
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
210
206
|
if (data.execution != null) {
|
|
211
|
-
contents.execution =
|
|
207
|
+
contents.execution = de_JobExecution(data.execution, context);
|
|
212
208
|
}
|
|
213
209
|
return contents;
|
|
214
210
|
};
|
|
215
|
-
exports.
|
|
216
|
-
const
|
|
211
|
+
exports.de_StartNextPendingJobExecutionCommand = de_StartNextPendingJobExecutionCommand;
|
|
212
|
+
const de_StartNextPendingJobExecutionCommandError = async (output, context) => {
|
|
217
213
|
const parsedOutput = {
|
|
218
214
|
...output,
|
|
219
215
|
body: await parseErrorBody(output.body, context),
|
|
@@ -222,19 +218,19 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommandError = async (
|
|
|
222
218
|
switch (errorCode) {
|
|
223
219
|
case "CertificateValidationException":
|
|
224
220
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
225
|
-
throw await
|
|
221
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
226
222
|
case "InvalidRequestException":
|
|
227
223
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
228
|
-
throw await
|
|
224
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
229
225
|
case "ResourceNotFoundException":
|
|
230
226
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
231
|
-
throw await
|
|
227
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
232
228
|
case "ServiceUnavailableException":
|
|
233
229
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
234
|
-
throw await
|
|
230
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
235
231
|
case "ThrottlingException":
|
|
236
232
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
237
|
-
throw await
|
|
233
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
238
234
|
default:
|
|
239
235
|
const parsedBody = parsedOutput.body;
|
|
240
236
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -245,24 +241,24 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommandError = async (
|
|
|
245
241
|
});
|
|
246
242
|
}
|
|
247
243
|
};
|
|
248
|
-
const
|
|
244
|
+
const de_UpdateJobExecutionCommand = async (output, context) => {
|
|
249
245
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
250
|
-
return
|
|
246
|
+
return de_UpdateJobExecutionCommandError(output, context);
|
|
251
247
|
}
|
|
252
248
|
const contents = map({
|
|
253
249
|
$metadata: deserializeMetadata(output),
|
|
254
250
|
});
|
|
255
251
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
256
252
|
if (data.executionState != null) {
|
|
257
|
-
contents.executionState =
|
|
253
|
+
contents.executionState = de_JobExecutionState(data.executionState, context);
|
|
258
254
|
}
|
|
259
255
|
if (data.jobDocument != null) {
|
|
260
256
|
contents.jobDocument = (0, smithy_client_1.expectString)(data.jobDocument);
|
|
261
257
|
}
|
|
262
258
|
return contents;
|
|
263
259
|
};
|
|
264
|
-
exports.
|
|
265
|
-
const
|
|
260
|
+
exports.de_UpdateJobExecutionCommand = de_UpdateJobExecutionCommand;
|
|
261
|
+
const de_UpdateJobExecutionCommandError = async (output, context) => {
|
|
266
262
|
const parsedOutput = {
|
|
267
263
|
...output,
|
|
268
264
|
body: await parseErrorBody(output.body, context),
|
|
@@ -271,22 +267,22 @@ const deserializeAws_restJson1UpdateJobExecutionCommandError = async (output, co
|
|
|
271
267
|
switch (errorCode) {
|
|
272
268
|
case "CertificateValidationException":
|
|
273
269
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
274
|
-
throw await
|
|
270
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
275
271
|
case "InvalidRequestException":
|
|
276
272
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
277
|
-
throw await
|
|
273
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
278
274
|
case "InvalidStateTransitionException":
|
|
279
275
|
case "com.amazonaws.iotjobsdataplane#InvalidStateTransitionException":
|
|
280
|
-
throw await
|
|
276
|
+
throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
|
|
281
277
|
case "ResourceNotFoundException":
|
|
282
278
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
283
|
-
throw await
|
|
279
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
284
280
|
case "ServiceUnavailableException":
|
|
285
281
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
286
|
-
throw await
|
|
282
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
287
283
|
case "ThrottlingException":
|
|
288
284
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
289
|
-
throw await
|
|
285
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
290
286
|
default:
|
|
291
287
|
const parsedBody = parsedOutput.body;
|
|
292
288
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -298,7 +294,7 @@ const deserializeAws_restJson1UpdateJobExecutionCommandError = async (output, co
|
|
|
298
294
|
}
|
|
299
295
|
};
|
|
300
296
|
const map = smithy_client_1.map;
|
|
301
|
-
const
|
|
297
|
+
const de_CertificateValidationExceptionRes = async (parsedOutput, context) => {
|
|
302
298
|
const contents = map({});
|
|
303
299
|
const data = parsedOutput.body;
|
|
304
300
|
if (data.message != null) {
|
|
@@ -310,7 +306,7 @@ const deserializeAws_restJson1CertificateValidationExceptionResponse = async (pa
|
|
|
310
306
|
});
|
|
311
307
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
312
308
|
};
|
|
313
|
-
const
|
|
309
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
314
310
|
const contents = map({});
|
|
315
311
|
const data = parsedOutput.body;
|
|
316
312
|
if (data.message != null) {
|
|
@@ -322,7 +318,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
322
318
|
});
|
|
323
319
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
324
320
|
};
|
|
325
|
-
const
|
|
321
|
+
const de_InvalidStateTransitionExceptionRes = async (parsedOutput, context) => {
|
|
326
322
|
const contents = map({});
|
|
327
323
|
const data = parsedOutput.body;
|
|
328
324
|
if (data.message != null) {
|
|
@@ -334,7 +330,7 @@ const deserializeAws_restJson1InvalidStateTransitionExceptionResponse = async (p
|
|
|
334
330
|
});
|
|
335
331
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
336
332
|
};
|
|
337
|
-
const
|
|
333
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
338
334
|
const contents = map({});
|
|
339
335
|
const data = parsedOutput.body;
|
|
340
336
|
if (data.message != null) {
|
|
@@ -346,7 +342,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
346
342
|
});
|
|
347
343
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
348
344
|
};
|
|
349
|
-
const
|
|
345
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
350
346
|
const contents = map({});
|
|
351
347
|
const data = parsedOutput.body;
|
|
352
348
|
if (data.message != null) {
|
|
@@ -358,7 +354,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
358
354
|
});
|
|
359
355
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
360
356
|
};
|
|
361
|
-
const
|
|
357
|
+
const de_TerminalStateExceptionRes = async (parsedOutput, context) => {
|
|
362
358
|
const contents = map({});
|
|
363
359
|
const data = parsedOutput.body;
|
|
364
360
|
if (data.message != null) {
|
|
@@ -370,7 +366,7 @@ const deserializeAws_restJson1TerminalStateExceptionResponse = async (parsedOutp
|
|
|
370
366
|
});
|
|
371
367
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
372
368
|
};
|
|
373
|
-
const
|
|
369
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
374
370
|
const contents = map({});
|
|
375
371
|
const data = parsedOutput.body;
|
|
376
372
|
if (data.message != null) {
|
|
@@ -385,7 +381,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
385
381
|
});
|
|
386
382
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
387
383
|
};
|
|
388
|
-
const
|
|
384
|
+
const se_DetailsMap = (input, context) => {
|
|
389
385
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
390
386
|
if (value === null) {
|
|
391
387
|
return acc;
|
|
@@ -394,7 +390,7 @@ const serializeAws_restJson1DetailsMap = (input, context) => {
|
|
|
394
390
|
return acc;
|
|
395
391
|
}, {});
|
|
396
392
|
};
|
|
397
|
-
const
|
|
393
|
+
const de_DetailsMap = (output, context) => {
|
|
398
394
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
399
395
|
if (value === null) {
|
|
400
396
|
return acc;
|
|
@@ -403,7 +399,7 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
|
|
|
403
399
|
return acc;
|
|
404
400
|
}, {});
|
|
405
401
|
};
|
|
406
|
-
const
|
|
402
|
+
const de_JobExecution = (output, context) => {
|
|
407
403
|
return {
|
|
408
404
|
approximateSecondsBeforeTimedOut: (0, smithy_client_1.expectLong)(output.approximateSecondsBeforeTimedOut),
|
|
409
405
|
executionNumber: (0, smithy_client_1.expectLong)(output.executionNumber),
|
|
@@ -413,19 +409,19 @@ const deserializeAws_restJson1JobExecution = (output, context) => {
|
|
|
413
409
|
queuedAt: (0, smithy_client_1.expectLong)(output.queuedAt),
|
|
414
410
|
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
415
411
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
416
|
-
statusDetails: output.statusDetails != null ?
|
|
412
|
+
statusDetails: output.statusDetails != null ? de_DetailsMap(output.statusDetails, context) : undefined,
|
|
417
413
|
thingName: (0, smithy_client_1.expectString)(output.thingName),
|
|
418
414
|
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
419
415
|
};
|
|
420
416
|
};
|
|
421
|
-
const
|
|
417
|
+
const de_JobExecutionState = (output, context) => {
|
|
422
418
|
return {
|
|
423
419
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
424
|
-
statusDetails: output.statusDetails != null ?
|
|
420
|
+
statusDetails: output.statusDetails != null ? de_DetailsMap(output.statusDetails, context) : undefined,
|
|
425
421
|
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
426
422
|
};
|
|
427
423
|
};
|
|
428
|
-
const
|
|
424
|
+
const de_JobExecutionSummary = (output, context) => {
|
|
429
425
|
return {
|
|
430
426
|
executionNumber: (0, smithy_client_1.expectLong)(output.executionNumber),
|
|
431
427
|
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
@@ -435,14 +431,14 @@ const deserializeAws_restJson1JobExecutionSummary = (output, context) => {
|
|
|
435
431
|
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
436
432
|
};
|
|
437
433
|
};
|
|
438
|
-
const
|
|
434
|
+
const de_JobExecutionSummaryList = (output, context) => {
|
|
439
435
|
const retVal = (output || [])
|
|
440
436
|
.filter((e) => e != null)
|
|
441
437
|
.map((entry) => {
|
|
442
438
|
if (entry === null) {
|
|
443
439
|
return null;
|
|
444
440
|
}
|
|
445
|
-
return
|
|
441
|
+
return de_JobExecutionSummary(entry, context);
|
|
446
442
|
});
|
|
447
443
|
return retVal;
|
|
448
444
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeJobExecutionCommand, se_DescribeJobExecutionCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class DescribeJobExecutionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeJobExecutionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeJobExecutionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeJobExecutionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_GetPendingJobExecutionsCommand, se_GetPendingJobExecutionsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class GetPendingJobExecutionsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class GetPendingJobExecutionsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_GetPendingJobExecutionsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_GetPendingJobExecutionsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_StartNextPendingJobExecutionCommand, se_StartNextPendingJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class StartNextPendingJobExecutionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StartNextPendingJobExecutionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_StartNextPendingJobExecutionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StartNextPendingJobExecutionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateJobExecutionCommand, se_UpdateJobExecutionCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateJobExecutionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateJobExecutionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateJobExecutionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateJobExecutionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { IoTJobsDataPlaneServiceException as __BaseException } from "../models/IoTJobsDataPlaneServiceException";
|
|
4
4
|
import { CertificateValidationException, InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ServiceUnavailableException, TerminalStateException, ThrottlingException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_DescribeJobExecutionCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {};
|
|
8
8
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/things/{thingName}/jobs/{jobId}";
|
|
@@ -24,7 +24,7 @@ export const serializeAws_restJson1DescribeJobExecutionCommand = async (input, c
|
|
|
24
24
|
body,
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
export const
|
|
27
|
+
export const se_GetPendingJobExecutionsCommand = async (input, context) => {
|
|
28
28
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
29
29
|
const headers = {};
|
|
30
30
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/things/{thingName}/jobs";
|
|
@@ -40,7 +40,7 @@ export const serializeAws_restJson1GetPendingJobExecutionsCommand = async (input
|
|
|
40
40
|
body,
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
export const
|
|
43
|
+
export const se_StartNextPendingJobExecutionCommand = async (input, context) => {
|
|
44
44
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
45
45
|
const headers = {
|
|
46
46
|
"content-type": "application/json",
|
|
@@ -49,9 +49,7 @@ export const serializeAws_restJson1StartNextPendingJobExecutionCommand = async (
|
|
|
49
49
|
resolvedPath = __resolvedPath(resolvedPath, input, "thingName", () => input.thingName, "{thingName}", false);
|
|
50
50
|
let body;
|
|
51
51
|
body = JSON.stringify({
|
|
52
|
-
...(input.statusDetails != null && {
|
|
53
|
-
statusDetails: serializeAws_restJson1DetailsMap(input.statusDetails, context),
|
|
54
|
-
}),
|
|
52
|
+
...(input.statusDetails != null && { statusDetails: se_DetailsMap(input.statusDetails, context) }),
|
|
55
53
|
...(input.stepTimeoutInMinutes != null && { stepTimeoutInMinutes: input.stepTimeoutInMinutes }),
|
|
56
54
|
});
|
|
57
55
|
return new __HttpRequest({
|
|
@@ -64,7 +62,7 @@ export const serializeAws_restJson1StartNextPendingJobExecutionCommand = async (
|
|
|
64
62
|
body,
|
|
65
63
|
});
|
|
66
64
|
};
|
|
67
|
-
export const
|
|
65
|
+
export const se_UpdateJobExecutionCommand = async (input, context) => {
|
|
68
66
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
69
67
|
const headers = {
|
|
70
68
|
"content-type": "application/json",
|
|
@@ -79,9 +77,7 @@ export const serializeAws_restJson1UpdateJobExecutionCommand = async (input, con
|
|
|
79
77
|
...(input.includeJobDocument != null && { includeJobDocument: input.includeJobDocument }),
|
|
80
78
|
...(input.includeJobExecutionState != null && { includeJobExecutionState: input.includeJobExecutionState }),
|
|
81
79
|
...(input.status != null && { status: input.status }),
|
|
82
|
-
...(input.statusDetails != null && {
|
|
83
|
-
statusDetails: serializeAws_restJson1DetailsMap(input.statusDetails, context),
|
|
84
|
-
}),
|
|
80
|
+
...(input.statusDetails != null && { statusDetails: se_DetailsMap(input.statusDetails, context) }),
|
|
85
81
|
...(input.stepTimeoutInMinutes != null && { stepTimeoutInMinutes: input.stepTimeoutInMinutes }),
|
|
86
82
|
});
|
|
87
83
|
return new __HttpRequest({
|
|
@@ -94,20 +90,20 @@ export const serializeAws_restJson1UpdateJobExecutionCommand = async (input, con
|
|
|
94
90
|
body,
|
|
95
91
|
});
|
|
96
92
|
};
|
|
97
|
-
export const
|
|
93
|
+
export const de_DescribeJobExecutionCommand = async (output, context) => {
|
|
98
94
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
99
|
-
return
|
|
95
|
+
return de_DescribeJobExecutionCommandError(output, context);
|
|
100
96
|
}
|
|
101
97
|
const contents = map({
|
|
102
98
|
$metadata: deserializeMetadata(output),
|
|
103
99
|
});
|
|
104
100
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
105
101
|
if (data.execution != null) {
|
|
106
|
-
contents.execution =
|
|
102
|
+
contents.execution = de_JobExecution(data.execution, context);
|
|
107
103
|
}
|
|
108
104
|
return contents;
|
|
109
105
|
};
|
|
110
|
-
const
|
|
106
|
+
const de_DescribeJobExecutionCommandError = async (output, context) => {
|
|
111
107
|
const parsedOutput = {
|
|
112
108
|
...output,
|
|
113
109
|
body: await parseErrorBody(output.body, context),
|
|
@@ -116,22 +112,22 @@ const deserializeAws_restJson1DescribeJobExecutionCommandError = async (output,
|
|
|
116
112
|
switch (errorCode) {
|
|
117
113
|
case "CertificateValidationException":
|
|
118
114
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
119
|
-
throw await
|
|
115
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
120
116
|
case "InvalidRequestException":
|
|
121
117
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
122
|
-
throw await
|
|
118
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
123
119
|
case "ResourceNotFoundException":
|
|
124
120
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
125
|
-
throw await
|
|
121
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
126
122
|
case "ServiceUnavailableException":
|
|
127
123
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
128
|
-
throw await
|
|
124
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
129
125
|
case "TerminalStateException":
|
|
130
126
|
case "com.amazonaws.iotjobsdataplane#TerminalStateException":
|
|
131
|
-
throw await
|
|
127
|
+
throw await de_TerminalStateExceptionRes(parsedOutput, context);
|
|
132
128
|
case "ThrottlingException":
|
|
133
129
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
134
|
-
throw await
|
|
130
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
135
131
|
default:
|
|
136
132
|
const parsedBody = parsedOutput.body;
|
|
137
133
|
throwDefaultError({
|
|
@@ -142,23 +138,23 @@ const deserializeAws_restJson1DescribeJobExecutionCommandError = async (output,
|
|
|
142
138
|
});
|
|
143
139
|
}
|
|
144
140
|
};
|
|
145
|
-
export const
|
|
141
|
+
export const de_GetPendingJobExecutionsCommand = async (output, context) => {
|
|
146
142
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
147
|
-
return
|
|
143
|
+
return de_GetPendingJobExecutionsCommandError(output, context);
|
|
148
144
|
}
|
|
149
145
|
const contents = map({
|
|
150
146
|
$metadata: deserializeMetadata(output),
|
|
151
147
|
});
|
|
152
148
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
153
149
|
if (data.inProgressJobs != null) {
|
|
154
|
-
contents.inProgressJobs =
|
|
150
|
+
contents.inProgressJobs = de_JobExecutionSummaryList(data.inProgressJobs, context);
|
|
155
151
|
}
|
|
156
152
|
if (data.queuedJobs != null) {
|
|
157
|
-
contents.queuedJobs =
|
|
153
|
+
contents.queuedJobs = de_JobExecutionSummaryList(data.queuedJobs, context);
|
|
158
154
|
}
|
|
159
155
|
return contents;
|
|
160
156
|
};
|
|
161
|
-
const
|
|
157
|
+
const de_GetPendingJobExecutionsCommandError = async (output, context) => {
|
|
162
158
|
const parsedOutput = {
|
|
163
159
|
...output,
|
|
164
160
|
body: await parseErrorBody(output.body, context),
|
|
@@ -167,19 +163,19 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommandError = async (outpu
|
|
|
167
163
|
switch (errorCode) {
|
|
168
164
|
case "CertificateValidationException":
|
|
169
165
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
170
|
-
throw await
|
|
166
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
171
167
|
case "InvalidRequestException":
|
|
172
168
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
173
|
-
throw await
|
|
169
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
174
170
|
case "ResourceNotFoundException":
|
|
175
171
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
176
|
-
throw await
|
|
172
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
177
173
|
case "ServiceUnavailableException":
|
|
178
174
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
179
|
-
throw await
|
|
175
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
180
176
|
case "ThrottlingException":
|
|
181
177
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
182
|
-
throw await
|
|
178
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
183
179
|
default:
|
|
184
180
|
const parsedBody = parsedOutput.body;
|
|
185
181
|
throwDefaultError({
|
|
@@ -190,20 +186,20 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommandError = async (outpu
|
|
|
190
186
|
});
|
|
191
187
|
}
|
|
192
188
|
};
|
|
193
|
-
export const
|
|
189
|
+
export const de_StartNextPendingJobExecutionCommand = async (output, context) => {
|
|
194
190
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
195
|
-
return
|
|
191
|
+
return de_StartNextPendingJobExecutionCommandError(output, context);
|
|
196
192
|
}
|
|
197
193
|
const contents = map({
|
|
198
194
|
$metadata: deserializeMetadata(output),
|
|
199
195
|
});
|
|
200
196
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
201
197
|
if (data.execution != null) {
|
|
202
|
-
contents.execution =
|
|
198
|
+
contents.execution = de_JobExecution(data.execution, context);
|
|
203
199
|
}
|
|
204
200
|
return contents;
|
|
205
201
|
};
|
|
206
|
-
const
|
|
202
|
+
const de_StartNextPendingJobExecutionCommandError = async (output, context) => {
|
|
207
203
|
const parsedOutput = {
|
|
208
204
|
...output,
|
|
209
205
|
body: await parseErrorBody(output.body, context),
|
|
@@ -212,19 +208,19 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommandError = async (
|
|
|
212
208
|
switch (errorCode) {
|
|
213
209
|
case "CertificateValidationException":
|
|
214
210
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
215
|
-
throw await
|
|
211
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
216
212
|
case "InvalidRequestException":
|
|
217
213
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
218
|
-
throw await
|
|
214
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
219
215
|
case "ResourceNotFoundException":
|
|
220
216
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
221
|
-
throw await
|
|
217
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
222
218
|
case "ServiceUnavailableException":
|
|
223
219
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
224
|
-
throw await
|
|
220
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
225
221
|
case "ThrottlingException":
|
|
226
222
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
227
|
-
throw await
|
|
223
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
228
224
|
default:
|
|
229
225
|
const parsedBody = parsedOutput.body;
|
|
230
226
|
throwDefaultError({
|
|
@@ -235,23 +231,23 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommandError = async (
|
|
|
235
231
|
});
|
|
236
232
|
}
|
|
237
233
|
};
|
|
238
|
-
export const
|
|
234
|
+
export const de_UpdateJobExecutionCommand = async (output, context) => {
|
|
239
235
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
240
|
-
return
|
|
236
|
+
return de_UpdateJobExecutionCommandError(output, context);
|
|
241
237
|
}
|
|
242
238
|
const contents = map({
|
|
243
239
|
$metadata: deserializeMetadata(output),
|
|
244
240
|
});
|
|
245
241
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
246
242
|
if (data.executionState != null) {
|
|
247
|
-
contents.executionState =
|
|
243
|
+
contents.executionState = de_JobExecutionState(data.executionState, context);
|
|
248
244
|
}
|
|
249
245
|
if (data.jobDocument != null) {
|
|
250
246
|
contents.jobDocument = __expectString(data.jobDocument);
|
|
251
247
|
}
|
|
252
248
|
return contents;
|
|
253
249
|
};
|
|
254
|
-
const
|
|
250
|
+
const de_UpdateJobExecutionCommandError = async (output, context) => {
|
|
255
251
|
const parsedOutput = {
|
|
256
252
|
...output,
|
|
257
253
|
body: await parseErrorBody(output.body, context),
|
|
@@ -260,22 +256,22 @@ const deserializeAws_restJson1UpdateJobExecutionCommandError = async (output, co
|
|
|
260
256
|
switch (errorCode) {
|
|
261
257
|
case "CertificateValidationException":
|
|
262
258
|
case "com.amazonaws.iotjobsdataplane#CertificateValidationException":
|
|
263
|
-
throw await
|
|
259
|
+
throw await de_CertificateValidationExceptionRes(parsedOutput, context);
|
|
264
260
|
case "InvalidRequestException":
|
|
265
261
|
case "com.amazonaws.iotjobsdataplane#InvalidRequestException":
|
|
266
|
-
throw await
|
|
262
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
267
263
|
case "InvalidStateTransitionException":
|
|
268
264
|
case "com.amazonaws.iotjobsdataplane#InvalidStateTransitionException":
|
|
269
|
-
throw await
|
|
265
|
+
throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
|
|
270
266
|
case "ResourceNotFoundException":
|
|
271
267
|
case "com.amazonaws.iotjobsdataplane#ResourceNotFoundException":
|
|
272
|
-
throw await
|
|
268
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
273
269
|
case "ServiceUnavailableException":
|
|
274
270
|
case "com.amazonaws.iotjobsdataplane#ServiceUnavailableException":
|
|
275
|
-
throw await
|
|
271
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
276
272
|
case "ThrottlingException":
|
|
277
273
|
case "com.amazonaws.iotjobsdataplane#ThrottlingException":
|
|
278
|
-
throw await
|
|
274
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
279
275
|
default:
|
|
280
276
|
const parsedBody = parsedOutput.body;
|
|
281
277
|
throwDefaultError({
|
|
@@ -287,7 +283,7 @@ const deserializeAws_restJson1UpdateJobExecutionCommandError = async (output, co
|
|
|
287
283
|
}
|
|
288
284
|
};
|
|
289
285
|
const map = __map;
|
|
290
|
-
const
|
|
286
|
+
const de_CertificateValidationExceptionRes = async (parsedOutput, context) => {
|
|
291
287
|
const contents = map({});
|
|
292
288
|
const data = parsedOutput.body;
|
|
293
289
|
if (data.message != null) {
|
|
@@ -299,7 +295,7 @@ const deserializeAws_restJson1CertificateValidationExceptionResponse = async (pa
|
|
|
299
295
|
});
|
|
300
296
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
301
297
|
};
|
|
302
|
-
const
|
|
298
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
303
299
|
const contents = map({});
|
|
304
300
|
const data = parsedOutput.body;
|
|
305
301
|
if (data.message != null) {
|
|
@@ -311,7 +307,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
311
307
|
});
|
|
312
308
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
313
309
|
};
|
|
314
|
-
const
|
|
310
|
+
const de_InvalidStateTransitionExceptionRes = async (parsedOutput, context) => {
|
|
315
311
|
const contents = map({});
|
|
316
312
|
const data = parsedOutput.body;
|
|
317
313
|
if (data.message != null) {
|
|
@@ -323,7 +319,7 @@ const deserializeAws_restJson1InvalidStateTransitionExceptionResponse = async (p
|
|
|
323
319
|
});
|
|
324
320
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
325
321
|
};
|
|
326
|
-
const
|
|
322
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
327
323
|
const contents = map({});
|
|
328
324
|
const data = parsedOutput.body;
|
|
329
325
|
if (data.message != null) {
|
|
@@ -335,7 +331,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
335
331
|
});
|
|
336
332
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
337
333
|
};
|
|
338
|
-
const
|
|
334
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
339
335
|
const contents = map({});
|
|
340
336
|
const data = parsedOutput.body;
|
|
341
337
|
if (data.message != null) {
|
|
@@ -347,7 +343,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
347
343
|
});
|
|
348
344
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
349
345
|
};
|
|
350
|
-
const
|
|
346
|
+
const de_TerminalStateExceptionRes = async (parsedOutput, context) => {
|
|
351
347
|
const contents = map({});
|
|
352
348
|
const data = parsedOutput.body;
|
|
353
349
|
if (data.message != null) {
|
|
@@ -359,7 +355,7 @@ const deserializeAws_restJson1TerminalStateExceptionResponse = async (parsedOutp
|
|
|
359
355
|
});
|
|
360
356
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
361
357
|
};
|
|
362
|
-
const
|
|
358
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
363
359
|
const contents = map({});
|
|
364
360
|
const data = parsedOutput.body;
|
|
365
361
|
if (data.message != null) {
|
|
@@ -374,7 +370,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
374
370
|
});
|
|
375
371
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
376
372
|
};
|
|
377
|
-
const
|
|
373
|
+
const se_DetailsMap = (input, context) => {
|
|
378
374
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
379
375
|
if (value === null) {
|
|
380
376
|
return acc;
|
|
@@ -383,7 +379,7 @@ const serializeAws_restJson1DetailsMap = (input, context) => {
|
|
|
383
379
|
return acc;
|
|
384
380
|
}, {});
|
|
385
381
|
};
|
|
386
|
-
const
|
|
382
|
+
const de_DetailsMap = (output, context) => {
|
|
387
383
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
388
384
|
if (value === null) {
|
|
389
385
|
return acc;
|
|
@@ -392,7 +388,7 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
|
|
|
392
388
|
return acc;
|
|
393
389
|
}, {});
|
|
394
390
|
};
|
|
395
|
-
const
|
|
391
|
+
const de_JobExecution = (output, context) => {
|
|
396
392
|
return {
|
|
397
393
|
approximateSecondsBeforeTimedOut: __expectLong(output.approximateSecondsBeforeTimedOut),
|
|
398
394
|
executionNumber: __expectLong(output.executionNumber),
|
|
@@ -402,19 +398,19 @@ const deserializeAws_restJson1JobExecution = (output, context) => {
|
|
|
402
398
|
queuedAt: __expectLong(output.queuedAt),
|
|
403
399
|
startedAt: __expectLong(output.startedAt),
|
|
404
400
|
status: __expectString(output.status),
|
|
405
|
-
statusDetails: output.statusDetails != null ?
|
|
401
|
+
statusDetails: output.statusDetails != null ? de_DetailsMap(output.statusDetails, context) : undefined,
|
|
406
402
|
thingName: __expectString(output.thingName),
|
|
407
403
|
versionNumber: __expectLong(output.versionNumber),
|
|
408
404
|
};
|
|
409
405
|
};
|
|
410
|
-
const
|
|
406
|
+
const de_JobExecutionState = (output, context) => {
|
|
411
407
|
return {
|
|
412
408
|
status: __expectString(output.status),
|
|
413
|
-
statusDetails: output.statusDetails != null ?
|
|
409
|
+
statusDetails: output.statusDetails != null ? de_DetailsMap(output.statusDetails, context) : undefined,
|
|
414
410
|
versionNumber: __expectLong(output.versionNumber),
|
|
415
411
|
};
|
|
416
412
|
};
|
|
417
|
-
const
|
|
413
|
+
const de_JobExecutionSummary = (output, context) => {
|
|
418
414
|
return {
|
|
419
415
|
executionNumber: __expectLong(output.executionNumber),
|
|
420
416
|
jobId: __expectString(output.jobId),
|
|
@@ -424,14 +420,14 @@ const deserializeAws_restJson1JobExecutionSummary = (output, context) => {
|
|
|
424
420
|
versionNumber: __expectLong(output.versionNumber),
|
|
425
421
|
};
|
|
426
422
|
};
|
|
427
|
-
const
|
|
423
|
+
const de_JobExecutionSummaryList = (output, context) => {
|
|
428
424
|
const retVal = (output || [])
|
|
429
425
|
.filter((e) => e != null)
|
|
430
426
|
.map((entry) => {
|
|
431
427
|
if (entry === null) {
|
|
432
428
|
return null;
|
|
433
429
|
}
|
|
434
|
-
return
|
|
430
|
+
return de_JobExecutionSummary(entry, context);
|
|
435
431
|
});
|
|
436
432
|
return retVal;
|
|
437
433
|
};
|
|
@@ -4,11 +4,35 @@ import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } f
|
|
|
4
4
|
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "../commands/GetPendingJobExecutionsCommand";
|
|
5
5
|
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "../commands/StartNextPendingJobExecutionCommand";
|
|
6
6
|
import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "../commands/UpdateJobExecutionCommand";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
7
|
+
/**
|
|
8
|
+
* serializeAws_restJson1DescribeJobExecutionCommand
|
|
9
|
+
*/
|
|
10
|
+
export declare const se_DescribeJobExecutionCommand: (input: DescribeJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
/**
|
|
12
|
+
* serializeAws_restJson1GetPendingJobExecutionsCommand
|
|
13
|
+
*/
|
|
14
|
+
export declare const se_GetPendingJobExecutionsCommand: (input: GetPendingJobExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_restJson1StartNextPendingJobExecutionCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_StartNextPendingJobExecutionCommand: (input: StartNextPendingJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_restJson1UpdateJobExecutionCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_UpdateJobExecutionCommand: (input: UpdateJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* deserializeAws_restJson1DescribeJobExecutionCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const de_DescribeJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobExecutionCommandOutput>;
|
|
27
|
+
/**
|
|
28
|
+
* deserializeAws_restJson1GetPendingJobExecutionsCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const de_GetPendingJobExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPendingJobExecutionsCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* deserializeAws_restJson1StartNextPendingJobExecutionCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const de_StartNextPendingJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
35
|
+
/**
|
|
36
|
+
* deserializeAws_restJson1UpdateJobExecutionCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const de_UpdateJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateJobExecutionCommandOutput>;
|
|
@@ -19,35 +19,35 @@ import {
|
|
|
19
19
|
UpdateJobExecutionCommandInput,
|
|
20
20
|
UpdateJobExecutionCommandOutput,
|
|
21
21
|
} from "../commands/UpdateJobExecutionCommand";
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const se_DescribeJobExecutionCommand: (
|
|
23
23
|
input: DescribeJobExecutionCommandInput,
|
|
24
24
|
context: __SerdeContext
|
|
25
25
|
) => Promise<__HttpRequest>;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const se_GetPendingJobExecutionsCommand: (
|
|
27
27
|
input: GetPendingJobExecutionsCommandInput,
|
|
28
28
|
context: __SerdeContext
|
|
29
29
|
) => Promise<__HttpRequest>;
|
|
30
|
-
export declare const
|
|
30
|
+
export declare const se_StartNextPendingJobExecutionCommand: (
|
|
31
31
|
input: StartNextPendingJobExecutionCommandInput,
|
|
32
32
|
context: __SerdeContext
|
|
33
33
|
) => Promise<__HttpRequest>;
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const se_UpdateJobExecutionCommand: (
|
|
35
35
|
input: UpdateJobExecutionCommandInput,
|
|
36
36
|
context: __SerdeContext
|
|
37
37
|
) => Promise<__HttpRequest>;
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const de_DescribeJobExecutionCommand: (
|
|
39
39
|
output: __HttpResponse,
|
|
40
40
|
context: __SerdeContext
|
|
41
41
|
) => Promise<DescribeJobExecutionCommandOutput>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const de_GetPendingJobExecutionsCommand: (
|
|
43
43
|
output: __HttpResponse,
|
|
44
44
|
context: __SerdeContext
|
|
45
45
|
) => Promise<GetPendingJobExecutionsCommandOutput>;
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const de_StartNextPendingJobExecutionCommand: (
|
|
47
47
|
output: __HttpResponse,
|
|
48
48
|
context: __SerdeContext
|
|
49
49
|
) => Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const de_UpdateJobExecutionCommand: (
|
|
51
51
|
output: __HttpResponse,
|
|
52
52
|
context: __SerdeContext
|
|
53
53
|
) => Promise<UpdateJobExecutionCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-jobs-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.310.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.310.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"files": [
|
|
79
|
-
"dist
|
|
79
|
+
"dist-*/**"
|
|
80
80
|
],
|
|
81
81
|
"author": {
|
|
82
82
|
"name": "AWS SDK for JavaScript Team",
|