@aws-sdk/client-sagemaker 3.859.0 → 3.861.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/README.md +40 -0
- package/dist-cjs/index.js +596 -125
- package/dist-es/SageMaker.js +10 -0
- package/dist-es/commands/AttachClusterNodeVolumeCommand.js +22 -0
- package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
- package/dist-es/commands/CreateModelCardCommand.js +1 -1
- package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
- package/dist-es/commands/DetachClusterNodeVolumeCommand.js +22 -0
- package/dist-es/commands/ListClusterEventsCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +45 -101
- package/dist-es/models/models_1.js +94 -15
- package/dist-es/models/models_2.js +14 -40
- package/dist-es/models/models_3.js +43 -40
- package/dist-es/models/models_4.js +40 -14
- package/dist-es/models/models_5.js +14 -2
- package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +339 -0
- package/dist-types/SageMaker.d.ts +35 -0
- package/dist-types/SageMakerClient.d.ts +7 -2
- package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +82 -0
- package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
- package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
- package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +82 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
- package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +657 -531
- package/dist-types/models/models_1.d.ts +3755 -3694
- package/dist-types/models/models_2.d.ts +3169 -3559
- package/dist-types/models/models_3.d.ts +4492 -4376
- package/dist-types/models/models_4.d.ts +3841 -3859
- package/dist-types/models/models_5.d.ts +905 -5
- package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/SageMaker.d.ts +85 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AttachClusterNodeVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DetachClusterNodeVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +208 -204
- package/dist-types/ts3.4/models/models_1.d.ts +194 -132
- package/dist-types/ts3.4/models/models_2.d.ts +135 -248
- package/dist-types/ts3.4/models/models_3.d.ts +262 -229
- package/dist-types/ts3.4/models/models_4.d.ts +257 -266
- package/dist-types/ts3.4/models/models_5.d.ts +242 -21
- package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeDeviceRequest, DescribeDeviceResponse } from "../models/
|
|
3
|
+
import { DescribeDeviceRequest, DescribeDeviceResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeDeviceFleetRequest, DescribeDeviceFleetResponse } from "../models/
|
|
3
|
+
import { DescribeDeviceFleetRequest, DescribeDeviceFleetResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeDomainRequest, DescribeDomainResponse } from "../models/
|
|
3
|
+
import { DescribeDomainRequest, DescribeDomainResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeEdgeDeploymentPlanRequest, DescribeEdgeDeploymentPlanResponse } from "../models/
|
|
3
|
+
import { DescribeEdgeDeploymentPlanRequest, DescribeEdgeDeploymentPlanResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeEdgePackagingJobRequest, DescribeEdgePackagingJobResponse } from "../models/
|
|
3
|
+
import { DescribeEdgePackagingJobRequest, DescribeEdgePackagingJobResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeEndpointInput } from "../models/
|
|
4
|
-
import { DescribeEndpointOutput } from "../models/models_3";
|
|
3
|
+
import { DescribeEndpointInput, DescribeEndpointOutput } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DetachClusterNodeVolumeRequest, DetachClusterNodeVolumeResponse } from "../models/models_3";
|
|
4
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DetachClusterNodeVolumeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DetachClusterNodeVolumeCommandInput extends DetachClusterNodeVolumeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DetachClusterNodeVolumeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DetachClusterNodeVolumeCommandOutput extends DetachClusterNodeVolumeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DetachClusterNodeVolumeCommand_base: {
|
|
25
|
+
new (input: DetachClusterNodeVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DetachClusterNodeVolumeCommandInput, DetachClusterNodeVolumeCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DetachClusterNodeVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DetachClusterNodeVolumeCommandInput, DetachClusterNodeVolumeCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Detaches your Amazon Elastic Block Store (Amazon EBS) volume from a node in your EKS-orchestrated SageMaker HyperPod cluster.</p> <p> This API works with the Amazon Elastic Block Store (Amazon EBS) Container Storage Interface (CSI) driver to manage the lifecycle of persistent storage in your HyperPod EKS clusters. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DetachClusterNodeVolumeCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DetachClusterNodeVolumeCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // DetachClusterNodeVolumeRequest
|
|
38
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
39
|
+
* NodeId: "STRING_VALUE", // required
|
|
40
|
+
* VolumeId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DetachClusterNodeVolumeCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DetachClusterNodeVolumeResponse
|
|
45
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
46
|
+
* // NodeId: "STRING_VALUE", // required
|
|
47
|
+
* // VolumeId: "STRING_VALUE", // required
|
|
48
|
+
* // AttachTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // Status: "attaching" || "attached" || "detaching" || "detached" || "busy", // required
|
|
50
|
+
* // DeviceName: "STRING_VALUE", // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DetachClusterNodeVolumeCommandInput - {@link DetachClusterNodeVolumeCommandInput}
|
|
56
|
+
* @returns {@link DetachClusterNodeVolumeCommandOutput}
|
|
57
|
+
* @see {@link DetachClusterNodeVolumeCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DetachClusterNodeVolumeCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
62
|
+
* <p>Resource being access is not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link SageMakerServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DetachClusterNodeVolumeCommand extends DetachClusterNodeVolumeCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DetachClusterNodeVolumeRequest;
|
|
75
|
+
output: DetachClusterNodeVolumeResponse;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DetachClusterNodeVolumeCommandInput;
|
|
79
|
+
output: DetachClusterNodeVolumeCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ImportHubContentRequest, ImportHubContentResponse } from "../models/
|
|
3
|
+
import { ImportHubContentRequest, ImportHubContentResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListActionsRequest, ListActionsResponse } from "../models/
|
|
3
|
+
import { ListActionsRequest, ListActionsResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListAlgorithmsInput, ListAlgorithmsOutput } from "../models/
|
|
3
|
+
import { ListAlgorithmsInput, ListAlgorithmsOutput } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListAliasesRequest, ListAliasesResponse } from "../models/
|
|
3
|
+
import { ListAliasesRequest, ListAliasesResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListClusterEventsRequest, ListClusterEventsResponse } from "../models/models_4";
|
|
4
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListClusterEventsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListClusterEventsCommandInput extends ListClusterEventsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListClusterEventsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListClusterEventsCommandOutput extends ListClusterEventsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListClusterEventsCommand_base: {
|
|
25
|
+
new (input: ListClusterEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListClusterEventsCommandInput, ListClusterEventsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListClusterEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListClusterEventsCommandInput, ListClusterEventsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of event summaries for a specified HyperPod cluster. The operation supports filtering, sorting, and pagination of results. This functionality is only supported when the <code>NodeProvisioningMode</code> is set to <code>Continuous</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, ListClusterEventsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, ListClusterEventsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // ListClusterEventsRequest
|
|
38
|
+
* ClusterName: "STRING_VALUE", // required
|
|
39
|
+
* InstanceGroupName: "STRING_VALUE",
|
|
40
|
+
* NodeId: "STRING_VALUE",
|
|
41
|
+
* EventTimeAfter: new Date("TIMESTAMP"),
|
|
42
|
+
* EventTimeBefore: new Date("TIMESTAMP"),
|
|
43
|
+
* SortBy: "EventTime",
|
|
44
|
+
* SortOrder: "Ascending" || "Descending",
|
|
45
|
+
* ResourceType: "Cluster" || "InstanceGroup" || "Instance",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListClusterEventsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListClusterEventsResponse
|
|
52
|
+
* // NextToken: "STRING_VALUE",
|
|
53
|
+
* // Events: [ // ClusterEventSummaries
|
|
54
|
+
* // { // ClusterEventSummary
|
|
55
|
+
* // EventId: "STRING_VALUE", // required
|
|
56
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
57
|
+
* // ClusterName: "STRING_VALUE", // required
|
|
58
|
+
* // InstanceGroupName: "STRING_VALUE",
|
|
59
|
+
* // InstanceId: "STRING_VALUE",
|
|
60
|
+
* // ResourceType: "Cluster" || "InstanceGroup" || "Instance", // required
|
|
61
|
+
* // EventTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListClusterEventsCommandInput - {@link ListClusterEventsCommandInput}
|
|
70
|
+
* @returns {@link ListClusterEventsCommandOutput}
|
|
71
|
+
* @see {@link ListClusterEventsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListClusterEventsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
76
|
+
* <p>Resource being access is not found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link SageMakerServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListClusterEventsCommand extends ListClusterEventsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ListClusterEventsRequest;
|
|
89
|
+
output: ListClusterEventsResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ListClusterEventsCommandInput;
|
|
93
|
+
output: ListClusterEventsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -43,6 +43,7 @@ declare const ListClusterNodesCommand_base: {
|
|
|
43
43
|
* NextToken: "STRING_VALUE",
|
|
44
44
|
* SortBy: "CREATION_TIME" || "NAME",
|
|
45
45
|
* SortOrder: "Ascending" || "Descending",
|
|
46
|
+
* IncludeNodeLogicalIds: true || false,
|
|
46
47
|
* };
|
|
47
48
|
* const command = new ListClusterNodesCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -52,11 +53,12 @@ declare const ListClusterNodesCommand_base: {
|
|
|
52
53
|
* // { // ClusterNodeSummary
|
|
53
54
|
* // InstanceGroupName: "STRING_VALUE", // required
|
|
54
55
|
* // InstanceId: "STRING_VALUE", // required
|
|
56
|
+
* // NodeLogicalId: "STRING_VALUE",
|
|
55
57
|
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.16xlarge" || "ml.g6.12xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.gr6.4xlarge" || "ml.gr6.8xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.16xlarge" || "ml.g6e.12xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge" || "ml.p6-b200.48xlarge" || "ml.trn2.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.i3en.large" || "ml.i3en.xlarge" || "ml.i3en.2xlarge" || "ml.i3en.3xlarge" || "ml.i3en.6xlarge" || "ml.i3en.12xlarge" || "ml.i3en.24xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge", // required
|
|
56
58
|
* // LaunchTime: new Date("TIMESTAMP"), // required
|
|
57
59
|
* // LastSoftwareUpdateTime: new Date("TIMESTAMP"),
|
|
58
60
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
59
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress", // required
|
|
61
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound", // required
|
|
60
62
|
* // Message: "STRING_VALUE",
|
|
61
63
|
* // },
|
|
62
64
|
* // },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutModelPackageGroupPolicyInput, PutModelPackageGroupPolicyOutput } from "../models/
|
|
3
|
+
import { PutModelPackageGroupPolicyInput, PutModelPackageGroupPolicyOutput } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { QueryLineageRequest, QueryLineageResponse } from "../models/
|
|
3
|
+
import { QueryLineageRequest, QueryLineageResponse } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RegisterDevicesRequest } from "../models/
|
|
3
|
+
import { RegisterDevicesRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RenderUiTemplateRequest, RenderUiTemplateResponse } from "../models/
|
|
3
|
+
import { RenderUiTemplateRequest, RenderUiTemplateResponse } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RetryPipelineExecutionRequest, RetryPipelineExecutionResponse } from "../models/
|
|
3
|
+
import { RetryPipelineExecutionRequest, RetryPipelineExecutionResponse } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -27,7 +27,7 @@ declare const UpdateWorkforceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.</p> <p>The worker portal is now supported in VPC and public internet.</p> <p> Use <code>SourceIpConfig</code> to restrict worker access to tasks to a specific range of IP addresses. You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>. By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied and get a <code>Not Found</code> error message on the worker portal.</p> <p>To restrict access
|
|
30
|
+
* <p>Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.</p> <p>The worker portal is now supported in VPC and public internet.</p> <p> Use <code>SourceIpConfig</code> to restrict worker access to tasks to a specific range of IP addresses. You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>. By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied and get a <code>Not Found</code> error message on the worker portal.</p> <p>To restrict public internet access for all workers, configure the <code>SourceIpConfig</code> CIDR value. For example, when using <code>SourceIpConfig</code> with an <code>IpAddressType</code> of <code>IPv4</code>, you can restrict access to the IPv4 CIDR block "10.0.0.0/16". When using an <code>IpAddressType</code> of <code>dualstack</code>, you can specify both the IPv4 and IPv6 CIDR blocks, such as "10.0.0.0/16" for IPv4 only, "2001:db8:1234:1a00::/56" for IPv6 only, or "10.0.0.0/16" and "2001:db8:1234:1a00::/56" for dual stack.</p> <important> <p>Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.</p> </important> <p>Use <code>OidcConfig</code> to update the configuration of a workforce created using your own OIDC IdP. </p> <important> <p>You can only update your OIDC IdP configuration when there are no work teams associated with your workforce. You can delete work teams using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteWorkteam.html">DeleteWorkteam</a> operation.</p> </important> <p>After restricting access to a range of IP addresses or updating your OIDC IdP configuration with this operation, you can view details about your update workforce using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeWorkforce.html">DescribeWorkforce</a> operation.</p> <important> <p>This operation only applies to private workforces.</p> </important>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./AddAssociationCommand";
|
|
2
2
|
export * from "./AddTagsCommand";
|
|
3
3
|
export * from "./AssociateTrialComponentCommand";
|
|
4
|
+
export * from "./AttachClusterNodeVolumeCommand";
|
|
5
|
+
export * from "./BatchAddClusterNodesCommand";
|
|
4
6
|
export * from "./BatchDeleteClusterNodesCommand";
|
|
5
7
|
export * from "./BatchDescribeModelPackageCommand";
|
|
6
8
|
export * from "./CreateActionCommand";
|
|
@@ -133,6 +135,7 @@ export * from "./DescribeArtifactCommand";
|
|
|
133
135
|
export * from "./DescribeAutoMLJobCommand";
|
|
134
136
|
export * from "./DescribeAutoMLJobV2Command";
|
|
135
137
|
export * from "./DescribeClusterCommand";
|
|
138
|
+
export * from "./DescribeClusterEventCommand";
|
|
136
139
|
export * from "./DescribeClusterNodeCommand";
|
|
137
140
|
export * from "./DescribeClusterSchedulerConfigCommand";
|
|
138
141
|
export * from "./DescribeCodeRepositoryCommand";
|
|
@@ -192,6 +195,7 @@ export * from "./DescribeTrialComponentCommand";
|
|
|
192
195
|
export * from "./DescribeUserProfileCommand";
|
|
193
196
|
export * from "./DescribeWorkforceCommand";
|
|
194
197
|
export * from "./DescribeWorkteamCommand";
|
|
198
|
+
export * from "./DetachClusterNodeVolumeCommand";
|
|
195
199
|
export * from "./DisableSagemakerServicecatalogPortfolioCommand";
|
|
196
200
|
export * from "./DisassociateTrialComponentCommand";
|
|
197
201
|
export * from "./EnableSagemakerServicecatalogPortfolioCommand";
|
|
@@ -211,6 +215,7 @@ export * from "./ListArtifactsCommand";
|
|
|
211
215
|
export * from "./ListAssociationsCommand";
|
|
212
216
|
export * from "./ListAutoMLJobsCommand";
|
|
213
217
|
export * from "./ListCandidatesForAutoMLJobCommand";
|
|
218
|
+
export * from "./ListClusterEventsCommand";
|
|
214
219
|
export * from "./ListClusterNodesCommand";
|
|
215
220
|
export * from "./ListClusterSchedulerConfigsCommand";
|
|
216
221
|
export * from "./ListClustersCommand";
|