@aws-sdk/client-sagemaker 3.683.0 → 3.684.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +120 -12
- package/dist-es/SageMaker.js +2 -0
- package/dist-es/commands/BatchDeleteClusterNodesCommand.js +22 -0
- package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/models/models_3.js +0 -5
- package/dist-es/models/models_4.js +5 -5
- package/dist-es/models/models_5.js +5 -1
- package/dist-es/protocols/Aws_json1_1.js +49 -0
- package/dist-types/SageMaker.d.ts +7 -0
- package/dist-types/SageMakerClient.d.ts +3 -2
- package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +102 -0
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -4
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +8 -8
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreatePipelineCommand.d.ts +1 -2
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -3
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +8 -8
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -0
- package/dist-types/commands/SearchCommand.d.ts +8 -8
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +5 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +114 -164
- package/dist-types/models/models_1.d.ts +161 -101
- package/dist-types/models/models_2.d.ts +101 -137
- package/dist-types/models/models_3.d.ts +138 -123
- package/dist-types/models/models_4.d.ts +129 -78
- package/dist-types/models/models_5.d.ts +78 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/SageMaker.d.ts +17 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchDeleteClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -24
- package/dist-types/ts3.4/models/models_1.d.ts +26 -22
- package/dist-types/ts3.4/models/models_2.d.ts +22 -33
- package/dist-types/ts3.4/models/models_3.d.ts +35 -33
- package/dist-types/ts3.4/models/models_4.d.ts +35 -25
- package/dist-types/ts3.4/models/models_5.d.ts +25 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1724,6 +1724,22 @@ export declare const TrainingInstanceType: {
|
|
|
1724
1724
|
readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
|
|
1725
1725
|
readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
|
|
1726
1726
|
readonly ML_G5_XLARGE: "ml.g5.xlarge";
|
|
1727
|
+
readonly ML_G6E_12XLARGE: "ml.g6e.12xlarge";
|
|
1728
|
+
readonly ML_G6E_16XLARGE: "ml.g6e.16xlarge";
|
|
1729
|
+
readonly ML_G6E_24XLARGE: "ml.g6e.24xlarge";
|
|
1730
|
+
readonly ML_G6E_2XLARGE: "ml.g6e.2xlarge";
|
|
1731
|
+
readonly ML_G6E_48XLARGE: "ml.g6e.48xlarge";
|
|
1732
|
+
readonly ML_G6E_4XLARGE: "ml.g6e.4xlarge";
|
|
1733
|
+
readonly ML_G6E_8XLARGE: "ml.g6e.8xlarge";
|
|
1734
|
+
readonly ML_G6E_XLARGE: "ml.g6e.xlarge";
|
|
1735
|
+
readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
|
|
1736
|
+
readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
|
|
1737
|
+
readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
|
|
1738
|
+
readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
|
|
1739
|
+
readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
|
|
1740
|
+
readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
|
|
1741
|
+
readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
|
|
1742
|
+
readonly ML_G6_XLARGE: "ml.g6.xlarge";
|
|
1727
1743
|
readonly ML_M4_10XLARGE: "ml.m4.10xlarge";
|
|
1728
1744
|
readonly ML_M4_16XLARGE: "ml.m4.16xlarge";
|
|
1729
1745
|
readonly ML_M4_2XLARGE: "ml.m4.2xlarge";
|
|
@@ -7098,6 +7114,77 @@ export interface BatchDataCaptureConfig {
|
|
|
7098
7114
|
*/
|
|
7099
7115
|
GenerateInferenceId?: boolean;
|
|
7100
7116
|
}
|
|
7117
|
+
/**
|
|
7118
|
+
* @public
|
|
7119
|
+
*/
|
|
7120
|
+
export interface BatchDeleteClusterNodesRequest {
|
|
7121
|
+
/**
|
|
7122
|
+
* <p>The name of the SageMaker HyperPod cluster from which to delete the specified nodes.</p>
|
|
7123
|
+
* @public
|
|
7124
|
+
*/
|
|
7125
|
+
ClusterName: string | undefined;
|
|
7126
|
+
/**
|
|
7127
|
+
* <p>A list of node IDs to be deleted from the specified cluster.</p>
|
|
7128
|
+
* <note>
|
|
7129
|
+
* <p>For SageMaker HyperPod clusters using the Slurm workload manager,
|
|
7130
|
+
* you cannot remove instances that are configured as Slurm controller nodes.</p>
|
|
7131
|
+
* </note>
|
|
7132
|
+
* @public
|
|
7133
|
+
*/
|
|
7134
|
+
NodeIds: string[] | undefined;
|
|
7135
|
+
}
|
|
7136
|
+
/**
|
|
7137
|
+
* @public
|
|
7138
|
+
* @enum
|
|
7139
|
+
*/
|
|
7140
|
+
export declare const BatchDeleteClusterNodesErrorCode: {
|
|
7141
|
+
readonly INVALID_NODE_STATUS: "InvalidNodeStatus";
|
|
7142
|
+
readonly NODE_ID_IN_USE: "NodeIdInUse";
|
|
7143
|
+
readonly NODE_ID_NOT_FOUND: "NodeIdNotFound";
|
|
7144
|
+
};
|
|
7145
|
+
/**
|
|
7146
|
+
* @public
|
|
7147
|
+
*/
|
|
7148
|
+
export type BatchDeleteClusterNodesErrorCode = (typeof BatchDeleteClusterNodesErrorCode)[keyof typeof BatchDeleteClusterNodesErrorCode];
|
|
7149
|
+
/**
|
|
7150
|
+
* <p>Represents an error encountered when deleting a node from a SageMaker HyperPod cluster.</p>
|
|
7151
|
+
* @public
|
|
7152
|
+
*/
|
|
7153
|
+
export interface BatchDeleteClusterNodesError {
|
|
7154
|
+
/**
|
|
7155
|
+
* <p>The error code associated with the error encountered when deleting a node.</p>
|
|
7156
|
+
* <p>The code provides information about the specific issue encountered, such as the node not
|
|
7157
|
+
* being found, the node's status being invalid for deletion, or the node ID being in use by
|
|
7158
|
+
* another process.</p>
|
|
7159
|
+
* @public
|
|
7160
|
+
*/
|
|
7161
|
+
Code: BatchDeleteClusterNodesErrorCode | undefined;
|
|
7162
|
+
/**
|
|
7163
|
+
* <p>A message describing the error encountered when deleting a node.</p>
|
|
7164
|
+
* @public
|
|
7165
|
+
*/
|
|
7166
|
+
Message: string | undefined;
|
|
7167
|
+
/**
|
|
7168
|
+
* <p>The ID of the node that encountered an error during the deletion process.</p>
|
|
7169
|
+
* @public
|
|
7170
|
+
*/
|
|
7171
|
+
NodeId: string | undefined;
|
|
7172
|
+
}
|
|
7173
|
+
/**
|
|
7174
|
+
* @public
|
|
7175
|
+
*/
|
|
7176
|
+
export interface BatchDeleteClusterNodesResponse {
|
|
7177
|
+
/**
|
|
7178
|
+
* <p>A list of errors encountered when deleting the specified nodes.</p>
|
|
7179
|
+
* @public
|
|
7180
|
+
*/
|
|
7181
|
+
Failed?: BatchDeleteClusterNodesError[];
|
|
7182
|
+
/**
|
|
7183
|
+
* <p>A list of node IDs that were successfully deleted from the specified cluster.</p>
|
|
7184
|
+
* @public
|
|
7185
|
+
*/
|
|
7186
|
+
Successful?: string[];
|
|
7187
|
+
}
|
|
7101
7188
|
/**
|
|
7102
7189
|
* @public
|
|
7103
7190
|
*/
|
|
@@ -8525,6 +8612,24 @@ export declare const ClusterInstanceType: {
|
|
|
8525
8612
|
readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
|
|
8526
8613
|
readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
|
|
8527
8614
|
readonly ML_G5_XLARGE: "ml.g5.xlarge";
|
|
8615
|
+
readonly ML_G6E_12XLARGE: "ml.g6e.12xlarge";
|
|
8616
|
+
readonly ML_G6E_16XLARGE: "ml.g6e.16xlarge";
|
|
8617
|
+
readonly ML_G6E_24XLARGE: "ml.g6e.24xlarge";
|
|
8618
|
+
readonly ML_G6E_2XLARGE: "ml.g6e.2xlarge";
|
|
8619
|
+
readonly ML_G6E_48XLARGE: "ml.g6e.48xlarge";
|
|
8620
|
+
readonly ML_G6E_4XLARGE: "ml.g6e.4xlarge";
|
|
8621
|
+
readonly ML_G6E_8XLARGE: "ml.g6e.8xlarge";
|
|
8622
|
+
readonly ML_G6E_XLARGE: "ml.g6e.xlarge";
|
|
8623
|
+
readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
|
|
8624
|
+
readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
|
|
8625
|
+
readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
|
|
8626
|
+
readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
|
|
8627
|
+
readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
|
|
8628
|
+
readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
|
|
8629
|
+
readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
|
|
8630
|
+
readonly ML_G6_XLARGE: "ml.g6.xlarge";
|
|
8631
|
+
readonly ML_GR6_4XLARGE: "ml.gr6.4xlarge";
|
|
8632
|
+
readonly ML_GR6_8XLARGE: "ml.gr6.8xlarge";
|
|
8528
8633
|
readonly ML_M5_12XLARGE: "ml.m5.12xlarge";
|
|
8529
8634
|
readonly ML_M5_16XLARGE: "ml.m5.16xlarge";
|
|
8530
8635
|
readonly ML_M5_24XLARGE: "ml.m5.24xlarge";
|
|
@@ -8535,6 +8640,7 @@ export declare const ClusterInstanceType: {
|
|
|
8535
8640
|
readonly ML_M5_XLARGE: "ml.m5.xlarge";
|
|
8536
8641
|
readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
|
|
8537
8642
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
8643
|
+
readonly ML_P5E_48XLARGE: "ml.p5e.48xlarge";
|
|
8538
8644
|
readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
|
|
8539
8645
|
readonly ML_T3_2XLARGE: "ml.t3.2xlarge";
|
|
8540
8646
|
readonly ML_T3_LARGE: "ml.t3.large";
|
|
@@ -8637,7 +8743,8 @@ export interface ClusterInstanceGroupDetails {
|
|
|
8637
8743
|
*/
|
|
8638
8744
|
InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
|
|
8639
8745
|
/**
|
|
8640
|
-
* <p>A flag indicating whether deep health checks should be performed when the cluster
|
|
8746
|
+
* <p>A flag indicating whether deep health checks should be performed when the cluster
|
|
8747
|
+
* instance group is created or updated.</p>
|
|
8641
8748
|
* @public
|
|
8642
8749
|
*/
|
|
8643
8750
|
OnStartDeepHealthChecks?: DeepHealthCheckType[];
|
|
@@ -8691,7 +8798,8 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
8691
8798
|
*/
|
|
8692
8799
|
InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
|
|
8693
8800
|
/**
|
|
8694
|
-
* <p>A flag indicating whether deep health checks should be performed when the cluster
|
|
8801
|
+
* <p>A flag indicating whether deep health checks should be performed when the cluster
|
|
8802
|
+
* instance group is created or updated.</p>
|
|
8695
8803
|
* @public
|
|
8696
8804
|
*/
|
|
8697
8805
|
OnStartDeepHealthChecks?: DeepHealthCheckType[];
|
|
@@ -8855,12 +8963,14 @@ export interface ClusterNodeSummary {
|
|
|
8855
8963
|
InstanceStatus: ClusterInstanceStatusDetails | undefined;
|
|
8856
8964
|
}
|
|
8857
8965
|
/**
|
|
8858
|
-
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the
|
|
8966
|
+
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the
|
|
8967
|
+
* SageMaker HyperPod cluster.</p>
|
|
8859
8968
|
* @public
|
|
8860
8969
|
*/
|
|
8861
8970
|
export interface ClusterOrchestratorEksConfig {
|
|
8862
8971
|
/**
|
|
8863
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod
|
|
8972
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod
|
|
8973
|
+
* cluster.</p>
|
|
8864
8974
|
* @public
|
|
8865
8975
|
*/
|
|
8866
8976
|
ClusterArn: string | undefined;
|
|
@@ -10101,163 +10211,3 @@ export interface TrainingSpecification {
|
|
|
10101
10211
|
*/
|
|
10102
10212
|
AdditionalS3DataSource?: AdditionalS3DataSource;
|
|
10103
10213
|
}
|
|
10104
|
-
/**
|
|
10105
|
-
* @public
|
|
10106
|
-
*/
|
|
10107
|
-
export interface CreateAlgorithmInput {
|
|
10108
|
-
/**
|
|
10109
|
-
* <p>The name of the algorithm.</p>
|
|
10110
|
-
* @public
|
|
10111
|
-
*/
|
|
10112
|
-
AlgorithmName: string | undefined;
|
|
10113
|
-
/**
|
|
10114
|
-
* <p>A description of the algorithm.</p>
|
|
10115
|
-
* @public
|
|
10116
|
-
*/
|
|
10117
|
-
AlgorithmDescription?: string;
|
|
10118
|
-
/**
|
|
10119
|
-
* <p>Specifies details about training jobs run by this algorithm, including the
|
|
10120
|
-
* following:</p>
|
|
10121
|
-
* <ul>
|
|
10122
|
-
* <li>
|
|
10123
|
-
* <p>The Amazon ECR path of the container and the version digest of the
|
|
10124
|
-
* algorithm.</p>
|
|
10125
|
-
* </li>
|
|
10126
|
-
* <li>
|
|
10127
|
-
* <p>The hyperparameters that the algorithm supports.</p>
|
|
10128
|
-
* </li>
|
|
10129
|
-
* <li>
|
|
10130
|
-
* <p>The instance types that the algorithm supports for training.</p>
|
|
10131
|
-
* </li>
|
|
10132
|
-
* <li>
|
|
10133
|
-
* <p>Whether the algorithm supports distributed training.</p>
|
|
10134
|
-
* </li>
|
|
10135
|
-
* <li>
|
|
10136
|
-
* <p>The metrics that the algorithm emits to Amazon CloudWatch.</p>
|
|
10137
|
-
* </li>
|
|
10138
|
-
* <li>
|
|
10139
|
-
* <p>Which metrics that the algorithm emits can be used as the objective metric for
|
|
10140
|
-
* hyperparameter tuning jobs.</p>
|
|
10141
|
-
* </li>
|
|
10142
|
-
* <li>
|
|
10143
|
-
* <p>The input channels that the algorithm supports for training data. For example,
|
|
10144
|
-
* an algorithm might support <code>train</code>, <code>validation</code>, and
|
|
10145
|
-
* <code>test</code> channels.</p>
|
|
10146
|
-
* </li>
|
|
10147
|
-
* </ul>
|
|
10148
|
-
* @public
|
|
10149
|
-
*/
|
|
10150
|
-
TrainingSpecification: TrainingSpecification | undefined;
|
|
10151
|
-
/**
|
|
10152
|
-
* <p>Specifies details about inference jobs that the algorithm runs, including the
|
|
10153
|
-
* following:</p>
|
|
10154
|
-
* <ul>
|
|
10155
|
-
* <li>
|
|
10156
|
-
* <p>The Amazon ECR paths of containers that contain the inference code and model
|
|
10157
|
-
* artifacts.</p>
|
|
10158
|
-
* </li>
|
|
10159
|
-
* <li>
|
|
10160
|
-
* <p>The instance types that the algorithm supports for transform jobs and
|
|
10161
|
-
* real-time endpoints used for inference.</p>
|
|
10162
|
-
* </li>
|
|
10163
|
-
* <li>
|
|
10164
|
-
* <p>The input and output content formats that the algorithm supports for
|
|
10165
|
-
* inference.</p>
|
|
10166
|
-
* </li>
|
|
10167
|
-
* </ul>
|
|
10168
|
-
* @public
|
|
10169
|
-
*/
|
|
10170
|
-
InferenceSpecification?: InferenceSpecification;
|
|
10171
|
-
/**
|
|
10172
|
-
* <p>Specifies configurations for one or more training jobs and that SageMaker runs to test the
|
|
10173
|
-
* algorithm's training code and, optionally, one or more batch transform jobs that SageMaker
|
|
10174
|
-
* runs to test the algorithm's inference code.</p>
|
|
10175
|
-
* @public
|
|
10176
|
-
*/
|
|
10177
|
-
ValidationSpecification?: AlgorithmValidationSpecification;
|
|
10178
|
-
/**
|
|
10179
|
-
* <p>Whether to certify the algorithm so that it can be listed in Amazon Web Services
|
|
10180
|
-
* Marketplace.</p>
|
|
10181
|
-
* @public
|
|
10182
|
-
*/
|
|
10183
|
-
CertifyForMarketplace?: boolean;
|
|
10184
|
-
/**
|
|
10185
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
|
|
10186
|
-
* resources in different ways, for example, by purpose, owner, or environment. For more
|
|
10187
|
-
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
10188
|
-
* @public
|
|
10189
|
-
*/
|
|
10190
|
-
Tags?: Tag[];
|
|
10191
|
-
}
|
|
10192
|
-
/**
|
|
10193
|
-
* @public
|
|
10194
|
-
*/
|
|
10195
|
-
export interface CreateAlgorithmOutput {
|
|
10196
|
-
/**
|
|
10197
|
-
* <p>The Amazon Resource Name (ARN) of the new algorithm.</p>
|
|
10198
|
-
* @public
|
|
10199
|
-
*/
|
|
10200
|
-
AlgorithmArn: string | undefined;
|
|
10201
|
-
}
|
|
10202
|
-
/**
|
|
10203
|
-
* @public
|
|
10204
|
-
*/
|
|
10205
|
-
export interface CreateAppRequest {
|
|
10206
|
-
/**
|
|
10207
|
-
* <p>The domain ID.</p>
|
|
10208
|
-
* @public
|
|
10209
|
-
*/
|
|
10210
|
-
DomainId: string | undefined;
|
|
10211
|
-
/**
|
|
10212
|
-
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be
|
|
10213
|
-
* set.</p>
|
|
10214
|
-
* @public
|
|
10215
|
-
*/
|
|
10216
|
-
UserProfileName?: string;
|
|
10217
|
-
/**
|
|
10218
|
-
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be
|
|
10219
|
-
* set.</p>
|
|
10220
|
-
* @public
|
|
10221
|
-
*/
|
|
10222
|
-
SpaceName?: string;
|
|
10223
|
-
/**
|
|
10224
|
-
* <p>The type of app.</p>
|
|
10225
|
-
* @public
|
|
10226
|
-
*/
|
|
10227
|
-
AppType: AppType | undefined;
|
|
10228
|
-
/**
|
|
10229
|
-
* <p>The name of the app.</p>
|
|
10230
|
-
* @public
|
|
10231
|
-
*/
|
|
10232
|
-
AppName: string | undefined;
|
|
10233
|
-
/**
|
|
10234
|
-
* <p>Each tag consists of a key and an optional value. Tag keys must be unique per
|
|
10235
|
-
* resource.</p>
|
|
10236
|
-
* @public
|
|
10237
|
-
*/
|
|
10238
|
-
Tags?: Tag[];
|
|
10239
|
-
/**
|
|
10240
|
-
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
|
|
10241
|
-
* created on the instance.</p>
|
|
10242
|
-
* <note>
|
|
10243
|
-
* <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code>
|
|
10244
|
-
* in the <code>CreateApp</code> call overrides the value passed as part of the
|
|
10245
|
-
* <code>ResourceSpec</code> configured for the user profile or the domain. If
|
|
10246
|
-
* <code>InstanceType</code> is not specified in any of those three <code>ResourceSpec</code>
|
|
10247
|
-
* values for a <code>KernelGateway</code> app, the <code>CreateApp</code> call fails with a
|
|
10248
|
-
* request validation error.</p>
|
|
10249
|
-
* </note>
|
|
10250
|
-
* @public
|
|
10251
|
-
*/
|
|
10252
|
-
ResourceSpec?: ResourceSpec;
|
|
10253
|
-
}
|
|
10254
|
-
/**
|
|
10255
|
-
* @public
|
|
10256
|
-
*/
|
|
10257
|
-
export interface CreateAppResponse {
|
|
10258
|
-
/**
|
|
10259
|
-
* <p>The Amazon Resource Name (ARN) of the app.</p>
|
|
10260
|
-
* @public
|
|
10261
|
-
*/
|
|
10262
|
-
AppArn?: string;
|
|
10263
|
-
}
|
|
@@ -1,6 +1,166 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
|
|
2
|
-
import { AdditionalInferenceSpecificationDefinition, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ConvergenceDetected, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
2
|
+
import { AdditionalInferenceSpecificationDefinition, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ConvergenceDetected, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TrainingSpecification, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
3
3
|
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CreateAlgorithmInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The name of the algorithm.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
AlgorithmName: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>A description of the algorithm.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
AlgorithmDescription?: string;
|
|
18
|
+
/**
|
|
19
|
+
* <p>Specifies details about training jobs run by this algorithm, including the
|
|
20
|
+
* following:</p>
|
|
21
|
+
* <ul>
|
|
22
|
+
* <li>
|
|
23
|
+
* <p>The Amazon ECR path of the container and the version digest of the
|
|
24
|
+
* algorithm.</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>The hyperparameters that the algorithm supports.</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>The instance types that the algorithm supports for training.</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>Whether the algorithm supports distributed training.</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>The metrics that the algorithm emits to Amazon CloudWatch.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Which metrics that the algorithm emits can be used as the objective metric for
|
|
40
|
+
* hyperparameter tuning jobs.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>The input channels that the algorithm supports for training data. For example,
|
|
44
|
+
* an algorithm might support <code>train</code>, <code>validation</code>, and
|
|
45
|
+
* <code>test</code> channels.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
TrainingSpecification: TrainingSpecification | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Specifies details about inference jobs that the algorithm runs, including the
|
|
53
|
+
* following:</p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>The Amazon ECR paths of containers that contain the inference code and model
|
|
57
|
+
* artifacts.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>The instance types that the algorithm supports for transform jobs and
|
|
61
|
+
* real-time endpoints used for inference.</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>The input and output content formats that the algorithm supports for
|
|
65
|
+
* inference.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* </ul>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
InferenceSpecification?: InferenceSpecification;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Specifies configurations for one or more training jobs and that SageMaker runs to test the
|
|
73
|
+
* algorithm's training code and, optionally, one or more batch transform jobs that SageMaker
|
|
74
|
+
* runs to test the algorithm's inference code.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
ValidationSpecification?: AlgorithmValidationSpecification;
|
|
78
|
+
/**
|
|
79
|
+
* <p>Whether to certify the algorithm so that it can be listed in Amazon Web Services
|
|
80
|
+
* Marketplace.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
CertifyForMarketplace?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
|
|
86
|
+
* resources in different ways, for example, by purpose, owner, or environment. For more
|
|
87
|
+
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
Tags?: Tag[];
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export interface CreateAlgorithmOutput {
|
|
96
|
+
/**
|
|
97
|
+
* <p>The Amazon Resource Name (ARN) of the new algorithm.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
AlgorithmArn: string | undefined;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export interface CreateAppRequest {
|
|
106
|
+
/**
|
|
107
|
+
* <p>The domain ID.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
DomainId: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be
|
|
113
|
+
* set.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
UserProfileName?: string;
|
|
117
|
+
/**
|
|
118
|
+
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be
|
|
119
|
+
* set.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
SpaceName?: string;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The type of app.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
AppType: AppType | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The name of the app.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
AppName: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>Each tag consists of a key and an optional value. Tag keys must be unique per
|
|
135
|
+
* resource.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
Tags?: Tag[];
|
|
139
|
+
/**
|
|
140
|
+
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
|
|
141
|
+
* created on the instance.</p>
|
|
142
|
+
* <note>
|
|
143
|
+
* <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code>
|
|
144
|
+
* in the <code>CreateApp</code> call overrides the value passed as part of the
|
|
145
|
+
* <code>ResourceSpec</code> configured for the user profile or the domain. If
|
|
146
|
+
* <code>InstanceType</code> is not specified in any of those three <code>ResourceSpec</code>
|
|
147
|
+
* values for a <code>KernelGateway</code> app, the <code>CreateApp</code> call fails with a
|
|
148
|
+
* request validation error.</p>
|
|
149
|
+
* </note>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
ResourceSpec?: ResourceSpec;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export interface CreateAppResponse {
|
|
158
|
+
/**
|
|
159
|
+
* <p>The Amazon Resource Name (ARN) of the app.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
AppArn?: string;
|
|
163
|
+
}
|
|
4
164
|
/**
|
|
5
165
|
* <p>Resource being accessed is in use.</p>
|
|
6
166
|
* @public
|
|
@@ -11748,106 +11908,6 @@ export interface CreateOptimizationJobRequest {
|
|
|
11748
11908
|
*/
|
|
11749
11909
|
VpcConfig?: OptimizationVpcConfig;
|
|
11750
11910
|
}
|
|
11751
|
-
/**
|
|
11752
|
-
* @public
|
|
11753
|
-
*/
|
|
11754
|
-
export interface CreateOptimizationJobResponse {
|
|
11755
|
-
/**
|
|
11756
|
-
* <p>The Amazon Resource Name (ARN) of the optimization job.</p>
|
|
11757
|
-
* @public
|
|
11758
|
-
*/
|
|
11759
|
-
OptimizationJobArn: string | undefined;
|
|
11760
|
-
}
|
|
11761
|
-
/**
|
|
11762
|
-
* <p>Configuration that controls the parallelism of the pipeline.
|
|
11763
|
-
* By default, the parallelism configuration specified applies to all
|
|
11764
|
-
* executions of the pipeline unless overridden.</p>
|
|
11765
|
-
* @public
|
|
11766
|
-
*/
|
|
11767
|
-
export interface ParallelismConfiguration {
|
|
11768
|
-
/**
|
|
11769
|
-
* <p>The max number of steps that can be executed in parallel. </p>
|
|
11770
|
-
* @public
|
|
11771
|
-
*/
|
|
11772
|
-
MaxParallelExecutionSteps: number | undefined;
|
|
11773
|
-
}
|
|
11774
|
-
/**
|
|
11775
|
-
* <p>The location of the pipeline definition stored in Amazon S3.</p>
|
|
11776
|
-
* @public
|
|
11777
|
-
*/
|
|
11778
|
-
export interface PipelineDefinitionS3Location {
|
|
11779
|
-
/**
|
|
11780
|
-
* <p>Name of the S3 bucket.</p>
|
|
11781
|
-
* @public
|
|
11782
|
-
*/
|
|
11783
|
-
Bucket: string | undefined;
|
|
11784
|
-
/**
|
|
11785
|
-
* <p>The object key (or key name) uniquely identifies the
|
|
11786
|
-
* object in an S3 bucket. </p>
|
|
11787
|
-
* @public
|
|
11788
|
-
*/
|
|
11789
|
-
ObjectKey: string | undefined;
|
|
11790
|
-
/**
|
|
11791
|
-
* <p>Version Id of the pipeline definition file. If not specified, Amazon SageMaker
|
|
11792
|
-
* will retrieve the latest version.</p>
|
|
11793
|
-
* @public
|
|
11794
|
-
*/
|
|
11795
|
-
VersionId?: string;
|
|
11796
|
-
}
|
|
11797
|
-
/**
|
|
11798
|
-
* @public
|
|
11799
|
-
*/
|
|
11800
|
-
export interface CreatePipelineRequest {
|
|
11801
|
-
/**
|
|
11802
|
-
* <p>The name of the pipeline.</p>
|
|
11803
|
-
* @public
|
|
11804
|
-
*/
|
|
11805
|
-
PipelineName: string | undefined;
|
|
11806
|
-
/**
|
|
11807
|
-
* <p>The display name of the pipeline.</p>
|
|
11808
|
-
* @public
|
|
11809
|
-
*/
|
|
11810
|
-
PipelineDisplayName?: string;
|
|
11811
|
-
/**
|
|
11812
|
-
* <p>The <a href="https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/">JSON
|
|
11813
|
-
* pipeline definition</a> of the pipeline.</p>
|
|
11814
|
-
* @public
|
|
11815
|
-
*/
|
|
11816
|
-
PipelineDefinition?: string;
|
|
11817
|
-
/**
|
|
11818
|
-
* <p>The location of the pipeline definition stored in Amazon S3. If specified,
|
|
11819
|
-
* SageMaker will retrieve the pipeline definition from this location.</p>
|
|
11820
|
-
* @public
|
|
11821
|
-
*/
|
|
11822
|
-
PipelineDefinitionS3Location?: PipelineDefinitionS3Location;
|
|
11823
|
-
/**
|
|
11824
|
-
* <p>A description of the pipeline.</p>
|
|
11825
|
-
* @public
|
|
11826
|
-
*/
|
|
11827
|
-
PipelineDescription?: string;
|
|
11828
|
-
/**
|
|
11829
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
11830
|
-
* operation. An idempotent operation completes no more than one time.</p>
|
|
11831
|
-
* @public
|
|
11832
|
-
*/
|
|
11833
|
-
ClientRequestToken?: string;
|
|
11834
|
-
/**
|
|
11835
|
-
* <p>The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources.</p>
|
|
11836
|
-
* @public
|
|
11837
|
-
*/
|
|
11838
|
-
RoleArn: string | undefined;
|
|
11839
|
-
/**
|
|
11840
|
-
* <p>A list of tags to apply to the created pipeline.</p>
|
|
11841
|
-
* @public
|
|
11842
|
-
*/
|
|
11843
|
-
Tags?: Tag[];
|
|
11844
|
-
/**
|
|
11845
|
-
* <p>This is the configuration that controls the parallelism of the pipeline.
|
|
11846
|
-
* If specified, it applies to all runs of this pipeline by default.</p>
|
|
11847
|
-
* @public
|
|
11848
|
-
*/
|
|
11849
|
-
ParallelismConfiguration?: ParallelismConfiguration;
|
|
11850
|
-
}
|
|
11851
11911
|
/**
|
|
11852
11912
|
* @internal
|
|
11853
11913
|
*/
|