@aws-sdk/client-sagemaker-a2i-runtime 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/DeleteHumanLoopCommand.d.ts +3 -0
- package/dist-types/commands/DescribeHumanLoopCommand.d.ts +3 -0
- package/dist-types/commands/ListHumanLoopsCommand.d.ts +8 -0
- package/dist-types/commands/StartHumanLoopCommand.d.ts +12 -0
- package/dist-types/commands/StopHumanLoopCommand.d.ts +3 -0
- package/package.json +8 -8
|
@@ -28,6 +28,9 @@ export interface DeleteHumanLoopCommandOutput extends DeleteHumanLoopResponse, _
|
|
|
28
28
|
* import { SageMakerA2IRuntimeClient, DeleteHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
29
29
|
* // const { SageMakerA2IRuntimeClient, DeleteHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
30
30
|
* const client = new SageMakerA2IRuntimeClient(config);
|
|
31
|
+
* const input = { // DeleteHumanLoopRequest
|
|
32
|
+
* HumanLoopName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteHumanLoopCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopRespons
|
|
|
27
27
|
* import { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
28
28
|
* // const { SageMakerA2IRuntimeClient, DescribeHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
29
29
|
* const client = new SageMakerA2IRuntimeClient(config);
|
|
30
|
+
* const input = { // DescribeHumanLoopRequest
|
|
31
|
+
* HumanLoopName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeHumanLoopCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M
|
|
|
26
26
|
* import { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
27
27
|
* // const { SageMakerA2IRuntimeClient, ListHumanLoopsCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
28
28
|
* const client = new SageMakerA2IRuntimeClient(config);
|
|
29
|
+
* const input = { // ListHumanLoopsRequest
|
|
30
|
+
* CreationTimeAfter: new Date("TIMESTAMP"),
|
|
31
|
+
* CreationTimeBefore: new Date("TIMESTAMP"),
|
|
32
|
+
* FlowDefinitionArn: "STRING_VALUE", // required
|
|
33
|
+
* SortOrder: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
29
37
|
* const command = new ListHumanLoopsCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __M
|
|
|
26
26
|
* import { SageMakerA2IRuntimeClient, StartHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
27
27
|
* // const { SageMakerA2IRuntimeClient, StartHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
28
28
|
* const client = new SageMakerA2IRuntimeClient(config);
|
|
29
|
+
* const input = { // StartHumanLoopRequest
|
|
30
|
+
* HumanLoopName: "STRING_VALUE", // required
|
|
31
|
+
* FlowDefinitionArn: "STRING_VALUE", // required
|
|
32
|
+
* HumanLoopInput: { // HumanLoopInput
|
|
33
|
+
* InputContent: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* DataAttributes: { // HumanLoopDataAttributes
|
|
36
|
+
* ContentClassifiers: [ // ContentClassifiers // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new StartHumanLoopCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StopHumanLoopCommandOutput extends StopHumanLoopResponse, __Met
|
|
|
26
26
|
* import { SageMakerA2IRuntimeClient, StopHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import
|
|
27
27
|
* // const { SageMakerA2IRuntimeClient, StopHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import
|
|
28
28
|
* const client = new SageMakerA2IRuntimeClient(config);
|
|
29
|
+
* const input = { // StopHumanLoopRequest
|
|
30
|
+
* HumanLoopName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopHumanLoopCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|