@aws-sdk/client-sagemaker-a2i-runtime 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
*/
|
|
31
31
|
export * from "./SageMakerA2IRuntimeClient";
|
|
32
32
|
export * from "./SageMakerA2IRuntime";
|
|
33
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
33
34
|
export * from "./commands";
|
|
34
35
|
export * from "./pagination";
|
|
35
36
|
export * from "./models";
|
|
@@ -5,6 +5,7 @@ import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMa
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DeleteHumanLoopRequest {
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
8
9
|
* <p>The name of the human loop that you want to delete.</p>
|
|
9
10
|
*/
|
|
10
11
|
HumanLoopName: string | undefined;
|
|
@@ -76,6 +77,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
76
77
|
*/
|
|
77
78
|
export interface DescribeHumanLoopRequest {
|
|
78
79
|
/**
|
|
80
|
+
* @public
|
|
79
81
|
* <p>The name of the human loop that you want information about.</p>
|
|
80
82
|
*/
|
|
81
83
|
HumanLoopName: string | undefined;
|
|
@@ -86,6 +88,7 @@ export interface DescribeHumanLoopRequest {
|
|
|
86
88
|
*/
|
|
87
89
|
export interface HumanLoopOutput {
|
|
88
90
|
/**
|
|
91
|
+
* @public
|
|
89
92
|
* <p>The location of the Amazon S3 object where Amazon Augmented AI stores your human loop output.</p>
|
|
90
93
|
*/
|
|
91
94
|
OutputS3Uri: string | undefined;
|
|
@@ -110,15 +113,18 @@ export type HumanLoopStatus = (typeof HumanLoopStatus)[keyof typeof HumanLoopSta
|
|
|
110
113
|
*/
|
|
111
114
|
export interface DescribeHumanLoopResponse {
|
|
112
115
|
/**
|
|
116
|
+
* @public
|
|
113
117
|
* <p>The creation time when Amazon Augmented AI created the human loop.</p>
|
|
114
118
|
*/
|
|
115
119
|
CreationTime: Date | undefined;
|
|
116
120
|
/**
|
|
121
|
+
* @public
|
|
117
122
|
* <p>The reason why a human loop failed. The failure reason is returned when the status of the
|
|
118
123
|
* human loop is <code>Failed</code>.</p>
|
|
119
124
|
*/
|
|
120
125
|
FailureReason?: string;
|
|
121
126
|
/**
|
|
127
|
+
* @public
|
|
122
128
|
* <p>A failure code that identifies the type of failure.</p>
|
|
123
129
|
* <p>Possible values: <code>ValidationError</code>, <code>Expired</code>,
|
|
124
130
|
* <code>InternalError</code>
|
|
@@ -126,23 +132,28 @@ export interface DescribeHumanLoopResponse {
|
|
|
126
132
|
*/
|
|
127
133
|
FailureCode?: string;
|
|
128
134
|
/**
|
|
135
|
+
* @public
|
|
129
136
|
* <p>The status of the human loop. </p>
|
|
130
137
|
*/
|
|
131
138
|
HumanLoopStatus: HumanLoopStatus | string | undefined;
|
|
132
139
|
/**
|
|
140
|
+
* @public
|
|
133
141
|
* <p>The name of the human loop. The name must be lowercase, unique within the Region in your
|
|
134
142
|
* account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).</p>
|
|
135
143
|
*/
|
|
136
144
|
HumanLoopName: string | undefined;
|
|
137
145
|
/**
|
|
146
|
+
* @public
|
|
138
147
|
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
139
148
|
*/
|
|
140
149
|
HumanLoopArn: string | undefined;
|
|
141
150
|
/**
|
|
151
|
+
* @public
|
|
142
152
|
* <p>The Amazon Resource Name (ARN) of the flow definition.</p>
|
|
143
153
|
*/
|
|
144
154
|
FlowDefinitionArn: string | undefined;
|
|
145
155
|
/**
|
|
156
|
+
* @public
|
|
146
157
|
* <p>An object that contains information about the output of the human loop.</p>
|
|
147
158
|
*/
|
|
148
159
|
HumanLoopOutput?: HumanLoopOutput;
|
|
@@ -164,27 +175,33 @@ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
|
164
175
|
*/
|
|
165
176
|
export interface ListHumanLoopsRequest {
|
|
166
177
|
/**
|
|
178
|
+
* @public
|
|
167
179
|
* <p>(Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, <code>2020-02-24</code>.</p>
|
|
168
180
|
*/
|
|
169
181
|
CreationTimeAfter?: Date;
|
|
170
182
|
/**
|
|
183
|
+
* @public
|
|
171
184
|
* <p>(Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For example, <code>2020-02-24</code>.</p>
|
|
172
185
|
*/
|
|
173
186
|
CreationTimeBefore?: Date;
|
|
174
187
|
/**
|
|
188
|
+
* @public
|
|
175
189
|
* <p>The Amazon Resource Name (ARN) of a flow definition.</p>
|
|
176
190
|
*/
|
|
177
191
|
FlowDefinitionArn: string | undefined;
|
|
178
192
|
/**
|
|
193
|
+
* @public
|
|
179
194
|
* <p>Optional. The order for displaying results. Valid values: <code>Ascending</code> and
|
|
180
195
|
* <code>Descending</code>.</p>
|
|
181
196
|
*/
|
|
182
197
|
SortOrder?: SortOrder | string;
|
|
183
198
|
/**
|
|
199
|
+
* @public
|
|
184
200
|
* <p>A token to display the next page of results.</p>
|
|
185
201
|
*/
|
|
186
202
|
NextToken?: string;
|
|
187
203
|
/**
|
|
204
|
+
* @public
|
|
188
205
|
* <p>The total number of items to return. If the total number of available items is more than
|
|
189
206
|
* the value specified in <code>MaxResults</code>, then a <code>NextToken</code> is returned in
|
|
190
207
|
* the output. You can use this token to display the next page of results. </p>
|
|
@@ -197,23 +214,28 @@ export interface ListHumanLoopsRequest {
|
|
|
197
214
|
*/
|
|
198
215
|
export interface HumanLoopSummary {
|
|
199
216
|
/**
|
|
217
|
+
* @public
|
|
200
218
|
* <p>The name of the human loop.</p>
|
|
201
219
|
*/
|
|
202
220
|
HumanLoopName?: string;
|
|
203
221
|
/**
|
|
222
|
+
* @public
|
|
204
223
|
* <p>The status of the human loop. </p>
|
|
205
224
|
*/
|
|
206
225
|
HumanLoopStatus?: HumanLoopStatus | string;
|
|
207
226
|
/**
|
|
227
|
+
* @public
|
|
208
228
|
* <p>When Amazon Augmented AI created the human loop.</p>
|
|
209
229
|
*/
|
|
210
230
|
CreationTime?: Date;
|
|
211
231
|
/**
|
|
232
|
+
* @public
|
|
212
233
|
* <p>The reason why the human loop failed. A failure reason is returned when the status of the
|
|
213
234
|
* human loop is <code>Failed</code>.</p>
|
|
214
235
|
*/
|
|
215
236
|
FailureReason?: string;
|
|
216
237
|
/**
|
|
238
|
+
* @public
|
|
217
239
|
* <p>The Amazon Resource Name (ARN) of the flow definition used to configure the human
|
|
218
240
|
* loop.</p>
|
|
219
241
|
*/
|
|
@@ -224,10 +246,12 @@ export interface HumanLoopSummary {
|
|
|
224
246
|
*/
|
|
225
247
|
export interface ListHumanLoopsResponse {
|
|
226
248
|
/**
|
|
249
|
+
* @public
|
|
227
250
|
* <p>An array of objects that contain information about the human loops.</p>
|
|
228
251
|
*/
|
|
229
252
|
HumanLoopSummaries: HumanLoopSummary[] | undefined;
|
|
230
253
|
/**
|
|
254
|
+
* @public
|
|
231
255
|
* <p>A token to display the next page of results.</p>
|
|
232
256
|
*/
|
|
233
257
|
NextToken?: string;
|
|
@@ -282,6 +306,7 @@ export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentC
|
|
|
282
306
|
*/
|
|
283
307
|
export interface HumanLoopDataAttributes {
|
|
284
308
|
/**
|
|
309
|
+
* @public
|
|
285
310
|
* <p>Declares that your content is free of personally identifiable information or adult content.</p>
|
|
286
311
|
* <p>Amazon SageMaker can restrict the Amazon Mechanical Turk workers who can view your task based on this information.</p>
|
|
287
312
|
*/
|
|
@@ -293,6 +318,7 @@ export interface HumanLoopDataAttributes {
|
|
|
293
318
|
*/
|
|
294
319
|
export interface HumanLoopInput {
|
|
295
320
|
/**
|
|
321
|
+
* @public
|
|
296
322
|
* <p>Serialized input from the human loop. The input must be a string representation of a file in JSON format.</p>
|
|
297
323
|
*/
|
|
298
324
|
InputContent: string | undefined;
|
|
@@ -302,19 +328,23 @@ export interface HumanLoopInput {
|
|
|
302
328
|
*/
|
|
303
329
|
export interface StartHumanLoopRequest {
|
|
304
330
|
/**
|
|
331
|
+
* @public
|
|
305
332
|
* <p>The name of the human loop.</p>
|
|
306
333
|
*/
|
|
307
334
|
HumanLoopName: string | undefined;
|
|
308
335
|
/**
|
|
336
|
+
* @public
|
|
309
337
|
* <p>The Amazon Resource Name (ARN) of the flow definition associated with this human
|
|
310
338
|
* loop.</p>
|
|
311
339
|
*/
|
|
312
340
|
FlowDefinitionArn: string | undefined;
|
|
313
341
|
/**
|
|
342
|
+
* @public
|
|
314
343
|
* <p>An object that contains information about the human loop.</p>
|
|
315
344
|
*/
|
|
316
345
|
HumanLoopInput: HumanLoopInput | undefined;
|
|
317
346
|
/**
|
|
347
|
+
* @public
|
|
318
348
|
* <p>Attributes of the specified data. Use <code>DataAttributes</code> to specify if your data
|
|
319
349
|
* is free of personally identifiable information and/or free of adult content.</p>
|
|
320
350
|
*/
|
|
@@ -325,6 +355,7 @@ export interface StartHumanLoopRequest {
|
|
|
325
355
|
*/
|
|
326
356
|
export interface StartHumanLoopResponse {
|
|
327
357
|
/**
|
|
358
|
+
* @public
|
|
328
359
|
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
329
360
|
*/
|
|
330
361
|
HumanLoopArn?: string;
|
|
@@ -334,6 +365,7 @@ export interface StartHumanLoopResponse {
|
|
|
334
365
|
*/
|
|
335
366
|
export interface StopHumanLoopRequest {
|
|
336
367
|
/**
|
|
368
|
+
* @public
|
|
337
369
|
* <p>The name of the human loop that you want to stop.</p>
|
|
338
370
|
*/
|
|
339
371
|
HumanLoopName: string | undefined;
|
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.382.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,15 +21,15 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|