@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -7,34 +7,6 @@ const ListHumanLoopsCommand_1 = require("./commands/ListHumanLoopsCommand");
|
|
|
7
7
|
const StartHumanLoopCommand_1 = require("./commands/StartHumanLoopCommand");
|
|
8
8
|
const StopHumanLoopCommand_1 = require("./commands/StopHumanLoopCommand");
|
|
9
9
|
const SageMakerA2IRuntimeClient_1 = require("./SageMakerA2IRuntimeClient");
|
|
10
|
-
/**
|
|
11
|
-
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
12
|
-
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
13
|
-
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
14
|
-
* and start a human review workflow, you need three resources: a <i>worker task
|
|
15
|
-
* template</i>, a <i>flow definition</i>, and a <i>human
|
|
16
|
-
* loop</i>.</p>
|
|
17
|
-
* <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
|
|
18
|
-
* Amazon Augmented AI</a> in the Amazon SageMaker Developer Guide.</p>
|
|
19
|
-
* <p>This API reference includes information about API actions and data types that you can use
|
|
20
|
-
* to interact with Amazon A2I programmatically. Use this guide to:</p>
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Start a human loop with the <code>StartHumanLoop</code> operation when using
|
|
24
|
-
* Amazon A2I with a <i>custom task type</i>. To learn more about the
|
|
25
|
-
* 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
|
|
26
|
-
* 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
|
|
27
|
-
* Amazon SageMaker Developer Guide.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Manage your human loops. You can list all human loops that you have created, describe
|
|
31
|
-
* 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>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
* <p>Amazon A2I integrates APIs from various AWS services to create and start human review
|
|
35
|
-
* 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
|
|
36
|
-
* Amazon A2I</a> in the Amazon SageMaker Developer Guide.</p>
|
|
37
|
-
*/
|
|
38
10
|
class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient_1.SageMakerA2IRuntimeClient {
|
|
39
11
|
deleteHumanLoop(args, optionsOrCb, cb) {
|
|
40
12
|
const command = new DeleteHumanLoopCommand_1.DeleteHumanLoopCommand(args);
|
|
@@ -108,4 +80,3 @@ class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient_1.SageMakerA2IRuntim
|
|
|
108
80
|
}
|
|
109
81
|
}
|
|
110
82
|
exports.SageMakerA2IRuntime = SageMakerA2IRuntime;
|
|
111
|
-
//# sourceMappingURL=SageMakerA2IRuntime.js.map
|
|
@@ -10,34 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
15
|
-
* application. When an AI application can't evaluate data with a high degree of confidence,
|
|
16
|
-
* human reviewers can take over. This human review is called a human review workflow. To create
|
|
17
|
-
* and start a human review workflow, you need three resources: a <i>worker task
|
|
18
|
-
* template</i>, a <i>flow definition</i>, and a <i>human
|
|
19
|
-
* loop</i>.</p>
|
|
20
|
-
* <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
|
|
21
|
-
* Amazon Augmented AI</a> in the Amazon SageMaker Developer Guide.</p>
|
|
22
|
-
* <p>This API reference includes information about API actions and data types that you can use
|
|
23
|
-
* to interact with Amazon A2I programmatically. Use this guide to:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Start a human loop with the <code>StartHumanLoop</code> operation when using
|
|
27
|
-
* Amazon A2I with a <i>custom task type</i>. To learn more about the
|
|
28
|
-
* 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
|
|
29
|
-
* 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
|
|
30
|
-
* Amazon SageMaker Developer Guide.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Manage your human loops. You can list all human loops that you have created, describe
|
|
34
|
-
* 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>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* <p>Amazon A2I integrates APIs from various AWS services to create and start human review
|
|
38
|
-
* 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
|
|
39
|
-
* Amazon A2I</a> in the Amazon SageMaker Developer Guide.</p>
|
|
40
|
-
*/
|
|
41
13
|
class SageMakerA2IRuntimeClient extends smithy_client_1.Client {
|
|
42
14
|
constructor(configuration) {
|
|
43
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -56,14 +28,8 @@ class SageMakerA2IRuntimeClient extends smithy_client_1.Client {
|
|
|
56
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
57
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
58
30
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
61
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
62
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
63
|
-
*/
|
|
64
31
|
destroy() {
|
|
65
32
|
super.destroy();
|
|
66
33
|
}
|
|
67
34
|
}
|
|
68
35
|
exports.SageMakerA2IRuntimeClient = SageMakerA2IRuntimeClient;
|
|
69
|
-
//# sourceMappingURL=SageMakerA2IRuntimeClient.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified human loop for a flow definition.</p>
|
|
10
|
-
* <p>If the human loop was deleted, this operation will return a
|
|
11
|
-
* <code>ResourceNotFoundException</code>. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { SageMakerA2IRuntimeClient, DeleteHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
16
|
-
* // const { SageMakerA2IRuntimeClient, DeleteHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
17
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
18
|
-
* const command = new DeleteHumanLoopCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteHumanLoopCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteHumanLoopCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteHumanLoopCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class DeleteHumanLoopCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DeleteHumanLoopCommand = DeleteHumanLoopCommand;
|
|
63
|
-
//# sourceMappingURL=DeleteHumanLoopCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the specified human loop. If the human loop was deleted, this
|
|
10
|
-
* operation will return a <code>ResourceNotFoundException</code> error. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
15
|
-
* // const { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
16
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
17
|
-
* const command = new DescribeHumanLoopCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeHumanLoopCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeHumanLoopCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DescribeHumanLoopCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DescribeHumanLoopCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DescribeHumanLoopCommand = DescribeHumanLoopCommand;
|
|
62
|
-
//# sourceMappingURL=DescribeHumanLoopCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
14
|
-
* // const { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
15
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
16
|
-
* const command = new ListHumanLoopsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListHumanLoopsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListHumanLoopsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListHumanLoopsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListHumanLoopsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListHumanLoopsCommand = ListHumanLoopsCommand;
|
|
61
|
-
//# sourceMappingURL=ListHumanLoopsCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts a human loop, provided that at least one activation condition is met.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SageMakerA2IRuntimeClient, StartHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
14
|
-
* // const { SageMakerA2IRuntimeClient, StartHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
15
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
16
|
-
* const command = new StartHumanLoopCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link StartHumanLoopCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link StartHumanLoopCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class StartHumanLoopCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class StartHumanLoopCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.StartHumanLoopCommand = StartHumanLoopCommand;
|
|
61
|
-
//# sourceMappingURL=StartHumanLoopCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Stops the specified human loop.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SageMakerA2IRuntimeClient, StopHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
14
|
-
* // const { SageMakerA2IRuntimeClient, StopHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
15
|
-
* const client = new SageMakerA2IRuntimeClient(config);
|
|
16
|
-
* const command = new StopHumanLoopCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link StopHumanLoopCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link StopHumanLoopCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class StopHumanLoopCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class StopHumanLoopCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.StopHumanLoopCommand = StopHumanLoopCommand;
|
|
61
|
-
//# sourceMappingURL=StopHumanLoopCommand.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./DeleteHumanLoopCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DescribeHumanLoopCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListHumanLoopsCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./StartHumanLoopCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./StopHumanLoopCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "a2i-runtime.sagemaker.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "a2i-runtime.sagemaker.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./SageMakerA2IRuntimeClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./SageMakerA2IRuntime"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./pagination
|
|
10
|
-
tslib_1.__exportStar(require("./commands/StartHumanLoopCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/StopHumanLoopCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./SageMakerA2IRuntimeClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,72 +3,48 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopHumanLoopResponse = exports.StopHumanLoopRequest = exports.StartHumanLoopResponse = exports.StartHumanLoopRequest = exports.HumanLoopInput = exports.HumanLoopDataAttributes = exports.ContentClassifier = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ListHumanLoopsResponse = exports.HumanLoopSummary = exports.ListHumanLoopsRequest = exports.SortOrder = exports.DescribeHumanLoopResponse = exports.HumanLoopStatus = exports.HumanLoopOutput = exports.DescribeHumanLoopRequest = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DeleteHumanLoopResponse = exports.DeleteHumanLoopRequest = void 0;
|
|
4
4
|
var DeleteHumanLoopRequest;
|
|
5
5
|
(function (DeleteHumanLoopRequest) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
DeleteHumanLoopRequest.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(DeleteHumanLoopRequest = exports.DeleteHumanLoopRequest || (exports.DeleteHumanLoopRequest = {}));
|
|
13
10
|
var DeleteHumanLoopResponse;
|
|
14
11
|
(function (DeleteHumanLoopResponse) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
DeleteHumanLoopResponse.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(DeleteHumanLoopResponse = exports.DeleteHumanLoopResponse || (exports.DeleteHumanLoopResponse = {}));
|
|
22
16
|
var InternalServerException;
|
|
23
17
|
(function (InternalServerException) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
31
22
|
var ResourceNotFoundException;
|
|
32
23
|
(function (ResourceNotFoundException) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
40
28
|
var ThrottlingException;
|
|
41
29
|
(function (ThrottlingException) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
49
34
|
var ValidationException;
|
|
50
35
|
(function (ValidationException) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
58
40
|
var DescribeHumanLoopRequest;
|
|
59
41
|
(function (DescribeHumanLoopRequest) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
DescribeHumanLoopRequest.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(DescribeHumanLoopRequest = exports.DescribeHumanLoopRequest || (exports.DescribeHumanLoopRequest = {}));
|
|
67
46
|
var HumanLoopOutput;
|
|
68
47
|
(function (HumanLoopOutput) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
HumanLoopOutput.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
@@ -83,9 +59,6 @@ var HumanLoopStatus;
|
|
|
83
59
|
})(HumanLoopStatus = exports.HumanLoopStatus || (exports.HumanLoopStatus = {}));
|
|
84
60
|
var DescribeHumanLoopResponse;
|
|
85
61
|
(function (DescribeHumanLoopResponse) {
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
62
|
DescribeHumanLoopResponse.filterSensitiveLog = (obj) => ({
|
|
90
63
|
...obj,
|
|
91
64
|
});
|
|
@@ -97,45 +70,30 @@ var SortOrder;
|
|
|
97
70
|
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
98
71
|
var ListHumanLoopsRequest;
|
|
99
72
|
(function (ListHumanLoopsRequest) {
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
73
|
ListHumanLoopsRequest.filterSensitiveLog = (obj) => ({
|
|
104
74
|
...obj,
|
|
105
75
|
});
|
|
106
76
|
})(ListHumanLoopsRequest = exports.ListHumanLoopsRequest || (exports.ListHumanLoopsRequest = {}));
|
|
107
77
|
var HumanLoopSummary;
|
|
108
78
|
(function (HumanLoopSummary) {
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
79
|
HumanLoopSummary.filterSensitiveLog = (obj) => ({
|
|
113
80
|
...obj,
|
|
114
81
|
});
|
|
115
82
|
})(HumanLoopSummary = exports.HumanLoopSummary || (exports.HumanLoopSummary = {}));
|
|
116
83
|
var ListHumanLoopsResponse;
|
|
117
84
|
(function (ListHumanLoopsResponse) {
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
85
|
ListHumanLoopsResponse.filterSensitiveLog = (obj) => ({
|
|
122
86
|
...obj,
|
|
123
87
|
});
|
|
124
88
|
})(ListHumanLoopsResponse = exports.ListHumanLoopsResponse || (exports.ListHumanLoopsResponse = {}));
|
|
125
89
|
var ConflictException;
|
|
126
90
|
(function (ConflictException) {
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
91
|
ConflictException.filterSensitiveLog = (obj) => ({
|
|
131
92
|
...obj,
|
|
132
93
|
});
|
|
133
94
|
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
134
95
|
var ServiceQuotaExceededException;
|
|
135
96
|
(function (ServiceQuotaExceededException) {
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
97
|
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
140
98
|
...obj,
|
|
141
99
|
});
|
|
@@ -147,56 +105,37 @@ var ContentClassifier;
|
|
|
147
105
|
})(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
|
|
148
106
|
var HumanLoopDataAttributes;
|
|
149
107
|
(function (HumanLoopDataAttributes) {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
108
|
HumanLoopDataAttributes.filterSensitiveLog = (obj) => ({
|
|
154
109
|
...obj,
|
|
155
110
|
});
|
|
156
111
|
})(HumanLoopDataAttributes = exports.HumanLoopDataAttributes || (exports.HumanLoopDataAttributes = {}));
|
|
157
112
|
var HumanLoopInput;
|
|
158
113
|
(function (HumanLoopInput) {
|
|
159
|
-
/**
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
114
|
HumanLoopInput.filterSensitiveLog = (obj) => ({
|
|
163
115
|
...obj,
|
|
164
116
|
});
|
|
165
117
|
})(HumanLoopInput = exports.HumanLoopInput || (exports.HumanLoopInput = {}));
|
|
166
118
|
var StartHumanLoopRequest;
|
|
167
119
|
(function (StartHumanLoopRequest) {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
120
|
StartHumanLoopRequest.filterSensitiveLog = (obj) => ({
|
|
172
121
|
...obj,
|
|
173
122
|
});
|
|
174
123
|
})(StartHumanLoopRequest = exports.StartHumanLoopRequest || (exports.StartHumanLoopRequest = {}));
|
|
175
124
|
var StartHumanLoopResponse;
|
|
176
125
|
(function (StartHumanLoopResponse) {
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
126
|
StartHumanLoopResponse.filterSensitiveLog = (obj) => ({
|
|
181
127
|
...obj,
|
|
182
128
|
});
|
|
183
129
|
})(StartHumanLoopResponse = exports.StartHumanLoopResponse || (exports.StartHumanLoopResponse = {}));
|
|
184
130
|
var StopHumanLoopRequest;
|
|
185
131
|
(function (StopHumanLoopRequest) {
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
132
|
StopHumanLoopRequest.filterSensitiveLog = (obj) => ({
|
|
190
133
|
...obj,
|
|
191
134
|
});
|
|
192
135
|
})(StopHumanLoopRequest = exports.StopHumanLoopRequest || (exports.StopHumanLoopRequest = {}));
|
|
193
136
|
var StopHumanLoopResponse;
|
|
194
137
|
(function (StopHumanLoopResponse) {
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
138
|
StopHumanLoopResponse.filterSensitiveLog = (obj) => ({
|
|
199
139
|
...obj,
|
|
200
140
|
});
|
|
201
141
|
})(StopHumanLoopResponse = exports.StopHumanLoopResponse || (exports.StopHumanLoopResponse = {}));
|
|
202
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListHumanLoops = void 0;
|
|
|
4
4
|
const ListHumanLoopsCommand_1 = require("../commands/ListHumanLoopsCommand");
|
|
5
5
|
const SageMakerA2IRuntime_1 = require("../SageMakerA2IRuntime");
|
|
6
6
|
const SageMakerA2IRuntimeClient_1 = require("../SageMakerA2IRuntimeClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListHumanLoopsCommand_1.ListHumanLoopsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listHumanLoops(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListHumanLoops(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListHumanLoops(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListHumanLoops = paginateListHumanLoops;
|
|
46
|
-
//# sourceMappingURL=ListHumanLoopsPaginator.js.map
|