@aws-sdk/client-sagemaker 3.1148.0 → 3.1150.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 (96) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +223 -14
  3. package/dist-es/SageMaker.js +12 -0
  4. package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
  5. package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
  6. package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
  7. package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
  8. package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/SageMakerServiceException.js +1 -0
  11. package/dist-es/models/enums.js +12 -0
  12. package/dist-es/models/errors.js +4 -0
  13. package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +153 -13
  16. package/dist-types/SageMaker.d.ts +43 -0
  17. package/dist-types/SageMakerClient.d.ts +7 -2
  18. package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
  19. package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
  20. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
  25. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -1
  26. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  32. package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
  33. package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
  34. package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -1
  35. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  43. package/dist-types/commands/index.d.ts +5 -0
  44. package/dist-types/models/SageMakerServiceException.d.ts +1 -0
  45. package/dist-types/models/enums.d.ts +20 -0
  46. package/dist-types/models/errors.d.ts +4 -0
  47. package/dist-types/models/models_0.d.ts +22 -37
  48. package/dist-types/models/models_1.d.ts +37 -22
  49. package/dist-types/models/models_2.d.ts +152 -285
  50. package/dist-types/models/models_3.d.ts +430 -401
  51. package/dist-types/models/models_4.d.ts +463 -343
  52. package/dist-types/models/models_5.d.ts +335 -4
  53. package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/index.d.ts +1 -0
  55. package/dist-types/schemas/schemas_0.d.ts +22 -0
  56. package/dist-types/ts3.4/SageMaker.d.ts +93 -0
  57. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  58. package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
  59. package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
  60. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +2 -1
  61. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
  64. package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  72. package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
  73. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
  74. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -1
  75. package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  84. package/dist-types/ts3.4/models/SageMakerServiceException.d.ts +1 -0
  85. package/dist-types/ts3.4/models/enums.d.ts +14 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +4 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +5 -9
  88. package/dist-types/ts3.4/models/models_1.d.ts +10 -5
  89. package/dist-types/ts3.4/models/models_2.d.ts +37 -78
  90. package/dist-types/ts3.4/models/models_3.d.ts +101 -95
  91. package/dist-types/ts3.4/models/models_4.d.ts +123 -89
  92. package/dist-types/ts3.4/models/models_5.d.ts +96 -1
  93. package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  95. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  96. package/package.json +4 -4
