@aws-sdk/client-sagemaker 3.1149.0 → 3.1151.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 (110) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +346 -57
  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/enums.js +22 -0
  11. package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +263 -56
  14. package/dist-types/SageMaker.d.ts +43 -0
  15. package/dist-types/SageMakerClient.d.ts +7 -2
  16. package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
  17. package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
  18. package/dist-types/commands/DescribeExperimentCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
  25. package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  29. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  35. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +42 -0
  36. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
  38. package/dist-types/commands/SearchCommand.d.ts +2 -2
  39. package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
  40. package/dist-types/commands/UpdateContextCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDevicesCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  53. package/dist-types/commands/index.d.ts +5 -0
  54. package/dist-types/models/enums.d.ts +49 -0
  55. package/dist-types/models/models_0.d.ts +80 -155
  56. package/dist-types/models/models_1.d.ts +156 -91
  57. package/dist-types/models/models_2.d.ts +221 -367
  58. package/dist-types/models/models_3.d.ts +4456 -4437
  59. package/dist-types/models/models_4.d.ts +3991 -3817
  60. package/dist-types/models/models_5.d.ts +501 -4
  61. package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/schemas/schemas_0.d.ts +29 -0
  64. package/dist-types/ts3.4/SageMaker.d.ts +93 -0
  65. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  66. package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/DescribeExperimentCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
  73. package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  84. package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/UpdateContextCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/UpdateDevicesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  100. package/dist-types/ts3.4/models/enums.d.ts +27 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +20 -36
  102. package/dist-types/ts3.4/models/models_1.d.ts +41 -22
  103. package/dist-types/ts3.4/models/models_2.d.ts +57 -101
  104. package/dist-types/ts3.4/models/models_3.d.ts +147 -145
  105. package/dist-types/ts3.4/models/models_4.d.ts +185 -140
  106. package/dist-types/ts3.4/models/models_5.d.ts +146 -1
  107. package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  109. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  110. package/package.json +3 -3
