@aws-sdk/client-sagemaker 3.1058.0 → 3.1059.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 (87) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +139 -0
  3. package/dist-cjs/schemas/schemas_0.js +191 -36
  4. package/dist-es/SageMaker.js +18 -0
  5. package/dist-es/commands/CreateJobCommand.js +16 -0
  6. package/dist-es/commands/DeleteJobCommand.js +16 -0
  7. package/dist-es/commands/DescribeJobCommand.js +16 -0
  8. package/dist-es/commands/DescribeJobSchemaVersionCommand.js +16 -0
  9. package/dist-es/commands/ListJobSchemaVersionsCommand.js +16 -0
  10. package/dist-es/commands/ListJobsCommand.js +16 -0
  11. package/dist-es/commands/StopJobCommand.js +16 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/models/enums.js +30 -0
  14. package/dist-es/pagination/ListJobSchemaVersionsPaginator.js +4 -0
  15. package/dist-es/pagination/ListJobsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +157 -2
  18. package/dist-types/SageMaker.d.ts +63 -0
  19. package/dist-types/SageMakerClient.d.ts +9 -2
  20. package/dist-types/commands/CreateJobCommand.d.ts +95 -0
  21. package/dist-types/commands/DeleteJobCommand.d.ts +81 -0
  22. package/dist-types/commands/DescribeJobCommand.d.ts +105 -0
  23. package/dist-types/commands/DescribeJobSchemaVersionCommand.d.ts +82 -0
  24. package/dist-types/commands/ListJobSchemaVersionsCommand.d.ts +86 -0
  25. package/dist-types/commands/ListJobsCommand.d.ts +98 -0
  26. package/dist-types/commands/ListLabelingJobsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
  28. package/dist-types/commands/ListLineageGroupsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListMlflowAppsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +3 -0
  32. package/dist-types/commands/StopJobCommand.d.ts +78 -0
  33. package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +2 -1
  34. package/dist-types/commands/UpdatePartnerAppCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdatePipelineCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePipelineVersionCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateSpaceCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateTrainingJobCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateTrialCommand.d.ts +1 -2
  42. package/dist-types/commands/index.d.ts +7 -0
  43. package/dist-types/models/enums.d.ts +54 -0
  44. package/dist-types/models/models_1.d.ts +46 -33
  45. package/dist-types/models/models_2.d.ts +55 -77
  46. package/dist-types/models/models_3.d.ts +296 -390
  47. package/dist-types/models/models_4.d.ts +3902 -3732
  48. package/dist-types/models/models_5.d.ts +355 -2
  49. package/dist-types/pagination/ListJobSchemaVersionsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/index.d.ts +2 -0
  52. package/dist-types/schemas/schemas_0.d.ts +25 -0
  53. package/dist-types/ts3.4/SageMaker.d.ts +133 -0
  54. package/dist-types/ts3.4/SageMakerClient.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +45 -0
  56. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +45 -0
  57. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +49 -0
  58. package/dist-types/ts3.4/commands/DescribeJobSchemaVersionCommand.d.ts +53 -0
  59. package/dist-types/ts3.4/commands/ListJobSchemaVersionsCommand.d.ts +53 -0
  60. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +45 -0
  61. package/dist-types/ts3.4/commands/ListLabelingJobsCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ListMlflowAppsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +45 -0
  67. package/dist-types/ts3.4/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +2 -4
  68. package/dist-types/ts3.4/commands/UpdatePartnerAppCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdatePipelineVersionCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateTrainingJobCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateTrialCommand.d.ts +1 -2
  76. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +34 -0
  78. package/dist-types/ts3.4/models/models_1.d.ts +12 -10
  79. package/dist-types/ts3.4/models/models_2.d.ts +16 -21
  80. package/dist-types/ts3.4/models/models_3.d.ts +74 -96
  81. package/dist-types/ts3.4/models/models_4.d.ts +138 -97
  82. package/dist-types/ts3.4/models/models_5.d.ts +104 -1
  83. package/dist-types/ts3.4/pagination/ListJobSchemaVersionsPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +11 -0
  85. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  86. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  87. package/package.json +9 -9
