@aws-sdk/client-sagemaker 3.1174.0 → 3.1176.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 +28 -0
- package/dist-cjs/index.js +253 -24
- package/dist-es/SageMaker.js +14 -0
- package/dist-es/commands/DescribeCapacityReservationCommand.js +4 -0
- package/dist-es/commands/DescribeResourceAssociationsCommand.js +4 -0
- package/dist-es/commands/GetCapacityReservationUsageCommand.js +4 -0
- package/dist-es/commands/ListCapacityReservationsCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +26 -0
- package/dist-es/pagination/DescribeResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/GetCapacityReservationUsagePaginator.js +4 -0
- package/dist-es/pagination/ListCapacityReservationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +169 -23
- package/dist-types/SageMaker.d.ts +50 -0
- package/dist-types/SageMakerClient.d.ts +6 -2
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceAssociationsCommand.d.ts +96 -0
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +92 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/commands/ListCapacityReservationsCommand.d.ts +95 -0
- package/dist-types/commands/QueryLineageCommand.d.ts +2 -1
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveInferenceGatewayCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +74 -0
- package/dist-types/models/models_0.d.ts +283 -319
- package/dist-types/models/models_1.d.ts +320 -178
- package/dist-types/models/models_2.d.ts +199 -217
- package/dist-types/models/models_3.d.ts +318 -621
- package/dist-types/models/models_4.d.ts +4241 -4118
- package/dist-types/models/models_5.d.ts +535 -6
- package/dist-types/pagination/DescribeResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCapacityReservationUsagePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityReservationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/SageMaker.d.ts +90 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeResourceAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveInferenceGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/models_0.d.ts +85 -73
- package/dist-types/ts3.4/models/models_1.d.ts +78 -44
- package/dist-types/ts3.4/models/models_2.d.ts +49 -60
- package/dist-types/ts3.4/models/models_3.d.ts +87 -141
- package/dist-types/ts3.4/models/models_4.d.ts +166 -154
- package/dist-types/ts3.4/models/models_5.d.ts +148 -6
- package/dist-types/ts3.4/pagination/DescribeResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCapacityReservationUsagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityReservationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +3 -3
|
@@ -1,6 +1,182 @@
|
|
|
1
|
-
import type { _InstanceType, ActionStatus, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppStatus, AppType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery,
|
|
2
|
-
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputResult, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendation, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputResult, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmSpecification, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppSpecification, ArtifactSource, AthenaDatasetDefinition, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchTransformInput, Bias, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails,
|
|
3
|
-
import type { ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, DeviceSelectionConfig,
|
|
1
|
+
import type { _InstanceType, ActionStatus, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppStatus, AppType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DirectInternetAccess, EnabledOrDisabled, EvaluationType, FeatureStatus, HubContentType, InputMode, IPAddressType, JobCategory, JoinSource, ManagedStorageType, ModelApprovalStatus, ModelCardStatus, ModelPackageRegistrationType, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringProblemType, MonitoringType, NotebookInstanceAcceleratorType, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RootAccess, RuleEvaluationStatus, ServerlessJobType, SharingType, SkipModelValidation, StageStatus, Statistic, StudioLifecycleConfigAppType, TrialComponentPrimaryStatus, WorkforceIpAddressType } from "./enums";
|
|
2
|
+
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputResult, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendation, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputResult, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmSpecification, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppSpecification, ArtifactSource, AthenaDatasetDefinition, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchTransformInput, Bias, CapacityReservationDetail, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails, CodeEditorAppImageConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
|
|
3
|
+
import type { ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, DeviceSelectionConfig, EdgeDeploymentConfig, EndpointInput, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, ModelDeployConfig, MonitoringConstraintsResource, MonitoringGroundTruthS3Input, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, RetryStrategy, TrainingSpecification, UserSettings } from "./models_1";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Docker container image configuration object for the model explainability job.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ModelExplainabilityAppSpecification {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The container image to be run by the model explainability job.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
ImageUri: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>JSON formatted Amazon S3 file that defines explainability parameters. For more information on this JSON configuration file, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html">Configure model explainability parameters</a>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
ConfigUri: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Sets the environment variables in the Docker container.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
Environment?: Record<string, string> | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>The configuration for a baseline model explainability job.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface ModelExplainabilityBaselineConfig {
|
|
30
|
+
/**
|
|
31
|
+
* <p>The name of the baseline model explainability job.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
BaseliningJobName?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The constraints resource for a monitoring job.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
ConstraintsResource?: MonitoringConstraintsResource | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Inputs for the model explainability job.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface ModelExplainabilityJobInput {
|
|
46
|
+
/**
|
|
47
|
+
* <p>Input object for the endpoint</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
EndpointInput?: EndpointInput | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Input object for the batch transform job.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
BatchTransformInput?: BatchTransformInput | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export interface CreateModelExplainabilityJobDefinitionRequest {
|
|
61
|
+
/**
|
|
62
|
+
* <p> The name of the model explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
JobDefinitionName: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The baseline configuration for a model explainability job.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
ModelExplainabilityBaselineConfig?: ModelExplainabilityBaselineConfig | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Configures the model explainability job to run a specified Docker container image.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
ModelExplainabilityAppSpecification: ModelExplainabilityAppSpecification | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>Inputs for the model explainability job.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
ModelExplainabilityJobInput: ModelExplainabilityJobInput | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The output configuration for monitoring jobs.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
ModelExplainabilityJobOutputConfig: MonitoringOutputConfig | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>Identifies the resources to deploy for a monitoring job.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
JobResources: MonitoringResources | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Networking options for a model explainability job.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
NetworkConfig?: MonitoringNetworkConfig | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
RoleArn: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>A time limit for how long the monitoring job is allowed to run before stopping.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
StoppingCondition?: MonitoringStoppingCondition | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>(Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL"> Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
Tags?: Tag[] | undefined;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface CreateModelExplainabilityJobDefinitionResponse {
|
|
116
|
+
/**
|
|
117
|
+
* <p>The Amazon Resource Name (ARN) of the model explainability job.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
JobDefinitionArn: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* <p>Contains details regarding the file source.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export interface FileSource {
|
|
127
|
+
/**
|
|
128
|
+
* <p>The type of content stored in the file source.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
ContentType?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The digest of the file source.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
ContentDigest?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The Amazon S3 URI for the file source.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
S3Uri: string | undefined;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* <p>Represents the drift check bias baselines that can be used when the model monitor is set using the model package.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export interface DriftCheckBias {
|
|
148
|
+
/**
|
|
149
|
+
* <p>The bias config file for a model.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
ConfigFile?: FileSource | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The pre-training constraints.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
PreTrainingConstraints?: MetricsSource | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The post-training constraints.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
PostTrainingConstraints?: MetricsSource | undefined;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* <p>Represents the drift check explainability baselines that can be used when the model monitor is set using the model package. </p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface DriftCheckExplainability {
|
|
169
|
+
/**
|
|
170
|
+
* <p>The drift check explainability constraints.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
Constraints?: MetricsSource | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The explainability config file for the model.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
ConfigFile?: FileSource | undefined;
|
|
179
|
+
}
|
|
4
180
|
/**
|
|
5
181
|
* <p>Represents the drift check data quality baselines that can be used when the model monitor is set using the model package. </p>
|
|
6
182
|
* @public
|
|
@@ -5861,6 +6037,26 @@ export interface DescribeAutoMLJobV2Response {
|
|
|
5861
6037
|
*/
|
|
5862
6038
|
AutoMLComputeConfig?: AutoMLComputeConfig | undefined;
|
|
5863
6039
|
}
|
|
6040
|
+
/**
|
|
6041
|
+
* @public
|
|
6042
|
+
*/
|
|
6043
|
+
export interface DescribeCapacityReservationRequest {
|
|
6044
|
+
/**
|
|
6045
|
+
* <p>The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation. The ARN has the format <code>arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id</code>.</p>
|
|
6046
|
+
* @public
|
|
6047
|
+
*/
|
|
6048
|
+
SMCapacityReservationArn: string | undefined;
|
|
6049
|
+
}
|
|
6050
|
+
/**
|
|
6051
|
+
* @public
|
|
6052
|
+
*/
|
|
6053
|
+
export interface DescribeCapacityReservationResponse {
|
|
6054
|
+
/**
|
|
6055
|
+
* <p>Details about the SageMaker Capacity Reservation.</p>
|
|
6056
|
+
* @public
|
|
6057
|
+
*/
|
|
6058
|
+
CapacityReservation: CapacityReservationDetail | undefined;
|
|
6059
|
+
}
|
|
5864
6060
|
/**
|
|
5865
6061
|
* @public
|
|
5866
6062
|
*/
|
|
@@ -5976,217 +6172,3 @@ export interface DescribeClusterEventResponse {
|
|
|
5976
6172
|
*/
|
|
5977
6173
|
EventDetails?: ClusterEventDetail | undefined;
|
|
5978
6174
|
}
|
|
5979
|
-
/**
|
|
5980
|
-
* @public
|
|
5981
|
-
*/
|
|
5982
|
-
export interface DescribeClusterExtensionRequest {
|
|
5983
|
-
/**
|
|
5984
|
-
* <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.</p>
|
|
5985
|
-
* @public
|
|
5986
|
-
*/
|
|
5987
|
-
ClusterArn: string | undefined;
|
|
5988
|
-
/**
|
|
5989
|
-
* <p>The Amazon Resource Name (ARN) of the extension to describe. <code>CreateClusterExtension</code> returns this ARN, and <code>ListClusterExtensions</code> lists it. If you delete an extension and create it again, the new extension has a new ARN.</p>
|
|
5990
|
-
* @public
|
|
5991
|
-
*/
|
|
5992
|
-
ExtensionArn: string | undefined;
|
|
5993
|
-
}
|
|
5994
|
-
/**
|
|
5995
|
-
* <p>Details of an extension installed on a SageMaker HyperPod cluster.</p>
|
|
5996
|
-
* @public
|
|
5997
|
-
*/
|
|
5998
|
-
export interface ExtensionDetails {
|
|
5999
|
-
/**
|
|
6000
|
-
* <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.</p>
|
|
6001
|
-
* @public
|
|
6002
|
-
*/
|
|
6003
|
-
ClusterArn: string | undefined;
|
|
6004
|
-
/**
|
|
6005
|
-
* <p>The Amazon Resource Name (ARN) of the extension.</p>
|
|
6006
|
-
* @public
|
|
6007
|
-
*/
|
|
6008
|
-
ExtensionArn: string | undefined;
|
|
6009
|
-
/**
|
|
6010
|
-
* <p>The name of the extension.</p>
|
|
6011
|
-
* @public
|
|
6012
|
-
*/
|
|
6013
|
-
ExtensionName: string | undefined;
|
|
6014
|
-
/**
|
|
6015
|
-
* <p>The version of the extension. While SageMaker HyperPod creates or updates the extension, some nodes might still run a different version. To see how many nodes run this version, see <code>NodeSummary</code>.</p>
|
|
6016
|
-
* @public
|
|
6017
|
-
*/
|
|
6018
|
-
ExtensionVersion: string | undefined;
|
|
6019
|
-
/**
|
|
6020
|
-
* <p>The status of the extension can be one of the following values:</p> <dl> <dt>Creating</dt> <dd> <p>SageMaker HyperPod is installing the extension on the cluster's nodes.</p> </dd> <dt>Active</dt> <dd> <p>The extension runs its current version and configuration on all of the cluster's nodes.</p> </dd> <dt>Updating</dt> <dd> <p>SageMaker HyperPod is applying a configuration change or version update to the cluster's nodes.</p> </dd> <dt>Degraded</dt> <dd> <p>The extension runs its current version and configuration on some of the cluster's nodes but not all of them. Or, at least one node recently reported that the extension is unhealthy.</p> </dd> <dt>CreateFailed</dt> <dd> <p>SageMaker HyperPod couldn't install the extension on any of the cluster's nodes.</p> </dd> <dt>UpdateFailed</dt> <dd> <p>SageMaker HyperPod couldn't apply the update on any of the cluster's nodes.</p> </dd> <dt>Deleting</dt> <dd> <p>SageMaker HyperPod is removing the extension from the cluster's nodes.</p> </dd> <dt>DeleteFailed</dt> <dd> <p>SageMaker HyperPod couldn't remove the extension from any of the cluster's nodes.</p> </dd> </dl>
|
|
6021
|
-
* @public
|
|
6022
|
-
*/
|
|
6023
|
-
Status: ExtensionStatus | undefined;
|
|
6024
|
-
/**
|
|
6025
|
-
* <p>The configuration of the extension, as a JSON object serialized as a string. The configuration includes the default value of every setting that you didn't specify.</p>
|
|
6026
|
-
* @public
|
|
6027
|
-
*/
|
|
6028
|
-
ConfigurationValues?: string | undefined;
|
|
6029
|
-
/**
|
|
6030
|
-
* <p>The time when the extension was created.</p>
|
|
6031
|
-
* @public
|
|
6032
|
-
*/
|
|
6033
|
-
CreationTime?: Date | undefined;
|
|
6034
|
-
/**
|
|
6035
|
-
* <p>The time when the extension was last updated.</p>
|
|
6036
|
-
* @public
|
|
6037
|
-
*/
|
|
6038
|
-
LastModifiedTime?: Date | undefined;
|
|
6039
|
-
}
|
|
6040
|
-
/**
|
|
6041
|
-
* <p>Information about a problem that affects an extension on one or more nodes of a SageMaker HyperPod cluster, including the number of nodes that it affects.</p>
|
|
6042
|
-
* @public
|
|
6043
|
-
*/
|
|
6044
|
-
export interface ExtensionHealthIssue {
|
|
6045
|
-
/**
|
|
6046
|
-
* <p>A code that describes the type of issue.</p>
|
|
6047
|
-
* @public
|
|
6048
|
-
*/
|
|
6049
|
-
Code: ExtensionHealthIssueCode | undefined;
|
|
6050
|
-
/**
|
|
6051
|
-
* <p>A description of the problem, for example the setting or component to check. Every node with the same problem has the same message.</p>
|
|
6052
|
-
* @public
|
|
6053
|
-
*/
|
|
6054
|
-
Message: string | undefined;
|
|
6055
|
-
/**
|
|
6056
|
-
* <p>The number of nodes that have this problem.</p>
|
|
6057
|
-
* @public
|
|
6058
|
-
*/
|
|
6059
|
-
NodeCount: number | undefined;
|
|
6060
|
-
}
|
|
6061
|
-
/**
|
|
6062
|
-
* <p>Contains information about the problems that affect an extension on the nodes of a SageMaker HyperPod cluster, including how many nodes each problem affects. <code>DescribeClusterExtension</code> returns <code>ExtensionHealth</code> only when at least one node has a problem.</p>
|
|
6063
|
-
* @public
|
|
6064
|
-
*/
|
|
6065
|
-
export interface ExtensionHealth {
|
|
6066
|
-
/**
|
|
6067
|
-
* <p>The problems that affect the extension, grouped by cause, from the problem that affects the most nodes to the one that affects the fewest. SageMaker HyperPod counts each node in at most one issue. The list contains at most 20 issues. If more than 20 different problems exist, the list shows the 19 that affect the most nodes, and the 20th issue has the code <code>Other</code> and counts the nodes that the remaining problems affect.</p>
|
|
6068
|
-
* @public
|
|
6069
|
-
*/
|
|
6070
|
-
Issues: ExtensionHealthIssue[] | undefined;
|
|
6071
|
-
}
|
|
6072
|
-
/**
|
|
6073
|
-
* <p>A summary of an extension's installation across the nodes of a SageMaker HyperPod cluster.</p>
|
|
6074
|
-
* @public
|
|
6075
|
-
*/
|
|
6076
|
-
export interface ExtensionNodeSummary {
|
|
6077
|
-
/**
|
|
6078
|
-
* <p>The number of nodes in your cluster that the extension targets. SageMaker HyperPod targets every running node in your cluster, including nodes that you add after you create the extension.</p>
|
|
6079
|
-
* @public
|
|
6080
|
-
*/
|
|
6081
|
-
TotalCount: number | undefined;
|
|
6082
|
-
/**
|
|
6083
|
-
* <p>The number of nodes that are running the extension's current version and configuration. Nodes that report the extension as unhealthy aren't counted. While SageMaker HyperPod creates or updates the extension, <code>ActiveCount</code> is lower than <code>TotalCount</code>. To see why nodes aren't counted, see <code>Health</code> in <code>DescribeClusterExtension</code>.</p>
|
|
6084
|
-
* @public
|
|
6085
|
-
*/
|
|
6086
|
-
ActiveCount: number | undefined;
|
|
6087
|
-
}
|
|
6088
|
-
/**
|
|
6089
|
-
* @public
|
|
6090
|
-
*/
|
|
6091
|
-
export interface DescribeClusterExtensionResponse {
|
|
6092
|
-
/**
|
|
6093
|
-
* <p>The details of the extension.</p>
|
|
6094
|
-
* @public
|
|
6095
|
-
*/
|
|
6096
|
-
ExtensionDetails: ExtensionDetails | undefined;
|
|
6097
|
-
/**
|
|
6098
|
-
* <p>A summary of how many nodes in your cluster the extension targets, and how many of them run the extension's current version and configuration.</p>
|
|
6099
|
-
* @public
|
|
6100
|
-
*/
|
|
6101
|
-
NodeSummary?: ExtensionNodeSummary | undefined;
|
|
6102
|
-
/**
|
|
6103
|
-
* <p>The problems that affect the extension on the cluster's nodes, grouped by cause, with the number of nodes that each problem affects. Use it to find out why <code>ActiveCount</code> is lower than <code>TotalCount</code>, or why the status is <code>Degraded</code>, <code>CreateFailed</code>, or <code>UpdateFailed</code>. SageMaker HyperPod omits <code>Health</code> when no node has a problem. Nodes where SageMaker HyperPod hasn't finished installing or updating the extension aren't counted in any issue, unless an earlier attempt failed on them.</p>
|
|
6104
|
-
* @public
|
|
6105
|
-
*/
|
|
6106
|
-
Health?: ExtensionHealth | undefined;
|
|
6107
|
-
}
|
|
6108
|
-
/**
|
|
6109
|
-
* @public
|
|
6110
|
-
*/
|
|
6111
|
-
export interface DescribeClusterNodeRequest {
|
|
6112
|
-
/**
|
|
6113
|
-
* <p>The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which the node is.</p>
|
|
6114
|
-
* @public
|
|
6115
|
-
*/
|
|
6116
|
-
ClusterName: string | undefined;
|
|
6117
|
-
/**
|
|
6118
|
-
* <p>The ID of the SageMaker HyperPod cluster node.</p>
|
|
6119
|
-
* @public
|
|
6120
|
-
*/
|
|
6121
|
-
NodeId?: string | undefined;
|
|
6122
|
-
/**
|
|
6123
|
-
* <p>The logical identifier of the node to describe. You can specify either <code>NodeLogicalId</code> or <code>InstanceId</code>, but not both. <code>NodeLogicalId</code> can be used to describe nodes that are still being provisioned and don't yet have an <code>InstanceId</code> assigned.</p>
|
|
6124
|
-
* @public
|
|
6125
|
-
*/
|
|
6126
|
-
NodeLogicalId?: string | undefined;
|
|
6127
|
-
}
|
|
6128
|
-
/**
|
|
6129
|
-
* @public
|
|
6130
|
-
*/
|
|
6131
|
-
export interface DescribeClusterNodeResponse {
|
|
6132
|
-
/**
|
|
6133
|
-
* <p>The details of the SageMaker HyperPod cluster node.</p>
|
|
6134
|
-
* @public
|
|
6135
|
-
*/
|
|
6136
|
-
NodeDetails: ClusterNodeDetails | undefined;
|
|
6137
|
-
}
|
|
6138
|
-
/**
|
|
6139
|
-
* @public
|
|
6140
|
-
*/
|
|
6141
|
-
export interface DescribeClusterOperationRequest {
|
|
6142
|
-
/**
|
|
6143
|
-
* <p>The name or Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.</p>
|
|
6144
|
-
* @public
|
|
6145
|
-
*/
|
|
6146
|
-
ClusterName: string | undefined;
|
|
6147
|
-
/**
|
|
6148
|
-
* <p>The unique identifier (UUID) of the operation to describe. This ID can be obtained from the <code>ListClusterOperations</code> operation.</p>
|
|
6149
|
-
* @public
|
|
6150
|
-
*/
|
|
6151
|
-
OperationId: string | undefined;
|
|
6152
|
-
}
|
|
6153
|
-
/**
|
|
6154
|
-
* @public
|
|
6155
|
-
*/
|
|
6156
|
-
export interface DescribeClusterOperationResponse {
|
|
6157
|
-
/**
|
|
6158
|
-
* <p>The unique identifier (UUID) of the operation.</p>
|
|
6159
|
-
* @public
|
|
6160
|
-
*/
|
|
6161
|
-
OperationId?: string | undefined;
|
|
6162
|
-
/**
|
|
6163
|
-
* <p>The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.</p>
|
|
6164
|
-
* @public
|
|
6165
|
-
*/
|
|
6166
|
-
ClusterArn?: string | undefined;
|
|
6167
|
-
/**
|
|
6168
|
-
* <p>The type of the operation. Valid values are <code>Scaling</code> or <code>DeepHealthCheck</code>.</p>
|
|
6169
|
-
* @public
|
|
6170
|
-
*/
|
|
6171
|
-
Type?: ClusterOperationType | undefined;
|
|
6172
|
-
/**
|
|
6173
|
-
* <p>The current status of the operation. Valid values are <code>InProgress</code>, <code>Superseded</code>, or <code>Done</code>.</p>
|
|
6174
|
-
* @public
|
|
6175
|
-
*/
|
|
6176
|
-
Status?: ClusterOperationStatus | undefined;
|
|
6177
|
-
/**
|
|
6178
|
-
* <p>The timestamp when the operation was created.</p>
|
|
6179
|
-
* @public
|
|
6180
|
-
*/
|
|
6181
|
-
CreationTime?: Date | undefined;
|
|
6182
|
-
/**
|
|
6183
|
-
* <p>The per-instance-group scaling details for the operation. This field is populated when the operation <code>Type</code> is <code>Scaling</code>.</p>
|
|
6184
|
-
* @public
|
|
6185
|
-
*/
|
|
6186
|
-
ScalingDetails?: ClusterOperationScalingDetails[] | undefined;
|
|
6187
|
-
/**
|
|
6188
|
-
* <p>The deep health check details for the operation. This field is populated when the operation <code>Type</code> is <code>DeepHealthCheck</code>.</p>
|
|
6189
|
-
* @public
|
|
6190
|
-
*/
|
|
6191
|
-
DeepHealthCheckDetails?: InstanceGroupHealthCheckConfiguration[] | undefined;
|
|
6192
|
-
}
|