@aws-sdk/client-sagemaker-a2i-runtime 3.533.0 → 3.535.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-types/SageMakerA2IRuntime.d.ts +1 -1
- package/dist-types/SageMakerA2IRuntimeClient.d.ts +1 -1
- package/dist-types/commands/DeleteHumanLoopCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHumanLoopCommand.d.ts +2 -1
- package/dist-types/commands/ListHumanLoopsCommand.d.ts +2 -1
- package/dist-types/commands/StartHumanLoopCommand.d.ts +2 -1
- package/dist-types/commands/StopHumanLoopCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +42 -42
- package/dist-types/ts3.4/commands/DeleteHumanLoopCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeHumanLoopCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListHumanLoopsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartHumanLoopCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopHumanLoopCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -38,7 +38,6 @@ export interface SageMakerA2IRuntime {
|
|
|
38
38
|
stopHumanLoop(args: StopHumanLoopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopHumanLoopCommandOutput) => void): void;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* @public
|
|
42
41
|
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
43
42
|
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
44
43
|
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
@@ -65,6 +64,7 @@ export interface SageMakerA2IRuntime {
|
|
|
65
64
|
* <p>Amazon A2I integrates APIs from various AWS services to create and start human review
|
|
66
65
|
* workflows for those services. To learn how Amazon A2I uses these APIs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-api-references.html">Use APIs in
|
|
67
66
|
* Amazon A2I</a> in the Amazon SageMaker Developer Guide.</p>
|
|
67
|
+
* @public
|
|
68
68
|
*/
|
|
69
69
|
export declare class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient implements SageMakerA2IRuntime {
|
|
70
70
|
}
|
|
@@ -156,7 +156,6 @@ export type SageMakerA2IRuntimeClientResolvedConfigType = __SmithyResolvedConfig
|
|
|
156
156
|
export interface SageMakerA2IRuntimeClientResolvedConfig extends SageMakerA2IRuntimeClientResolvedConfigType {
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* @public
|
|
160
159
|
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
161
160
|
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
162
161
|
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
@@ -183,6 +182,7 @@ export interface SageMakerA2IRuntimeClientResolvedConfig extends SageMakerA2IRun
|
|
|
183
182
|
* <p>Amazon A2I integrates APIs from various AWS services to create and start human review
|
|
184
183
|
* workflows for those services. To learn how Amazon A2I uses these APIs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-api-references.html">Use APIs in
|
|
185
184
|
* Amazon A2I</a> in the Amazon SageMaker Developer Guide.</p>
|
|
185
|
+
* @public
|
|
186
186
|
*/
|
|
187
187
|
export declare class SageMakerA2IRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
188
188
|
/**
|
|
@@ -22,10 +22,10 @@ export interface DeleteHumanLoopCommandOutput extends DeleteHumanLoopResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteHumanLoopCommand_base: {
|
|
24
24
|
new (input: DeleteHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified human loop for a flow definition.</p>
|
|
30
30
|
* <p>If the human loop was deleted, this operation will return a
|
|
31
31
|
* <code>ResourceNotFoundException</code>. </p>
|
|
@@ -70,6 +70,7 @@ declare const DeleteHumanLoopCommand_base: {
|
|
|
70
70
|
* @throws {@link SageMakerA2IRuntimeServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from SageMakerA2IRuntime service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class DeleteHumanLoopCommand extends DeleteHumanLoopCommand_base {
|
|
75
76
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeHumanLoopCommand_base: {
|
|
24
24
|
new (input: DescribeHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns information about the specified human loop. If the human loop was deleted, this
|
|
30
30
|
* operation will return a <code>ResourceNotFoundException</code> error. </p>
|
|
31
31
|
* @example
|
|
@@ -80,6 +80,7 @@ declare const DescribeHumanLoopCommand_base: {
|
|
|
80
80
|
* @throws {@link SageMakerA2IRuntimeServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from SageMakerA2IRuntime service.</p>
|
|
82
82
|
*
|
|
83
|
+
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class DescribeHumanLoopCommand extends DescribeHumanLoopCommand_base {
|
|
85
86
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListHumanLoopsCommand_base: {
|
|
24
24
|
new (input: ListHumanLoopsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListHumanLoopsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -84,6 +84,7 @@ declare const ListHumanLoopsCommand_base: {
|
|
|
84
84
|
* @throws {@link SageMakerA2IRuntimeServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from SageMakerA2IRuntime service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class ListHumanLoopsCommand extends ListHumanLoopsCommand_base {
|
|
89
90
|
}
|
|
@@ -22,10 +22,10 @@ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const StartHumanLoopCommand_base: {
|
|
24
24
|
new (input: StartHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<StartHumanLoopCommandInput, StartHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: StartHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<StartHumanLoopCommandInput, StartHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Starts a human loop, provided that at least one activation condition is met.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -87,6 +87,7 @@ declare const StartHumanLoopCommand_base: {
|
|
|
87
87
|
* @throws {@link SageMakerA2IRuntimeServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from SageMakerA2IRuntime service.</p>
|
|
89
89
|
*
|
|
90
|
+
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class StartHumanLoopCommand extends StartHumanLoopCommand_base {
|
|
92
93
|
}
|
|
@@ -22,10 +22,10 @@ export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const StopHumanLoopCommand_base: {
|
|
24
24
|
new (input: StopHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<StopHumanLoopCommandInput, StopHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: StopHumanLoopCommandInput): import("@smithy/smithy-client").CommandImpl<StopHumanLoopCommandInput, StopHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Stops the specified human loop.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -68,6 +68,7 @@ declare const StopHumanLoopCommand_base: {
|
|
|
68
68
|
* @throws {@link SageMakerA2IRuntimeServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from SageMakerA2IRuntime service.</p>
|
|
70
70
|
*
|
|
71
|
+
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class StopHumanLoopCommand extends StopHumanLoopCommand_base {
|
|
73
74
|
}
|
|
@@ -5,8 +5,8 @@ import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMa
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DeleteHumanLoopRequest {
|
|
7
7
|
/**
|
|
8
|
-
* @public
|
|
9
8
|
* <p>The name of the human loop that you want to delete.</p>
|
|
9
|
+
* @public
|
|
10
10
|
*/
|
|
11
11
|
HumanLoopName: string | undefined;
|
|
12
12
|
}
|
|
@@ -16,9 +16,9 @@ export interface DeleteHumanLoopRequest {
|
|
|
16
16
|
export interface DeleteHumanLoopResponse {
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* @public
|
|
20
19
|
* <p>We couldn't process your request because of an issue with the server. Try again
|
|
21
20
|
* later.</p>
|
|
21
|
+
* @public
|
|
22
22
|
*/
|
|
23
23
|
export declare class InternalServerException extends __BaseException {
|
|
24
24
|
readonly name: "InternalServerException";
|
|
@@ -30,9 +30,9 @@ export declare class InternalServerException extends __BaseException {
|
|
|
30
30
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* @public
|
|
34
33
|
* <p>We couldn't find the requested resource. Check that your resources exists and were created
|
|
35
34
|
* in the same AWS Region as your request, and try your request again. </p>
|
|
35
|
+
* @public
|
|
36
36
|
*/
|
|
37
37
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
38
38
|
readonly name: "ResourceNotFoundException";
|
|
@@ -44,10 +44,10 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
44
44
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* @public
|
|
48
47
|
* <p>You exceeded
|
|
49
48
|
* the
|
|
50
49
|
* maximum number of requests.</p>
|
|
50
|
+
* @public
|
|
51
51
|
*/
|
|
52
52
|
export declare class ThrottlingException extends __BaseException {
|
|
53
53
|
readonly name: "ThrottlingException";
|
|
@@ -59,9 +59,9 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
59
59
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>The
|
|
64
63
|
* request isn't valid. Check the syntax and try again.</p>
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class ValidationException extends __BaseException {
|
|
67
67
|
readonly name: "ValidationException";
|
|
@@ -77,19 +77,19 @@ export declare class ValidationException extends __BaseException {
|
|
|
77
77
|
*/
|
|
78
78
|
export interface DescribeHumanLoopRequest {
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The name of the human loop that you want information about.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
HumanLoopName: string | undefined;
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>Information about where the human output will be stored.</p>
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export interface HumanLoopOutput {
|
|
90
90
|
/**
|
|
91
|
-
* @public
|
|
92
91
|
* <p>The location of the Amazon S3 object where Amazon Augmented AI stores your human loop output.</p>
|
|
92
|
+
* @public
|
|
93
93
|
*/
|
|
94
94
|
OutputS3Uri: string | undefined;
|
|
95
95
|
}
|
|
@@ -113,48 +113,48 @@ export type HumanLoopStatus = (typeof HumanLoopStatus)[keyof typeof HumanLoopSta
|
|
|
113
113
|
*/
|
|
114
114
|
export interface DescribeHumanLoopResponse {
|
|
115
115
|
/**
|
|
116
|
-
* @public
|
|
117
116
|
* <p>The creation time when Amazon Augmented AI created the human loop.</p>
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
CreationTime: Date | undefined;
|
|
120
120
|
/**
|
|
121
|
-
* @public
|
|
122
121
|
* <p>The reason why a human loop failed. The failure reason is returned when the status of the
|
|
123
122
|
* human loop is <code>Failed</code>.</p>
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
FailureReason?: string;
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>A failure code that identifies the type of failure.</p>
|
|
129
128
|
* <p>Possible values: <code>ValidationError</code>, <code>Expired</code>,
|
|
130
129
|
* <code>InternalError</code>
|
|
131
130
|
* </p>
|
|
131
|
+
* @public
|
|
132
132
|
*/
|
|
133
133
|
FailureCode?: string;
|
|
134
134
|
/**
|
|
135
|
-
* @public
|
|
136
135
|
* <p>The status of the human loop. </p>
|
|
136
|
+
* @public
|
|
137
137
|
*/
|
|
138
138
|
HumanLoopStatus: HumanLoopStatus | undefined;
|
|
139
139
|
/**
|
|
140
|
-
* @public
|
|
141
140
|
* <p>The name of the human loop. The name must be lowercase, unique within the Region in your
|
|
142
141
|
* account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).</p>
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
HumanLoopName: string | undefined;
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
HumanLoopArn: string | undefined;
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* <p>The Amazon Resource Name (ARN) of the flow definition.</p>
|
|
152
|
+
* @public
|
|
153
153
|
*/
|
|
154
154
|
FlowDefinitionArn: string | undefined;
|
|
155
155
|
/**
|
|
156
|
-
* @public
|
|
157
156
|
* <p>An object that contains information about the output of the human loop.</p>
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
HumanLoopOutput?: HumanLoopOutput;
|
|
160
160
|
}
|
|
@@ -175,69 +175,69 @@ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
|
175
175
|
*/
|
|
176
176
|
export interface ListHumanLoopsRequest {
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <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>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
CreationTimeAfter?: Date;
|
|
182
182
|
/**
|
|
183
|
-
* @public
|
|
184
183
|
* <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>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
CreationTimeBefore?: Date;
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>The Amazon Resource Name (ARN) of a flow definition.</p>
|
|
189
|
+
* @public
|
|
190
190
|
*/
|
|
191
191
|
FlowDefinitionArn: string | undefined;
|
|
192
192
|
/**
|
|
193
|
-
* @public
|
|
194
193
|
* <p>Optional. The order for displaying results. Valid values: <code>Ascending</code> and
|
|
195
194
|
* <code>Descending</code>.</p>
|
|
195
|
+
* @public
|
|
196
196
|
*/
|
|
197
197
|
SortOrder?: SortOrder;
|
|
198
198
|
/**
|
|
199
|
-
* @public
|
|
200
199
|
* <p>A token to display the next page of results.</p>
|
|
200
|
+
* @public
|
|
201
201
|
*/
|
|
202
202
|
NextToken?: string;
|
|
203
203
|
/**
|
|
204
|
-
* @public
|
|
205
204
|
* <p>The total number of items to return. If the total number of available items is more than
|
|
206
205
|
* the value specified in <code>MaxResults</code>, then a <code>NextToken</code> is returned in
|
|
207
206
|
* the output. You can use this token to display the next page of results. </p>
|
|
207
|
+
* @public
|
|
208
208
|
*/
|
|
209
209
|
MaxResults?: number;
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
|
-
* @public
|
|
213
212
|
* <p>Summary information about the human loop.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
export interface HumanLoopSummary {
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>The name of the human loop.</p>
|
|
218
|
+
* @public
|
|
219
219
|
*/
|
|
220
220
|
HumanLoopName?: string;
|
|
221
221
|
/**
|
|
222
|
-
* @public
|
|
223
222
|
* <p>The status of the human loop. </p>
|
|
223
|
+
* @public
|
|
224
224
|
*/
|
|
225
225
|
HumanLoopStatus?: HumanLoopStatus;
|
|
226
226
|
/**
|
|
227
|
-
* @public
|
|
228
227
|
* <p>When Amazon Augmented AI created the human loop.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
CreationTime?: Date;
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>The reason why the human loop failed. A failure reason is returned when the status of the
|
|
234
233
|
* human loop is <code>Failed</code>.</p>
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
FailureReason?: string;
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* <p>The Amazon Resource Name (ARN) of the flow definition used to configure the human
|
|
240
239
|
* loop.</p>
|
|
240
|
+
* @public
|
|
241
241
|
*/
|
|
242
242
|
FlowDefinitionArn?: string;
|
|
243
243
|
}
|
|
@@ -246,20 +246,20 @@ export interface HumanLoopSummary {
|
|
|
246
246
|
*/
|
|
247
247
|
export interface ListHumanLoopsResponse {
|
|
248
248
|
/**
|
|
249
|
-
* @public
|
|
250
249
|
* <p>An array of objects that contain information about the human loops.</p>
|
|
250
|
+
* @public
|
|
251
251
|
*/
|
|
252
252
|
HumanLoopSummaries: HumanLoopSummary[] | undefined;
|
|
253
253
|
/**
|
|
254
|
-
* @public
|
|
255
254
|
* <p>A token to display the next page of results.</p>
|
|
255
|
+
* @public
|
|
256
256
|
*/
|
|
257
257
|
NextToken?: string;
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
|
-
* @public
|
|
261
260
|
* <p>Your request has the same name as another active human loop but has different input data. You cannot start two
|
|
262
261
|
* human loops with the same name and different input data.</p>
|
|
262
|
+
* @public
|
|
263
263
|
*/
|
|
264
264
|
export declare class ConflictException extends __BaseException {
|
|
265
265
|
readonly name: "ConflictException";
|
|
@@ -271,13 +271,13 @@ export declare class ConflictException extends __BaseException {
|
|
|
271
271
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
|
-
* @public
|
|
275
274
|
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
|
|
276
275
|
* maximum number of service resources or operations for your AWS account. For a list of
|
|
277
276
|
* Amazon A2I service quotes, see <a href="https://docs.aws.amazon.com/general/latest/gr/a2i.html">Amazon Augmented AI Service Quotes</a>. Delete some resources or request an increase in your
|
|
278
277
|
* service quota. You can request a quota increase using Service Quotas or the AWS Support
|
|
279
278
|
* Center. To request an increase, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">AWS Service Quotas</a> in the
|
|
280
279
|
* <i>AWS General Reference</i>.</p>
|
|
280
|
+
* @public
|
|
281
281
|
*/
|
|
282
282
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
283
283
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -301,25 +301,25 @@ export declare const ContentClassifier: {
|
|
|
301
301
|
*/
|
|
302
302
|
export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
303
303
|
/**
|
|
304
|
-
* @public
|
|
305
304
|
* <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p>
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
export interface HumanLoopDataAttributes {
|
|
308
308
|
/**
|
|
309
|
-
* @public
|
|
310
309
|
* <p>Declares that your content is free of personally identifiable information or adult content.</p>
|
|
311
310
|
* <p>Amazon SageMaker can restrict the Amazon Mechanical Turk workers who can view your task based on this information.</p>
|
|
311
|
+
* @public
|
|
312
312
|
*/
|
|
313
313
|
ContentClassifiers: ContentClassifier[] | undefined;
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>An object containing the human loop input in JSON format.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
export interface HumanLoopInput {
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>Serialized input from the human loop. The input must be a string representation of a file in JSON format.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
InputContent: string | undefined;
|
|
325
325
|
}
|
|
@@ -328,25 +328,25 @@ export interface HumanLoopInput {
|
|
|
328
328
|
*/
|
|
329
329
|
export interface StartHumanLoopRequest {
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>The name of the human loop.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
HumanLoopName: string | undefined;
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>The Amazon Resource Name (ARN) of the flow definition associated with this human
|
|
338
337
|
* loop.</p>
|
|
338
|
+
* @public
|
|
339
339
|
*/
|
|
340
340
|
FlowDefinitionArn: string | undefined;
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* <p>An object that contains information about the human loop.</p>
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
HumanLoopInput: HumanLoopInput | undefined;
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>Attributes of the specified data. Use <code>DataAttributes</code> to specify if your data
|
|
349
348
|
* is free of personally identifiable information and/or free of adult content.</p>
|
|
349
|
+
* @public
|
|
350
350
|
*/
|
|
351
351
|
DataAttributes?: HumanLoopDataAttributes;
|
|
352
352
|
}
|
|
@@ -355,8 +355,8 @@ export interface StartHumanLoopRequest {
|
|
|
355
355
|
*/
|
|
356
356
|
export interface StartHumanLoopResponse {
|
|
357
357
|
/**
|
|
358
|
-
* @public
|
|
359
358
|
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
359
|
+
* @public
|
|
360
360
|
*/
|
|
361
361
|
HumanLoopArn?: string;
|
|
362
362
|
}
|
|
@@ -365,8 +365,8 @@ export interface StartHumanLoopResponse {
|
|
|
365
365
|
*/
|
|
366
366
|
export interface StopHumanLoopRequest {
|
|
367
367
|
/**
|
|
368
|
-
* @public
|
|
369
368
|
* <p>The name of the human loop that you want to stop.</p>
|
|
369
|
+
* @public
|
|
370
370
|
*/
|
|
371
371
|
HumanLoopName: string | undefined;
|
|
372
372
|
}
|
|
@@ -24,6 +24,15 @@ declare const DeleteHumanLoopCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: DeleteHumanLoopCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
DeleteHumanLoopCommandInput,
|
|
31
|
+
DeleteHumanLoopCommandOutput,
|
|
32
|
+
SageMakerA2IRuntimeClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class DeleteHumanLoopCommand extends DeleteHumanLoopCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const DescribeHumanLoopCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DescribeHumanLoopCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeHumanLoopCommandInput,
|
|
32
|
+
DescribeHumanLoopCommandOutput,
|
|
33
|
+
SageMakerA2IRuntimeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DescribeHumanLoopCommand extends DescribeHumanLoopCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const ListHumanLoopsCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: ListHumanLoopsCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
ListHumanLoopsCommandInput,
|
|
31
|
+
ListHumanLoopsCommandOutput,
|
|
32
|
+
SageMakerA2IRuntimeClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class ListHumanLoopsCommand extends ListHumanLoopsCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const StartHumanLoopCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: StartHumanLoopCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
StartHumanLoopCommandInput,
|
|
31
|
+
StartHumanLoopCommandOutput,
|
|
32
|
+
SageMakerA2IRuntimeClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class StartHumanLoopCommand extends StartHumanLoopCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const StopHumanLoopCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: StopHumanLoopCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
StopHumanLoopCommandInput,
|
|
31
|
+
StopHumanLoopCommandOutput,
|
|
32
|
+
SageMakerA2IRuntimeClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class StopHumanLoopCommand extends StopHumanLoopCommand_base {}
|
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.535.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",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|