@aws-sdk/client-sagemaker-a2i-runtime 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/SageMakerA2IRuntime.js +0 -29
- package/dist-cjs/SageMakerA2IRuntimeClient.js +0 -34
- package/dist-cjs/commands/DeleteHumanLoopCommand.js +0 -27
- package/dist-cjs/commands/DescribeHumanLoopCommand.js +0 -26
- package/dist-cjs/commands/ListHumanLoopsCommand.js +0 -25
- package/dist-cjs/commands/StartHumanLoopCommand.js +0 -25
- package/dist-cjs/commands/StopHumanLoopCommand.js +0 -25
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -10
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -61
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListHumanLoopsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/SageMakerA2IRuntime.js +0 -1
- package/dist-es/SageMakerA2IRuntimeClient.js +0 -1
- package/dist-es/commands/DeleteHumanLoopCommand.js +0 -1
- package/dist-es/commands/DescribeHumanLoopCommand.js +0 -1
- package/dist-es/commands/ListHumanLoopsCommand.js +0 -1
- package/dist-es/commands/StartHumanLoopCommand.js +0 -1
- package/dist-es/commands/StopHumanLoopCommand.js +0 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -10
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListHumanLoopsPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +4 -9
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/SageMakerA2IRuntime.d.ts +6 -46
- package/dist-types/ts3.4/SageMakerA2IRuntimeClient.d.ts +24 -114
- package/dist-types/ts3.4/commands/DeleteHumanLoopCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeHumanLoopCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListHumanLoopsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartHumanLoopCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopHumanLoopCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +4 -9
- package/dist-types/ts3.4/models/models_0.d.ts +62 -210
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/SageMakerA2IRuntime.js.map +0 -1
- package/dist-cjs/SageMakerA2IRuntimeClient.js.map +0 -1
- package/dist-cjs/commands/DeleteHumanLoopCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeHumanLoopCommand.js.map +0 -1
- package/dist-cjs/commands/ListHumanLoopsCommand.js.map +0 -1
- package/dist-cjs/commands/StartHumanLoopCommand.js.map +0 -1
- package/dist-cjs/commands/StopHumanLoopCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListHumanLoopsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/SageMakerA2IRuntime.js.map +0 -1
- package/dist-es/SageMakerA2IRuntimeClient.js.map +0 -1
- package/dist-es/commands/DeleteHumanLoopCommand.js.map +0 -1
- package/dist-es/commands/DescribeHumanLoopCommand.js.map +0 -1
- package/dist-es/commands/ListHumanLoopsCommand.js.map +0 -1
- package/dist-es/commands/StartHumanLoopCommand.js.map +0 -1
- package/dist-es/commands/StopHumanLoopCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListHumanLoopsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/SageMakerA2IRuntime.ts +0 -221
- package/src/SageMakerA2IRuntimeClient.ts +0 -276
- package/src/commands/DeleteHumanLoopCommand.ts +0 -101
- package/src/commands/DescribeHumanLoopCommand.ts +0 -100
- package/src/commands/ListHumanLoopsCommand.ts +0 -99
- package/src/commands/StartHumanLoopCommand.ts +0 -99
- package/src/commands/StopHumanLoopCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -10
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -477
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListHumanLoopsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -841
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -6,30 +6,11 @@ export interface DescribeHumanLoopCommandInput extends DescribeHumanLoopRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns information about the specified human loop. If the human loop was deleted, this
|
|
11
|
-
* operation will return a <code>ResourceNotFoundException</code> error. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
16
|
-
* // const { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
17
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
18
|
-
* const command = new DescribeHumanLoopCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeHumanLoopCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeHumanLoopCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class DescribeHumanLoopCommand extends $Command<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
28
11
|
readonly input: DescribeHumanLoopCommandInput;
|
|
29
12
|
constructor(input: DescribeHumanLoopCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListHumanLoopsCommandInput extends ListHumanLoopsRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
15
|
-
* // const { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
16
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
17
|
-
* const command = new ListHumanLoopsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListHumanLoopsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListHumanLoopsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListHumanLoopsCommand extends $Command<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
27
11
|
readonly input: ListHumanLoopsCommandInput;
|
|
28
12
|
constructor(input: ListHumanLoopsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface StartHumanLoopCommandInput extends StartHumanLoopRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Starts a human loop, provided that at least one activation condition is met.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { SageMakerA2IRuntimeClient, StartHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
15
|
-
* // const { SageMakerA2IRuntimeClient, StartHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
16
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
17
|
-
* const command = new StartHumanLoopCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link StartHumanLoopCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link StartHumanLoopCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class StartHumanLoopCommand extends $Command<StartHumanLoopCommandInput, StartHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
27
11
|
readonly input: StartHumanLoopCommandInput;
|
|
28
12
|
constructor(input: StartHumanLoopCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartHumanLoopCommandInput, StartHumanLoopCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface StopHumanLoopCommandInput extends StopHumanLoopRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Stops the specified human loop.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { SageMakerA2IRuntimeClient, StopHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
15
|
-
* // const { SageMakerA2IRuntimeClient, StopHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
16
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
17
|
-
* const command = new StopHumanLoopCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link StopHumanLoopCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link StopHumanLoopCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class StopHumanLoopCommand extends $Command<StopHumanLoopCommandInput, StopHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
27
11
|
readonly input: StopHumanLoopCommandInput;
|
|
28
12
|
constructor(input: StopHumanLoopCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopHumanLoopCommandInput, StopHumanLoopCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
export * from "./SageMakerA2IRuntimeClient";
|
|
2
1
|
export * from "./SageMakerA2IRuntime";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./pagination
|
|
7
|
-
export * from "./commands/StartHumanLoopCommand";
|
|
8
|
-
export * from "./commands/StopHumanLoopCommand";
|
|
9
|
-
export * from "./pagination/Interfaces";
|
|
10
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./SageMakerA2IRuntimeClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -1,110 +1,73 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
export interface DeleteHumanLoopRequest {
|
|
3
|
-
|
|
4
|
-
* <p>The name of the human loop that you want to delete.</p>
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
HumanLoopName: string | undefined;
|
|
7
5
|
}
|
|
8
6
|
export declare namespace DeleteHumanLoopRequest {
|
|
9
|
-
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
7
|
+
|
|
12
8
|
const filterSensitiveLog: (obj: DeleteHumanLoopRequest) => any;
|
|
13
9
|
}
|
|
14
10
|
export interface DeleteHumanLoopResponse {
|
|
15
11
|
}
|
|
16
12
|
export declare namespace DeleteHumanLoopResponse {
|
|
17
|
-
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
13
|
+
|
|
20
14
|
const filterSensitiveLog: (obj: DeleteHumanLoopResponse) => any;
|
|
21
15
|
}
|
|
22
|
-
|
|
23
|
-
* <p>We couldn't process your request because of an issue with the server. Try again
|
|
24
|
-
* later.</p>
|
|
25
|
-
*/
|
|
16
|
+
|
|
26
17
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
27
18
|
name: "InternalServerException";
|
|
28
19
|
$fault: "server";
|
|
29
20
|
Message?: string;
|
|
30
21
|
}
|
|
31
22
|
export declare namespace InternalServerException {
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
23
|
+
|
|
35
24
|
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
36
25
|
}
|
|
37
|
-
|
|
38
|
-
* <p>We couldn't find the requested resource. Check that your resources exists and were created
|
|
39
|
-
* in the same AWS Region as your request, and try your request again. </p>
|
|
40
|
-
*/
|
|
26
|
+
|
|
41
27
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
42
28
|
name: "ResourceNotFoundException";
|
|
43
29
|
$fault: "client";
|
|
44
30
|
Message?: string;
|
|
45
31
|
}
|
|
46
32
|
export declare namespace ResourceNotFoundException {
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
33
|
+
|
|
50
34
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
51
35
|
}
|
|
52
|
-
|
|
53
|
-
* <p>You exceeded
|
|
54
|
-
* the
|
|
55
|
-
* maximum number of requests.</p>
|
|
56
|
-
*/
|
|
36
|
+
|
|
57
37
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
58
38
|
name: "ThrottlingException";
|
|
59
39
|
$fault: "client";
|
|
60
40
|
Message?: string;
|
|
61
41
|
}
|
|
62
42
|
export declare namespace ThrottlingException {
|
|
63
|
-
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
43
|
+
|
|
66
44
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
67
45
|
}
|
|
68
|
-
|
|
69
|
-
* <p>The
|
|
70
|
-
* request isn't valid. Check the syntax and try again.</p>
|
|
71
|
-
*/
|
|
46
|
+
|
|
72
47
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
73
48
|
name: "ValidationException";
|
|
74
49
|
$fault: "client";
|
|
75
50
|
Message?: string;
|
|
76
51
|
}
|
|
77
52
|
export declare namespace ValidationException {
|
|
78
|
-
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
53
|
+
|
|
81
54
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
82
55
|
}
|
|
83
56
|
export interface DescribeHumanLoopRequest {
|
|
84
|
-
|
|
85
|
-
* <p>The name of the human loop that you want information about.</p>
|
|
86
|
-
*/
|
|
57
|
+
|
|
87
58
|
HumanLoopName: string | undefined;
|
|
88
59
|
}
|
|
89
60
|
export declare namespace DescribeHumanLoopRequest {
|
|
90
|
-
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
61
|
+
|
|
93
62
|
const filterSensitiveLog: (obj: DescribeHumanLoopRequest) => any;
|
|
94
63
|
}
|
|
95
|
-
|
|
96
|
-
* <p>Information about where the human output will be stored.</p>
|
|
97
|
-
*/
|
|
64
|
+
|
|
98
65
|
export interface HumanLoopOutput {
|
|
99
|
-
|
|
100
|
-
* <p>The location of the Amazon S3 object where Amazon Augmented AI stores your human loop output.</p>
|
|
101
|
-
*/
|
|
66
|
+
|
|
102
67
|
OutputS3Uri: string | undefined;
|
|
103
68
|
}
|
|
104
69
|
export declare namespace HumanLoopOutput {
|
|
105
|
-
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
70
|
+
|
|
108
71
|
const filterSensitiveLog: (obj: HumanLoopOutput) => any;
|
|
109
72
|
}
|
|
110
73
|
export declare enum HumanLoopStatus {
|
|
@@ -115,48 +78,25 @@ export declare enum HumanLoopStatus {
|
|
|
115
78
|
STOPPING = "Stopping"
|
|
116
79
|
}
|
|
117
80
|
export interface DescribeHumanLoopResponse {
|
|
118
|
-
|
|
119
|
-
* <p>The creation time when Amazon Augmented AI created the human loop.</p>
|
|
120
|
-
*/
|
|
81
|
+
|
|
121
82
|
CreationTime: Date | undefined;
|
|
122
|
-
|
|
123
|
-
* <p>The reason why a human loop failed. The failure reason is returned when the status of the
|
|
124
|
-
* human loop is <code>Failed</code>.</p>
|
|
125
|
-
*/
|
|
83
|
+
|
|
126
84
|
FailureReason?: string;
|
|
127
|
-
|
|
128
|
-
* <p>A failure code that identifies the type of failure.</p>
|
|
129
|
-
* <p>Possible values: <code>ValidationError</code>, <code>Expired</code>,
|
|
130
|
-
* <code>InternalError</code>
|
|
131
|
-
* </p>
|
|
132
|
-
*/
|
|
85
|
+
|
|
133
86
|
FailureCode?: string;
|
|
134
|
-
|
|
135
|
-
* <p>The status of the human loop. </p>
|
|
136
|
-
*/
|
|
87
|
+
|
|
137
88
|
HumanLoopStatus: HumanLoopStatus | string | undefined;
|
|
138
|
-
|
|
139
|
-
* <p>The name of the human loop. The name must be lowercase, unique within the Region in your
|
|
140
|
-
* account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).</p>
|
|
141
|
-
*/
|
|
89
|
+
|
|
142
90
|
HumanLoopName: string | undefined;
|
|
143
|
-
|
|
144
|
-
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
145
|
-
*/
|
|
91
|
+
|
|
146
92
|
HumanLoopArn: string | undefined;
|
|
147
|
-
|
|
148
|
-
* <p>The Amazon Resource Name (ARN) of the flow definition.</p>
|
|
149
|
-
*/
|
|
93
|
+
|
|
150
94
|
FlowDefinitionArn: string | undefined;
|
|
151
|
-
|
|
152
|
-
* <p>An object that contains information about the output of the human loop.</p>
|
|
153
|
-
*/
|
|
95
|
+
|
|
154
96
|
HumanLoopOutput?: HumanLoopOutput;
|
|
155
97
|
}
|
|
156
98
|
export declare namespace DescribeHumanLoopResponse {
|
|
157
|
-
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
99
|
+
|
|
160
100
|
const filterSensitiveLog: (obj: DescribeHumanLoopResponse) => any;
|
|
161
101
|
}
|
|
162
102
|
export declare enum SortOrder {
|
|
@@ -164,213 +104,125 @@ export declare enum SortOrder {
|
|
|
164
104
|
DESCENDING = "Descending"
|
|
165
105
|
}
|
|
166
106
|
export interface ListHumanLoopsRequest {
|
|
167
|
-
|
|
168
|
-
* <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>
|
|
169
|
-
*/
|
|
107
|
+
|
|
170
108
|
CreationTimeAfter?: Date;
|
|
171
|
-
|
|
172
|
-
* <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>
|
|
173
|
-
*/
|
|
109
|
+
|
|
174
110
|
CreationTimeBefore?: Date;
|
|
175
|
-
|
|
176
|
-
* <p>The Amazon Resource Name (ARN) of a flow definition.</p>
|
|
177
|
-
*/
|
|
111
|
+
|
|
178
112
|
FlowDefinitionArn: string | undefined;
|
|
179
|
-
|
|
180
|
-
* <p>Optional. The order for displaying results. Valid values: <code>Ascending</code> and
|
|
181
|
-
* <code>Descending</code>.</p>
|
|
182
|
-
*/
|
|
113
|
+
|
|
183
114
|
SortOrder?: SortOrder | string;
|
|
184
|
-
|
|
185
|
-
* <p>A token to display the next page of results.</p>
|
|
186
|
-
*/
|
|
115
|
+
|
|
187
116
|
NextToken?: string;
|
|
188
|
-
|
|
189
|
-
* <p>The total number of items to return. If the total number of available items is more than
|
|
190
|
-
* the value specified in <code>MaxResults</code>, then a <code>NextToken</code> is returned in
|
|
191
|
-
* the output. You can use this token to display the next page of results. </p>
|
|
192
|
-
*/
|
|
117
|
+
|
|
193
118
|
MaxResults?: number;
|
|
194
119
|
}
|
|
195
120
|
export declare namespace ListHumanLoopsRequest {
|
|
196
|
-
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
121
|
+
|
|
199
122
|
const filterSensitiveLog: (obj: ListHumanLoopsRequest) => any;
|
|
200
123
|
}
|
|
201
|
-
|
|
202
|
-
* <p>Summary information about the human loop.</p>
|
|
203
|
-
*/
|
|
124
|
+
|
|
204
125
|
export interface HumanLoopSummary {
|
|
205
|
-
|
|
206
|
-
* <p>The name of the human loop.</p>
|
|
207
|
-
*/
|
|
126
|
+
|
|
208
127
|
HumanLoopName?: string;
|
|
209
|
-
|
|
210
|
-
* <p>The status of the human loop. </p>
|
|
211
|
-
*/
|
|
128
|
+
|
|
212
129
|
HumanLoopStatus?: HumanLoopStatus | string;
|
|
213
|
-
|
|
214
|
-
* <p>When Amazon Augmented AI created the human loop.</p>
|
|
215
|
-
*/
|
|
130
|
+
|
|
216
131
|
CreationTime?: Date;
|
|
217
|
-
|
|
218
|
-
* <p>The reason why the human loop failed. A failure reason is returned when the status of the
|
|
219
|
-
* human loop is <code>Failed</code>.</p>
|
|
220
|
-
*/
|
|
132
|
+
|
|
221
133
|
FailureReason?: string;
|
|
222
|
-
|
|
223
|
-
* <p>The Amazon Resource Name (ARN) of the flow definition used to configure the human
|
|
224
|
-
* loop.</p>
|
|
225
|
-
*/
|
|
134
|
+
|
|
226
135
|
FlowDefinitionArn?: string;
|
|
227
136
|
}
|
|
228
137
|
export declare namespace HumanLoopSummary {
|
|
229
|
-
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
138
|
+
|
|
232
139
|
const filterSensitiveLog: (obj: HumanLoopSummary) => any;
|
|
233
140
|
}
|
|
234
141
|
export interface ListHumanLoopsResponse {
|
|
235
|
-
|
|
236
|
-
* <p>An array of objects that contain information about the human loops.</p>
|
|
237
|
-
*/
|
|
142
|
+
|
|
238
143
|
HumanLoopSummaries: HumanLoopSummary[] | undefined;
|
|
239
|
-
|
|
240
|
-
* <p>A token to display the next page of results.</p>
|
|
241
|
-
*/
|
|
144
|
+
|
|
242
145
|
NextToken?: string;
|
|
243
146
|
}
|
|
244
147
|
export declare namespace ListHumanLoopsResponse {
|
|
245
|
-
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
148
|
+
|
|
248
149
|
const filterSensitiveLog: (obj: ListHumanLoopsResponse) => any;
|
|
249
150
|
}
|
|
250
|
-
|
|
251
|
-
* <p>Your request has the same name as another active human loop but has different input data. You cannot start two
|
|
252
|
-
* human loops with the same name and different input data.</p>
|
|
253
|
-
*/
|
|
151
|
+
|
|
254
152
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
255
153
|
name: "ConflictException";
|
|
256
154
|
$fault: "client";
|
|
257
155
|
Message?: string;
|
|
258
156
|
}
|
|
259
157
|
export declare namespace ConflictException {
|
|
260
|
-
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
158
|
+
|
|
263
159
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
264
160
|
}
|
|
265
|
-
|
|
266
|
-
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
|
|
267
|
-
* maximum number of service resources or operations for your AWS account. For a list of
|
|
268
|
-
* 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
|
|
269
|
-
* service quota. You can request a quota increase using Service Quotas or the AWS Support
|
|
270
|
-
* 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
|
|
271
|
-
* <i>AWS General Reference</i>.</p>
|
|
272
|
-
*/
|
|
161
|
+
|
|
273
162
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
274
163
|
name: "ServiceQuotaExceededException";
|
|
275
164
|
$fault: "client";
|
|
276
165
|
Message?: string;
|
|
277
166
|
}
|
|
278
167
|
export declare namespace ServiceQuotaExceededException {
|
|
279
|
-
|
|
280
|
-
* @internal
|
|
281
|
-
*/
|
|
168
|
+
|
|
282
169
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
283
170
|
}
|
|
284
171
|
export declare enum ContentClassifier {
|
|
285
172
|
FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
|
|
286
173
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
|
|
287
174
|
}
|
|
288
|
-
|
|
289
|
-
* <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p>
|
|
290
|
-
*/
|
|
175
|
+
|
|
291
176
|
export interface HumanLoopDataAttributes {
|
|
292
|
-
|
|
293
|
-
* <p>Declares that your content is free of personally identifiable information or adult content.</p>
|
|
294
|
-
* <p>Amazon SageMaker can restrict the Amazon Mechanical Turk workers who can view your task based on this information.</p>
|
|
295
|
-
*/
|
|
177
|
+
|
|
296
178
|
ContentClassifiers: (ContentClassifier | string)[] | undefined;
|
|
297
179
|
}
|
|
298
180
|
export declare namespace HumanLoopDataAttributes {
|
|
299
|
-
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
181
|
+
|
|
302
182
|
const filterSensitiveLog: (obj: HumanLoopDataAttributes) => any;
|
|
303
183
|
}
|
|
304
|
-
|
|
305
|
-
* <p>An object containing the human loop input in JSON format.</p>
|
|
306
|
-
*/
|
|
184
|
+
|
|
307
185
|
export interface HumanLoopInput {
|
|
308
|
-
|
|
309
|
-
* <p>Serialized input from the human loop. The input must be a string representation of a file in JSON format.</p>
|
|
310
|
-
*/
|
|
186
|
+
|
|
311
187
|
InputContent: string | undefined;
|
|
312
188
|
}
|
|
313
189
|
export declare namespace HumanLoopInput {
|
|
314
|
-
|
|
315
|
-
* @internal
|
|
316
|
-
*/
|
|
190
|
+
|
|
317
191
|
const filterSensitiveLog: (obj: HumanLoopInput) => any;
|
|
318
192
|
}
|
|
319
193
|
export interface StartHumanLoopRequest {
|
|
320
|
-
|
|
321
|
-
* <p>The name of the human loop.</p>
|
|
322
|
-
*/
|
|
194
|
+
|
|
323
195
|
HumanLoopName: string | undefined;
|
|
324
|
-
|
|
325
|
-
* <p>The Amazon Resource Name (ARN) of the flow definition associated with this human
|
|
326
|
-
* loop.</p>
|
|
327
|
-
*/
|
|
196
|
+
|
|
328
197
|
FlowDefinitionArn: string | undefined;
|
|
329
|
-
|
|
330
|
-
* <p>An object that contains information about the human loop.</p>
|
|
331
|
-
*/
|
|
198
|
+
|
|
332
199
|
HumanLoopInput: HumanLoopInput | undefined;
|
|
333
|
-
|
|
334
|
-
* <p>Attributes of the specified data. Use <code>DataAttributes</code> to specify if your data
|
|
335
|
-
* is free of personally identifiable information and/or free of adult content.</p>
|
|
336
|
-
*/
|
|
200
|
+
|
|
337
201
|
DataAttributes?: HumanLoopDataAttributes;
|
|
338
202
|
}
|
|
339
203
|
export declare namespace StartHumanLoopRequest {
|
|
340
|
-
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
204
|
+
|
|
343
205
|
const filterSensitiveLog: (obj: StartHumanLoopRequest) => any;
|
|
344
206
|
}
|
|
345
207
|
export interface StartHumanLoopResponse {
|
|
346
|
-
|
|
347
|
-
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
348
|
-
*/
|
|
208
|
+
|
|
349
209
|
HumanLoopArn?: string;
|
|
350
210
|
}
|
|
351
211
|
export declare namespace StartHumanLoopResponse {
|
|
352
|
-
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
212
|
+
|
|
355
213
|
const filterSensitiveLog: (obj: StartHumanLoopResponse) => any;
|
|
356
214
|
}
|
|
357
215
|
export interface StopHumanLoopRequest {
|
|
358
|
-
|
|
359
|
-
* <p>The name of the human loop that you want to stop.</p>
|
|
360
|
-
*/
|
|
216
|
+
|
|
361
217
|
HumanLoopName: string | undefined;
|
|
362
218
|
}
|
|
363
219
|
export declare namespace StopHumanLoopRequest {
|
|
364
|
-
|
|
365
|
-
* @internal
|
|
366
|
-
*/
|
|
220
|
+
|
|
367
221
|
const filterSensitiveLog: (obj: StopHumanLoopRequest) => any;
|
|
368
222
|
}
|
|
369
223
|
export interface StopHumanLoopResponse {
|
|
370
224
|
}
|
|
371
225
|
export declare namespace StopHumanLoopResponse {
|
|
372
|
-
|
|
373
|
-
* @internal
|
|
374
|
-
*/
|
|
226
|
+
|
|
375
227
|
const filterSensitiveLog: (obj: StopHumanLoopResponse) => any;
|
|
376
228
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|