@aws-sdk/client-sagemaker 3.860.0 → 3.862.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.
Files changed (91) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +492 -124
  3. package/dist-es/SageMaker.js +6 -0
  4. package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCardCommand.js +1 -1
  6. package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
  7. package/dist-es/commands/ListClusterEventsCommand.js +22 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +38 -93
  10. package/dist-es/models/models_1.js +86 -15
  11. package/dist-es/models/models_2.js +14 -40
  12. package/dist-es/models/models_3.js +43 -40
  13. package/dist-es/models/models_4.js +40 -10
  14. package/dist-es/models/models_5.js +10 -2
  15. package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +281 -0
  18. package/dist-types/SageMaker.d.ts +21 -0
  19. package/dist-types/SageMakerClient.d.ts +5 -2
  20. package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
  21. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
  22. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
  29. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
  30. package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
  31. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  38. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
  39. package/dist-types/commands/ListActionsCommand.d.ts +1 -2
  40. package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
  41. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
  42. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  44. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  45. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  47. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
  48. package/dist-types/commands/index.d.ts +3 -0
  49. package/dist-types/models/models_0.d.ts +635 -539
  50. package/dist-types/models/models_1.d.ts +3626 -3557
  51. package/dist-types/models/models_2.d.ts +3079 -3394
  52. package/dist-types/models/models_3.d.ts +4419 -4366
  53. package/dist-types/models/models_4.d.ts +3813 -3877
  54. package/dist-types/models/models_5.d.ts +836 -5
  55. package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  58. package/dist-types/ts3.4/SageMaker.d.ts +51 -0
  59. package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
  66. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  74. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -2
  76. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +186 -188
  83. package/dist-types/ts3.4/models/models_1.d.ts +177 -117
  84. package/dist-types/ts3.4/models/models_2.d.ts +123 -214
  85. package/dist-types/ts3.4/models/models_3.d.ts +219 -195
  86. package/dist-types/ts3.4/models/models_4.d.ts +225 -244
  87. package/dist-types/ts3.4/models/models_5.d.ts +220 -17
  88. package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  90. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  91. package/package.json +34 -34
@@ -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/models_4";
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/models_4";
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/models_4";
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/models_4";
3
+ import { RenderUiTemplateRequest, RenderUiTemplateResponse } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -87,6 +87,7 @@ declare const UpdateClusterCommand_base: {
87
87
  * ],
88
88
  * },
89
89
  * },
90
+ * ImageId: "STRING_VALUE",
90
91
  * },
91
92
  * ],
92
93
  * RestrictedInstanceGroups: [ // ClusterRestrictedInstanceGroupSpecifications
@@ -59,6 +59,7 @@ declare const UpdateClusterSoftwareCommand_base: {
59
59
  * },
60
60
  * ],
61
61
  * },
62
+ * ImageId: "STRING_VALUE",
62
63
  * };
63
64
  * const command = new UpdateClusterSoftwareCommand(input);
64
65
  * const response = await client.send(command);
@@ -2,6 +2,7 @@ export * from "./AddAssociationCommand";
2
2
  export * from "./AddTagsCommand";
3
3
  export * from "./AssociateTrialComponentCommand";
4
4
  export * from "./AttachClusterNodeVolumeCommand";
5
+ export * from "./BatchAddClusterNodesCommand";
5
6
  export * from "./BatchDeleteClusterNodesCommand";
6
7
  export * from "./BatchDescribeModelPackageCommand";
7
8
  export * from "./CreateActionCommand";
@@ -134,6 +135,7 @@ export * from "./DescribeArtifactCommand";
134
135
  export * from "./DescribeAutoMLJobCommand";
135
136
  export * from "./DescribeAutoMLJobV2Command";
136
137
  export * from "./DescribeClusterCommand";
138
+ export * from "./DescribeClusterEventCommand";
137
139
  export * from "./DescribeClusterNodeCommand";
138
140
  export * from "./DescribeClusterSchedulerConfigCommand";
139
141
  export * from "./DescribeCodeRepositoryCommand";
@@ -213,6 +215,7 @@ export * from "./ListArtifactsCommand";
213
215
  export * from "./ListAssociationsCommand";
214
216
  export * from "./ListAutoMLJobsCommand";
215
217
  export * from "./ListCandidatesForAutoMLJobCommand";
218
+ export * from "./ListClusterEventsCommand";
216
219
  export * from "./ListClusterNodesCommand";
217
220
  export * from "./ListClusterSchedulerConfigsCommand";
218
221
  export * from "./ListClustersCommand";