@@ -0,0 +1,82 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeJobSchemaVersionRequest, DescribeJobSchemaVersionResponse } from "../models/models_3";
4
+ import type { 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 DescribeJobSchemaVersionCommand}.
14
+ */
15
+ export interface DescribeJobSchemaVersionCommandInput extends DescribeJobSchemaVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeJobSchemaVersionCommand}.
21
+ */
22
+ export interface DescribeJobSchemaVersionCommandOutput extends DescribeJobSchemaVersionResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeJobSchemaVersionCommand_base: {
25
+ new (input: DescribeJobSchemaVersionCommandInput): import("@smithy/core/client").CommandImpl<DescribeJobSchemaVersionCommandInput, DescribeJobSchemaVersionCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeJobSchemaVersionCommandInput): import("@smithy/core/client").CommandImpl<DescribeJobSchemaVersionCommandInput, DescribeJobSchemaVersionCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns the JSON schema for a specified job category and schema version. Use this schema to validate your <code>JobConfigDocument</code> before calling <code>CreateJob</code>. If you don't specify a schema version, the latest version is returned. The schema defines required fields, allowed values, and constraints for the job configuration.</p> <p>The following operations are related to <code>DescribeJobSchemaVersion</code>:</p> <ul> <li> <p> <code>ListJobSchemaVersions</code> </p> </li> <li> <p> <code>CreateJob</code> </p> </li> </ul>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SageMakerClient, DescribeJobSchemaVersionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
37
+ * // const { SageMakerClient, DescribeJobSchemaVersionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
38
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
39
+ * const config = {}; // type is SageMakerClientConfig
40
+ * const client = new SageMakerClient(config);
41
+ * const input = { // DescribeJobSchemaVersionRequest
42
+ * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
43
+ * JobConfigSchemaVersion: "STRING_VALUE",
44
+ * };
45
+ * const command = new DescribeJobSchemaVersionCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DescribeJobSchemaVersionResponse
48
+ * // JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
49
+ * // JobConfigSchemaVersion: "STRING_VALUE", // required
50
+ * // JobConfigSchema: "STRING_VALUE", // required
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param DescribeJobSchemaVersionCommandInput - {@link DescribeJobSchemaVersionCommandInput}
56
+ * @returns {@link DescribeJobSchemaVersionCommandOutput}
57
+ * @see {@link DescribeJobSchemaVersionCommandInput} for command's `input` shape.
58
+ * @see {@link DescribeJobSchemaVersionCommandOutput} for command's `response` shape.
59
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
60
+ *
61
+ * @throws {@link ResourceNotFound} (client fault)
62
+ * <p>Resource being access is not found.</p>
63
+ *
64
+ * @throws {@link SageMakerServiceException}
65
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
66
+ *
67
+ *
68
+ * @public
69
+ */
70
+ export declare class DescribeJobSchemaVersionCommand extends DescribeJobSchemaVersionCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: DescribeJobSchemaVersionRequest;
75
+ output: DescribeJobSchemaVersionResponse;
76
+ };
77
+ sdk: {
78
+ input: DescribeJobSchemaVersionCommandInput;
79
+ output: DescribeJobSchemaVersionCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListJobSchemaVersionsRequest, ListJobSchemaVersionsResponse } from "../models/models_4";
4
+ import type { 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 ListJobSchemaVersionsCommand}.
14
+ */
15
+ export interface ListJobSchemaVersionsCommandInput extends ListJobSchemaVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListJobSchemaVersionsCommand}.
21
+ */
22
+ export interface ListJobSchemaVersionsCommandOutput extends ListJobSchemaVersionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListJobSchemaVersionsCommand_base: {
25
+ new (input: ListJobSchemaVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListJobSchemaVersionsCommandInput, ListJobSchemaVersionsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListJobSchemaVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListJobSchemaVersionsCommandInput, ListJobSchemaVersionsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists available configuration schema versions for a specified job category. Use the schema versions with <code>DescribeJobSchemaVersion</code> to retrieve the full schema document.</p> <p>The following operations are related to <code>ListJobSchemaVersions</code>:</p> <ul> <li> <p> <code>DescribeJobSchemaVersion</code> </p> </li> <li> <p> <code>CreateJob</code> </p> </li> </ul>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SageMakerClient, ListJobSchemaVersionsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
37
+ * // const { SageMakerClient, ListJobSchemaVersionsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
38
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
39
+ * const config = {}; // type is SageMakerClientConfig
40
+ * const client = new SageMakerClient(config);
41
+ * const input = { // ListJobSchemaVersionsRequest
42
+ * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
43
+ * NextToken: "STRING_VALUE",
44
+ * MaxResults: Number("int"),
45
+ * };
46
+ * const command = new ListJobSchemaVersionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListJobSchemaVersionsResponse
49
+ * // NextToken: "STRING_VALUE",
50
+ * // JobConfigSchemas: [ // JobConfigSchemas // required
51
+ * // { // JobConfigSchemaVersionSummary
52
+ * // JobConfigSchemaVersion: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListJobSchemaVersionsCommandInput - {@link ListJobSchemaVersionsCommandInput}
60
+ * @returns {@link ListJobSchemaVersionsCommandOutput}
61
+ * @see {@link ListJobSchemaVersionsCommandInput} for command's `input` shape.
62
+ * @see {@link ListJobSchemaVersionsCommandOutput} for command's `response` shape.
63
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
64
+ *
65
+ * @throws {@link ResourceNotFound} (client fault)
66
+ * <p>Resource being access is not found.</p>
67
+ *
68
+ * @throws {@link SageMakerServiceException}
69
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class ListJobSchemaVersionsCommand extends ListJobSchemaVersionsCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: ListJobSchemaVersionsRequest;
79
+ output: ListJobSchemaVersionsResponse;
80
+ };
81
+ sdk: {
82
+ input: ListJobSchemaVersionsCommandInput;
83
+ output: ListJobSchemaVersionsCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListJobsRequest, ListJobsResponse } from "../models/models_4";
4
+ import type { 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 ListJobsCommand}.
14
+ */
15
+ export interface ListJobsCommandInput extends ListJobsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListJobsCommand}.
21
+ */
22
+ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListJobsCommand_base: {
25
+ new (input: ListJobsCommandInput): import("@smithy/core/client").CommandImpl<ListJobsCommandInput, ListJobsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListJobsCommandInput): import("@smithy/core/client").CommandImpl<ListJobsCommandInput, ListJobsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists jobs in a specified category. You can filter results by creation time, last modified time, name, and status. Results are sorted by the field you specify in <code>SortBy</code>. Use pagination to retrieve large result sets efficiently.</p> <p>The following operations are related to <code>ListJobs</code>:</p> <ul> <li> <p> <code>CreateJob</code> </p> </li> <li> <p> <code>DescribeJob</code> </p> </li> </ul>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SageMakerClient, ListJobsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
37
+ * // const { SageMakerClient, ListJobsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
38
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
39
+ * const config = {}; // type is SageMakerClientConfig
40
+ * const client = new SageMakerClient(config);
41
+ * const input = { // ListJobsRequest
42
+ * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
43
+ * NextToken: "STRING_VALUE",
44
+ * MaxResults: Number("int"),
45
+ * CreationTimeAfter: new Date("TIMESTAMP"),
46
+ * CreationTimeBefore: new Date("TIMESTAMP"),
47
+ * LastModifiedTimeAfter: new Date("TIMESTAMP"),
48
+ * LastModifiedTimeBefore: new Date("TIMESTAMP"),
49
+ * NameContains: "STRING_VALUE",
50
+ * SortBy: "Name" || "CreationTime" || "Status",
51
+ * SortOrder: "Ascending" || "Descending",
52
+ * StatusEquals: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting" || "DeleteFailed",
53
+ * };
54
+ * const command = new ListJobsCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ListJobsResponse
57
+ * // NextToken: "STRING_VALUE",
58
+ * // JobSummaries: [ // JobSummaries // required
59
+ * // { // JobSummary
60
+ * // JobArn: "STRING_VALUE", // required
61
+ * // JobName: "STRING_VALUE", // required
62
+ * // JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
63
+ * // JobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting" || "DeleteFailed", // required
64
+ * // JobSecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed", // required
65
+ * // CreationTime: new Date("TIMESTAMP"), // required
66
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
67
+ * // EndTime: new Date("TIMESTAMP"),
68
+ * // },
69
+ * // ],
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param ListJobsCommandInput - {@link ListJobsCommandInput}
75
+ * @returns {@link ListJobsCommandOutput}
76
+ * @see {@link ListJobsCommandInput} for command's `input` shape.
77
+ * @see {@link ListJobsCommandOutput} for command's `response` shape.
78
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
79
+ *
80
+ * @throws {@link SageMakerServiceException}
81
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListJobsCommand extends ListJobsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListJobsRequest;
91
+ output: ListJobsResponse;
92
+ };
93
+ sdk: {
94
+ input: ListJobsCommandInput;
95
+ output: ListJobsCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListLabelingJobsRequest, ListLabelingJobsResponse } from "../models/models_3";
3
+ import type { ListLabelingJobsRequest, ListLabelingJobsResponse } from "../models/models_4";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListLabelingJobsForWorkteamRequest, ListLabelingJobsForWorkteamResponse } from "../models/models_3";
3
+ import type { ListLabelingJobsForWorkteamRequest, ListLabelingJobsForWorkteamResponse } from "../models/models_4";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListLineageGroupsRequest, ListLineageGroupsResponse } from "../models/models_3";
3
+ import type { ListLineageGroupsRequest, ListLineageGroupsResponse } from "../models/models_4";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListMlflowAppsRequest, ListMlflowAppsResponse } from "../models/models_3";
3
+ import type { ListMlflowAppsRequest, ListMlflowAppsResponse } from "../models/models_4";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListMlflowTrackingServersRequest, ListMlflowTrackingServersResponse } from "../models/models_3";
3
+ import type { ListMlflowTrackingServersRequest, ListMlflowTrackingServersResponse } from "../models/models_4";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -172,6 +172,9 @@ declare const ListPipelineExecutionStepsCommand_base: {
172
172
  * // },
173
173
  * // ],
174
174
  * // },
175
+ * // Job: { // JobStepMetadata
176
+ * // Arn: "STRING_VALUE",
177
+ * // },
175
178
  * // },
176
179
  * // AttemptCount: Number("int"),
177
180
  * // SelectiveExecutionResult: { // SelectiveExecutionResult
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StopJobRequest, StopJobResponse } from "../models/models_4";
4
+ import type { 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 StopJobCommand}.
14
+ */
15
+ export interface StopJobCommandInput extends StopJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopJobCommand}.
21
+ */
22
+ export interface StopJobCommandOutput extends StopJobResponse, __MetadataBearer {
23
+ }
24
+ declare const StopJobCommand_base: {
25
+ new (input: StopJobCommandInput): import("@smithy/core/client").CommandImpl<StopJobCommandInput, StopJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopJobCommandInput): import("@smithy/core/client").CommandImpl<StopJobCommandInput, StopJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Stops a running job. When you call <code>StopJob</code>, Amazon SageMaker sets the job status to <code>Stopping</code>. After the job stops, the status changes to <code>Stopped</code>. Partial results may be available in the output location if the job was in progress. To delete a stopped job, call <code>DeleteJob</code>.</p> <p>The following operations are related to <code>StopJob</code>:</p> <ul> <li> <p> <code>CreateJob</code> </p> </li> <li> <p> <code>DescribeJob</code> </p> </li> <li> <p> <code>DeleteJob</code> </p> </li> </ul>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SageMakerClient, StopJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
37
+ * // const { SageMakerClient, StopJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
38
+ * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
39
+ * const config = {}; // type is SageMakerClientConfig
40
+ * const client = new SageMakerClient(config);
41
+ * const input = { // StopJobRequest
42
+ * JobName: "STRING_VALUE", // required
43
+ * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
44
+ * };
45
+ * const command = new StopJobCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param StopJobCommandInput - {@link StopJobCommandInput}
52
+ * @returns {@link StopJobCommandOutput}
53
+ * @see {@link StopJobCommandInput} for command's `input` shape.
54
+ * @see {@link StopJobCommandOutput} for command's `response` shape.
55
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
56
+ *
57
+ * @throws {@link ResourceNotFound} (client fault)
58
+ * <p>Resource being access is not found.</p>
59
+ *
60
+ * @throws {@link SageMakerServiceException}
61
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
62
+ *
63
+ *
64
+ * @public
65
+ */
66
+ export declare class StopJobCommand extends StopJobCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: StopJobRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: StopJobCommandInput;
75
+ output: StopJobCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateNotebookInstanceLifecycleConfigInput, UpdateNotebookInstanceLifecycleConfigOutput } from "../models/models_4";
3
+ import type { UpdateNotebookInstanceLifecycleConfigInput } from "../models/models_4";
4
+ import type { UpdateNotebookInstanceLifecycleConfigOutput } from "../models/models_5";
4
5
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  /**
6
7
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdatePartnerAppRequest, UpdatePartnerAppResponse } from "../models/models_4";
3
+ import type { UpdatePartnerAppRequest, UpdatePartnerAppResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdatePipelineRequest, UpdatePipelineResponse } from "../models/models_4";
3
+ import type { UpdatePipelineRequest, UpdatePipelineResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdatePipelineExecutionRequest, UpdatePipelineExecutionResponse } from "../models/models_4";
3
+ import type { UpdatePipelineExecutionRequest, UpdatePipelineExecutionResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdatePipelineVersionRequest, UpdatePipelineVersionResponse } from "../models/models_4";
3
+ import type { UpdatePipelineVersionRequest, UpdatePipelineVersionResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateProjectInput, UpdateProjectOutput } from "../models/models_4";
3
+ import type { UpdateProjectInput, UpdateProjectOutput } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateSpaceRequest, UpdateSpaceResponse } from "../models/models_4";
3
+ import type { UpdateSpaceRequest, UpdateSpaceResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateTrainingJobRequest, UpdateTrainingJobResponse } from "../models/models_4";
3
+ import type { UpdateTrainingJobRequest, UpdateTrainingJobResponse } from "../models/models_5";
4
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateTrialRequest } from "../models/models_4";
4
- import type { UpdateTrialResponse } from "../models/models_5";
3
+ import type { UpdateTrialRequest, UpdateTrialResponse } from "../models/models_5";
5
4
  import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  /**
7
6
  * @public
@@ -44,6 +44,7 @@ export * from "./CreateImageVersionCommand";
44
44
  export * from "./CreateInferenceComponentCommand";
45
45
  export * from "./CreateInferenceExperimentCommand";
46
46
  export * from "./CreateInferenceRecommendationsJobCommand";
47
+ export * from "./CreateJobCommand";
47
48
  export * from "./CreateLabelingJobCommand";
48
49
  export * from "./CreateMlflowAppCommand";
49
50
  export * from "./CreateMlflowTrackingServerCommand";
@@ -112,6 +113,7 @@ export * from "./DeleteImageCommand";
112
113
  export * from "./DeleteImageVersionCommand";
113
114
  export * from "./DeleteInferenceComponentCommand";
114
115
  export * from "./DeleteInferenceExperimentCommand";
116
+ export * from "./DeleteJobCommand";
115
117
  export * from "./DeleteMlflowAppCommand";
116
118
  export * from "./DeleteMlflowTrackingServerCommand";
117
119
  export * from "./DeleteModelBiasJobDefinitionCommand";
@@ -179,6 +181,8 @@ export * from "./DescribeImageVersionCommand";
179
181
  export * from "./DescribeInferenceComponentCommand";
180
182
  export * from "./DescribeInferenceExperimentCommand";
181
183
  export * from "./DescribeInferenceRecommendationsJobCommand";
184
+ export * from "./DescribeJobCommand";
185
+ export * from "./DescribeJobSchemaVersionCommand";
182
186
  export * from "./DescribeLabelingJobCommand";
183
187
  export * from "./DescribeLineageGroupCommand";
184
188
  export * from "./DescribeMlflowAppCommand";
@@ -268,6 +272,8 @@ export * from "./ListInferenceComponentsCommand";
268
272
  export * from "./ListInferenceExperimentsCommand";
269
273
  export * from "./ListInferenceRecommendationsJobStepsCommand";
270
274
  export * from "./ListInferenceRecommendationsJobsCommand";
275
+ export * from "./ListJobSchemaVersionsCommand";
276
+ export * from "./ListJobsCommand";
271
277
  export * from "./ListLabelingJobsCommand";
272
278
  export * from "./ListLabelingJobsForWorkteamCommand";
273
279
  export * from "./ListLineageGroupsCommand";
@@ -340,6 +346,7 @@ export * from "./StopEdgePackagingJobCommand";
340
346
  export * from "./StopHyperParameterTuningJobCommand";
341
347
  export * from "./StopInferenceExperimentCommand";
342
348
  export * from "./StopInferenceRecommendationsJobCommand";
349
+ export * from "./StopJobCommand";
343
350
  export * from "./StopLabelingJobCommand";
344
351
  export * from "./StopMlflowTrackingServerCommand";
345
352
  export * from "./StopMonitoringScheduleCommand";
@@ -3505,6 +3505,18 @@ export declare const FlatInvocations: {
3505
3505
  * @public
3506
3506
  */
