@aws-sdk/client-sagemaker-a2i-runtime 3.303.0 → 3.309.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/DeleteHumanLoopCommand.js +2 -2
- package/dist-cjs/commands/DescribeHumanLoopCommand.js +2 -2
- package/dist-cjs/commands/ListHumanLoopsCommand.js +2 -2
- package/dist-cjs/commands/StartHumanLoopCommand.js +2 -2
- package/dist-cjs/commands/StopHumanLoopCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +70 -74
- package/dist-es/commands/DeleteHumanLoopCommand.js +3 -3
- package/dist-es/commands/DescribeHumanLoopCommand.js +3 -3
- package/dist-es/commands/ListHumanLoopsCommand.js +3 -3
- package/dist-es/commands/StartHumanLoopCommand.js +3 -3
- package/dist-es/commands/StopHumanLoopCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +59 -63
- package/dist-types/protocols/Aws_restJson1.d.ts +40 -10
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +10 -10
- package/package.json +29 -29
|
@@ -36,10 +36,10 @@ class DeleteHumanLoopCommand 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_DeleteHumanLoopCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteHumanLoopCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteHumanLoopCommand = DeleteHumanLoopCommand;
|
|
@@ -36,10 +36,10 @@ class DescribeHumanLoopCommand 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_DescribeHumanLoopCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DescribeHumanLoopCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DescribeHumanLoopCommand = DescribeHumanLoopCommand;
|
|
@@ -36,10 +36,10 @@ class ListHumanLoopsCommand 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_ListHumanLoopsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListHumanLoopsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListHumanLoopsCommand = ListHumanLoopsCommand;
|
|
@@ -36,10 +36,10 @@ class StartHumanLoopCommand 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_StartHumanLoopCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_StartHumanLoopCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartHumanLoopCommand = StartHumanLoopCommand;
|
|
@@ -36,10 +36,10 @@ class StopHumanLoopCommand 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_StopHumanLoopCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_StopHumanLoopCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StopHumanLoopCommand = StopHumanLoopCommand;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_StopHumanLoopCommand = exports.de_StartHumanLoopCommand = exports.de_ListHumanLoopsCommand = exports.de_DescribeHumanLoopCommand = exports.de_DeleteHumanLoopCommand = exports.se_StopHumanLoopCommand = exports.se_StartHumanLoopCommand = exports.se_ListHumanLoopsCommand = exports.se_DescribeHumanLoopCommand = exports.se_DeleteHumanLoopCommand = 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 models_0_1 = require("../models/models_0");
|
|
7
7
|
const SageMakerA2IRuntimeServiceException_1 = require("../models/SageMakerA2IRuntimeServiceException");
|
|
8
|
-
const
|
|
8
|
+
const se_DeleteHumanLoopCommand = 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 || ""}` + "/human-loops/{HumanLoopName}";
|
|
@@ -21,8 +21,8 @@ const serializeAws_restJson1DeleteHumanLoopCommand = async (input, context) => {
|
|
|
21
21
|
body,
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
|
-
exports.
|
|
25
|
-
const
|
|
24
|
+
exports.se_DeleteHumanLoopCommand = se_DeleteHumanLoopCommand;
|
|
25
|
+
const se_DescribeHumanLoopCommand = async (input, context) => {
|
|
26
26
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
27
27
|
const headers = {};
|
|
28
28
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops/{HumanLoopName}";
|
|
@@ -38,8 +38,8 @@ const serializeAws_restJson1DescribeHumanLoopCommand = async (input, context) =>
|
|
|
38
38
|
body,
|
|
39
39
|
});
|
|
40
40
|
};
|
|
41
|
-
exports.
|
|
42
|
-
const
|
|
41
|
+
exports.se_DescribeHumanLoopCommand = se_DescribeHumanLoopCommand;
|
|
42
|
+
const se_ListHumanLoopsCommand = async (input, context) => {
|
|
43
43
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
44
44
|
const headers = {};
|
|
45
45
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
|
|
@@ -69,8 +69,8 @@ const serializeAws_restJson1ListHumanLoopsCommand = async (input, context) => {
|
|
|
69
69
|
body,
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
|
-
exports.
|
|
73
|
-
const
|
|
72
|
+
exports.se_ListHumanLoopsCommand = se_ListHumanLoopsCommand;
|
|
73
|
+
const se_StartHumanLoopCommand = async (input, context) => {
|
|
74
74
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
75
75
|
const headers = {
|
|
76
76
|
"content-type": "application/json",
|
|
@@ -78,13 +78,9 @@ const serializeAws_restJson1StartHumanLoopCommand = async (input, context) => {
|
|
|
78
78
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
|
|
79
79
|
let body;
|
|
80
80
|
body = JSON.stringify({
|
|
81
|
-
...(input.DataAttributes != null && {
|
|
82
|
-
DataAttributes: serializeAws_restJson1HumanLoopDataAttributes(input.DataAttributes, context),
|
|
83
|
-
}),
|
|
81
|
+
...(input.DataAttributes != null && { DataAttributes: se_HumanLoopDataAttributes(input.DataAttributes, context) }),
|
|
84
82
|
...(input.FlowDefinitionArn != null && { FlowDefinitionArn: input.FlowDefinitionArn }),
|
|
85
|
-
...(input.HumanLoopInput != null && {
|
|
86
|
-
HumanLoopInput: serializeAws_restJson1HumanLoopInput(input.HumanLoopInput, context),
|
|
87
|
-
}),
|
|
83
|
+
...(input.HumanLoopInput != null && { HumanLoopInput: se_HumanLoopInput(input.HumanLoopInput, context) }),
|
|
88
84
|
...(input.HumanLoopName != null && { HumanLoopName: input.HumanLoopName }),
|
|
89
85
|
});
|
|
90
86
|
return new protocol_http_1.HttpRequest({
|
|
@@ -97,8 +93,8 @@ const serializeAws_restJson1StartHumanLoopCommand = async (input, context) => {
|
|
|
97
93
|
body,
|
|
98
94
|
});
|
|
99
95
|
};
|
|
100
|
-
exports.
|
|
101
|
-
const
|
|
96
|
+
exports.se_StartHumanLoopCommand = se_StartHumanLoopCommand;
|
|
97
|
+
const se_StopHumanLoopCommand = async (input, context) => {
|
|
102
98
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
103
99
|
const headers = {
|
|
104
100
|
"content-type": "application/json",
|
|
@@ -118,10 +114,10 @@ const serializeAws_restJson1StopHumanLoopCommand = async (input, context) => {
|
|
|
118
114
|
body,
|
|
119
115
|
});
|
|
120
116
|
};
|
|
121
|
-
exports.
|
|
122
|
-
const
|
|
117
|
+
exports.se_StopHumanLoopCommand = se_StopHumanLoopCommand;
|
|
118
|
+
const de_DeleteHumanLoopCommand = async (output, context) => {
|
|
123
119
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
124
|
-
return
|
|
120
|
+
return de_DeleteHumanLoopCommandError(output, context);
|
|
125
121
|
}
|
|
126
122
|
const contents = map({
|
|
127
123
|
$metadata: deserializeMetadata(output),
|
|
@@ -129,8 +125,8 @@ const deserializeAws_restJson1DeleteHumanLoopCommand = async (output, context) =
|
|
|
129
125
|
await collectBody(output.body, context);
|
|
130
126
|
return contents;
|
|
131
127
|
};
|
|
132
|
-
exports.
|
|
133
|
-
const
|
|
128
|
+
exports.de_DeleteHumanLoopCommand = de_DeleteHumanLoopCommand;
|
|
129
|
+
const de_DeleteHumanLoopCommandError = async (output, context) => {
|
|
134
130
|
const parsedOutput = {
|
|
135
131
|
...output,
|
|
136
132
|
body: await parseErrorBody(output.body, context),
|
|
@@ -139,16 +135,16 @@ const deserializeAws_restJson1DeleteHumanLoopCommandError = async (output, conte
|
|
|
139
135
|
switch (errorCode) {
|
|
140
136
|
case "InternalServerException":
|
|
141
137
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
142
|
-
throw await
|
|
138
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
143
139
|
case "ResourceNotFoundException":
|
|
144
140
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
145
|
-
throw await
|
|
141
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
146
142
|
case "ThrottlingException":
|
|
147
143
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
148
|
-
throw await
|
|
144
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
149
145
|
case "ValidationException":
|
|
150
146
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
151
|
-
throw await
|
|
147
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
152
148
|
default:
|
|
153
149
|
const parsedBody = parsedOutput.body;
|
|
154
150
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -159,9 +155,9 @@ const deserializeAws_restJson1DeleteHumanLoopCommandError = async (output, conte
|
|
|
159
155
|
});
|
|
160
156
|
}
|
|
161
157
|
};
|
|
162
|
-
const
|
|
158
|
+
const de_DescribeHumanLoopCommand = async (output, context) => {
|
|
163
159
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
164
|
-
return
|
|
160
|
+
return de_DescribeHumanLoopCommandError(output, context);
|
|
165
161
|
}
|
|
166
162
|
const contents = map({
|
|
167
163
|
$metadata: deserializeMetadata(output),
|
|
@@ -186,15 +182,15 @@ const deserializeAws_restJson1DescribeHumanLoopCommand = async (output, context)
|
|
|
186
182
|
contents.HumanLoopName = (0, smithy_client_1.expectString)(data.HumanLoopName);
|
|
187
183
|
}
|
|
188
184
|
if (data.HumanLoopOutput != null) {
|
|
189
|
-
contents.HumanLoopOutput =
|
|
185
|
+
contents.HumanLoopOutput = de_HumanLoopOutput(data.HumanLoopOutput, context);
|
|
190
186
|
}
|
|
191
187
|
if (data.HumanLoopStatus != null) {
|
|
192
188
|
contents.HumanLoopStatus = (0, smithy_client_1.expectString)(data.HumanLoopStatus);
|
|
193
189
|
}
|
|
194
190
|
return contents;
|
|
195
191
|
};
|
|
196
|
-
exports.
|
|
197
|
-
const
|
|
192
|
+
exports.de_DescribeHumanLoopCommand = de_DescribeHumanLoopCommand;
|
|
193
|
+
const de_DescribeHumanLoopCommandError = async (output, context) => {
|
|
198
194
|
const parsedOutput = {
|
|
199
195
|
...output,
|
|
200
196
|
body: await parseErrorBody(output.body, context),
|
|
@@ -203,16 +199,16 @@ const deserializeAws_restJson1DescribeHumanLoopCommandError = async (output, con
|
|
|
203
199
|
switch (errorCode) {
|
|
204
200
|
case "InternalServerException":
|
|
205
201
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
206
|
-
throw await
|
|
202
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
207
203
|
case "ResourceNotFoundException":
|
|
208
204
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
209
|
-
throw await
|
|
205
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
210
206
|
case "ThrottlingException":
|
|
211
207
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
212
|
-
throw await
|
|
208
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
213
209
|
case "ValidationException":
|
|
214
210
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
215
|
-
throw await
|
|
211
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
216
212
|
default:
|
|
217
213
|
const parsedBody = parsedOutput.body;
|
|
218
214
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -223,24 +219,24 @@ const deserializeAws_restJson1DescribeHumanLoopCommandError = async (output, con
|
|
|
223
219
|
});
|
|
224
220
|
}
|
|
225
221
|
};
|
|
226
|
-
const
|
|
222
|
+
const de_ListHumanLoopsCommand = async (output, context) => {
|
|
227
223
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
228
|
-
return
|
|
224
|
+
return de_ListHumanLoopsCommandError(output, context);
|
|
229
225
|
}
|
|
230
226
|
const contents = map({
|
|
231
227
|
$metadata: deserializeMetadata(output),
|
|
232
228
|
});
|
|
233
229
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
234
230
|
if (data.HumanLoopSummaries != null) {
|
|
235
|
-
contents.HumanLoopSummaries =
|
|
231
|
+
contents.HumanLoopSummaries = de_HumanLoopSummaries(data.HumanLoopSummaries, context);
|
|
236
232
|
}
|
|
237
233
|
if (data.NextToken != null) {
|
|
238
234
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
239
235
|
}
|
|
240
236
|
return contents;
|
|
241
237
|
};
|
|
242
|
-
exports.
|
|
243
|
-
const
|
|
238
|
+
exports.de_ListHumanLoopsCommand = de_ListHumanLoopsCommand;
|
|
239
|
+
const de_ListHumanLoopsCommandError = async (output, context) => {
|
|
244
240
|
const parsedOutput = {
|
|
245
241
|
...output,
|
|
246
242
|
body: await parseErrorBody(output.body, context),
|
|
@@ -249,16 +245,16 @@ const deserializeAws_restJson1ListHumanLoopsCommandError = async (output, contex
|
|
|
249
245
|
switch (errorCode) {
|
|
250
246
|
case "InternalServerException":
|
|
251
247
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
252
|
-
throw await
|
|
248
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
253
249
|
case "ResourceNotFoundException":
|
|
254
250
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
255
|
-
throw await
|
|
251
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
256
252
|
case "ThrottlingException":
|
|
257
253
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
258
|
-
throw await
|
|
254
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
259
255
|
case "ValidationException":
|
|
260
256
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
261
|
-
throw await
|
|
257
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
262
258
|
default:
|
|
263
259
|
const parsedBody = parsedOutput.body;
|
|
264
260
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -269,9 +265,9 @@ const deserializeAws_restJson1ListHumanLoopsCommandError = async (output, contex
|
|
|
269
265
|
});
|
|
270
266
|
}
|
|
271
267
|
};
|
|
272
|
-
const
|
|
268
|
+
const de_StartHumanLoopCommand = async (output, context) => {
|
|
273
269
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
274
|
-
return
|
|
270
|
+
return de_StartHumanLoopCommandError(output, context);
|
|
275
271
|
}
|
|
276
272
|
const contents = map({
|
|
277
273
|
$metadata: deserializeMetadata(output),
|
|
@@ -282,8 +278,8 @@ const deserializeAws_restJson1StartHumanLoopCommand = async (output, context) =>
|
|
|
282
278
|
}
|
|
283
279
|
return contents;
|
|
284
280
|
};
|
|
285
|
-
exports.
|
|
286
|
-
const
|
|
281
|
+
exports.de_StartHumanLoopCommand = de_StartHumanLoopCommand;
|
|
282
|
+
const de_StartHumanLoopCommandError = async (output, context) => {
|
|
287
283
|
const parsedOutput = {
|
|
288
284
|
...output,
|
|
289
285
|
body: await parseErrorBody(output.body, context),
|
|
@@ -292,19 +288,19 @@ const deserializeAws_restJson1StartHumanLoopCommandError = async (output, contex
|
|
|
292
288
|
switch (errorCode) {
|
|
293
289
|
case "ConflictException":
|
|
294
290
|
case "com.amazonaws.sagemakera2iruntime#ConflictException":
|
|
295
|
-
throw await
|
|
291
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
296
292
|
case "InternalServerException":
|
|
297
293
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
298
|
-
throw await
|
|
294
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
299
295
|
case "ServiceQuotaExceededException":
|
|
300
296
|
case "com.amazonaws.sagemakera2iruntime#ServiceQuotaExceededException":
|
|
301
|
-
throw await
|
|
297
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
302
298
|
case "ThrottlingException":
|
|
303
299
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
304
|
-
throw await
|
|
300
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
305
301
|
case "ValidationException":
|
|
306
302
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
307
|
-
throw await
|
|
303
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
308
304
|
default:
|
|
309
305
|
const parsedBody = parsedOutput.body;
|
|
310
306
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -315,9 +311,9 @@ const deserializeAws_restJson1StartHumanLoopCommandError = async (output, contex
|
|
|
315
311
|
});
|
|
316
312
|
}
|
|
317
313
|
};
|
|
318
|
-
const
|
|
314
|
+
const de_StopHumanLoopCommand = async (output, context) => {
|
|
319
315
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
320
|
-
return
|
|
316
|
+
return de_StopHumanLoopCommandError(output, context);
|
|
321
317
|
}
|
|
322
318
|
const contents = map({
|
|
323
319
|
$metadata: deserializeMetadata(output),
|
|
@@ -325,8 +321,8 @@ const deserializeAws_restJson1StopHumanLoopCommand = async (output, context) =>
|
|
|
325
321
|
await collectBody(output.body, context);
|
|
326
322
|
return contents;
|
|
327
323
|
};
|
|
328
|
-
exports.
|
|
329
|
-
const
|
|
324
|
+
exports.de_StopHumanLoopCommand = de_StopHumanLoopCommand;
|
|
325
|
+
const de_StopHumanLoopCommandError = async (output, context) => {
|
|
330
326
|
const parsedOutput = {
|
|
331
327
|
...output,
|
|
332
328
|
body: await parseErrorBody(output.body, context),
|
|
@@ -335,16 +331,16 @@ const deserializeAws_restJson1StopHumanLoopCommandError = async (output, context
|
|
|
335
331
|
switch (errorCode) {
|
|
336
332
|
case "InternalServerException":
|
|
337
333
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
338
|
-
throw await
|
|
334
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
339
335
|
case "ResourceNotFoundException":
|
|
340
336
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
341
|
-
throw await
|
|
337
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
342
338
|
case "ThrottlingException":
|
|
343
339
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
344
|
-
throw await
|
|
340
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
345
341
|
case "ValidationException":
|
|
346
342
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
347
|
-
throw await
|
|
343
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
348
344
|
default:
|
|
349
345
|
const parsedBody = parsedOutput.body;
|
|
350
346
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -356,7 +352,7 @@ const deserializeAws_restJson1StopHumanLoopCommandError = async (output, context
|
|
|
356
352
|
}
|
|
357
353
|
};
|
|
358
354
|
const map = smithy_client_1.map;
|
|
359
|
-
const
|
|
355
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
360
356
|
const contents = map({});
|
|
361
357
|
const data = parsedOutput.body;
|
|
362
358
|
if (data.Message != null) {
|
|
@@ -368,7 +364,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
368
364
|
});
|
|
369
365
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
370
366
|
};
|
|
371
|
-
const
|
|
367
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
372
368
|
const contents = map({});
|
|
373
369
|
const data = parsedOutput.body;
|
|
374
370
|
if (data.Message != null) {
|
|
@@ -380,7 +376,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
380
376
|
});
|
|
381
377
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
382
378
|
};
|
|
383
|
-
const
|
|
379
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
384
380
|
const contents = map({});
|
|
385
381
|
const data = parsedOutput.body;
|
|
386
382
|
if (data.Message != null) {
|
|
@@ -392,7 +388,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
392
388
|
});
|
|
393
389
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
394
390
|
};
|
|
395
|
-
const
|
|
391
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
396
392
|
const contents = map({});
|
|
397
393
|
const data = parsedOutput.body;
|
|
398
394
|
if (data.Message != null) {
|
|
@@ -404,7 +400,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
404
400
|
});
|
|
405
401
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
406
402
|
};
|
|
407
|
-
const
|
|
403
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
408
404
|
const contents = map({});
|
|
409
405
|
const data = parsedOutput.body;
|
|
410
406
|
if (data.Message != null) {
|
|
@@ -416,7 +412,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
416
412
|
});
|
|
417
413
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
418
414
|
};
|
|
419
|
-
const
|
|
415
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
420
416
|
const contents = map({});
|
|
421
417
|
const data = parsedOutput.body;
|
|
422
418
|
if (data.Message != null) {
|
|
@@ -428,42 +424,42 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
428
424
|
});
|
|
429
425
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
430
426
|
};
|
|
431
|
-
const
|
|
427
|
+
const se_ContentClassifiers = (input, context) => {
|
|
432
428
|
return input
|
|
433
429
|
.filter((e) => e != null)
|
|
434
430
|
.map((entry) => {
|
|
435
431
|
return entry;
|
|
436
432
|
});
|
|
437
433
|
};
|
|
438
|
-
const
|
|
434
|
+
const se_HumanLoopDataAttributes = (input, context) => {
|
|
439
435
|
return {
|
|
440
436
|
...(input.ContentClassifiers != null && {
|
|
441
|
-
ContentClassifiers:
|
|
437
|
+
ContentClassifiers: se_ContentClassifiers(input.ContentClassifiers, context),
|
|
442
438
|
}),
|
|
443
439
|
};
|
|
444
440
|
};
|
|
445
|
-
const
|
|
441
|
+
const se_HumanLoopInput = (input, context) => {
|
|
446
442
|
return {
|
|
447
443
|
...(input.InputContent != null && { InputContent: input.InputContent }),
|
|
448
444
|
};
|
|
449
445
|
};
|
|
450
|
-
const
|
|
446
|
+
const de_HumanLoopOutput = (output, context) => {
|
|
451
447
|
return {
|
|
452
448
|
OutputS3Uri: (0, smithy_client_1.expectString)(output.OutputS3Uri),
|
|
453
449
|
};
|
|
454
450
|
};
|
|
455
|
-
const
|
|
451
|
+
const de_HumanLoopSummaries = (output, context) => {
|
|
456
452
|
const retVal = (output || [])
|
|
457
453
|
.filter((e) => e != null)
|
|
458
454
|
.map((entry) => {
|
|
459
455
|
if (entry === null) {
|
|
460
456
|
return null;
|
|
461
457
|
}
|
|
462
|
-
return
|
|
458
|
+
return de_HumanLoopSummary(entry, context);
|
|
463
459
|
});
|
|
464
460
|
return retVal;
|
|
465
461
|
};
|
|
466
|
-
const
|
|
462
|
+
const de_HumanLoopSummary = (output, context) => {
|
|
467
463
|
return {
|
|
468
464
|
CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
|
|
469
465
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
@@ -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_DeleteHumanLoopCommand, se_DeleteHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class DeleteHumanLoopCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteHumanLoopCommand 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_DeleteHumanLoopCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteHumanLoopCommand(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_DescribeHumanLoopCommand, se_DescribeHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class DescribeHumanLoopCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeHumanLoopCommand 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_DescribeHumanLoopCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeHumanLoopCommand(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_ListHumanLoopsCommand, se_ListHumanLoopsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class ListHumanLoopsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ListHumanLoopsCommand 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_ListHumanLoopsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ListHumanLoopsCommand(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_StartHumanLoopCommand, se_StartHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class StartHumanLoopCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StartHumanLoopCommand 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_StartHumanLoopCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StartHumanLoopCommand(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_StopHumanLoopCommand, se_StopHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class StopHumanLoopCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StopHumanLoopCommand 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_StopHumanLoopCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StopHumanLoopCommand(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, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SageMakerA2IRuntimeServiceException as __BaseException } from "../models/SageMakerA2IRuntimeServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_DeleteHumanLoopCommand = 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 || ""}` + "/human-loops/{HumanLoopName}";
|
|
@@ -18,7 +18,7 @@ export const serializeAws_restJson1DeleteHumanLoopCommand = async (input, contex
|
|
|
18
18
|
body,
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
export const
|
|
21
|
+
export const se_DescribeHumanLoopCommand = async (input, context) => {
|
|
22
22
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
23
23
|
const headers = {};
|
|
24
24
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops/{HumanLoopName}";
|
|
@@ -34,7 +34,7 @@ export const serializeAws_restJson1DescribeHumanLoopCommand = async (input, cont
|
|
|
34
34
|
body,
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
|
-
export const
|
|
37
|
+
export const se_ListHumanLoopsCommand = async (input, context) => {
|
|
38
38
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
39
39
|
const headers = {};
|
|
40
40
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
|
|
@@ -64,7 +64,7 @@ export const serializeAws_restJson1ListHumanLoopsCommand = async (input, context
|
|
|
64
64
|
body,
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
|
-
export const
|
|
67
|
+
export const se_StartHumanLoopCommand = async (input, context) => {
|
|
68
68
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/json",
|
|
@@ -72,13 +72,9 @@ export const serializeAws_restJson1StartHumanLoopCommand = async (input, context
|
|
|
72
72
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
|
|
73
73
|
let body;
|
|
74
74
|
body = JSON.stringify({
|
|
75
|
-
...(input.DataAttributes != null && {
|
|
76
|
-
DataAttributes: serializeAws_restJson1HumanLoopDataAttributes(input.DataAttributes, context),
|
|
77
|
-
}),
|
|
75
|
+
...(input.DataAttributes != null && { DataAttributes: se_HumanLoopDataAttributes(input.DataAttributes, context) }),
|
|
78
76
|
...(input.FlowDefinitionArn != null && { FlowDefinitionArn: input.FlowDefinitionArn }),
|
|
79
|
-
...(input.HumanLoopInput != null && {
|
|
80
|
-
HumanLoopInput: serializeAws_restJson1HumanLoopInput(input.HumanLoopInput, context),
|
|
81
|
-
}),
|
|
77
|
+
...(input.HumanLoopInput != null && { HumanLoopInput: se_HumanLoopInput(input.HumanLoopInput, context) }),
|
|
82
78
|
...(input.HumanLoopName != null && { HumanLoopName: input.HumanLoopName }),
|
|
83
79
|
});
|
|
84
80
|
return new __HttpRequest({
|
|
@@ -91,7 +87,7 @@ export const serializeAws_restJson1StartHumanLoopCommand = async (input, context
|
|
|
91
87
|
body,
|
|
92
88
|
});
|
|
93
89
|
};
|
|
94
|
-
export const
|
|
90
|
+
export const se_StopHumanLoopCommand = async (input, context) => {
|
|
95
91
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
96
92
|
const headers = {
|
|
97
93
|
"content-type": "application/json",
|
|
@@ -111,9 +107,9 @@ export const serializeAws_restJson1StopHumanLoopCommand = async (input, context)
|
|
|
111
107
|
body,
|
|
112
108
|
});
|
|
113
109
|
};
|
|
114
|
-
export const
|
|
110
|
+
export const de_DeleteHumanLoopCommand = async (output, context) => {
|
|
115
111
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
116
|
-
return
|
|
112
|
+
return de_DeleteHumanLoopCommandError(output, context);
|
|
117
113
|
}
|
|
118
114
|
const contents = map({
|
|
119
115
|
$metadata: deserializeMetadata(output),
|
|
@@ -121,7 +117,7 @@ export const deserializeAws_restJson1DeleteHumanLoopCommand = async (output, con
|
|
|
121
117
|
await collectBody(output.body, context);
|
|
122
118
|
return contents;
|
|
123
119
|
};
|
|
124
|
-
const
|
|
120
|
+
const de_DeleteHumanLoopCommandError = async (output, context) => {
|
|
125
121
|
const parsedOutput = {
|
|
126
122
|
...output,
|
|
127
123
|
body: await parseErrorBody(output.body, context),
|
|
@@ -130,16 +126,16 @@ const deserializeAws_restJson1DeleteHumanLoopCommandError = async (output, conte
|
|
|
130
126
|
switch (errorCode) {
|
|
131
127
|
case "InternalServerException":
|
|
132
128
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
133
|
-
throw await
|
|
129
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
134
130
|
case "ResourceNotFoundException":
|
|
135
131
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
136
|
-
throw await
|
|
132
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
137
133
|
case "ThrottlingException":
|
|
138
134
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
139
|
-
throw await
|
|
135
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
140
136
|
case "ValidationException":
|
|
141
137
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
142
|
-
throw await
|
|
138
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
143
139
|
default:
|
|
144
140
|
const parsedBody = parsedOutput.body;
|
|
145
141
|
throwDefaultError({
|
|
@@ -150,9 +146,9 @@ const deserializeAws_restJson1DeleteHumanLoopCommandError = async (output, conte
|
|
|
150
146
|
});
|
|
151
147
|
}
|
|
152
148
|
};
|
|
153
|
-
export const
|
|
149
|
+
export const de_DescribeHumanLoopCommand = async (output, context) => {
|
|
154
150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
155
|
-
return
|
|
151
|
+
return de_DescribeHumanLoopCommandError(output, context);
|
|
156
152
|
}
|
|
157
153
|
const contents = map({
|
|
158
154
|
$metadata: deserializeMetadata(output),
|
|
@@ -177,14 +173,14 @@ export const deserializeAws_restJson1DescribeHumanLoopCommand = async (output, c
|
|
|
177
173
|
contents.HumanLoopName = __expectString(data.HumanLoopName);
|
|
178
174
|
}
|
|
179
175
|
if (data.HumanLoopOutput != null) {
|
|
180
|
-
contents.HumanLoopOutput =
|
|
176
|
+
contents.HumanLoopOutput = de_HumanLoopOutput(data.HumanLoopOutput, context);
|
|
181
177
|
}
|
|
182
178
|
if (data.HumanLoopStatus != null) {
|
|
183
179
|
contents.HumanLoopStatus = __expectString(data.HumanLoopStatus);
|
|
184
180
|
}
|
|
185
181
|
return contents;
|
|
186
182
|
};
|
|
187
|
-
const
|
|
183
|
+
const de_DescribeHumanLoopCommandError = async (output, context) => {
|
|
188
184
|
const parsedOutput = {
|
|
189
185
|
...output,
|
|
190
186
|
body: await parseErrorBody(output.body, context),
|
|
@@ -193,16 +189,16 @@ const deserializeAws_restJson1DescribeHumanLoopCommandError = async (output, con
|
|
|
193
189
|
switch (errorCode) {
|
|
194
190
|
case "InternalServerException":
|
|
195
191
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
196
|
-
throw await
|
|
192
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
197
193
|
case "ResourceNotFoundException":
|
|
198
194
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
199
|
-
throw await
|
|
195
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
200
196
|
case "ThrottlingException":
|
|
201
197
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
202
|
-
throw await
|
|
198
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
203
199
|
case "ValidationException":
|
|
204
200
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
205
|
-
throw await
|
|
201
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
206
202
|
default:
|
|
207
203
|
const parsedBody = parsedOutput.body;
|
|
208
204
|
throwDefaultError({
|
|
@@ -213,23 +209,23 @@ const deserializeAws_restJson1DescribeHumanLoopCommandError = async (output, con
|
|
|
213
209
|
});
|
|
214
210
|
}
|
|
215
211
|
};
|
|
216
|
-
export const
|
|
212
|
+
export const de_ListHumanLoopsCommand = async (output, context) => {
|
|
217
213
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
218
|
-
return
|
|
214
|
+
return de_ListHumanLoopsCommandError(output, context);
|
|
219
215
|
}
|
|
220
216
|
const contents = map({
|
|
221
217
|
$metadata: deserializeMetadata(output),
|
|
222
218
|
});
|
|
223
219
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
224
220
|
if (data.HumanLoopSummaries != null) {
|
|
225
|
-
contents.HumanLoopSummaries =
|
|
221
|
+
contents.HumanLoopSummaries = de_HumanLoopSummaries(data.HumanLoopSummaries, context);
|
|
226
222
|
}
|
|
227
223
|
if (data.NextToken != null) {
|
|
228
224
|
contents.NextToken = __expectString(data.NextToken);
|
|
229
225
|
}
|
|
230
226
|
return contents;
|
|
231
227
|
};
|
|
232
|
-
const
|
|
228
|
+
const de_ListHumanLoopsCommandError = async (output, context) => {
|
|
233
229
|
const parsedOutput = {
|
|
234
230
|
...output,
|
|
235
231
|
body: await parseErrorBody(output.body, context),
|
|
@@ -238,16 +234,16 @@ const deserializeAws_restJson1ListHumanLoopsCommandError = async (output, contex
|
|
|
238
234
|
switch (errorCode) {
|
|
239
235
|
case "InternalServerException":
|
|
240
236
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
241
|
-
throw await
|
|
237
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
242
238
|
case "ResourceNotFoundException":
|
|
243
239
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
244
|
-
throw await
|
|
240
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
245
241
|
case "ThrottlingException":
|
|
246
242
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
247
|
-
throw await
|
|
243
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
248
244
|
case "ValidationException":
|
|
249
245
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
250
|
-
throw await
|
|
246
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
251
247
|
default:
|
|
252
248
|
const parsedBody = parsedOutput.body;
|
|
253
249
|
throwDefaultError({
|
|
@@ -258,9 +254,9 @@ const deserializeAws_restJson1ListHumanLoopsCommandError = async (output, contex
|
|
|
258
254
|
});
|
|
259
255
|
}
|
|
260
256
|
};
|
|
261
|
-
export const
|
|
257
|
+
export const de_StartHumanLoopCommand = async (output, context) => {
|
|
262
258
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
263
|
-
return
|
|
259
|
+
return de_StartHumanLoopCommandError(output, context);
|
|
264
260
|
}
|
|
265
261
|
const contents = map({
|
|
266
262
|
$metadata: deserializeMetadata(output),
|
|
@@ -271,7 +267,7 @@ export const deserializeAws_restJson1StartHumanLoopCommand = async (output, cont
|
|
|
271
267
|
}
|
|
272
268
|
return contents;
|
|
273
269
|
};
|
|
274
|
-
const
|
|
270
|
+
const de_StartHumanLoopCommandError = async (output, context) => {
|
|
275
271
|
const parsedOutput = {
|
|
276
272
|
...output,
|
|
277
273
|
body: await parseErrorBody(output.body, context),
|
|
@@ -280,19 +276,19 @@ const deserializeAws_restJson1StartHumanLoopCommandError = async (output, contex
|
|
|
280
276
|
switch (errorCode) {
|
|
281
277
|
case "ConflictException":
|
|
282
278
|
case "com.amazonaws.sagemakera2iruntime#ConflictException":
|
|
283
|
-
throw await
|
|
279
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
284
280
|
case "InternalServerException":
|
|
285
281
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
286
|
-
throw await
|
|
282
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
287
283
|
case "ServiceQuotaExceededException":
|
|
288
284
|
case "com.amazonaws.sagemakera2iruntime#ServiceQuotaExceededException":
|
|
289
|
-
throw await
|
|
285
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
290
286
|
case "ThrottlingException":
|
|
291
287
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
292
|
-
throw await
|
|
288
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
293
289
|
case "ValidationException":
|
|
294
290
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
295
|
-
throw await
|
|
291
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
296
292
|
default:
|
|
297
293
|
const parsedBody = parsedOutput.body;
|
|
298
294
|
throwDefaultError({
|
|
@@ -303,9 +299,9 @@ const deserializeAws_restJson1StartHumanLoopCommandError = async (output, contex
|
|
|
303
299
|
});
|
|
304
300
|
}
|
|
305
301
|
};
|
|
306
|
-
export const
|
|
302
|
+
export const de_StopHumanLoopCommand = async (output, context) => {
|
|
307
303
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
308
|
-
return
|
|
304
|
+
return de_StopHumanLoopCommandError(output, context);
|
|
309
305
|
}
|
|
310
306
|
const contents = map({
|
|
311
307
|
$metadata: deserializeMetadata(output),
|
|
@@ -313,7 +309,7 @@ export const deserializeAws_restJson1StopHumanLoopCommand = async (output, conte
|
|
|
313
309
|
await collectBody(output.body, context);
|
|
314
310
|
return contents;
|
|
315
311
|
};
|
|
316
|
-
const
|
|
312
|
+
const de_StopHumanLoopCommandError = async (output, context) => {
|
|
317
313
|
const parsedOutput = {
|
|
318
314
|
...output,
|
|
319
315
|
body: await parseErrorBody(output.body, context),
|
|
@@ -322,16 +318,16 @@ const deserializeAws_restJson1StopHumanLoopCommandError = async (output, context
|
|
|
322
318
|
switch (errorCode) {
|
|
323
319
|
case "InternalServerException":
|
|
324
320
|
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
325
|
-
throw await
|
|
321
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
326
322
|
case "ResourceNotFoundException":
|
|
327
323
|
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
328
|
-
throw await
|
|
324
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
329
325
|
case "ThrottlingException":
|
|
330
326
|
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
331
|
-
throw await
|
|
327
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
332
328
|
case "ValidationException":
|
|
333
329
|
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
334
|
-
throw await
|
|
330
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
335
331
|
default:
|
|
336
332
|
const parsedBody = parsedOutput.body;
|
|
337
333
|
throwDefaultError({
|
|
@@ -343,7 +339,7 @@ const deserializeAws_restJson1StopHumanLoopCommandError = async (output, context
|
|
|
343
339
|
}
|
|
344
340
|
};
|
|
345
341
|
const map = __map;
|
|
346
|
-
const
|
|
342
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
347
343
|
const contents = map({});
|
|
348
344
|
const data = parsedOutput.body;
|
|
349
345
|
if (data.Message != null) {
|
|
@@ -355,7 +351,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
355
351
|
});
|
|
356
352
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
357
353
|
};
|
|
358
|
-
const
|
|
354
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
359
355
|
const contents = map({});
|
|
360
356
|
const data = parsedOutput.body;
|
|
361
357
|
if (data.Message != null) {
|
|
@@ -367,7 +363,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
367
363
|
});
|
|
368
364
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
369
365
|
};
|
|
370
|
-
const
|
|
366
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
371
367
|
const contents = map({});
|
|
372
368
|
const data = parsedOutput.body;
|
|
373
369
|
if (data.Message != null) {
|
|
@@ -379,7 +375,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
379
375
|
});
|
|
380
376
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
381
377
|
};
|
|
382
|
-
const
|
|
378
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
383
379
|
const contents = map({});
|
|
384
380
|
const data = parsedOutput.body;
|
|
385
381
|
if (data.Message != null) {
|
|
@@ -391,7 +387,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
391
387
|
});
|
|
392
388
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
393
389
|
};
|
|
394
|
-
const
|
|
390
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
395
391
|
const contents = map({});
|
|
396
392
|
const data = parsedOutput.body;
|
|
397
393
|
if (data.Message != null) {
|
|
@@ -403,7 +399,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
403
399
|
});
|
|
404
400
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
405
401
|
};
|
|
406
|
-
const
|
|
402
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
407
403
|
const contents = map({});
|
|
408
404
|
const data = parsedOutput.body;
|
|
409
405
|
if (data.Message != null) {
|
|
@@ -415,42 +411,42 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
415
411
|
});
|
|
416
412
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
417
413
|
};
|
|
418
|
-
const
|
|
414
|
+
const se_ContentClassifiers = (input, context) => {
|
|
419
415
|
return input
|
|
420
416
|
.filter((e) => e != null)
|
|
421
417
|
.map((entry) => {
|
|
422
418
|
return entry;
|
|
423
419
|
});
|
|
424
420
|
};
|
|
425
|
-
const
|
|
421
|
+
const se_HumanLoopDataAttributes = (input, context) => {
|
|
426
422
|
return {
|
|
427
423
|
...(input.ContentClassifiers != null && {
|
|
428
|
-
ContentClassifiers:
|
|
424
|
+
ContentClassifiers: se_ContentClassifiers(input.ContentClassifiers, context),
|
|
429
425
|
}),
|
|
430
426
|
};
|
|
431
427
|
};
|
|
432
|
-
const
|
|
428
|
+
const se_HumanLoopInput = (input, context) => {
|
|
433
429
|
return {
|
|
434
430
|
...(input.InputContent != null && { InputContent: input.InputContent }),
|
|
435
431
|
};
|
|
436
432
|
};
|
|
437
|
-
const
|
|
433
|
+
const de_HumanLoopOutput = (output, context) => {
|
|
438
434
|
return {
|
|
439
435
|
OutputS3Uri: __expectString(output.OutputS3Uri),
|
|
440
436
|
};
|
|
441
437
|
};
|
|
442
|
-
const
|
|
438
|
+
const de_HumanLoopSummaries = (output, context) => {
|
|
443
439
|
const retVal = (output || [])
|
|
444
440
|
.filter((e) => e != null)
|
|
445
441
|
.map((entry) => {
|
|
446
442
|
if (entry === null) {
|
|
447
443
|
return null;
|
|
448
444
|
}
|
|
449
|
-
return
|
|
445
|
+
return de_HumanLoopSummary(entry, context);
|
|
450
446
|
});
|
|
451
447
|
return retVal;
|
|
452
448
|
};
|
|
453
|
-
const
|
|
449
|
+
const de_HumanLoopSummary = (output, context) => {
|
|
454
450
|
return {
|
|
455
451
|
CreationTime: output.CreationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationTime)) : undefined,
|
|
456
452
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -5,13 +5,43 @@ import { DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput } from ".
|
|
|
5
5
|
import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "../commands/ListHumanLoopsCommand";
|
|
6
6
|
import { StartHumanLoopCommandInput, StartHumanLoopCommandOutput } from "../commands/StartHumanLoopCommand";
|
|
7
7
|
import { StopHumanLoopCommandInput, StopHumanLoopCommandOutput } from "../commands/StopHumanLoopCommand";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
/**
|
|
9
|
+
* serializeAws_restJson1DeleteHumanLoopCommand
|
|
10
|
+
*/
|
|
11
|
+
export declare const se_DeleteHumanLoopCommand: (input: DeleteHumanLoopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
/**
|
|
13
|
+
* serializeAws_restJson1DescribeHumanLoopCommand
|
|
14
|
+
*/
|
|
15
|
+
export declare const se_DescribeHumanLoopCommand: (input: DescribeHumanLoopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* serializeAws_restJson1ListHumanLoopsCommand
|
|
18
|
+
*/
|
|
19
|
+
export declare const se_ListHumanLoopsCommand: (input: ListHumanLoopsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
/**
|
|
21
|
+
* serializeAws_restJson1StartHumanLoopCommand
|
|
22
|
+
*/
|
|
23
|
+
export declare const se_StartHumanLoopCommand: (input: StartHumanLoopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
/**
|
|
25
|
+
* serializeAws_restJson1StopHumanLoopCommand
|
|
26
|
+
*/
|
|
27
|
+
export declare const se_StopHumanLoopCommand: (input: StopHumanLoopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* deserializeAws_restJson1DeleteHumanLoopCommand
|
|
30
|
+
*/
|
|
31
|
+
export declare const de_DeleteHumanLoopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteHumanLoopCommandOutput>;
|
|
32
|
+
/**
|
|
33
|
+
* deserializeAws_restJson1DescribeHumanLoopCommand
|
|
34
|
+
*/
|
|
35
|
+
export declare const de_DescribeHumanLoopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeHumanLoopCommandOutput>;
|
|
36
|
+
/**
|
|
37
|
+
* deserializeAws_restJson1ListHumanLoopsCommand
|
|
38
|
+
*/
|
|
39
|
+
export declare const de_ListHumanLoopsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListHumanLoopsCommandOutput>;
|
|
40
|
+
/**
|
|
41
|
+
* deserializeAws_restJson1StartHumanLoopCommand
|
|
42
|
+
*/
|
|
43
|
+
export declare const de_StartHumanLoopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartHumanLoopCommandOutput>;
|
|
44
|
+
/**
|
|
45
|
+
* deserializeAws_restJson1StopHumanLoopCommand
|
|
46
|
+
*/
|
|
47
|
+
export declare const de_StopHumanLoopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopHumanLoopCommandOutput>;
|
|
@@ -23,43 +23,43 @@ import {
|
|
|
23
23
|
StopHumanLoopCommandInput,
|
|
24
24
|
StopHumanLoopCommandOutput,
|
|
25
25
|
} from "../commands/StopHumanLoopCommand";
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const se_DeleteHumanLoopCommand: (
|
|
27
27
|
input: DeleteHumanLoopCommandInput,
|
|
28
28
|
context: __SerdeContext
|
|
29
29
|
) => Promise<__HttpRequest>;
|
|
30
|
-
export declare const
|
|
30
|
+
export declare const se_DescribeHumanLoopCommand: (
|
|
31
31
|
input: DescribeHumanLoopCommandInput,
|
|
32
32
|
context: __SerdeContext
|
|
33
33
|
) => Promise<__HttpRequest>;
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const se_ListHumanLoopsCommand: (
|
|
35
35
|
input: ListHumanLoopsCommandInput,
|
|
36
36
|
context: __SerdeContext
|
|
37
37
|
) => Promise<__HttpRequest>;
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const se_StartHumanLoopCommand: (
|
|
39
39
|
input: StartHumanLoopCommandInput,
|
|
40
40
|
context: __SerdeContext
|
|
41
41
|
) => Promise<__HttpRequest>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const se_StopHumanLoopCommand: (
|
|
43
43
|
input: StopHumanLoopCommandInput,
|
|
44
44
|
context: __SerdeContext
|
|
45
45
|
) => Promise<__HttpRequest>;
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const de_DeleteHumanLoopCommand: (
|
|
47
47
|
output: __HttpResponse,
|
|
48
48
|
context: __SerdeContext
|
|
49
49
|
) => Promise<DeleteHumanLoopCommandOutput>;
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const de_DescribeHumanLoopCommand: (
|
|
51
51
|
output: __HttpResponse,
|
|
52
52
|
context: __SerdeContext
|
|
53
53
|
) => Promise<DescribeHumanLoopCommandOutput>;
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const de_ListHumanLoopsCommand: (
|
|
55
55
|
output: __HttpResponse,
|
|
56
56
|
context: __SerdeContext
|
|
57
57
|
) => Promise<ListHumanLoopsCommandOutput>;
|
|
58
|
-
export declare const
|
|
58
|
+
export declare const de_StartHumanLoopCommand: (
|
|
59
59
|
output: __HttpResponse,
|
|
60
60
|
context: __SerdeContext
|
|
61
61
|
) => Promise<StartHumanLoopCommandOutput>;
|
|
62
|
-
export declare const
|
|
62
|
+
export declare const de_StopHumanLoopCommand: (
|
|
63
63
|
output: __HttpResponse,
|
|
64
64
|
context: __SerdeContext
|
|
65
65
|
) => Promise<StopHumanLoopCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.309.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,37 +21,37 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.309.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.309.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.303.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
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.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.309.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.309.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|