@@ -0,0 +1,84 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTrainingSessionsRequest, ListTrainingSessionsResponse } from "../models/models_4";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTrainingSessionsCommand}.
11
+ */
12
+ export interface ListTrainingSessionsCommandInput extends ListTrainingSessionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTrainingSessionsCommand}.
18
+ */
19
+ export interface ListTrainingSessionsCommandOutput extends ListTrainingSessionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListTrainingSessionsCommand_base: {
22
+ new (input: ListTrainingSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListTrainingSessionsCommandInput, ListTrainingSessionsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListTrainingSessionsCommandInput]): import("@smithy/core/client").CommandImpl<ListTrainingSessionsCommandInput, ListTrainingSessionsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists training sessions in your account. You can filter results by creation time, name, and status. The operation paginates results. To retrieve additional results, use the <code>NextToken</code> parameter.</p> <p>The following operations are related to <code>ListTrainingSessions</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>DescribeTrainingSession</code> </p> </li> </ul>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, ListTrainingSessionsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, ListTrainingSessionsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
33
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
34
+ * const config = {}; // type is SageMakerClientConfig
35
+ * const client = new SageMakerClient(config);
36
+ * const input = { // ListTrainingSessionsRequest
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * CreationTimeAfter: new Date("TIMESTAMP"),
40
+ * CreationTimeBefore: new Date("TIMESTAMP"),
41
+ * NameContains: "STRING_VALUE",
42
+ * StatusEquals: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed",
43
+ * };
44
+ * const command = new ListTrainingSessionsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTrainingSessionsResponse
47
+ * // NextToken: "STRING_VALUE",
48
+ * // TrainingSessionSummaries: [ // TrainingSessionSummaries
49
+ * // { // TrainingSessionSummary
50
+ * // TrainingSessionArn: "STRING_VALUE", // required
51
+ * // TrainingSessionStatus: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed", // required
52
+ * // CreationTime: new Date("TIMESTAMP"), // required
53
+ * // LastModifiedTime: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListTrainingSessionsCommandInput - {@link ListTrainingSessionsCommandInput}
61
+ * @returns {@link ListTrainingSessionsCommandOutput}
62
+ * @see {@link ListTrainingSessionsCommandInput} for command's `input` shape.
63
+ * @see {@link ListTrainingSessionsCommandOutput} for command's `response` shape.
64
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
65
+ *
66
+ * @throws {@link SageMakerServiceException}
67
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class ListTrainingSessionsCommand extends ListTrainingSessionsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: ListTrainingSessionsRequest;
77
+ output: ListTrainingSessionsResponse;
78
+ };
79
+ sdk: {
80
+ input: ListTrainingSessionsCommandInput;
81
+ output: ListTrainingSessionsCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -0,0 +1,72 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StopTrainingSessionRequest, StopTrainingSessionResponse } from "../models/models_4";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StopTrainingSessionCommand}.
11
+ */
12
+ export interface StopTrainingSessionCommandInput extends StopTrainingSessionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StopTrainingSessionCommand}.
18
+ */
19
+ export interface StopTrainingSessionCommandOutput extends StopTrainingSessionResponse, __MetadataBearer {
20
+ }
21
+ declare const StopTrainingSessionCommand_base: {
22
+ new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Stops a running training session and sets the session status to <code>Stopping</code>. After the session stops, the status changes to <code>Stopped</code>. To delete a stopped session, use the <code>DeleteTrainingSession</code> operation.</p> <p>The following operations are related to <code>StopTrainingSession</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>DescribeTrainingSession</code> </p> </li> <li> <p> <code>DeleteTrainingSession</code> </p> </li> </ul>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, StopTrainingSessionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, StopTrainingSessionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
33
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
34
+ * const config = {}; // type is SageMakerClientConfig
35
+ * const client = new SageMakerClient(config);
36
+ * const input = { // StopTrainingSessionRequest
37
+ * TrainingSessionName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new StopTrainingSessionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param StopTrainingSessionCommandInput - {@link StopTrainingSessionCommandInput}
46
+ * @returns {@link StopTrainingSessionCommandOutput}
47
+ * @see {@link StopTrainingSessionCommandInput} for command's `input` shape.
48
+ * @see {@link StopTrainingSessionCommandOutput} for command's `response` shape.
49
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
50
+ *
51
+ * @throws {@link ResourceNotFound} (client fault)
52
+ * <p>Resource being access is not found.</p>
53
+ *
54
+ * @throws {@link SageMakerServiceException}
55
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
56
+ *
57
+ *
58
+ * @public
59
+ */
60
+ export declare class StopTrainingSessionCommand extends StopTrainingSessionCommand_base {
61
+ /** @internal type navigation helper, not in runtime. */
62
+ protected static __types: {
63
+ api: {
64
+ input: StopTrainingSessionRequest;
65
+ output: {};
66
+ };
67
+ sdk: {
68
+ input: StopTrainingSessionCommandInput;
69
+ output: StopTrainingSessionCommandOutput;
70
+ };
71
+ };
72
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateEndpointInput, UpdateEndpointOutput } from "../models/models_4";
2
+ import type { UpdateEndpointInput } from "../models/models_4";
3
+ import type { UpdateEndpointOutput } from "../models/models_5";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateEndpointWeightsAndCapacitiesInput, UpdateEndpointWeightsAndCapacitiesOutput } from "../models/models_4";
2
+ import type { UpdateEndpointWeightsAndCapacitiesInput, UpdateEndpointWeightsAndCapacitiesOutput } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateExperimentRequest, UpdateExperimentResponse } from "../models/models_4";
2
+ import type { UpdateExperimentRequest, UpdateExperimentResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateFeatureGroupRequest, UpdateFeatureGroupResponse } from "../models/models_4";
2
+ import type { UpdateFeatureGroupRequest, UpdateFeatureGroupResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateFeatureMetadataRequest } from "../models/models_4";
2
+ import type { UpdateFeatureMetadataRequest } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateHubRequest, UpdateHubResponse } from "../models/models_4";
2
+ import type { UpdateHubRequest, UpdateHubResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateHubContentRequest, UpdateHubContentResponse } from "../models/models_4";
2
+ import type { UpdateHubContentRequest, UpdateHubContentResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateHubContentReferenceRequest, UpdateHubContentReferenceResponse } from "../models/models_4";
2
+ import type { UpdateHubContentReferenceRequest, UpdateHubContentReferenceResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateImageRequest, UpdateImageResponse } from "../models/models_4";
2
+ import type { UpdateImageRequest, UpdateImageResponse } from "../models/models_5";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -74,6 +74,7 @@ export * from "./CreateSpaceCommand";
74
74
  export * from "./CreateStudioLifecycleConfigCommand";