@@ -0,0 +1,118 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeTrainingSessionRequest, DescribeTrainingSessionResponse } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeTrainingSessionCommand}.
11
+ */
12
+ export interface DescribeTrainingSessionCommandInput extends DescribeTrainingSessionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeTrainingSessionCommand}.
18
+ */
19
+ export interface DescribeTrainingSessionCommandOutput extends DescribeTrainingSessionResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeTrainingSessionCommand_base: {
22
+ new (input: DescribeTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<DescribeTrainingSessionCommandInput, DescribeTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<DescribeTrainingSessionCommandInput, DescribeTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves detailed information about a training session, including its current status, model configuration, Low-Rank Adaptation (LoRA) parameters, and timestamps.</p> <p>The following operations are related to <code>DescribeTrainingSession</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>ListTrainingSessions</code> </p> </li> <li> <p> <code>StopTrainingSession</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, DescribeTrainingSessionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, DescribeTrainingSessionCommand } = 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 = { // DescribeTrainingSessionRequest
37
+ * TrainingSessionName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeTrainingSessionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeTrainingSessionResponse
42
+ * // TrainingSessionDetail: { // TrainingSessionDetail
43
+ * // TrainingSessionArn: "STRING_VALUE", // required
44
+ * // TrainingSessionName: "STRING_VALUE", // required
45
+ * // TrainingSessionStatus: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed", // required
46
+ * // ModelPackageGroupArn: "STRING_VALUE",
47
+ * // CreationTime: new Date("TIMESTAMP"), // required
48
+ * // LastModifiedTime: new Date("TIMESTAMP"),
49
+ * // EndTime: new Date("TIMESTAMP"),
50
+ * // ErrorDetails: "STRING_VALUE",
51
+ * // LastReceivedSequenceNumber: Number("int"),
52
+ * // BillableTokenUsage: { // BillableTokenUsage
53
+ * // PrefillTokenCount: Number("long"),
54
+ * // SampleTokenCount: Number("long"),
55
+ * // TrainingTokenCount: Number("long"),
56
+ * // },
57
+ * // VpcConfig: { // VpcConfig
58
+ * // SecurityGroupIds: [ // VpcSecurityGroupIds // required
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // Subnets: [ // Subnets // required
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // RoleArn: "STRING_VALUE",
66
+ * // LoraConfig: { // LoraConfig
67
+ * // Rank: Number("int"), // required
68
+ * // Alpha: Number("int"), // required
69
+ * // },
70
+ * // ModelConfig: { // TrainingSessionModelConfig
71
+ * // BaseModelArn: "STRING_VALUE", // required
72
+ * // AcceptEula: true || false,
73
+ * // },
74
+ * // OutputConfig: { // TrainingSessionOutputConfig
75
+ * // S3Location: { // TrainingSessionS3Location
76
+ * // Path: "STRING_VALUE", // required
77
+ * // KmsKeyArn: "STRING_VALUE",
78
+ * // },
79
+ * // },
80
+ * // Tags: [ // TagList
81
+ * // { // Tag
82
+ * // Key: "STRING_VALUE", // required
83
+ * // Value: "STRING_VALUE", // required
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param DescribeTrainingSessionCommandInput - {@link DescribeTrainingSessionCommandInput}
92
+ * @returns {@link DescribeTrainingSessionCommandOutput}
93
+ * @see {@link DescribeTrainingSessionCommandInput} for command's `input` shape.
94
+ * @see {@link DescribeTrainingSessionCommandOutput} for command's `response` shape.
95
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
96
+ *
97
+ * @throws {@link ResourceNotFound} (client fault)
98
+ * <p>Resource being access is not found.</p>
99
+ *
100
+ * @throws {@link SageMakerServiceException}
101
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class DescribeTrainingSessionCommand extends DescribeTrainingSessionCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: DescribeTrainingSessionRequest;
111
+ output: DescribeTrainingSessionResponse;
112
+ };
113
+ sdk: {
114
+ input: DescribeTrainingSessionCommandInput;
115
+ output: DescribeTrainingSessionCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListDeviceFleetsRequest, ListDeviceFleetsResponse } from "../models/models_3";
2
+ import type { ListDeviceFleetsRequest, ListDeviceFleetsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListDevicesRequest, ListDevicesResponse } from "../models/models_3";
2
+ import type { ListDevicesRequest, ListDevicesResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListDomainsRequest, ListDomainsResponse } from "../models/models_3";
2
+ import type { ListDomainsRequest, ListDomainsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListEdgeDeploymentPlansRequest, ListEdgeDeploymentPlansResponse } from "../models/models_3";
2
+ import type { ListEdgeDeploymentPlansRequest, ListEdgeDeploymentPlansResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListEdgePackagingJobsRequest, ListEdgePackagingJobsResponse } from "../models/models_3";
2
+ import type { ListEdgePackagingJobsRequest, ListEdgePackagingJobsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListEndpointConfigsInput, ListEndpointConfigsOutput } from "../models/models_3";
2
+ import type { ListEndpointConfigsInput, ListEndpointConfigsOutput } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListEndpointsInput, ListEndpointsOutput } from "../models/models_3";
2
+ import type { ListEndpointsInput, ListEndpointsOutput } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListExperimentsRequest, ListExperimentsResponse } from "../models/models_3";
2
+ import type { ListExperimentsRequest, ListExperimentsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListFeatureGroupsRequest, ListFeatureGroupsResponse } from "../models/models_3";
2
+ import type { ListFeatureGroupsRequest, ListFeatureGroupsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListFlowDefinitionsRequest } from "../models/models_3";
3
- import type { ListFlowDefinitionsResponse } from "../models/models_4";
2
+ import type { ListFlowDefinitionsRequest, ListFlowDefinitionsResponse } from "../models/models_4";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -101,6 +101,12 @@ declare const ListPipelineExecutionStepsCommand_base: {
101
101
  * // StepName: "STRING_VALUE",
102
102
  * // LogFilePath: "STRING_VALUE",
103
103
  * // },
104
+ * // EMRServerless: { // EMRServerlessStepMetadata
105
+ * // ApplicationId: "STRING_VALUE",
106
+ * // JobRunId: "STRING_VALUE",
107
+ * // JobRunName: "STRING_VALUE",
108
+ * // LogFilePath: "STRING_VALUE",
109
+ * // },
104
110
  * // QualityCheck: { // QualityCheckStepMetadata
105
111
  * // CheckType: "STRING_VALUE",
106
112
  * // BaselineUsedForDriftCheckStatistics: "STRING_VALUE",
@@ -170,11 +176,47 @@ declare const ListPipelineExecutionStepsCommand_base: {
170
176
  * // Job: { // JobStepMetadata
171
177
  * // Arn: "STRING_VALUE",
172
178
  * // },
179
+ * // Athena: { // AthenaStepMetadata
180
+ * // QueryExecutionId: "STRING_VALUE",
181
+ * // S3OutputLocation: "STRING_VALUE",
182
+ * // },
183
+ * // Cleanup: { // CleanupStepMetadata
184
+ * // CleanedSteps: [ // CleanupStepNameList
185
+ * // "STRING_VALUE",
186
+ * // ],
187
+ * // FailedSteps: [ // CleanupFailureList
188
+ * // { // CleanupFailure
189
+ * // StepName: "STRING_VALUE",
190
+ * // ErrorCode: "ClientError" || "InternalFailure",
191
+ * // ErrorMessage: "STRING_VALUE",
192
+ * // },
193
+ * // ],
194
+ * // SkippedSteps: [
195
+ * // "STRING_VALUE",
196
+ * // ],
197
+ * // },
198
+ * // ForEach: { // ForEachStepMetadata
199
+ * // Status: "Succeeded" || "Failed" || "Stopped",
200
+ * // InputItemCount: Number("int"),
201
+ * // TotalStepCount: Number("int"),
202
+ * // SucceededStepCount: Number("int"),
203
+ * // FailedStepCount: Number("int"),
204
+ * // StoppedStepCount: Number("int"),
205
+ * // Selector: { // ForEachSelectorResult
206
+ * // StepName: "STRING_VALUE",
207
+ * // Index: Number("int"),
208
+ * // },
209
+ * // },
173
210
  * // },
174
211
  * // AttemptCount: Number("int"),
175
212
  * // SelectiveExecutionResult: { // SelectiveExecutionResult
176
213
  * // SourcePipelineExecutionArn: "STRING_VALUE",
177
214
  * // },
215
+ * // IterationContext: { // IterationContext
216
+ * // ParentStepName: "STRING_VALUE",
217
+ * // Index: Number("int"),
218
+ * // Item: "STRING_VALUE",
219
+ * // },
178
220
  * // },
179
221
  * // ],
180
222
  * // NextToken: "STRING_VALUE",
@@ -49,7 +49,7 @@ declare const ListPipelineExecutionsCommand_base: {
49
49
  * // { // PipelineExecutionSummary
50
50
  * // PipelineExecutionArn: "STRING_VALUE",
51
51
  * // StartTime: new Date("TIMESTAMP"),
52
- * // PipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded",
52
+ * // PipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded" || "CompletedWithFailures",
53
53
  * // PipelineExecutionDescription: "STRING_VALUE",
54
54
  * // PipelineExecutionDisplayName: "STRING_VALUE",
55
55
  * // PipelineExecutionFailureReason: "STRING_VALUE",
@@ -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
+ }
@@ -1574,7 +1574,7 @@ declare const SearchCommand_base: {
1574
1574
  * // PipelineArn: "STRING_VALUE",
1575
1575
  * // PipelineExecutionArn: "STRING_VALUE",
1576
1576
  * // PipelineExecutionDisplayName: "STRING_VALUE",
1577
- * // PipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded",
1577
+ * // PipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded" || "CompletedWithFailures",
1578
1578
  * // PipelineExecutionDescription: "STRING_VALUE",
1579
1579
  * // PipelineExperimentConfig: { // PipelineExperimentConfig
1580
1580
  * // ExperimentName: "STRING_VALUE",
@@ -1616,7 +1616,7 @@ declare const SearchCommand_base: {
1616
1616
  * // LastModifiedBy: "<UserContext>",
1617
1617
  * // LastExecutedPipelineExecutionArn: "STRING_VALUE",
1618
1618
  * // LastExecutedPipelineExecutionDisplayName: "STRING_VALUE",
1619
- * // LastExecutedPipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded",
1619
+ * // LastExecutedPipelineExecutionStatus: "Executing" || "Stopping" || "Stopped" || "Failed" || "Succeeded" || "CompletedWithFailures",
1620
1620
  * // },
1621
1621
  * // FeatureGroup: { // FeatureGroup
1622
1622
  * // FeatureGroupArn: "STRING_VALUE",
@@ -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 { UpdateContextRequest, UpdateContextResponse } from "../models/models_4";
2
+ import type { UpdateContextRequest } from "../models/models_4";
3
+ import type { UpdateContextResponse } 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 { UpdateDeviceFleetRequest } from "../models/models_4";
2
+ import type { UpdateDeviceFleetRequest } 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 { UpdateDevicesRequest } from "../models/models_4";
2
+ import type { UpdateDevicesRequest } 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 { UpdateDomainRequest, UpdateDomainResponse } from "../models/models_4";
2
+ import type { UpdateDomainRequest, UpdateDomainResponse } 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 { UpdateEndpointInput, UpdateEndpointOutput } from "../models/models_4";
2
+ import type { UpdateEndpointInput, UpdateEndpointOutput } 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 { 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";