@aws-sdk/client-sagemaker 3.1174.0 → 3.1175.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,4 +1,4 @@
|
|
|
1
|
-
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, CleanupFailureErrorCode, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus,
|
|
1
|
+
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationEndpointSharing, CapacityReservationFilterName, CapacityReservationMatchCriteria, CapacityReservationOptInStatus, CapacityReservationResourceType, CapacityReservationStatus, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, CleanupFailureErrorCode, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterEventLevel, ClusterEventResourceType, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterOnDrainTimeout, ClusterPatchingStrategy, ClusterSlurmNodeType, CompressionType, DatabaseConfigurationRollbackStatus, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, GlobalInferenceGatewayMemberStatus, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCompressionType, ModelPackageRegistrationType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, S3DataDistribution, S3DataType, S3ModelDataType, SlurmHealthComponent, SlurmHealthReason, SlurmHealthStatus, SoftwareUpdateStatus, SplitType, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Configuration for allocating accelerator partitions.</p>
|
|
4
4
|
* @public
|
|
@@ -4957,6 +4957,288 @@ export interface CapacityReservation {
|
|
|
4957
4957
|
*/
|
|
4958
4958
|
Type?: CapacityReservationType | undefined;
|
|
4959
4959
|
}
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>Details about a SageMaker Capacity Reservation. A SageMaker Capacity Reservation reserves a number of instances of one instance type in one Availability Zone for a period of time.</p>
|
|
4962
|
+
* @public
|
|
4963
|
+
*/
|
|
4964
|
+
export interface CapacityReservationDetail {
|
|
4965
|
+
/**
|
|
4966
|
+
* <p>The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.</p>
|
|
4967
|
+
* @public
|
|
4968
|
+
*/
|
|
4969
|
+
SMCapacityReservationArn: string | undefined;
|
|
4970
|
+
/**
|
|
4971
|
+
* <p>The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with <code>smcr-</code>.</p>
|
|
4972
|
+
* @public
|
|
4973
|
+
*/
|
|
4974
|
+
SMCapacityReservationId: string | undefined;
|
|
4975
|
+
/**
|
|
4976
|
+
* <p>The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.</p>
|
|
4977
|
+
* @public
|
|
4978
|
+
*/
|
|
4979
|
+
Owner: string | undefined;
|
|
4980
|
+
/**
|
|
4981
|
+
* <p>The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:</p> <dl> <dt>Scheduled</dt> <dd> <p>The current time is before <code>StartTime</code>.</p> </dd> <dt>Active</dt> <dd> <p>The current time is between <code>StartTime</code> and <code>EndTime</code>. You can use the reserved instances.</p> </dd> <dt>Expired</dt> <dd> <p>The current time is at or after <code>EndTime</code>.</p> </dd> </dl>
|
|
4982
|
+
* @public
|
|
4983
|
+
*/
|
|
4984
|
+
Status: CapacityReservationStatus | undefined;
|
|
4985
|
+
/**
|
|
4986
|
+
* <p>The SageMaker AI instance type of the reserved instances, for example <code>ml.p5.48xlarge</code>.</p>
|
|
4987
|
+
* @public
|
|
4988
|
+
*/
|
|
4989
|
+
InstanceType: string | undefined;
|
|
4990
|
+
/**
|
|
4991
|
+
* <p>The name of the Availability Zone of the reserved instances, for example <code>us-east-1a</code>. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use <code>AvailabilityZoneId</code>.</p>
|
|
4992
|
+
* @public
|
|
4993
|
+
*/
|
|
4994
|
+
AvailabilityZone?: string | undefined;
|
|
4995
|
+
/**
|
|
4996
|
+
* <p>The ID of the Availability Zone of the reserved instances, for example <code>use1-az1</code>. An Availability Zone ID identifies the same physical zone in every account.</p>
|
|
4997
|
+
* @public
|
|
4998
|
+
*/
|
|
4999
|
+
AvailabilityZoneId: string | undefined;
|
|
5000
|
+
/**
|
|
5001
|
+
* <p>The number of instances in the SageMaker Capacity Reservation.</p>
|
|
5002
|
+
* @public
|
|
5003
|
+
*/
|
|
5004
|
+
TotalInstanceCount: number | undefined;
|
|
5005
|
+
/**
|
|
5006
|
+
* <p>The time when the reserved instances become available.</p>
|
|
5007
|
+
* @public
|
|
5008
|
+
*/
|
|
5009
|
+
StartTime: Date | undefined;
|
|
5010
|
+
/**
|
|
5011
|
+
* <p>The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.</p>
|
|
5012
|
+
* @public
|
|
5013
|
+
*/
|
|
5014
|
+
EndTime?: Date | undefined;
|
|
5015
|
+
/**
|
|
5016
|
+
* <p>The time when the SageMaker Capacity Reservation was created.</p>
|
|
5017
|
+
* @public
|
|
5018
|
+
*/
|
|
5019
|
+
CreationTime: Date | undefined;
|
|
5020
|
+
}
|
|
5021
|
+
/**
|
|
5022
|
+
* <p>The association between the SageMaker AI endpoints in your account and a SageMaker Capacity Reservation, through one ML capacity reservation. To use the reserved instances for an endpoint, specify the ML capacity reservation ARN in the <code>MlReservationArn</code> field of <code>ProductionVariantCapacityReservationConfig</code> when you call <code>CreateEndpointConfig</code>.</p>
|
|
5023
|
+
* @public
|
|
5024
|
+
*/
|
|
5025
|
+
export interface CapacityReservationEndpointsAssociation {
|
|
5026
|
+
/**
|
|
5027
|
+
* <p>The name of the ML capacity reservation. The name is the last part of the ML capacity reservation ARN.</p>
|
|
5028
|
+
* @public
|
|
5029
|
+
*/
|
|
5030
|
+
MlReservationId?: string | undefined;
|
|
5031
|
+
/**
|
|
5032
|
+
* <p>The status of the association. Valid values:</p> <dl> <dt>Pending</dt> <dd> <p>SageMaker AI is adding or removing the association.</p> </dd> <dt>Active</dt> <dd> <p>The resources are associated with the SageMaker Capacity Reservation and can use its instances.</p> </dd> <dt>Inactive</dt> <dd> <p>The resources are not associated with the SageMaker Capacity Reservation.</p> </dd> </dl>
|
|
5033
|
+
* @public
|
|
5034
|
+
*/
|
|
5035
|
+
Status: CapacityReservationOptInStatus | undefined;
|
|
5036
|
+
/**
|
|
5037
|
+
* <p>How endpoints in your account match the ML capacity reservation. Valid values:</p> <dl> <dt>Open</dt> <dd> <p>Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.</p> </dd> <dt>Targeted</dt> <dd> <p>An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.</p> </dd> </dl>
|
|
5038
|
+
* @public
|
|
5039
|
+
*/
|
|
5040
|
+
MatchCriteria?: CapacityReservationMatchCriteria | undefined;
|
|
5041
|
+
/**
|
|
5042
|
+
* <p>Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:</p> <dl> <dt>SingleEndpoint</dt> <dd> <p>Only one endpoint can use the ML capacity reservation.</p> </dd> <dt>MultipleEndpoints</dt> <dd> <p>Multiple endpoints can use the ML capacity reservation.</p> </dd> </dl>
|
|
5043
|
+
* @public
|
|
5044
|
+
*/
|
|
5045
|
+
EndpointSharing?: CapacityReservationEndpointSharing | undefined;
|
|
5046
|
+
/**
|
|
5047
|
+
* <p>The Amazon Resource Name (ARN) of the ML capacity reservation. Specify this ARN in <code>CreateEndpointConfig</code> to use the reserved instances for an endpoint. For a new ML capacity reservation, this value is returned when the status is <code>Active</code>.</p>
|
|
5048
|
+
* @public
|
|
5049
|
+
*/
|
|
5050
|
+
MlReservationArn?: string | undefined;
|
|
5051
|
+
/**
|
|
5052
|
+
* <p>The reason that the most recent attempt to add or remove the association failed. This value is returned only when the most recent attempt failed. After a failure to add the association, the status is <code>Inactive</code>. After a failure to remove the association, the status is <code>Active</code>.</p>
|
|
5053
|
+
* @public
|
|
5054
|
+
*/
|
|
5055
|
+
FailureReason?: string | undefined;
|
|
5056
|
+
/**
|
|
5057
|
+
* <p>The time when SageMaker AI started the current association. This time resets when you add the association again after it was removed or after it failed.</p>
|
|
5058
|
+
* @public
|
|
5059
|
+
*/
|
|
5060
|
+
AssociatedTime: Date | undefined;
|
|
5061
|
+
}
|
|
5062
|
+
/**
|
|
5063
|
+
* <p>A filter for the <code>ListCapacityReservations</code> operation. A reservation matches the filter when its value for <code>Name</code> equals any of the values in <code>Values</code>.</p>
|
|
5064
|
+
* @public
|
|
5065
|
+
*/
|
|
5066
|
+
export interface CapacityReservationFilter {
|
|
5067
|
+
/**
|
|
5068
|
+
* <p>The name of the field to filter on. The only supported value is <code>Status</code>.</p>
|
|
5069
|
+
* @public
|
|
5070
|
+
*/
|
|
5071
|
+
Name: CapacityReservationFilterName | undefined;
|
|
5072
|
+
/**
|
|
5073
|
+
* <p>The values to match. For the <code>Status</code> filter, valid values are <code>Scheduled</code>, <code>Active</code>, and <code>Expired</code>. Values are case sensitive. You can specify up to 10 values.</p>
|
|
5074
|
+
* @public
|
|
5075
|
+
*/
|
|
5076
|
+
Values: string[] | undefined;
|
|
5077
|
+
}
|
|
5078
|
+
/**
|
|
5079
|
+
* <p>The association between the SageMaker AI HyperPod clusters in your account and a SageMaker Capacity Reservation.</p>
|
|
5080
|
+
* @public
|
|
5081
|
+
*/
|
|
5082
|
+
export interface CapacityReservationHyperPodClustersAssociation {
|
|
5083
|
+
/**
|
|
5084
|
+
* <p>The status of the association. Valid values:</p> <dl> <dt>Pending</dt> <dd> <p>SageMaker AI is adding or removing the association.</p> </dd> <dt>Active</dt> <dd> <p>The resources are associated with the SageMaker Capacity Reservation and can use its instances.</p> </dd> <dt>Inactive</dt> <dd> <p>The resources are not associated with the SageMaker Capacity Reservation.</p> </dd> </dl>
|
|
5085
|
+
* @public
|
|
5086
|
+
*/
|
|
5087
|
+
Status: CapacityReservationOptInStatus | undefined;
|
|
5088
|
+
/**
|
|
5089
|
+
* <p>The reason that the most recent attempt to add or remove the association failed. This value is returned only when the most recent attempt failed. After a failure to add the association, the status is <code>Inactive</code>. After a failure to remove the association, the status is <code>Active</code>.</p>
|
|
5090
|
+
* @public
|
|
5091
|
+
*/
|
|
5092
|
+
FailureReason?: string | undefined;
|
|
5093
|
+
/**
|
|
5094
|
+
* <p>The time when SageMaker AI started the current association. This time resets when you add the association again after it was removed or after it failed.</p>
|
|
5095
|
+
* @public
|
|
5096
|
+
*/
|
|
5097
|
+
AssociatedTime: Date | undefined;
|
|
5098
|
+
}
|
|
5099
|
+
/**
|
|
5100
|
+
* <p>The instances from a SageMaker Capacity Reservation that one resource type uses in an account.</p>
|
|
5101
|
+
* @public
|
|
5102
|
+
*/
|
|
5103
|
+
export interface CapacityReservationResourceUsage {
|
|
5104
|
+
/**
|
|
5105
|
+
* <p>The type of resource that uses the instances. Valid values:</p> <dl> <dt>HyperPodClusters</dt> <dd> <p>SageMaker AI HyperPod clusters.</p> </dd> <dt>Endpoints</dt> <dd> <p>SageMaker AI endpoints.</p> </dd> </dl>
|
|
5106
|
+
* @public
|
|
5107
|
+
*/
|
|
5108
|
+
ResourceType: CapacityReservationResourceType | undefined;
|
|
5109
|
+
/**
|
|
5110
|
+
* <p>The number of instances from the SageMaker Capacity Reservation that are in use.</p>
|
|
5111
|
+
* @public
|
|
5112
|
+
*/
|
|
5113
|
+
InUseInstanceCount: number | undefined;
|
|
5114
|
+
}
|
|
5115
|
+
/**
|
|
5116
|
+
* <p>The instances from a SageMaker Capacity Reservation that one account uses.</p>
|
|
5117
|
+
* @public
|
|
5118
|
+
*/
|
|
5119
|
+
export interface CapacityReservationInstanceUsage {
|
|
5120
|
+
/**
|
|
5121
|
+
* <p>The ID of the Amazon Web Services account that uses the instances.</p>
|
|
5122
|
+
* @public
|
|
5123
|
+
*/
|
|
5124
|
+
AccountId: string | undefined;
|
|
5125
|
+
/**
|
|
5126
|
+
* <p>The number of instances that the account uses, across all resource types.</p>
|
|
5127
|
+
* @public
|
|
5128
|
+
*/
|
|
5129
|
+
InUseInstanceCount: number | undefined;
|
|
5130
|
+
/**
|
|
5131
|
+
* <p>The instance usage for each resource type that has instances in use in the account.</p>
|
|
5132
|
+
* @public
|
|
5133
|
+
*/
|
|
5134
|
+
ResourcesUsage: CapacityReservationResourceUsage[] | undefined;
|
|
5135
|
+
}
|
|
5136
|
+
/**
|
|
5137
|
+
* <p>An association between one type of resource in your account and a SageMaker Capacity Reservation. Each item contains exactly one member.</p>
|
|
5138
|
+
* @public
|
|
5139
|
+
*/
|
|
5140
|
+
export type CapacityReservationResourceAssociation = CapacityReservationResourceAssociation.EndpointsMember | CapacityReservationResourceAssociation.HyperPodClustersMember | CapacityReservationResourceAssociation.$UnknownMember;
|
|
5141
|
+
/**
|
|
5142
|
+
* @public
|
|
5143
|
+
*/
|
|
5144
|
+
export declare namespace CapacityReservationResourceAssociation {
|
|
5145
|
+
/**
|
|
5146
|
+
* <p>The association between the SageMaker AI HyperPod clusters in your account and the SageMaker Capacity Reservation. The association applies to all HyperPod clusters in your account.</p>
|
|
5147
|
+
* @public
|
|
5148
|
+
*/
|
|
5149
|
+
interface HyperPodClustersMember {
|
|
5150
|
+
HyperPodClusters: CapacityReservationHyperPodClustersAssociation;
|
|
5151
|
+
Endpoints?: never;
|
|
5152
|
+
$unknown?: never;
|
|
5153
|
+
}
|
|
5154
|
+
/**
|
|
5155
|
+
* <p>The association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation. The response includes one item for each ML capacity reservation.</p>
|
|
5156
|
+
* @public
|
|
5157
|
+
*/
|
|
5158
|
+
interface EndpointsMember {
|
|
5159
|
+
HyperPodClusters?: never;
|
|
5160
|
+
Endpoints: CapacityReservationEndpointsAssociation;
|
|
5161
|
+
$unknown?: never;
|
|
5162
|
+
}
|
|
5163
|
+
/**
|
|
5164
|
+
* @public
|
|
5165
|
+
*/
|
|
5166
|
+
interface $UnknownMember {
|
|
5167
|
+
HyperPodClusters?: never;
|
|
5168
|
+
Endpoints?: never;
|
|
5169
|
+
$unknown: [string, any];
|
|
5170
|
+
}
|
|
5171
|
+
/**
|
|
5172
|
+
* @deprecated unused in schema-serde mode.
|
|
5173
|
+
*
|
|
5174
|
+
*/
|
|
5175
|
+
interface Visitor<T> {
|
|
5176
|
+
HyperPodClusters: (value: CapacityReservationHyperPodClustersAssociation) => T;
|
|
5177
|
+
Endpoints: (value: CapacityReservationEndpointsAssociation) => T;
|
|
5178
|
+
_: (name: string, value: any) => T;
|
|
5179
|
+
}
|
|
5180
|
+
}
|
|
5181
|
+
/**
|
|
5182
|
+
* <p>Summary information about a SageMaker Capacity Reservation.</p>
|
|
5183
|
+
* @public
|
|
5184
|
+
*/
|
|
5185
|
+
export interface CapacityReservationSummary {
|
|
5186
|
+
/**
|
|
5187
|
+
* <p>The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.</p>
|
|
5188
|
+
* @public
|
|
5189
|
+
*/
|
|
5190
|
+
SMCapacityReservationArn: string | undefined;
|
|
5191
|
+
/**
|
|
5192
|
+
* <p>The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with <code>smcr-</code>.</p>
|
|
5193
|
+
* @public
|
|
5194
|
+
*/
|
|
5195
|
+
SMCapacityReservationId: string | undefined;
|
|
5196
|
+
/**
|
|
5197
|
+
* <p>The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.</p>
|
|
5198
|
+
* @public
|
|
5199
|
+
*/
|
|
5200
|
+
Owner: string | undefined;
|
|
5201
|
+
/**
|
|
5202
|
+
* <p>The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:</p> <dl> <dt>Scheduled</dt> <dd> <p>The current time is before <code>StartTime</code>.</p> </dd> <dt>Active</dt> <dd> <p>The current time is between <code>StartTime</code> and <code>EndTime</code>. You can use the reserved instances.</p> </dd> <dt>Expired</dt> <dd> <p>The current time is at or after <code>EndTime</code>.</p> </dd> </dl>
|
|
5203
|
+
* @public
|
|
5204
|
+
*/
|
|
5205
|
+
Status: CapacityReservationStatus | undefined;
|
|
5206
|
+
/**
|
|
5207
|
+
* <p>The SageMaker AI instance type of the reserved instances, for example <code>ml.p5.48xlarge</code>.</p>
|
|
5208
|
+
* @public
|
|
5209
|
+
*/
|
|
5210
|
+
InstanceType: string | undefined;
|
|
5211
|
+
/**
|
|
5212
|
+
* <p>The name of the Availability Zone of the reserved instances, for example <code>us-east-1a</code>. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use <code>AvailabilityZoneId</code>.</p>
|
|
5213
|
+
* @public
|
|
5214
|
+
*/
|
|
5215
|
+
AvailabilityZone?: string | undefined;
|
|
5216
|
+
/**
|
|
5217
|
+
* <p>The ID of the Availability Zone of the reserved instances, for example <code>use1-az1</code>. An Availability Zone ID identifies the same physical zone in every account.</p>
|
|
5218
|
+
* @public
|
|
5219
|
+
*/
|
|
5220
|
+
AvailabilityZoneId: string | undefined;
|
|
5221
|
+
/**
|
|
5222
|
+
* <p>The number of instances in the SageMaker Capacity Reservation.</p>
|
|
5223
|
+
* @public
|
|
5224
|
+
*/
|
|
5225
|
+
TotalInstanceCount: number | undefined;
|
|
5226
|
+
/**
|
|
5227
|
+
* <p>The time when the reserved instances become available.</p>
|
|
5228
|
+
* @public
|
|
5229
|
+
*/
|
|
5230
|
+
StartTime: Date | undefined;
|
|
5231
|
+
/**
|
|
5232
|
+
* <p>The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.</p>
|
|
5233
|
+
* @public
|
|
5234
|
+
*/
|
|
5235
|
+
EndTime?: Date | undefined;
|
|
5236
|
+
/**
|
|
5237
|
+
* <p>The time when the SageMaker Capacity Reservation was created.</p>
|
|
5238
|
+
* @public
|
|
5239
|
+
*/
|
|
5240
|
+
CreationTime: Date | undefined;
|
|
5241
|
+
}
|
|
4960
5242
|
/**
|
|
4961
5243
|
* <p>The configuration of the size measurements of the AMI update. Using this configuration, you can specify whether SageMaker should update your instance group by an amount or percentage of instances.</p>
|
|
4962
5244
|
* @public
|
|
@@ -6759,321 +7041,3 @@ export interface ClusterInstanceStatusDetails {
|
|
|
6759
7041
|
*/
|
|
6760
7042
|
Message?: string | undefined;
|
|
6761
7043
|
}
|
|
6762
|
-
/**
|
|
6763
|
-
* <p>Node-specific Kubernetes configuration showing both current and desired state of labels and taints for an individual cluster node. </p>
|
|
6764
|
-
* @public
|
|
6765
|
-
*/
|
|
6766
|
-
export interface ClusterKubernetesConfigNodeDetails {
|
|
6767
|
-
/**
|
|
6768
|
-
* <p>The current labels applied to the cluster node.</p>
|
|
6769
|
-
* @public
|
|
6770
|
-
*/
|
|
6771
|
-
CurrentLabels?: Record<string, string> | undefined;
|
|
6772
|
-
/**
|
|
6773
|
-
* <p>The desired labels to be applied to the cluster node.</p>
|
|
6774
|
-
* @public
|
|
6775
|
-
*/
|
|
6776
|
-
DesiredLabels?: Record<string, string> | undefined;
|
|
6777
|
-
/**
|
|
6778
|
-
* <p>The current taints applied to the cluster node.</p>
|
|
6779
|
-
* @public
|
|
6780
|
-
*/
|
|
6781
|
-
CurrentTaints?: ClusterKubernetesTaint[] | undefined;
|
|
6782
|
-
/**
|
|
6783
|
-
* <p>The desired taints to be applied to the cluster node.</p>
|
|
6784
|
-
* @public
|
|
6785
|
-
*/
|
|
6786
|
-
DesiredTaints?: ClusterKubernetesTaint[] | undefined;
|
|
6787
|
-
}
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>Contains information about the UltraServer object.</p>
|
|
6790
|
-
* @public
|
|
6791
|
-
*/
|
|
6792
|
-
export interface UltraServerInfo {
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>The unique identifier of the UltraServer.</p>
|
|
6795
|
-
* @public
|
|
6796
|
-
*/
|
|
6797
|
-
Id?: string | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>The type of the UltraServer.</p>
|
|
6800
|
-
* @public
|
|
6801
|
-
*/
|
|
6802
|
-
Type?: string | undefined;
|
|
6803
|
-
}
|
|
6804
|
-
/**
|
|
6805
|
-
* <p>Details of an instance (also called a <i>node</i> interchangeably) in a SageMaker HyperPod cluster.</p>
|
|
6806
|
-
* @public
|
|
6807
|
-
*/
|
|
6808
|
-
export interface ClusterNodeDetails {
|
|
6809
|
-
/**
|
|
6810
|
-
* <p>The instance group name in which the instance is.</p>
|
|
6811
|
-
* @public
|
|
6812
|
-
*/
|
|
6813
|
-
InstanceGroupName?: string | undefined;
|
|
6814
|
-
/**
|
|
6815
|
-
* <p>The ID of the instance.</p>
|
|
6816
|
-
* @public
|
|
6817
|
-
*/
|
|
6818
|
-
InstanceId?: string | undefined;
|
|
6819
|
-
/**
|
|
6820
|
-
* <p>A unique identifier for the node that persists throughout its lifecycle, from provisioning request to termination. This identifier can be used to track the node even before it has an assigned <code>InstanceId</code>.</p>
|
|
6821
|
-
* @public
|
|
6822
|
-
*/
|
|
6823
|
-
NodeLogicalId?: string | undefined;
|
|
6824
|
-
/**
|
|
6825
|
-
* <p>The status of the instance.</p>
|
|
6826
|
-
* @public
|
|
6827
|
-
*/
|
|
6828
|
-
InstanceStatus?: ClusterInstanceStatusDetails | undefined;
|
|
6829
|
-
/**
|
|
6830
|
-
* <p>The type of the instance.</p>
|
|
6831
|
-
* @public
|
|
6832
|
-
*/
|
|
6833
|
-
InstanceType?: ClusterInstanceType | undefined;
|
|
6834
|
-
/**
|
|
6835
|
-
* <p>The time when the instance is launched.</p>
|
|
6836
|
-
* @public
|
|
6837
|
-
*/
|
|
6838
|
-
LaunchTime?: Date | undefined;
|
|
6839
|
-
/**
|
|
6840
|
-
* <p>The time when the cluster was last updated.</p>
|
|
6841
|
-
* @public
|
|
6842
|
-
*/
|
|
6843
|
-
LastSoftwareUpdateTime?: Date | undefined;
|
|
6844
|
-
/**
|
|
6845
|
-
* <p>The LifeCycle configuration applied to the instance.</p>
|
|
6846
|
-
* @public
|
|
6847
|
-
*/
|
|
6848
|
-
LifeCycleConfig?: ClusterLifeCycleConfig | undefined;
|
|
6849
|
-
/**
|
|
6850
|
-
* <p>The customized Amazon VPC configuration at the instance group level that overrides the default Amazon VPC configuration of the SageMaker HyperPod cluster.</p>
|
|
6851
|
-
* @public
|
|
6852
|
-
*/
|
|
6853
|
-
OverrideVpcConfig?: VpcConfig | undefined;
|
|
6854
|
-
/**
|
|
6855
|
-
* <p>The number of threads per CPU core you specified under <code>CreateCluster</code>.</p>
|
|
6856
|
-
* @public
|
|
6857
|
-
*/
|
|
6858
|
-
ThreadsPerCore?: number | undefined;
|
|
6859
|
-
/**
|
|
6860
|
-
* <p>The configurations of additional storage specified to the instance group where the instance (node) is launched.</p>
|
|
6861
|
-
* @public
|
|
6862
|
-
*/
|
|
6863
|
-
InstanceStorageConfigs?: ClusterInstanceStorageConfig[] | undefined;
|
|
6864
|
-
/**
|
|
6865
|
-
* <p>The private primary IP address of the SageMaker HyperPod cluster node.</p>
|
|
6866
|
-
* @public
|
|
6867
|
-
*/
|
|
6868
|
-
PrivatePrimaryIp?: string | undefined;
|
|
6869
|
-
/**
|
|
6870
|
-
* <p>The private primary IPv6 address of the SageMaker HyperPod cluster node when configured with an Amazon VPC that supports IPv6 and includes subnets with IPv6 addressing enabled in either the cluster Amazon VPC configuration or the instance group Amazon VPC configuration.</p>
|
|
6871
|
-
* @public
|
|
6872
|
-
*/
|
|
6873
|
-
PrivatePrimaryIpv6?: string | undefined;
|
|
6874
|
-
/**
|
|
6875
|
-
* <p>The private DNS hostname of the SageMaker HyperPod cluster node.</p>
|
|
6876
|
-
* @public
|
|
6877
|
-
*/
|
|
6878
|
-
PrivateDnsHostname?: string | undefined;
|
|
6879
|
-
/**
|
|
6880
|
-
* <p>The placement details of the SageMaker HyperPod cluster node.</p>
|
|
6881
|
-
* @public
|
|
6882
|
-
*/
|
|
6883
|
-
Placement?: ClusterInstancePlacement | undefined;
|
|
6884
|
-
/**
|
|
6885
|
-
* <p>The ID of the Amazon Machine Image (AMI) currently in use by the node.</p>
|
|
6886
|
-
* @public
|
|
6887
|
-
*/
|
|
6888
|
-
CurrentImageId?: string | undefined;
|
|
6889
|
-
/**
|
|
6890
|
-
* <p>The ID of the Amazon Machine Image (AMI) desired for the node.</p>
|
|
6891
|
-
* @public
|
|
6892
|
-
*/
|
|
6893
|
-
DesiredImageId?: string | undefined;
|
|
6894
|
-
/**
|
|
6895
|
-
* <p>The version of the HyperPod-managed AMI currently running on the node.</p>
|
|
6896
|
-
* @public
|
|
6897
|
-
*/
|
|
6898
|
-
CurrentImageReleaseVersion?: string | undefined;
|
|
6899
|
-
/**
|
|
6900
|
-
* <p>The desired version of the HyperPod-managed AMI for the node. This may differ from the current version when an update is pending.</p>
|
|
6901
|
-
* @public
|
|
6902
|
-
*/
|
|
6903
|
-
DesiredImageReleaseVersion?: string | undefined;
|
|
6904
|
-
/**
|
|
6905
|
-
* <p>The status of the image version for the cluster node.</p>
|
|
6906
|
-
* @public
|
|
6907
|
-
*/
|
|
6908
|
-
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
6909
|
-
/**
|
|
6910
|
-
* <p>Contains information about the UltraServer.</p>
|
|
6911
|
-
* @public
|
|
6912
|
-
*/
|
|
6913
|
-
UltraServerInfo?: UltraServerInfo | undefined;
|
|
6914
|
-
/**
|
|
6915
|
-
* <p>The Kubernetes configuration applied to this node, showing both the current and desired state of labels and taints. The cluster works to reconcile the actual state with the declared state. </p>
|
|
6916
|
-
* @public
|
|
6917
|
-
*/
|
|
6918
|
-
KubernetesConfig?: ClusterKubernetesConfigNodeDetails | undefined;
|
|
6919
|
-
/**
|
|
6920
|
-
* <p>The capacity type of the node. Valid values are <code>OnDemand</code> and <code>Spot</code>. When set to <code>OnDemand</code>, the node is launched as an On-Demand instance. When set to <code>Spot</code>, the node is launched as a Spot instance. </p>
|
|
6921
|
-
* @public
|
|
6922
|
-
*/
|
|
6923
|
-
CapacityType?: ClusterCapacityType | undefined;
|
|
6924
|
-
/**
|
|
6925
|
-
* <p>The network interface configuration for the cluster node.</p>
|
|
6926
|
-
* @public
|
|
6927
|
-
*/
|
|
6928
|
-
NetworkInterface?: ClusterNetworkInterfaceDetails | undefined;
|
|
6929
|
-
}
|
|
6930
|
-
/**
|
|
6931
|
-
* <p>Lists a summary of the properties of an instance (also called a <i>node</i> interchangeably) of a SageMaker HyperPod cluster.</p>
|
|
6932
|
-
* @public
|
|
6933
|
-
*/
|
|
6934
|
-
export interface ClusterNodeSummary {
|
|
6935
|
-
/**
|
|
6936
|
-
* <p>The name of the instance group in which the instance is.</p>
|
|
6937
|
-
* @public
|
|
6938
|
-
*/
|
|
6939
|
-
InstanceGroupName: string | undefined;
|
|
6940
|
-
/**
|
|
6941
|
-
* <p>The ID of the instance.</p>
|
|
6942
|
-
* @public
|
|
6943
|
-
*/
|
|
6944
|
-
InstanceId: string | undefined;
|
|
6945
|
-
/**
|
|
6946
|
-
* <p>A unique identifier for the node that persists throughout its lifecycle, from provisioning request to termination. This identifier can be used to track the node even before it has an assigned <code>InstanceId</code>. This field is only included when <code>IncludeNodeLogicalIds</code> is set to <code>True</code> in the <code>ListClusterNodes</code> request.</p>
|
|
6947
|
-
* @public
|
|
6948
|
-
*/
|
|
6949
|
-
NodeLogicalId?: string | undefined;
|
|
6950
|
-
/**
|
|
6951
|
-
* <p>The type of the instance.</p>
|
|
6952
|
-
* @public
|
|
6953
|
-
*/
|
|
6954
|
-
InstanceType: ClusterInstanceType | undefined;
|
|
6955
|
-
/**
|
|
6956
|
-
* <p>The time when the instance is launched.</p>
|
|
6957
|
-
* @public
|
|
6958
|
-
*/
|
|
6959
|
-
LaunchTime: Date | undefined;
|
|
6960
|
-
/**
|
|
6961
|
-
* <p>The time when SageMaker last updated the software of the instances in the cluster.</p>
|
|
6962
|
-
* @public
|
|
6963
|
-
*/
|
|
6964
|
-
LastSoftwareUpdateTime?: Date | undefined;
|
|
6965
|
-
/**
|
|
6966
|
-
* <p>The status of the instance.</p>
|
|
6967
|
-
* @public
|
|
6968
|
-
*/
|
|
6969
|
-
InstanceStatus: ClusterInstanceStatusDetails | undefined;
|
|
6970
|
-
/**
|
|
6971
|
-
* <p>Contains information about the UltraServer.</p>
|
|
6972
|
-
* @public
|
|
6973
|
-
*/
|
|
6974
|
-
UltraServerInfo?: UltraServerInfo | undefined;
|
|
6975
|
-
/**
|
|
6976
|
-
* <p>The private DNS hostname of the SageMaker HyperPod cluster node.</p>
|
|
6977
|
-
* @public
|
|
6978
|
-
*/
|
|
6979
|
-
PrivateDnsHostname?: string | undefined;
|
|
6980
|
-
/**
|
|
6981
|
-
* <p>The version of the HyperPod-managed AMI currently running on the node.</p>
|
|
6982
|
-
* @public
|
|
6983
|
-
*/
|
|
6984
|
-
CurrentImageReleaseVersion?: string | undefined;
|
|
6985
|
-
/**
|
|
6986
|
-
* <p>The status of the image version for the cluster node.</p>
|
|
6987
|
-
* @public
|
|
6988
|
-
*/
|
|
6989
|
-
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
6990
|
-
}
|
|
6991
|
-
/**
|
|
6992
|
-
* <p>A point-in-time snapshot of an instance group's scaling configuration. This structure represents both the original configuration before the operation and the desired configuration requested by the operation.</p>
|
|
6993
|
-
* @public
|
|
6994
|
-
*/
|
|
6995
|
-
export interface ClusterOperationScalingConfiguration {
|
|
6996
|
-
/**
|
|
6997
|
-
* <p>The number of instances that were in the instance group at the time of the operation.</p>
|
|
6998
|
-
* @public
|
|
6999
|
-
*/
|
|
7000
|
-
CurrentCount?: number | undefined;
|
|
7001
|
-
/**
|
|
7002
|
-
* <p>The target number of instances for the instance group.</p>
|
|
7003
|
-
* @public
|
|
7004
|
-
*/
|
|
7005
|
-
TargetCount?: number | undefined;
|
|
7006
|
-
/**
|
|
7007
|
-
* <p>The minimum number of instances that must be available in the instance group of a HyperPod cluster before it transitions to <code>InService</code> status. </p>
|
|
7008
|
-
* @public
|
|
7009
|
-
*/
|
|
7010
|
-
MinCount?: number | undefined;
|
|
7011
|
-
}
|
|
7012
|
-
/**
|
|
7013
|
-
* <p>The scaling details for a single instance group that is affected by a cluster operation.</p>
|
|
7014
|
-
* @public
|
|
7015
|
-
*/
|
|
7016
|
-
export interface ClusterOperationScalingDetails {
|
|
7017
|
-
/**
|
|
7018
|
-
* <p>The name of the instance group being scaled.</p>
|
|
7019
|
-
* @public
|
|
7020
|
-
*/
|
|
7021
|
-
InstanceGroupName?: string | undefined;
|
|
7022
|
-
/**
|
|
7023
|
-
* <p>The status of the scaling operation for this instance group. Valid values are <code>InProgress</code>, <code>Superseded</code>, or <code>Done</code>.</p>
|
|
7024
|
-
* @public
|
|
7025
|
-
*/
|
|
7026
|
-
Status?: ClusterOperationStatus | undefined;
|
|
7027
|
-
/**
|
|
7028
|
-
* <p>The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.</p>
|
|
7029
|
-
* @public
|
|
7030
|
-
*/
|
|
7031
|
-
Original?: ClusterOperationScalingConfiguration | undefined;
|
|
7032
|
-
/**
|
|
7033
|
-
* <p>The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.</p>
|
|
7034
|
-
* @public
|
|
7035
|
-
*/
|
|
7036
|
-
Desired?: ClusterOperationScalingConfiguration | undefined;
|
|
7037
|
-
}
|
|
7038
|
-
/**
|
|
7039
|
-
* <p>A summary of an operation performed on a HyperPod cluster.</p>
|
|
7040
|
-
* @public
|
|
7041
|
-
*/
|
|
7042
|
-
export interface ClusterOperationSummary {
|
|
7043
|
-
/**
|
|
7044
|
-
* <p>The unique identifier (UUID) of the operation.</p>
|
|
7045
|
-
* @public
|
|
7046
|
-
*/
|
|
7047
|
-
OperationId?: string | undefined;
|
|
7048
|
-
/**
|
|
7049
|
-
* <p>The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.</p>
|
|
7050
|
-
* @public
|
|
7051
|
-
*/
|
|
7052
|
-
ClusterArn?: string | undefined;
|
|
7053
|
-
/**
|
|
7054
|
-
* <p>The type of the operation. Valid values are <code>Scaling</code> or <code>DeepHealthCheck</code>.</p>
|
|
7055
|
-
* @public
|
|
7056
|
-
*/
|
|
7057
|
-
Type?: ClusterOperationType | undefined;
|
|
7058
|
-
/**
|
|
7059
|
-
* <p>The current status of the operation. Valid values are <code>InProgress</code>, <code>Superseded</code>, or <code>Done</code>.</p>
|
|
7060
|
-
* @public
|
|
7061
|
-
*/
|
|
7062
|
-
Status?: ClusterOperationStatus | undefined;
|
|
7063
|
-
/**
|
|
7064
|
-
* <p>The timestamp when the operation was created.</p>
|
|
7065
|
-
* @public
|
|
7066
|
-
*/
|
|
7067
|
-
CreationTime?: Date | undefined;
|
|
7068
|
-
}
|
|
7069
|
-
/**
|
|
7070
|
-
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
7071
|
-
* @public
|
|
7072
|
-
*/
|
|
7073
|
-
export interface ClusterOrchestratorEksConfig {
|
|
7074
|
-
/**
|
|
7075
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
|
|
7076
|
-
* @public
|
|
7077
|
-
*/
|
|
7078
|
-
ClusterArn: string | undefined;
|
|
7079
|
-
}
|