75
75
  export * from "./CreateTrainingJobCommand";
76
76
  export * from "./CreateTrainingPlanCommand";
77
+ export * from "./CreateTrainingSessionCommand";
77
78
  export * from "./CreateTransformJobCommand";
78
79
  export * from "./CreateTrialCommand";
79
80
  export * from "./CreateTrialComponentCommand";
@@ -137,6 +138,7 @@ export * from "./DeleteSpaceCommand";
137
138
  export * from "./DeleteStudioLifecycleConfigCommand";
138
139
  export * from "./DeleteTagsCommand";
139
140
  export * from "./DeleteTrainingJobCommand";
141
+ export * from "./DeleteTrainingSessionCommand";
140
142
  export * from "./DeleteTrialCommand";
141
143
  export * from "./DeleteTrialComponentCommand";
142
144
  export * from "./DeleteUserProfileCommand";
@@ -213,6 +215,7 @@ export * from "./DescribeSubscribedWorkteamCommand";
213
215
  export * from "./DescribeTrainingJobCommand";
214
216
  export * from "./DescribeTrainingPlanCommand";
215
217
  export * from "./DescribeTrainingPlanExtensionHistoryCommand";
218
+ export * from "./DescribeTrainingSessionCommand";
216
219
  export * from "./DescribeTransformJobCommand";
217
220
  export * from "./DescribeTrialCommand";
218
221
  export * from "./DescribeTrialComponentCommand";
@@ -314,6 +317,7 @@ export * from "./ListTagsCommand";
314
317
  export * from "./ListTrainingJobsCommand";
315
318
  export * from "./ListTrainingJobsForHyperParameterTuningJobCommand";
316
319
  export * from "./ListTrainingPlansCommand";
320
+ export * from "./ListTrainingSessionsCommand";
317
321
  export * from "./ListTransformJobsCommand";
318
322
  export * from "./ListTrialComponentsCommand";
319
323
  export * from "./ListTrialsCommand";
@@ -356,6 +360,7 @@ export * from "./StopOptimizationJobCommand";
356
360
  export * from "./StopPipelineExecutionCommand";
357
361
  export * from "./StopProcessingJobCommand";
358
362
  export * from "./StopTrainingJobCommand";
363
+ export * from "./StopTrainingSessionCommand";
359
364
  export * from "./StopTransformJobCommand";
360
365
  export * from "./UpdateActionCommand";
361
366
  export * from "./UpdateAppImageConfigCommand";
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from SageMaker service.
8
8
  */
