@aws-sdk/client-sagemaker-a2i-runtime 3.928.0 → 3.929.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/index.js +289 -327
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SageMakerA2IRuntimeClient.js +2 -0
- package/dist-es/commands/DeleteHumanLoopCommand.js +3 -9
- package/dist-es/commands/DescribeHumanLoopCommand.js +3 -9
- package/dist-es/commands/ListHumanLoopsCommand.js +3 -9
- package/dist-es/commands/StartHumanLoopCommand.js +3 -9
- package/dist-es/commands/StopHumanLoopCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +267 -0
- package/dist-types/SageMakerA2IRuntimeClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/SageMakerA2IRuntimeClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +35 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -281
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -65
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.929.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-a2i-runtime",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.928.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.929.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
-
import { SageMakerA2IRuntimeServiceException as __BaseException } from "../models/SageMakerA2IRuntimeServiceException";
|
|
6
|
-
export const se_DeleteHumanLoopCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {};
|
|
9
|
-
b.bp("/human-loops/{HumanLoopName}");
|
|
10
|
-
b.p("HumanLoopName", () => input.HumanLoopName, "{HumanLoopName}", false);
|
|
11
|
-
let body;
|
|
12
|
-
b.m("DELETE").h(headers).b(body);
|
|
13
|
-
return b.build();
|
|
14
|
-
};
|
|
15
|
-
export const se_DescribeHumanLoopCommand = async (input, context) => {
|
|
16
|
-
const b = rb(input, context);
|
|
17
|
-
const headers = {};
|
|
18
|
-
b.bp("/human-loops/{HumanLoopName}");
|
|
19
|
-
b.p("HumanLoopName", () => input.HumanLoopName, "{HumanLoopName}", false);
|
|
20
|
-
let body;
|
|
21
|
-
b.m("GET").h(headers).b(body);
|
|
22
|
-
return b.build();
|
|
23
|
-
};
|
|
24
|
-
export const se_ListHumanLoopsCommand = async (input, context) => {
|
|
25
|
-
const b = rb(input, context);
|
|
26
|
-
const headers = {};
|
|
27
|
-
b.bp("/human-loops");
|
|
28
|
-
const query = map({
|
|
29
|
-
[_CTA]: [() => input.CreationTimeAfter !== void 0, () => __serializeDateTime(input[_CTA]).toString()],
|
|
30
|
-
[_CTB]: [() => input.CreationTimeBefore !== void 0, () => __serializeDateTime(input[_CTB]).toString()],
|
|
31
|
-
[_FDA]: [, __expectNonNull(input[_FDA], `FlowDefinitionArn`)],
|
|
32
|
-
[_SO]: [, input[_SO]],
|
|
33
|
-
[_NT]: [, input[_NT]],
|
|
34
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
35
|
-
});
|
|
36
|
-
let body;
|
|
37
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
38
|
-
return b.build();
|
|
39
|
-
};
|
|
40
|
-
export const se_StartHumanLoopCommand = async (input, context) => {
|
|
41
|
-
const b = rb(input, context);
|
|
42
|
-
const headers = {
|
|
43
|
-
"content-type": "application/json",
|
|
44
|
-
};
|
|
45
|
-
b.bp("/human-loops");
|
|
46
|
-
let body;
|
|
47
|
-
body = JSON.stringify(take(input, {
|
|
48
|
-
DataAttributes: (_) => _json(_),
|
|
49
|
-
FlowDefinitionArn: [],
|
|
50
|
-
HumanLoopInput: (_) => _json(_),
|
|
51
|
-
HumanLoopName: [],
|
|
52
|
-
}));
|
|
53
|
-
b.m("POST").h(headers).b(body);
|
|
54
|
-
return b.build();
|
|
55
|
-
};
|
|
56
|
-
export const se_StopHumanLoopCommand = async (input, context) => {
|
|
57
|
-
const b = rb(input, context);
|
|
58
|
-
const headers = {
|
|
59
|
-
"content-type": "application/json",
|
|
60
|
-
};
|
|
61
|
-
b.bp("/human-loops/stop");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(take(input, {
|
|
64
|
-
HumanLoopName: [],
|
|
65
|
-
}));
|
|
66
|
-
b.m("POST").h(headers).b(body);
|
|
67
|
-
return b.build();
|
|
68
|
-
};
|
|
69
|
-
export const de_DeleteHumanLoopCommand = async (output, context) => {
|
|
70
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
71
|
-
return de_CommandError(output, context);
|
|
72
|
-
}
|
|
73
|
-
const contents = map({
|
|
74
|
-
$metadata: deserializeMetadata(output),
|
|
75
|
-
});
|
|
76
|
-
await collectBody(output.body, context);
|
|
77
|
-
return contents;
|
|
78
|
-
};
|
|
79
|
-
export const de_DescribeHumanLoopCommand = async (output, context) => {
|
|
80
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
81
|
-
return de_CommandError(output, context);
|
|
82
|
-
}
|
|
83
|
-
const contents = map({
|
|
84
|
-
$metadata: deserializeMetadata(output),
|
|
85
|
-
});
|
|
86
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
87
|
-
const doc = take(data, {
|
|
88
|
-
CreationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
89
|
-
FailureCode: __expectString,
|
|
90
|
-
FailureReason: __expectString,
|
|
91
|
-
FlowDefinitionArn: __expectString,
|
|
92
|
-
HumanLoopArn: __expectString,
|
|
93
|
-
HumanLoopName: __expectString,
|
|
94
|
-
HumanLoopOutput: _json,
|
|
95
|
-
HumanLoopStatus: __expectString,
|
|
96
|
-
});
|
|
97
|
-
Object.assign(contents, doc);
|
|
98
|
-
return contents;
|
|
99
|
-
};
|
|
100
|
-
export const de_ListHumanLoopsCommand = async (output, context) => {
|
|
101
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
102
|
-
return de_CommandError(output, context);
|
|
103
|
-
}
|
|
104
|
-
const contents = map({
|
|
105
|
-
$metadata: deserializeMetadata(output),
|
|
106
|
-
});
|
|
107
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
108
|
-
const doc = take(data, {
|
|
109
|
-
HumanLoopSummaries: (_) => de_HumanLoopSummaries(_, context),
|
|
110
|
-
NextToken: __expectString,
|
|
111
|
-
});
|
|
112
|
-
Object.assign(contents, doc);
|
|
113
|
-
return contents;
|
|
114
|
-
};
|
|
115
|
-
export const de_StartHumanLoopCommand = async (output, context) => {
|
|
116
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
117
|
-
return de_CommandError(output, context);
|
|
118
|
-
}
|
|
119
|
-
const contents = map({
|
|
120
|
-
$metadata: deserializeMetadata(output),
|
|
121
|
-
});
|
|
122
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
123
|
-
const doc = take(data, {
|
|
124
|
-
HumanLoopArn: __expectString,
|
|
125
|
-
});
|
|
126
|
-
Object.assign(contents, doc);
|
|
127
|
-
return contents;
|
|
128
|
-
};
|
|
129
|
-
export const de_StopHumanLoopCommand = async (output, context) => {
|
|
130
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
131
|
-
return de_CommandError(output, context);
|
|
132
|
-
}
|
|
133
|
-
const contents = map({
|
|
134
|
-
$metadata: deserializeMetadata(output),
|
|
135
|
-
});
|
|
136
|
-
await collectBody(output.body, context);
|
|
137
|
-
return contents;
|
|
138
|
-
};
|
|
139
|
-
const de_CommandError = async (output, context) => {
|
|
140
|
-
const parsedOutput = {
|
|
141
|
-
...output,
|
|
142
|
-
body: await parseErrorBody(output.body, context),
|
|
143
|
-
};
|
|
144
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
145
|
-
switch (errorCode) {
|
|
146
|
-
case "InternalServerException":
|
|
147
|
-
case "com.amazonaws.sagemakera2iruntime#InternalServerException":
|
|
148
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
149
|
-
case "ResourceNotFoundException":
|
|
150
|
-
case "com.amazonaws.sagemakera2iruntime#ResourceNotFoundException":
|
|
151
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
152
|
-
case "ThrottlingException":
|
|
153
|
-
case "com.amazonaws.sagemakera2iruntime#ThrottlingException":
|
|
154
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
155
|
-
case "ValidationException":
|
|
156
|
-
case "com.amazonaws.sagemakera2iruntime#ValidationException":
|
|
157
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
158
|
-
case "ConflictException":
|
|
159
|
-
case "com.amazonaws.sagemakera2iruntime#ConflictException":
|
|
160
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
161
|
-
case "ServiceQuotaExceededException":
|
|
162
|
-
case "com.amazonaws.sagemakera2iruntime#ServiceQuotaExceededException":
|
|
163
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
164
|
-
default:
|
|
165
|
-
const parsedBody = parsedOutput.body;
|
|
166
|
-
return throwDefaultError({
|
|
167
|
-
output,
|
|
168
|
-
parsedBody,
|
|
169
|
-
errorCode,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
174
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
175
|
-
const contents = map({});
|
|
176
|
-
const data = parsedOutput.body;
|
|
177
|
-
const doc = take(data, {
|
|
178
|
-
Message: __expectString,
|
|
179
|
-
});
|
|
180
|
-
Object.assign(contents, doc);
|
|
181
|
-
const exception = new ConflictException({
|
|
182
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
183
|
-
...contents,
|
|
184
|
-
});
|
|
185
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
186
|
-
};
|
|
187
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
188
|
-
const contents = map({});
|
|
189
|
-
const data = parsedOutput.body;
|
|
190
|
-
const doc = take(data, {
|
|
191
|
-
Message: __expectString,
|
|
192
|
-
});
|
|
193
|
-
Object.assign(contents, doc);
|
|
194
|
-
const exception = new InternalServerException({
|
|
195
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
196
|
-
...contents,
|
|
197
|
-
});
|
|
198
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
199
|
-
};
|
|
200
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
201
|
-
const contents = map({});
|
|
202
|
-
const data = parsedOutput.body;
|
|
203
|
-
const doc = take(data, {
|
|
204
|
-
Message: __expectString,
|
|
205
|
-
});
|
|
206
|
-
Object.assign(contents, doc);
|
|
207
|
-
const exception = new ResourceNotFoundException({
|
|
208
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
209
|
-
...contents,
|
|
210
|
-
});
|
|
211
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
212
|
-
};
|
|
213
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
214
|
-
const contents = map({});
|
|
215
|
-
const data = parsedOutput.body;
|
|
216
|
-
const doc = take(data, {
|
|
217
|
-
Message: __expectString,
|
|
218
|
-
});
|
|
219
|
-
Object.assign(contents, doc);
|
|
220
|
-
const exception = new ServiceQuotaExceededException({
|
|
221
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
222
|
-
...contents,
|
|
223
|
-
});
|
|
224
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
225
|
-
};
|
|
226
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
227
|
-
const contents = map({});
|
|
228
|
-
const data = parsedOutput.body;
|
|
229
|
-
const doc = take(data, {
|
|
230
|
-
Message: __expectString,
|
|
231
|
-
});
|
|
232
|
-
Object.assign(contents, doc);
|
|
233
|
-
const exception = new ThrottlingException({
|
|
234
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
235
|
-
...contents,
|
|
236
|
-
});
|
|
237
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
238
|
-
};
|
|
239
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
240
|
-
const contents = map({});
|
|
241
|
-
const data = parsedOutput.body;
|
|
242
|
-
const doc = take(data, {
|
|
243
|
-
Message: __expectString,
|
|
244
|
-
});
|
|
245
|
-
Object.assign(contents, doc);
|
|
246
|
-
const exception = new ValidationException({
|
|
247
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
248
|
-
...contents,
|
|
249
|
-
});
|
|
250
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
251
|
-
};
|
|
252
|
-
const de_HumanLoopSummaries = (output, context) => {
|
|
253
|
-
const retVal = (output || [])
|
|
254
|
-
.filter((e) => e != null)
|
|
255
|
-
.map((entry) => {
|
|
256
|
-
return de_HumanLoopSummary(entry, context);
|
|
257
|
-
});
|
|
258
|
-
return retVal;
|
|
259
|
-
};
|
|
260
|
-
const de_HumanLoopSummary = (output, context) => {
|
|
261
|
-
return take(output, {
|
|
262
|
-
CreationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
263
|
-
FailureReason: __expectString,
|
|
264
|
-
FlowDefinitionArn: __expectString,
|
|
265
|
-
HumanLoopName: __expectString,
|
|
266
|
-
HumanLoopStatus: __expectString,
|
|
267
|
-
});
|
|
268
|
-
};
|
|
269
|
-
const deserializeMetadata = (output) => ({
|
|
270
|
-
httpStatusCode: output.statusCode,
|
|
271
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
272
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
273
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
274
|
-
});
|
|
275
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
276
|
-
const _CTA = "CreationTimeAfter";
|
|
277
|
-
const _CTB = "CreationTimeBefore";
|
|
278
|
-
const _FDA = "FlowDefinitionArn";
|
|
279
|
-
const _MR = "MaxResults";
|
|
280
|
-
const _NT = "NextToken";
|
|
281
|
-
const _SO = "SortOrder";
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
-
import { DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput } from "../commands/DeleteHumanLoopCommand";
|
|
4
|
-
import { DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput } from "../commands/DescribeHumanLoopCommand";
|
|
5
|
-
import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "../commands/ListHumanLoopsCommand";
|
|
6
|
-
import { StartHumanLoopCommandInput, StartHumanLoopCommandOutput } from "../commands/StartHumanLoopCommand";
|
|
7
|
-
import { StopHumanLoopCommandInput, StopHumanLoopCommandOutput } from "../commands/StopHumanLoopCommand";
|
|
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>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@smithy/protocol-http";
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
DeleteHumanLoopCommandInput,
|
|
8
|
-
DeleteHumanLoopCommandOutput,
|
|
9
|
-
} from "../commands/DeleteHumanLoopCommand";
|
|
10
|
-
import {
|
|
11
|
-
DescribeHumanLoopCommandInput,
|
|
12
|
-
DescribeHumanLoopCommandOutput,
|
|
13
|
-
} from "../commands/DescribeHumanLoopCommand";
|
|
14
|
-
import {
|
|
15
|
-
ListHumanLoopsCommandInput,
|
|
16
|
-
ListHumanLoopsCommandOutput,
|
|
17
|
-
} from "../commands/ListHumanLoopsCommand";
|
|
18
|
-
import {
|
|
19
|
-
StartHumanLoopCommandInput,
|
|
20
|
-
StartHumanLoopCommandOutput,
|
|
21
|
-
} from "../commands/StartHumanLoopCommand";
|
|
22
|
-
import {
|
|
23
|
-
StopHumanLoopCommandInput,
|
|
24
|
-
StopHumanLoopCommandOutput,
|
|
25
|
-
} from "../commands/StopHumanLoopCommand";
|
|
26
|
-
export declare const se_DeleteHumanLoopCommand: (
|
|
27
|
-
input: DeleteHumanLoopCommandInput,
|
|
28
|
-
context: __SerdeContext
|
|
29
|
-
) => Promise<__HttpRequest>;
|
|
30
|
-
export declare const se_DescribeHumanLoopCommand: (
|
|
31
|
-
input: DescribeHumanLoopCommandInput,
|
|
32
|
-
context: __SerdeContext
|
|
33
|
-
) => Promise<__HttpRequest>;
|
|
34
|
-
export declare const se_ListHumanLoopsCommand: (
|
|
35
|
-
input: ListHumanLoopsCommandInput,
|
|
36
|
-
context: __SerdeContext
|
|
37
|
-
) => Promise<__HttpRequest>;
|
|
38
|
-
export declare const se_StartHumanLoopCommand: (
|
|
39
|
-
input: StartHumanLoopCommandInput,
|
|
40
|
-
context: __SerdeContext
|
|
41
|
-
) => Promise<__HttpRequest>;
|
|
42
|
-
export declare const se_StopHumanLoopCommand: (
|
|
43
|
-
input: StopHumanLoopCommandInput,
|
|
44
|
-
context: __SerdeContext
|
|
45
|
-
) => Promise<__HttpRequest>;
|
|
46
|
-
export declare const de_DeleteHumanLoopCommand: (
|
|
47
|
-
output: __HttpResponse,
|
|
48
|
-
context: __SerdeContext
|
|
49
|
-
) => Promise<DeleteHumanLoopCommandOutput>;
|
|
50
|
-
export declare const de_DescribeHumanLoopCommand: (
|
|
51
|
-
output: __HttpResponse,
|
|
52
|
-
context: __SerdeContext
|
|
53
|
-
) => Promise<DescribeHumanLoopCommandOutput>;
|
|
54
|
-
export declare const de_ListHumanLoopsCommand: (
|
|
55
|
-
output: __HttpResponse,
|
|
56
|
-
context: __SerdeContext
|
|
57
|
-
) => Promise<ListHumanLoopsCommandOutput>;
|
|
58
|
-
export declare const de_StartHumanLoopCommand: (
|
|
59
|
-
output: __HttpResponse,
|
|
60
|
-
context: __SerdeContext
|
|
61
|
-
) => Promise<StartHumanLoopCommandOutput>;
|
|
62
|
-
export declare const de_StopHumanLoopCommand: (
|
|
63
|
-
output: __HttpResponse,
|
|
64
|
-
context: __SerdeContext
|
|
65
|
-
) => Promise<StopHumanLoopCommandOutput>;
|