@aws-sdk/client-sagemaker-a2i-runtime 3.337.0 → 3.341.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/SageMakerA2IRuntimeClient.js +2 -1
- package/dist-cjs/commands/DeleteHumanLoopCommand.js +2 -1
- package/dist-cjs/commands/DescribeHumanLoopCommand.js +2 -1
- package/dist-cjs/commands/ListHumanLoopsCommand.js +2 -1
- package/dist-cjs/commands/StartHumanLoopCommand.js +2 -1
- package/dist-cjs/commands/StopHumanLoopCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/SageMakerA2IRuntimeServiceException.js +2 -1
- package/dist-es/SageMakerA2IRuntimeClient.js +1 -0
- package/dist-es/commands/DeleteHumanLoopCommand.js +1 -0
- package/dist-es/commands/DescribeHumanLoopCommand.js +1 -0
- package/dist-es/commands/ListHumanLoopsCommand.js +1 -0
- package/dist-es/commands/StartHumanLoopCommand.js +1 -0
- package/dist-es/commands/StopHumanLoopCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/SageMakerA2IRuntimeServiceException.js +1 -0
- package/dist-types/SageMakerA2IRuntimeClient.d.ts +3 -3
- package/dist-types/commands/DeleteHumanLoopCommand.d.ts +4 -0
- package/dist-types/commands/DescribeHumanLoopCommand.d.ts +4 -0
- package/dist-types/commands/ListHumanLoopsCommand.d.ts +4 -0
- package/dist-types/commands/StartHumanLoopCommand.d.ts +4 -0
- package/dist-types/commands/StopHumanLoopCommand.d.ts +4 -0
- package/dist-types/index.d.ts +32 -2
- package/dist-types/models/SageMakerA2IRuntimeServiceException.d.ts +1 -0
- package/dist-types/ts3.4/SageMakerA2IRuntimeClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteHumanLoopCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeHumanLoopCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListHumanLoopsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/StartHumanLoopCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/StopHumanLoopCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/SageMakerA2IRuntimeServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SageMakerA2IRuntimeClient = void 0;
|
|
3
|
+
exports.SageMakerA2IRuntimeClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class SageMakerA2IRuntimeClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteHumanLoopCommand = void 0;
|
|
3
|
+
exports.DeleteHumanLoopCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DeleteHumanLoopCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DescribeHumanLoopCommand = void 0;
|
|
3
|
+
exports.DescribeHumanLoopCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DescribeHumanLoopCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListHumanLoopsCommand = void 0;
|
|
3
|
+
exports.ListHumanLoopsCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListHumanLoopsCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartHumanLoopCommand = void 0;
|
|
3
|
+
exports.StartHumanLoopCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class StartHumanLoopCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StopHumanLoopCommand = void 0;
|
|
3
|
+
exports.StopHumanLoopCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class StopHumanLoopCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SageMakerA2IRuntimeServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./SageMakerA2IRuntime"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./SageMakerA2IRuntimeClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SageMakerA2IRuntime"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
10
|
var SageMakerA2IRuntimeServiceException_1 = require("./models/SageMakerA2IRuntimeServiceException");
|
|
11
11
|
Object.defineProperty(exports, "SageMakerA2IRuntimeServiceException", { enumerable: true, get: function () { return SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException; } });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SageMakerA2IRuntimeServiceException = void 0;
|
|
3
|
+
exports.SageMakerA2IRuntimeServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class SageMakerA2IRuntimeServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class SageMakerA2IRuntimeClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DeleteHumanLoopCommand, se_DeleteHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DeleteHumanLoopCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DescribeHumanLoopCommand, se_DescribeHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DescribeHumanLoopCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListHumanLoopsCommand, se_ListHumanLoopsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListHumanLoopsCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_StartHumanLoopCommand, se_StartHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class StartHumanLoopCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_StopHumanLoopCommand, se_StopHumanLoopCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class StopHumanLoopCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./SageMakerA2IRuntime";
|
|
2
1
|
export * from "./SageMakerA2IRuntimeClient";
|
|
2
|
+
export * from "./SageMakerA2IRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -14,6 +14,7 @@ import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "./comma
|
|
|
14
14
|
import { StartHumanLoopCommandInput, StartHumanLoopCommandOutput } from "./commands/StartHumanLoopCommand";
|
|
15
15
|
import { StopHumanLoopCommandInput, StopHumanLoopCommandOutput } from "./commands/StopHumanLoopCommand";
|
|
16
16
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
+
export { __Client };
|
|
17
18
|
/**
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
@@ -128,7 +129,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
128
129
|
/**
|
|
129
130
|
* @public
|
|
130
131
|
*/
|
|
131
|
-
type SageMakerA2IRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
132
|
+
export type SageMakerA2IRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
132
133
|
/**
|
|
133
134
|
* @public
|
|
134
135
|
*
|
|
@@ -139,7 +140,7 @@ export interface SageMakerA2IRuntimeClientConfig extends SageMakerA2IRuntimeClie
|
|
|
139
140
|
/**
|
|
140
141
|
* @public
|
|
141
142
|
*/
|
|
142
|
-
type SageMakerA2IRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
143
|
+
export type SageMakerA2IRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
143
144
|
/**
|
|
144
145
|
* @public
|
|
145
146
|
*
|
|
@@ -189,4 +190,3 @@ export declare class SageMakerA2IRuntimeClient extends __Client<__HttpHandlerOpt
|
|
|
189
190
|
*/
|
|
190
191
|
destroy(): void;
|
|
191
192
|
}
|
|
192
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DeleteHumanLoopRequest, DeleteHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DescribeHumanLoopRequest, DescribeHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ListHumanLoopsRequest, ListHumanLoopsResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { StartHumanLoopRequest, StartHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { StopHumanLoopRequest, StopHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
3
|
+
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
4
|
+
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
5
|
+
* and start a human review workflow, you need three resources: a <i>worker task
|
|
6
|
+
* template</i>, a <i>flow definition</i>, and a <i>human
|
|
7
|
+
* loop</i>.</p>
|
|
8
|
+
* <p>For information about these resources and prerequisites for using Amazon A2I, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-getting-started.html">Get Started with
|
|
9
|
+
* Amazon Augmented AI</a> in the Amazon SageMaker Developer Guide.</p>
|
|
10
|
+
* <p>This API reference includes information about API actions and data types that you can use
|
|
11
|
+
* to interact with Amazon A2I programmatically. Use this guide to:</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>Start a human loop with the <code>StartHumanLoop</code> operation when using
|
|
15
|
+
* Amazon A2I with a <i>custom task type</i>. To learn more about the
|
|
16
|
+
* difference between custom and built-in task types, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-task-types-general.html">Use Task Types </a>. To learn
|
|
17
|
+
* how to start a human loop using this API, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-start-human-loop.html#a2i-instructions-starthumanloop">Create and Start a Human Loop for a Custom Task Type </a> in the
|
|
18
|
+
* Amazon SageMaker Developer Guide.</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Manage your human loops. You can list all human loops that you have created, describe
|
|
22
|
+
* individual human loops, and stop and delete human loops. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-monitor-humanloop-results.html">Monitor and Manage Your Human Loop </a> in the Amazon SageMaker Developer Guide.</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* </ul>
|
|
25
|
+
* <p>Amazon A2I integrates APIs from various AWS services to create and start human review
|
|
26
|
+
* 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
|
|
27
|
+
* Amazon A2I</a> in the Amazon SageMaker Developer Guide.</p>
|
|
28
|
+
*
|
|
29
|
+
* @packageDocumentation
|
|
30
|
+
*/
|
|
2
31
|
export * from "./SageMakerA2IRuntimeClient";
|
|
32
|
+
export * from "./SageMakerA2IRuntime";
|
|
3
33
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
34
|
export * from "./pagination";
|
|
35
|
+
export * from "./models";
|
|
6
36
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
ClientResolvedEndpointParameters,
|
|
72
72
|
EndpointParameters,
|
|
73
73
|
} from "./endpoint/EndpointParameters";
|
|
74
|
+
export { __Client };
|
|
74
75
|
export type ServiceInputTypes =
|
|
75
76
|
| DeleteHumanLoopCommandInput
|
|
76
77
|
| DescribeHumanLoopCommandInput
|
|
@@ -107,7 +108,7 @@ export interface ClientDefaults
|
|
|
107
108
|
logger?: __Logger;
|
|
108
109
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
109
110
|
}
|
|
110
|
-
type SageMakerA2IRuntimeClientConfigType = Partial<
|
|
111
|
+
export type SageMakerA2IRuntimeClientConfigType = Partial<
|
|
111
112
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
112
113
|
> &
|
|
113
114
|
ClientDefaults &
|
|
@@ -120,7 +121,7 @@ type SageMakerA2IRuntimeClientConfigType = Partial<
|
|
|
120
121
|
ClientInputEndpointParameters;
|
|
121
122
|
export interface SageMakerA2IRuntimeClientConfig
|
|
122
123
|
extends SageMakerA2IRuntimeClientConfigType {}
|
|
123
|
-
type SageMakerA2IRuntimeClientResolvedConfigType =
|
|
124
|
+
export type SageMakerA2IRuntimeClientResolvedConfigType =
|
|
124
125
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
125
126
|
Required<ClientDefaults> &
|
|
126
127
|
RegionResolvedConfig &
|
|
@@ -142,4 +143,3 @@ export declare class SageMakerA2IRuntimeClient extends __Client<
|
|
|
142
143
|
constructor(configuration: SageMakerA2IRuntimeClientConfig);
|
|
143
144
|
destroy(): void;
|
|
144
145
|
}
|
|
145
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../SageMakerA2IRuntimeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteHumanLoopCommandInput extends DeleteHumanLoopRequest {}
|
|
19
20
|
export interface DeleteHumanLoopCommandOutput
|
|
20
21
|
extends DeleteHumanLoopResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../SageMakerA2IRuntimeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeHumanLoopCommandInput
|
|
19
20
|
extends DescribeHumanLoopRequest {}
|
|
20
21
|
export interface DescribeHumanLoopCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../SageMakerA2IRuntimeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListHumanLoopsCommandInput extends ListHumanLoopsRequest {}
|
|
19
20
|
export interface ListHumanLoopsCommandOutput
|
|
20
21
|
extends ListHumanLoopsResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../SageMakerA2IRuntimeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface StartHumanLoopCommandInput extends StartHumanLoopRequest {}
|
|
19
20
|
export interface StartHumanLoopCommandOutput
|
|
20
21
|
extends StartHumanLoopResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../SageMakerA2IRuntimeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface StopHumanLoopCommandInput extends StopHumanLoopRequest {}
|
|
19
20
|
export interface StopHumanLoopCommandOutput
|
|
20
21
|
extends StopHumanLoopResponse,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./SageMakerA2IRuntime";
|
|
2
1
|
export * from "./SageMakerA2IRuntimeClient";
|
|
2
|
+
export * from "./SageMakerA2IRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class SageMakerA2IRuntimeServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.341.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,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|