9
9
  export declare class SageMakerServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5457,6 +5457,26 @@ export declare const SageMakerResourceName: {
5457
5457
  * @public
5458
5458
  */
5459
5459
  export type SageMakerResourceName = (typeof SageMakerResourceName)[keyof typeof SageMakerResourceName];
5460
+ /**
5461
+ * @public
5462
+ * @enum
5463
+ */
5464
+ export declare const TrainingSessionStatus: {
5465
+ readonly BLOCKED: "Blocked";
5466
+ readonly CREATED: "Created";
5467
+ readonly DELETING: "Deleting";
5468
+ readonly DELETION_FAILED: "DeletionFailed";
5469
+ readonly EXPIRED: "Expired";
5470
+ readonly FAILED: "Failed";
5471
+ readonly RUNNING: "Running";
5472
+ readonly SCHEDULED: "Scheduled";
5473
+ readonly STOPPED: "Stopped";
5474
+ readonly STOPPING: "Stopping";
5475
+ };
5476
+ /**
5477
+ * @public
5478
+ */
5479
+ export type TrainingSessionStatus = (typeof TrainingSessionStatus)[keyof typeof TrainingSessionStatus];
5460
5480
  /**
5461
5481
  * @public
5462
5482
  * @enum
@@ -5,6 +5,7 @@ import { SageMakerServiceException as __BaseException } from "./SageMakerService
5
5
  * @public
6
6
  */
7
7
  export declare class ResourceLimitExceeded extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "ResourceLimitExceeded";
9
10
  readonly $fault: "client";
10
11
  Message?: string | undefined;
@@ -18,6 +19,7 @@ export declare class ResourceLimitExceeded extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class ResourceNotFound extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "ResourceNotFound";
22
24
  readonly $fault: "client";
23
25
  Message?: string | undefined;
@@ -31,6 +33,7 @@ export declare class ResourceNotFound extends __BaseException {
31
33
  * @public
32
34
  */
33
35
  export declare class ConflictException extends __BaseException {
36
+ static readonly shapeId: string;
34
37
  readonly name: "ConflictException";
35
38
  readonly $fault: "client";
36
39
  Message?: string | undefined;
@@ -44,6 +47,7 @@ export declare class ConflictException extends __BaseException {
44
47
  * @public
45
48
  */
46
49
  export declare class ResourceInUse extends __BaseException {
50
+ static readonly shapeId: string;
47
51
  readonly name: "ResourceInUse";
48
52
  readonly $fault: "client";
49
53
  Message?: string | undefined;
@@ -1,4 +1,4 @@
1
- import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType, ClusterStatus, CompressionType, DatabaseConfigurationRollbackStatus, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCompressionType, ModelPackageRegistrationType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, S3DataDistribution, S3DataType, S3ModelDataType, SchedulerResourceStatus, SlurmHealthComponent, SlurmHealthReason, SlurmHealthStatus, SoftwareUpdateStatus, SplitType, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
1
+ import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType, CompressionType, DatabaseConfigurationRollbackStatus, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCompressionType, ModelPackageRegistrationType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, S3DataDistribution, S3DataType, S3ModelDataType, SchedulerResourceStatus, SlurmHealthComponent, SlurmHealthReason, SlurmHealthStatus, SoftwareUpdateStatus, SplitType, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
2
2
  /**
3
3
  * <p>Configuration for allocating accelerator partitions.</p>
4
4
  * @public
@@ -4524,6 +4524,27 @@ export interface Bias {
4524
4524
  */
4525
4525
  PostTrainingReport?: MetricsSource | undefined;
4526
4526
  }
4527
+ /**
4528
+ * <p>The billable token usage for a training session, broken down by operation type.</p>
4529
+ * @public
4530
+ */
4531
+ export interface BillableTokenUsage {
4532
+ /**
4533
+ * <p>The number of prefill tokens consumed.</p>
4534
+ * @public
4535
+ */
4536
+ PrefillTokenCount?: number | undefined;
4537
+ /**
4538
+ * <p>The number of sample tokens consumed.</p>
4539
+ * @public
4540
+ */
4541
+ SampleTokenCount?: number | undefined;
4542
+ /**
4543
+ * <p>The number of training tokens consumed.</p>
4544
+ * @public
4545
+ */
4546
+ TrainingTokenCount?: number | undefined;
4547
+ }
4527
4548
  /**
4528
4549
  * <p>Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy. You can specify your batches as either instance count or the overall percentage or your fleet.</p> <p>For a rollback strategy, if you don't specify the fields in this object, or if you set the <code>Value</code> to 100%, then SageMaker uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.</p>
4529
4550
  * @public
@@ -7091,39 +7112,3 @@ export interface ClusterSchedulerConfigSummary {
7091
7112
  */
7092
7113
  ClusterArn?: string | undefined;
7093
7114
  }
7094
- /**
7095
- * <p>Lists a summary of the properties of a SageMaker HyperPod cluster.</p>
7096
- * @public
7097
- */
7098
- export interface ClusterSummary {
7099
- /**
7100
- * <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
7101
- * @public
7102
- */
7103
- ClusterArn: string | undefined;
7104
- /**
7105
- * <p>The name of the SageMaker HyperPod cluster.</p>
7106
- * @public
7107
- */
7108
- ClusterName: string | undefined;
7109
- /**
7110
- * <p>The time when the SageMaker HyperPod cluster is created.</p>
7111
- * @public
7112
- */
7113
- CreationTime: Date | undefined;
7114
- /**
7115
- * <p>The status of the SageMaker HyperPod cluster.</p>
7116
- * @public
7117
- */
7118
- ClusterStatus: ClusterStatus | undefined;
7119
- /**
7120
- * <p>A list of Amazon Resource Names (ARNs) of the training plans associated with this cluster.</p> <p>For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
7121
- * @public
7122
- */
7123
- TrainingPlanArns?: string[] | undefined;
7124
- /**
7125
- * <p>The aggregate status of the image version across the cluster's instance groups.</p>
7126
- * @public
7127
- */
7128
- ImageVersionStatus?: ClusterImageVersionStatus | undefined;
7129
- }
@@ -1,6 +1,42 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
- import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
2
+ import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterImageVersionStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
3
3
  import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, CodeEditorAppImageConfig, ComputeQuotaResourceConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
4
+ /**
5
+ * <p>Lists a summary of the properties of a SageMaker HyperPod cluster.</p>
6
+ * @public
7
+ */
8
+ export interface ClusterSummary {
9
+ /**
10
+ * <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
11
+ * @public
12
+ */
13
+ ClusterArn: string | undefined;
14
+ /**
15
+ * <p>The name of the SageMaker HyperPod cluster.</p>
16
+ * @public
17
+ */
18
+ ClusterName: string | undefined;
19
+ /**
20
+ * <p>The time when the SageMaker HyperPod cluster is created.</p>
21
+ * @public
22
+ */
23
+ CreationTime: Date | undefined;
24
+ /**
25
+ * <p>The status of the SageMaker HyperPod cluster.</p>
26
+ * @public
27
+ */
28
+ ClusterStatus: ClusterStatus | undefined;
29
+ /**
30
+ * <p>A list of Amazon Resource Names (ARNs) of the training plans associated with this cluster.</p> <p>For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
31
+ * @public
32
+ */
33
+ TrainingPlanArns?: string[] | undefined;
34
+ /**
35
+ * <p>The aggregate status of the image version across the cluster's instance groups.</p>
36
+ * @public
37
+ */
38
+ ImageVersionStatus?: ClusterImageVersionStatus | undefined;
39
+ }
4
40
  /**
5
41
  * <p>Defines the configuration for managed tier checkpointing in a HyperPod cluster. Managed tier checkpointing uses multiple storage tiers, including cluster CPU memory, to provide faster checkpoint operations and improved fault tolerance for large-scale model training. The system automatically saves checkpoints at high frequency to memory and periodically persists them to durable storage, like Amazon S3.</p>
6
42
  * @public
@@ -7192,24 +7228,3 @@ export interface MonitoringInput {
7192
7228
  */
7193
7229
  BatchTransformInput?: BatchTransformInput | undefined;
7194
7230
  }
7195
- /**
7196
- * <p>Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.</p>
7197
- * @public
7198
- */
7199
- export interface NetworkConfig {
7200
- /**
7201
- * <p>Whether to encrypt all communications between distributed processing jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.</p>
7202
- * @public
7203
- */
7204
- EnableInterContainerTrafficEncryption?: boolean | undefined;
7205
- /**
7206
- * <p>Whether to allow inbound and outbound network calls to and from the containers used for the processing job.</p>
7207
- * @public
7208
- */
7209
- EnableNetworkIsolation?: boolean | undefined;
7210
- /**
7211
- * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
7212
- * @public
7213
- */
7214
- VpcConfig?: VpcConfig | undefined;
7215
- }