@aws-sdk/client-sagemaker-a2i-runtime 3.296.0 → 3.298.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/commands/DeleteHumanLoopCommand.js +2 -3
- package/dist-cjs/commands/DescribeHumanLoopCommand.js +2 -3
- package/dist-cjs/commands/ListHumanLoopsCommand.js +2 -3
- package/dist-cjs/commands/StartHumanLoopCommand.js +2 -3
- package/dist-cjs/commands/StopHumanLoopCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -57
- package/dist-es/commands/DeleteHumanLoopCommand.js +2 -3
- package/dist-es/commands/DescribeHumanLoopCommand.js +2 -3
- package/dist-es/commands/ListHumanLoopsCommand.js +2 -3
- package/dist-es/commands/StartHumanLoopCommand.js +2 -3
- package/dist-es/commands/StopHumanLoopCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -42
- package/dist-types/SageMakerA2IRuntime.d.ts +6 -0
- package/dist-types/SageMakerA2IRuntimeClient.d.ts +24 -4
- package/dist-types/commands/DeleteHumanLoopCommand.d.ts +16 -0
- package/dist-types/commands/DescribeHumanLoopCommand.d.ts +16 -0
- package/dist-types/commands/ListHumanLoopsCommand.d.ts +16 -0
- package/dist-types/commands/StartHumanLoopCommand.d.ts +16 -0
- package/dist-types/commands/StopHumanLoopCommand.d.ts +16 -0
- package/dist-types/models/SageMakerA2IRuntimeServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +49 -56
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListHumanLoopsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -42
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.DeleteHumanLoopCommand = 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
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DeleteHumanLoopCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DeleteHumanLoopCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DescribeHumanLoopCommand = 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
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DescribeHumanLoopCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeHumanLoopCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListHumanLoopsCommand = 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
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class ListHumanLoopsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListHumanLoopsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartHumanLoopCommand = 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
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class StartHumanLoopCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartHumanLoopCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StopHumanLoopCommand = 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
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class StopHumanLoopCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StopHumanLoopCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ContentClassifier = exports.ServiceQuotaExceededException = exports.ConflictException = exports.SortOrder = exports.HumanLoopStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
|
|
4
4
|
const SageMakerA2IRuntimeServiceException_1 = require("./SageMakerA2IRuntimeServiceException");
|
|
5
5
|
class InternalServerException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -104,59 +104,3 @@ var ContentClassifier;
|
|
|
104
104
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
105
105
|
ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
|
|
106
106
|
})(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
|
|
107
|
-
const DeleteHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
|
-
exports.DeleteHumanLoopRequestFilterSensitiveLog = DeleteHumanLoopRequestFilterSensitiveLog;
|
|
111
|
-
const DeleteHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
exports.DeleteHumanLoopResponseFilterSensitiveLog = DeleteHumanLoopResponseFilterSensitiveLog;
|
|
115
|
-
const DescribeHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
exports.DescribeHumanLoopRequestFilterSensitiveLog = DescribeHumanLoopRequestFilterSensitiveLog;
|
|
119
|
-
const HumanLoopOutputFilterSensitiveLog = (obj) => ({
|
|
120
|
-
...obj,
|
|
121
|
-
});
|
|
122
|
-
exports.HumanLoopOutputFilterSensitiveLog = HumanLoopOutputFilterSensitiveLog;
|
|
123
|
-
const DescribeHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
exports.DescribeHumanLoopResponseFilterSensitiveLog = DescribeHumanLoopResponseFilterSensitiveLog;
|
|
127
|
-
const ListHumanLoopsRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
-
...obj,
|
|
129
|
-
});
|
|
130
|
-
exports.ListHumanLoopsRequestFilterSensitiveLog = ListHumanLoopsRequestFilterSensitiveLog;
|
|
131
|
-
const HumanLoopSummaryFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
});
|
|
134
|
-
exports.HumanLoopSummaryFilterSensitiveLog = HumanLoopSummaryFilterSensitiveLog;
|
|
135
|
-
const ListHumanLoopsResponseFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
});
|
|
138
|
-
exports.ListHumanLoopsResponseFilterSensitiveLog = ListHumanLoopsResponseFilterSensitiveLog;
|
|
139
|
-
const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
|
|
140
|
-
...obj,
|
|
141
|
-
});
|
|
142
|
-
exports.HumanLoopDataAttributesFilterSensitiveLog = HumanLoopDataAttributesFilterSensitiveLog;
|
|
143
|
-
const HumanLoopInputFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
});
|
|
146
|
-
exports.HumanLoopInputFilterSensitiveLog = HumanLoopInputFilterSensitiveLog;
|
|
147
|
-
const StartHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
exports.StartHumanLoopRequestFilterSensitiveLog = StartHumanLoopRequestFilterSensitiveLog;
|
|
151
|
-
const StartHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
152
|
-
...obj,
|
|
153
|
-
});
|
|
154
|
-
exports.StartHumanLoopResponseFilterSensitiveLog = StartHumanLoopResponseFilterSensitiveLog;
|
|
155
|
-
const StopHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
exports.StopHumanLoopRequestFilterSensitiveLog = StopHumanLoopRequestFilterSensitiveLog;
|
|
159
|
-
const StopHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
160
|
-
...obj,
|
|
161
|
-
});
|
|
162
|
-
exports.StopHumanLoopResponseFilterSensitiveLog = StopHumanLoopResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
import { DeleteHumanLoopRequestFilterSensitiveLog, DeleteHumanLoopResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteHumanLoopCommand, serializeAws_restJson1DeleteHumanLoopCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteHumanLoopCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteHumanLoopCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
import { DescribeHumanLoopRequestFilterSensitiveLog, DescribeHumanLoopResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeHumanLoopCommand, serializeAws_restJson1DescribeHumanLoopCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DescribeHumanLoopCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeHumanLoopCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
import { ListHumanLoopsRequestFilterSensitiveLog, ListHumanLoopsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListHumanLoopsCommand, serializeAws_restJson1ListHumanLoopsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListHumanLoopsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListHumanLoopsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
import { StartHumanLoopRequestFilterSensitiveLog, StartHumanLoopResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StartHumanLoopCommand, serializeAws_restJson1StartHumanLoopCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StartHumanLoopCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StartHumanLoopCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
import { StopHumanLoopRequestFilterSensitiveLog, StopHumanLoopResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StopHumanLoopCommand, serializeAws_restJson1StopHumanLoopCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StopHumanLoopCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StopHumanLoopCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -95,45 +95,3 @@ export var ContentClassifier;
|
|
|
95
95
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
96
96
|
ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
|
|
97
97
|
})(ContentClassifier || (ContentClassifier = {}));
|
|
98
|
-
export const DeleteHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
99
|
-
...obj,
|
|
100
|
-
});
|
|
101
|
-
export const DeleteHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
102
|
-
...obj,
|
|
103
|
-
});
|
|
104
|
-
export const DescribeHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
export const HumanLoopOutputFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
|
-
export const DescribeHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
111
|
-
...obj,
|
|
112
|
-
});
|
|
113
|
-
export const ListHumanLoopsRequestFilterSensitiveLog = (obj) => ({
|
|
114
|
-
...obj,
|
|
115
|
-
});
|
|
116
|
-
export const HumanLoopSummaryFilterSensitiveLog = (obj) => ({
|
|
117
|
-
...obj,
|
|
118
|
-
});
|
|
119
|
-
export const ListHumanLoopsResponseFilterSensitiveLog = (obj) => ({
|
|
120
|
-
...obj,
|
|
121
|
-
});
|
|
122
|
-
export const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
export const HumanLoopInputFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
});
|
|
128
|
-
export const StartHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
export const StartHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
});
|
|
134
|
-
export const StopHumanLoopRequestFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
export const StopHumanLoopResponseFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
@@ -6,6 +6,7 @@ import { StartHumanLoopCommandInput, StartHumanLoopCommandOutput } from "./comma
|
|
|
6
6
|
import { StopHumanLoopCommandInput, StopHumanLoopCommandOutput } from "./commands/StopHumanLoopCommand";
|
|
7
7
|
import { SageMakerA2IRuntimeClient } from "./SageMakerA2IRuntimeClient";
|
|
8
8
|
/**
|
|
9
|
+
* @public
|
|
9
10
|
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
10
11
|
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
11
12
|
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
@@ -35,6 +36,7 @@ import { SageMakerA2IRuntimeClient } from "./SageMakerA2IRuntimeClient";
|
|
|
35
36
|
*/
|
|
36
37
|
export declare class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient {
|
|
37
38
|
/**
|
|
39
|
+
* @public
|
|
38
40
|
* <p>Deletes the specified human loop for a flow definition.</p>
|
|
39
41
|
* <p>If the human loop was deleted, this operation will return a
|
|
40
42
|
* <code>ResourceNotFoundException</code>. </p>
|
|
@@ -43,6 +45,7 @@ export declare class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient {
|
|
|
43
45
|
deleteHumanLoop(args: DeleteHumanLoopCommandInput, cb: (err: any, data?: DeleteHumanLoopCommandOutput) => void): void;
|
|
44
46
|
deleteHumanLoop(args: DeleteHumanLoopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHumanLoopCommandOutput) => void): void;
|
|
45
47
|
/**
|
|
48
|
+
* @public
|
|
46
49
|
* <p>Returns information about the specified human loop. If the human loop was deleted, this
|
|
47
50
|
* operation will return a <code>ResourceNotFoundException</code> error. </p>
|
|
48
51
|
*/
|
|
@@ -50,18 +53,21 @@ export declare class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient {
|
|
|
50
53
|
describeHumanLoop(args: DescribeHumanLoopCommandInput, cb: (err: any, data?: DescribeHumanLoopCommandOutput) => void): void;
|
|
51
54
|
describeHumanLoop(args: DescribeHumanLoopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHumanLoopCommandOutput) => void): void;
|
|
52
55
|
/**
|
|
56
|
+
* @public
|
|
53
57
|
* <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
|
|
54
58
|
*/
|
|
55
59
|
listHumanLoops(args: ListHumanLoopsCommandInput, options?: __HttpHandlerOptions): Promise<ListHumanLoopsCommandOutput>;
|
|
56
60
|
listHumanLoops(args: ListHumanLoopsCommandInput, cb: (err: any, data?: ListHumanLoopsCommandOutput) => void): void;
|
|
57
61
|
listHumanLoops(args: ListHumanLoopsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHumanLoopsCommandOutput) => void): void;
|
|
58
62
|
/**
|
|
63
|
+
* @public
|
|
59
64
|
* <p>Starts a human loop, provided that at least one activation condition is met.</p>
|
|
60
65
|
*/
|
|
61
66
|
startHumanLoop(args: StartHumanLoopCommandInput, options?: __HttpHandlerOptions): Promise<StartHumanLoopCommandOutput>;
|
|
62
67
|
startHumanLoop(args: StartHumanLoopCommandInput, cb: (err: any, data?: StartHumanLoopCommandOutput) => void): void;
|
|
63
68
|
startHumanLoop(args: StartHumanLoopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartHumanLoopCommandOutput) => void): void;
|
|
64
69
|
/**
|
|
70
|
+
* @public
|
|
65
71
|
* <p>Stops the specified human loop.</p>
|
|
66
72
|
*/
|
|
67
73
|
stopHumanLoop(args: StopHumanLoopCommandInput, options?: __HttpHandlerOptions): Promise<StopHumanLoopCommandOutput>;
|
|
@@ -13,15 +13,24 @@ import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "./comma
|
|
|
13
13
|
import { StartHumanLoopCommandInput, StartHumanLoopCommandOutput } from "./commands/StartHumanLoopCommand";
|
|
14
14
|
import { StopHumanLoopCommandInput, StopHumanLoopCommandOutput } from "./commands/StopHumanLoopCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
16
19
|
export type ServiceInputTypes = DeleteHumanLoopCommandInput | DescribeHumanLoopCommandInput | ListHumanLoopsCommandInput | StartHumanLoopCommandInput | StopHumanLoopCommandInput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
17
23
|
export type ServiceOutputTypes = DeleteHumanLoopCommandOutput | DescribeHumanLoopCommandOutput | ListHumanLoopsCommandOutput | StartHumanLoopCommandOutput | StopHumanLoopCommandOutput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
18
27
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
19
28
|
/**
|
|
20
29
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
21
30
|
*/
|
|
22
31
|
requestHandler?: __HttpHandler;
|
|
23
32
|
/**
|
|
24
|
-
* A constructor for a class implementing the {@link
|
|
33
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
25
34
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
26
35
|
* @internal
|
|
27
36
|
*/
|
|
@@ -111,23 +120,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
120
|
*/
|
|
112
121
|
logger?: __Logger;
|
|
113
122
|
/**
|
|
114
|
-
* The {@link
|
|
123
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
115
124
|
*/
|
|
116
125
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
117
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
118
130
|
type SageMakerA2IRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
119
131
|
/**
|
|
120
|
-
*
|
|
132
|
+
* @public
|
|
133
|
+
*
|
|
134
|
+
* The configuration interface of SageMakerA2IRuntimeClient class constructor that set the region, credentials and other options.
|
|
121
135
|
*/
|
|
122
136
|
export interface SageMakerA2IRuntimeClientConfig extends SageMakerA2IRuntimeClientConfigType {
|
|
123
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
124
141
|
type SageMakerA2IRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
125
142
|
/**
|
|
126
|
-
*
|
|
143
|
+
* @public
|
|
144
|
+
*
|
|
145
|
+
* The resolved configuration interface of SageMakerA2IRuntimeClient class. This is resolved and normalized from the {@link SageMakerA2IRuntimeClientConfig | constructor configuration interface}.
|
|
127
146
|
*/
|
|
128
147
|
export interface SageMakerA2IRuntimeClientResolvedConfig extends SageMakerA2IRuntimeClientResolvedConfigType {
|
|
129
148
|
}
|
|
130
149
|
/**
|
|
150
|
+
* @public
|
|
131
151
|
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
132
152
|
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
133
153
|
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteHumanLoopRequest, DeleteHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteHumanLoopCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteHumanLoopCommandInput extends DeleteHumanLoopRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteHumanLoopCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteHumanLoopCommandOutput extends DeleteHumanLoopResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified human loop for a flow definition.</p>
|
|
18
23
|
* <p>If the human loop was deleted, this operation will return a
|
|
19
24
|
* <code>ResourceNotFoundException</code>. </p>
|
|
@@ -27,6 +32,8 @@ export interface DeleteHumanLoopCommandOutput extends DeleteHumanLoopResponse, _
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param DeleteHumanLoopCommandInput - {@link DeleteHumanLoopCommandInput}
|
|
36
|
+
* @returns {@link DeleteHumanLoopCommandOutput}
|
|
30
37
|
* @see {@link DeleteHumanLoopCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link DeleteHumanLoopCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape.
|
|
@@ -53,11 +60,20 @@ export interface DeleteHumanLoopCommandOutput extends DeleteHumanLoopResponse, _
|
|
|
53
60
|
export declare class DeleteHumanLoopCommand extends $Command<DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
54
61
|
readonly input: DeleteHumanLoopCommandInput;
|
|
55
62
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
56
66
|
constructor(input: DeleteHumanLoopCommandInput);
|
|
57
67
|
/**
|
|
58
68
|
* @internal
|
|
59
69
|
*/
|
|
60
70
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
61
74
|
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
62
78
|
private deserialize;
|
|
63
79
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeHumanLoopRequest, DescribeHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeHumanLoopCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeHumanLoopCommandInput extends DescribeHumanLoopRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeHumanLoopCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about the specified human loop. If the human loop was deleted, this
|
|
18
23
|
* operation will return a <code>ResourceNotFoundException</code> error. </p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopRespons
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DescribeHumanLoopCommandInput - {@link DescribeHumanLoopCommandInput}
|
|
35
|
+
* @returns {@link DescribeHumanLoopCommandOutput}
|
|
29
36
|
* @see {@link DescribeHumanLoopCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DescribeHumanLoopCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopRespons
|
|
|
52
59
|
export declare class DescribeHumanLoopCommand extends $Command<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
53
60
|
readonly input: DescribeHumanLoopCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: DescribeHumanLoopCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListHumanLoopsRequest, ListHumanLoopsResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListHumanLoopsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListHumanLoopsCommandInput extends ListHumanLoopsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListHumanLoopsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListHumanLoopsCommandInput - {@link ListHumanLoopsCommandInput}
|
|
34
|
+
* @returns {@link ListHumanLoopsCommandOutput}
|
|
28
35
|
* @see {@link ListHumanLoopsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListHumanLoopsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M
|
|
|
51
58
|
export declare class ListHumanLoopsCommand extends $Command<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
52
59
|
readonly input: ListHumanLoopsCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: ListHumanLoopsCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartHumanLoopRequest, StartHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartHumanLoopCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartHumanLoopCommandInput extends StartHumanLoopRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartHumanLoopCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts a human loop, provided that at least one activation condition is met.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param StartHumanLoopCommandInput - {@link StartHumanLoopCommandInput}
|
|
34
|
+
* @returns {@link StartHumanLoopCommandOutput}
|
|
28
35
|
* @see {@link StartHumanLoopCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link StartHumanLoopCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __M
|
|
|
59
66
|
export declare class StartHumanLoopCommand extends $Command<StartHumanLoopCommandInput, StartHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
60
67
|
readonly input: StartHumanLoopCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: StartHumanLoopCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartHumanLoopCommandInput, StartHumanLoopCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StopHumanLoopRequest, StopHumanLoopResponse } from "../models/models_0";
|
|
5
5
|
import { SageMakerA2IRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerA2IRuntimeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StopHumanLoopCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StopHumanLoopCommandInput extends StopHumanLoopRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StopHumanLoopCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Stops the specified human loop.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param StopHumanLoopCommandInput - {@link StopHumanLoopCommandInput}
|
|
34
|
+
* @returns {@link StopHumanLoopCommandOutput}
|
|
28
35
|
* @see {@link StopHumanLoopCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link StopHumanLoopCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __Met
|
|
|
51
58
|
export declare class StopHumanLoopCommand extends $Command<StopHumanLoopCommandInput, StopHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig> {
|
|
52
59
|
readonly input: StopHumanLoopCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: StopHumanLoopCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopHumanLoopCommandInput, StopHumanLoopCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from SageMakerA2IRuntime service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SageMakerA2IRuntimeServiceException extends __ServiceException {
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface DeleteHumanLoopRequest {
|
|
4
7
|
/**
|
|
5
8
|
* <p>The name of the human loop that you want to delete.</p>
|
|
6
9
|
*/
|
|
7
10
|
HumanLoopName: string | undefined;
|
|
8
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
9
15
|
export interface DeleteHumanLoopResponse {
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
18
|
+
* @public
|
|
12
19
|
* <p>We couldn't process your request because of an issue with the server. Try again
|
|
13
20
|
* later.</p>
|
|
14
21
|
*/
|
|
@@ -22,6 +29,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
22
29
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
32
|
+
* @public
|
|
25
33
|
* <p>We couldn't find the requested resource. Check that your resources exists and were created
|
|
26
34
|
* in the same AWS Region as your request, and try your request again. </p>
|
|
27
35
|
*/
|
|
@@ -35,6 +43,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
35
43
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
36
44
|
}
|
|
37
45
|
/**
|
|
46
|
+
* @public
|
|
38
47
|
* <p>You exceeded
|
|
39
48
|
* the
|
|
40
49
|
* maximum number of requests.</p>
|
|
@@ -49,6 +58,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
49
58
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
50
59
|
}
|
|
51
60
|
/**
|
|
61
|
+
* @public
|
|
52
62
|
* <p>The
|
|
53
63
|
* request isn't valid. Check the syntax and try again.</p>
|
|
54
64
|
*/
|
|
@@ -61,6 +71,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
61
71
|
*/
|
|
62
72
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
63
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
64
77
|
export interface DescribeHumanLoopRequest {
|
|
65
78
|
/**
|
|
66
79
|
* <p>The name of the human loop that you want information about.</p>
|
|
@@ -68,6 +81,7 @@ export interface DescribeHumanLoopRequest {
|
|
|
68
81
|
HumanLoopName: string | undefined;
|
|
69
82
|
}
|
|
70
83
|
/**
|
|
84
|
+
* @public
|
|
71
85
|
* <p>Information about where the human output will be stored.</p>
|
|
72
86
|
*/
|
|
73
87
|
export interface HumanLoopOutput {
|
|
@@ -76,6 +90,9 @@ export interface HumanLoopOutput {
|
|
|
76
90
|
*/
|
|
77
91
|
OutputS3Uri: string | undefined;
|
|
78
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
79
96
|
export declare enum HumanLoopStatus {
|
|
80
97
|
COMPLETED = "Completed",
|
|
81
98
|
FAILED = "Failed",
|
|
@@ -83,6 +100,9 @@ export declare enum HumanLoopStatus {
|
|
|
83
100
|
STOPPED = "Stopped",
|
|
84
101
|
STOPPING = "Stopping"
|
|
85
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
86
106
|
export interface DescribeHumanLoopResponse {
|
|
87
107
|
/**
|
|
88
108
|
* <p>The creation time when Amazon Augmented AI created the human loop.</p>
|
|
@@ -122,10 +142,16 @@ export interface DescribeHumanLoopResponse {
|
|
|
122
142
|
*/
|
|
123
143
|
HumanLoopOutput?: HumanLoopOutput;
|
|
124
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
125
148
|
export declare enum SortOrder {
|
|
126
149
|
ASCENDING = "Ascending",
|
|
127
150
|
DESCENDING = "Descending"
|
|
128
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
129
155
|
export interface ListHumanLoopsRequest {
|
|
130
156
|
/**
|
|
131
157
|
* <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>
|
|
@@ -156,6 +182,7 @@ export interface ListHumanLoopsRequest {
|
|
|
156
182
|
MaxResults?: number;
|
|
157
183
|
}
|
|
158
184
|
/**
|
|
185
|
+
* @public
|
|
159
186
|
* <p>Summary information about the human loop.</p>
|
|
160
187
|
*/
|
|
161
188
|
export interface HumanLoopSummary {
|
|
@@ -182,6 +209,9 @@ export interface HumanLoopSummary {
|
|
|
182
209
|
*/
|
|
183
210
|
FlowDefinitionArn?: string;
|
|
184
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
185
215
|
export interface ListHumanLoopsResponse {
|
|
186
216
|
/**
|
|
187
217
|
* <p>An array of objects that contain information about the human loops.</p>
|
|
@@ -193,6 +223,7 @@ export interface ListHumanLoopsResponse {
|
|
|
193
223
|
NextToken?: string;
|
|
194
224
|
}
|
|
195
225
|
/**
|
|
226
|
+
* @public
|
|
196
227
|
* <p>Your request has the same name as another active human loop but has different input data. You cannot start two
|
|
197
228
|
* human loops with the same name and different input data.</p>
|
|
198
229
|
*/
|
|
@@ -206,6 +237,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
206
237
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
207
238
|
}
|
|
208
239
|
/**
|
|
240
|
+
* @public
|
|
209
241
|
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
|
|
210
242
|
* maximum number of service resources or operations for your AWS account. For a list of
|
|
211
243
|
* 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
|
|
@@ -222,11 +254,15 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
222
254
|
*/
|
|
223
255
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
224
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
225
260
|
export declare enum ContentClassifier {
|
|
226
261
|
FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
|
|
227
262
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
|
|
228
263
|
}
|
|
229
264
|
/**
|
|
265
|
+
* @public
|
|
230
266
|
* <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p>
|
|
231
267
|
*/
|
|
232
268
|
export interface HumanLoopDataAttributes {
|
|
@@ -237,6 +273,7 @@ export interface HumanLoopDataAttributes {
|
|
|
237
273
|
ContentClassifiers: (ContentClassifier | string)[] | undefined;
|
|
238
274
|
}
|
|
239
275
|
/**
|
|
276
|
+
* @public
|
|
240
277
|
* <p>An object containing the human loop input in JSON format.</p>
|
|
241
278
|
*/
|
|
242
279
|
export interface HumanLoopInput {
|
|
@@ -245,6 +282,9 @@ export interface HumanLoopInput {
|
|
|
245
282
|
*/
|
|
246
283
|
InputContent: string | undefined;
|
|
247
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
248
288
|
export interface StartHumanLoopRequest {
|
|
249
289
|
/**
|
|
250
290
|
* <p>The name of the human loop.</p>
|
|
@@ -265,73 +305,26 @@ export interface StartHumanLoopRequest {
|
|
|
265
305
|
*/
|
|
266
306
|
DataAttributes?: HumanLoopDataAttributes;
|
|
267
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
268
311
|
export interface StartHumanLoopResponse {
|
|
269
312
|
/**
|
|
270
313
|
* <p>The Amazon Resource Name (ARN) of the human loop.</p>
|
|
271
314
|
*/
|
|
272
315
|
HumanLoopArn?: string;
|
|
273
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
274
320
|
export interface StopHumanLoopRequest {
|
|
275
321
|
/**
|
|
276
322
|
* <p>The name of the human loop that you want to stop.</p>
|
|
277
323
|
*/
|
|
278
324
|
HumanLoopName: string | undefined;
|
|
279
325
|
}
|
|
280
|
-
export interface StopHumanLoopResponse {
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
|
-
export declare const DeleteHumanLoopRequestFilterSensitiveLog: (obj: DeleteHumanLoopRequest) => any;
|
|
286
|
-
/**
|
|
287
|
-
* @internal
|
|
288
|
-
*/
|
|
289
|
-
export declare const DeleteHumanLoopResponseFilterSensitiveLog: (obj: DeleteHumanLoopResponse) => any;
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
export declare const DescribeHumanLoopRequestFilterSensitiveLog: (obj: DescribeHumanLoopRequest) => any;
|
|
294
|
-
/**
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
|
-
export declare const HumanLoopOutputFilterSensitiveLog: (obj: HumanLoopOutput) => any;
|
|
298
326
|
/**
|
|
299
|
-
* @
|
|
327
|
+
* @public
|
|
300
328
|
*/
|
|
301
|
-
export
|
|
302
|
-
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
export declare const ListHumanLoopsRequestFilterSensitiveLog: (obj: ListHumanLoopsRequest) => any;
|
|
306
|
-
/**
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
309
|
-
export declare const HumanLoopSummaryFilterSensitiveLog: (obj: HumanLoopSummary) => any;
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
|
-
export declare const ListHumanLoopsResponseFilterSensitiveLog: (obj: ListHumanLoopsResponse) => any;
|
|
314
|
-
/**
|
|
315
|
-
* @internal
|
|
316
|
-
*/
|
|
317
|
-
export declare const HumanLoopDataAttributesFilterSensitiveLog: (obj: HumanLoopDataAttributes) => any;
|
|
318
|
-
/**
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
|
-
export declare const HumanLoopInputFilterSensitiveLog: (obj: HumanLoopInput) => any;
|
|
322
|
-
/**
|
|
323
|
-
* @internal
|
|
324
|
-
*/
|
|
325
|
-
export declare const StartHumanLoopRequestFilterSensitiveLog: (obj: StartHumanLoopRequest) => any;
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
*/
|
|
329
|
-
export declare const StartHumanLoopResponseFilterSensitiveLog: (obj: StartHumanLoopResponse) => any;
|
|
330
|
-
/**
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
export declare const StopHumanLoopRequestFilterSensitiveLog: (obj: StopHumanLoopRequest) => any;
|
|
334
|
-
/**
|
|
335
|
-
* @internal
|
|
336
|
-
*/
|
|
337
|
-
export declare const StopHumanLoopResponseFilterSensitiveLog: (obj: StopHumanLoopResponse) => any;
|
|
329
|
+
export interface StopHumanLoopResponse {
|
|
330
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { SageMakerA2IRuntimeClient } from "../SageMakerA2IRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface SageMakerA2IRuntimePaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: SageMakerA2IRuntimeClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "../commands/ListHumanLoopsCommand";
|
|
3
3
|
import { SageMakerA2IRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListHumanLoops(config: SageMakerA2IRuntimePaginationConfiguration, input: ListHumanLoopsCommandInput, ...additionalArguments: any): Paginator<ListHumanLoopsCommandOutput>;
|
|
@@ -119,45 +119,3 @@ export interface StopHumanLoopRequest {
|
|
|
119
119
|
HumanLoopName: string | undefined;
|
|
120
120
|
}
|
|
121
121
|
export interface StopHumanLoopResponse {}
|
|
122
|
-
export declare const DeleteHumanLoopRequestFilterSensitiveLog: (
|
|
123
|
-
obj: DeleteHumanLoopRequest
|
|
124
|
-
) => any;
|
|
125
|
-
export declare const DeleteHumanLoopResponseFilterSensitiveLog: (
|
|
126
|
-
obj: DeleteHumanLoopResponse
|
|
127
|
-
) => any;
|
|
128
|
-
export declare const DescribeHumanLoopRequestFilterSensitiveLog: (
|
|
129
|
-
obj: DescribeHumanLoopRequest
|
|
130
|
-
) => any;
|
|
131
|
-
export declare const HumanLoopOutputFilterSensitiveLog: (
|
|
132
|
-
obj: HumanLoopOutput
|
|
133
|
-
) => any;
|
|
134
|
-
export declare const DescribeHumanLoopResponseFilterSensitiveLog: (
|
|
135
|
-
obj: DescribeHumanLoopResponse
|
|
136
|
-
) => any;
|
|
137
|
-
export declare const ListHumanLoopsRequestFilterSensitiveLog: (
|
|
138
|
-
obj: ListHumanLoopsRequest
|
|
139
|
-
) => any;
|
|
140
|
-
export declare const HumanLoopSummaryFilterSensitiveLog: (
|
|
141
|
-
obj: HumanLoopSummary
|
|
142
|
-
) => any;
|
|
143
|
-
export declare const ListHumanLoopsResponseFilterSensitiveLog: (
|
|
144
|
-
obj: ListHumanLoopsResponse
|
|
145
|
-
) => any;
|
|
146
|
-
export declare const HumanLoopDataAttributesFilterSensitiveLog: (
|
|
147
|
-
obj: HumanLoopDataAttributes
|
|
148
|
-
) => any;
|
|
149
|
-
export declare const HumanLoopInputFilterSensitiveLog: (
|
|
150
|
-
obj: HumanLoopInput
|
|
151
|
-
) => any;
|
|
152
|
-
export declare const StartHumanLoopRequestFilterSensitiveLog: (
|
|
153
|
-
obj: StartHumanLoopRequest
|
|
154
|
-
) => any;
|
|
155
|
-
export declare const StartHumanLoopResponseFilterSensitiveLog: (
|
|
156
|
-
obj: StartHumanLoopResponse
|
|
157
|
-
) => any;
|
|
158
|
-
export declare const StopHumanLoopRequestFilterSensitiveLog: (
|
|
159
|
-
obj: StopHumanLoopRequest
|
|
160
|
-
) => any;
|
|
161
|
-
export declare const StopHumanLoopResponseFilterSensitiveLog: (
|
|
162
|
-
obj: StopHumanLoopResponse
|
|
163
|
-
) => any;
|
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.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo sagemaker-a2i-runtime"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|