3507
3507
  export type FlatInvocations = (typeof FlatInvocations)[keyof typeof FlatInvocations];
3508
+ /**
3509
+ * @public
3510
+ * @enum
3511
+ */
3512
+ export declare const JobCategory: {
3513
+ readonly AGENT_RFT: "AgentRFT";
3514
+ readonly AGENT_RFT_EVALUATION: "AgentRFTEvaluation";
3515
+ };
3516
+ /**
3517
+ * @public
3518
+ */
3519
+ export type JobCategory = (typeof JobCategory)[keyof typeof JobCategory];
3508
3520
  /**
3509
3521
  * @public
3510
3522
  * @enum
@@ -4569,6 +4581,48 @@ export declare const RecommendationJobStatus: {
4569
4581
  * @public
4570
4582
  */
4571
4583
  export type RecommendationJobStatus = (typeof RecommendationJobStatus)[keyof typeof RecommendationJobStatus];
4584
+ /**
4585
+ * @public
4586
+ * @enum
4587
+ */
4588
+ export declare const JobStatus: {
4589
+ readonly COMPLETED: "Completed";
4590
+ readonly DELETE_FAILED: "DeleteFailed";
4591
+ readonly DELETING: "Deleting";
4592
+ readonly FAILED: "Failed";
4593
+ readonly IN_PROGRESS: "InProgress";
4594
+ readonly STOPPED: "Stopped";
4595
+ readonly STOPPING: "Stopping";
4596
+ };
4597
+ /**
4598
+ * @public
4599
+ */
4600
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
4601
+ /**
4602
+ * @public
4603
+ * @enum
4604
+ */
4605
+ export declare const JobSecondaryStatus: {
4606
+ readonly COMPLETED: "Completed";
4607
+ readonly DELETE_FAILED: "DeleteFailed";
4608
+ readonly DELETING: "Deleting";
4609
+ readonly DOWNLOADING: "Downloading";
4610
+ readonly EVALUATING: "Evaluating";
4611
+ readonly FAILED: "Failed";
4612
+ readonly INTERRUPTED: "Interrupted";
4613
+ readonly MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded";
4614
+ readonly PENDING: "Pending";
4615
+ readonly RESTARTING: "Restarting";
4616
+ readonly STARTING: "Starting";
4617
+ readonly STOPPED: "Stopped";
4618
+ readonly STOPPING: "Stopping";
4619
+ readonly TRAINING: "Training";
4620
+ readonly UPLOADING: "Uploading";
4621
+ };
4622
+ /**
4623
+ * @public
4624
+ */
4625
+ export type JobSecondaryStatus = (typeof JobSecondaryStatus)[keyof typeof JobSecondaryStatus];
4572
4626
  /**
4573
4627
  * @public
4574
4628
  * @enum