@aws-sdk/client-sagemaker 3.858.0 → 3.860.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 +16 -0
- package/dist-cjs/index.js +111 -8
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/AttachClusterNodeVolumeCommand.js +22 -0
- package/dist-es/commands/DetachClusterNodeVolumeCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +7 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/models/models_4.js +0 -4
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +58 -0
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +82 -0
- package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +82 -0
- package/dist-types/commands/ListActionsCommand.d.ts +2 -1
- package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +70 -40
- package/dist-types/models/models_1.d.ts +42 -50
- package/dist-types/models/models_2.d.ts +49 -124
- package/dist-types/models/models_3.d.ts +181 -118
- package/dist-types/models/models_4.d.ts +118 -72
- package/dist-types/models/models_5.d.ts +72 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AttachClusterNodeVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DetachClusterNodeVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -16
- package/dist-types/ts3.4/models/models_1.d.ts +17 -15
- package/dist-types/ts3.4/models/models_2.d.ts +12 -34
- package/dist-types/ts3.4/models/models_3.d.ts +43 -34
- package/dist-types/ts3.4/models/models_4.d.ts +32 -22
- package/dist-types/ts3.4/models/models_5.d.ts +22 -4
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +2 -2
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, Bias, CaptureStatus, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterNodeRecovery, ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterStatus, CodeEditorAppImageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, SchedulerResourceStatus, StoppingCondition, Tag, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
|
|
2
|
-
import { _InstanceType, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeviceSelectionConfig, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput,
|
|
2
|
+
import { _InstanceType, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeviceSelectionConfig, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, HubContentType, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, ModelDeployConfig, ModelPackageModelCard, MonitoringConstraintsResource, MonitoringGroundTruthS3Input, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OutputConfig, ProcessingInstanceType, ProcessingS3UploadMode, RetryStrategy, SchedulerConfig, TagPropagation, TrainingSpecification, UserSettings } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p> A structure describing the current state of the model in its life cycle. </p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ModelLifeCycle {
|
|
8
|
+
/**
|
|
9
|
+
* <p> The current stage in the model life cycle. </p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
Stage: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p> The current status of a stage in model life cycle. </p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
StageStatus: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p> Describes the stage related details. </p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
StageDescription?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* <p>Contains explainability metrics for a model.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface Explainability {
|
|
29
|
+
/**
|
|
30
|
+
* <p>The explainability report for a model.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
Report?: MetricsSource | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>Data quality constraints and statistics for a model.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface ModelDataQuality {
|
|
40
|
+
/**
|
|
41
|
+
* <p>Data quality statistics for a model.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
Statistics?: MetricsSource | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>Data quality constraints for a model.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
Constraints?: MetricsSource | undefined;
|
|
50
|
+
}
|
|
3
51
|
/**
|
|
4
52
|
* <p>Model quality statistics and constraints.</p>
|
|
5
53
|
* @public
|
|
@@ -6378,129 +6426,6 @@ export interface ProductionVariantStatus {
|
|
|
6378
6426
|
*/
|
|
6379
6427
|
StartTime?: Date | undefined;
|
|
6380
6428
|
}
|
|
6381
|
-
/**
|
|
6382
|
-
* <p>The production variant summary for a deployment when an endpoint is creating or updating with the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> or <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html">UpdateEndpoint</a> operations. Describes the <code>VariantStatus </code>, weight and capacity for a production variant associated with an endpoint. </p>
|
|
6383
|
-
* @public
|
|
6384
|
-
*/
|
|
6385
|
-
export interface PendingProductionVariantSummary {
|
|
6386
|
-
/**
|
|
6387
|
-
* <p>The name of the variant.</p>
|
|
6388
|
-
* @public
|
|
6389
|
-
*/
|
|
6390
|
-
VariantName: string | undefined;
|
|
6391
|
-
/**
|
|
6392
|
-
* <p>An array of <code>DeployedImage</code> objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this <code>ProductionVariant</code>.</p>
|
|
6393
|
-
* @public
|
|
6394
|
-
*/
|
|
6395
|
-
DeployedImages?: DeployedImage[] | undefined;
|
|
6396
|
-
/**
|
|
6397
|
-
* <p>The weight associated with the variant.</p>
|
|
6398
|
-
* @public
|
|
6399
|
-
*/
|
|
6400
|
-
CurrentWeight?: number | undefined;
|
|
6401
|
-
/**
|
|
6402
|
-
* <p>The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> operation.</p>
|
|
6403
|
-
* @public
|
|
6404
|
-
*/
|
|
6405
|
-
DesiredWeight?: number | undefined;
|
|
6406
|
-
/**
|
|
6407
|
-
* <p>The number of instances associated with the variant.</p>
|
|
6408
|
-
* @public
|
|
6409
|
-
*/
|
|
6410
|
-
CurrentInstanceCount?: number | undefined;
|
|
6411
|
-
/**
|
|
6412
|
-
* <p>The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> operation.</p>
|
|
6413
|
-
* @public
|
|
6414
|
-
*/
|
|
6415
|
-
DesiredInstanceCount?: number | undefined;
|
|
6416
|
-
/**
|
|
6417
|
-
* <p>The type of instances associated with the variant.</p>
|
|
6418
|
-
* @public
|
|
6419
|
-
*/
|
|
6420
|
-
InstanceType?: ProductionVariantInstanceType | undefined;
|
|
6421
|
-
/**
|
|
6422
|
-
* <p>This parameter is no longer supported. Elastic Inference (EI) is no longer available.</p> <p>This parameter was used to specify the size of the EI instance to use for the production variant.</p>
|
|
6423
|
-
* @public
|
|
6424
|
-
*/
|
|
6425
|
-
AcceleratorType?: ProductionVariantAcceleratorType | undefined;
|
|
6426
|
-
/**
|
|
6427
|
-
* <p>The endpoint variant status which describes the current deployment stage status or operational status.</p>
|
|
6428
|
-
* @public
|
|
6429
|
-
*/
|
|
6430
|
-
VariantStatus?: ProductionVariantStatus[] | undefined;
|
|
6431
|
-
/**
|
|
6432
|
-
* <p>The serverless configuration for the endpoint.</p>
|
|
6433
|
-
* @public
|
|
6434
|
-
*/
|
|
6435
|
-
CurrentServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
6436
|
-
/**
|
|
6437
|
-
* <p>The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.</p>
|
|
6438
|
-
* @public
|
|
6439
|
-
*/
|
|
6440
|
-
DesiredServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
6441
|
-
/**
|
|
6442
|
-
* <p>Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic. </p>
|
|
6443
|
-
* @public
|
|
6444
|
-
*/
|
|
6445
|
-
ManagedInstanceScaling?: ProductionVariantManagedInstanceScaling | undefined;
|
|
6446
|
-
/**
|
|
6447
|
-
* <p>Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.</p>
|
|
6448
|
-
* @public
|
|
6449
|
-
*/
|
|
6450
|
-
RoutingConfig?: ProductionVariantRoutingConfig | undefined;
|
|
6451
|
-
}
|
|
6452
|
-
/**
|
|
6453
|
-
* <p>The summary of an in-progress deployment when an endpoint is creating or updating with a new endpoint configuration.</p>
|
|
6454
|
-
* @public
|
|
6455
|
-
*/
|
|
6456
|
-
export interface PendingDeploymentSummary {
|
|
6457
|
-
/**
|
|
6458
|
-
* <p>The name of the endpoint configuration used in the deployment. </p>
|
|
6459
|
-
* @public
|
|
6460
|
-
*/
|
|
6461
|
-
EndpointConfigName: string | undefined;
|
|
6462
|
-
/**
|
|
6463
|
-
* <p>An array of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html">PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint for the in-progress deployment.</p>
|
|
6464
|
-
* @public
|
|
6465
|
-
*/
|
|
6466
|
-
ProductionVariants?: PendingProductionVariantSummary[] | undefined;
|
|
6467
|
-
/**
|
|
6468
|
-
* <p>The start time of the deployment.</p>
|
|
6469
|
-
* @public
|
|
6470
|
-
*/
|
|
6471
|
-
StartTime?: Date | undefined;
|
|
6472
|
-
/**
|
|
6473
|
-
* <p>An array of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html">PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on <code>ProductionVariants</code> for the in-progress deployment.</p>
|
|
6474
|
-
* @public
|
|
6475
|
-
*/
|
|
6476
|
-
ShadowProductionVariants?: PendingProductionVariantSummary[] | undefined;
|
|
6477
|
-
}
|
|
6478
|
-
/**
|
|
6479
|
-
* <p>The EC2 capacity reservations that are shared to an ML capacity reservation.</p>
|
|
6480
|
-
* @public
|
|
6481
|
-
*/
|
|
6482
|
-
export interface Ec2CapacityReservation {
|
|
6483
|
-
/**
|
|
6484
|
-
* <p>The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.</p>
|
|
6485
|
-
* @public
|
|
6486
|
-
*/
|
|
6487
|
-
Ec2CapacityReservationId?: string | undefined;
|
|
6488
|
-
/**
|
|
6489
|
-
* <p>The number of instances that you allocated to the EC2 capacity reservation.</p>
|
|
6490
|
-
* @public
|
|
6491
|
-
*/
|
|
6492
|
-
TotalInstanceCount?: number | undefined;
|
|
6493
|
-
/**
|
|
6494
|
-
* <p>The number of instances that are currently available in the EC2 capacity reservation.</p>
|
|
6495
|
-
* @public
|
|
6496
|
-
*/
|
|
6497
|
-
AvailableInstanceCount?: number | undefined;
|
|
6498
|
-
/**
|
|
6499
|
-
* <p>The number of instances from the EC2 capacity reservation that are being used by the endpoint.</p>
|
|
6500
|
-
* @public
|
|
6501
|
-
*/
|
|
6502
|
-
UsedByCurrentEndpoint?: number | undefined;
|
|
6503
|
-
}
|
|
6504
6429
|
/**
|
|
6505
6430
|
* @internal
|
|
6506
6431
|
*/
|
|
@@ -1,6 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _InstanceType, ContainerDefinition, DataCaptureConfig, DeploymentConfig, DockerSettings, DriftCheckBaselines, EdgeOutputConfig, EndpointInfo, ExecutionRoleIdentityConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubContentType, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartConfig, InferenceComponentComputeResourceRequirements, InferenceComponentStartupParameters, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, MetadataProperties, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig,
|
|
3
|
-
import { CustomizedMetricSpecification, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeployedImage, DeploymentRecommendation, DirectInternetAccess, DomainStatus,
|
|
1
|
+
import { AdditionalInferenceSpecificationDefinition, AgentVersion, AlgorithmSpecification, AmazonQSettings, AppSpecification, AssociationEdgeType, AsyncInferenceConfig, AutoRollbackConfig, Autotune, BatchDataCaptureConfig, BatchStrategy, CapacityReservationPreference, CfnTemplateProviderDetail, Channel, CheckpointConfig, CognitoConfig, InferenceSpecification, ModelApprovalStatus, ModelPackageStatus, ObjectiveStatus, OutputDataConfig, OutputParameter, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VolumeAttachmentStatus, VpcConfig } from "./models_0";
|
|
2
|
+
import { _InstanceType, ContainerDefinition, DataCaptureConfig, DeploymentConfig, DockerSettings, DriftCheckBaselines, EdgeOutputConfig, EndpointInfo, ExecutionRoleIdentityConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubContentType, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartConfig, InferenceComponentComputeResourceRequirements, InferenceComponentStartupParameters, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, MetadataProperties, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig, ModelPackageModelCard, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, OfflineStoreConfig, OnlineStoreConfig, Processor, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RecommendationJobInputConfig, RecommendationJobStoppingConditions, RecommendationJobType, ResourceLimits, RetryStrategy, ShadowModeConfig, ThroughputMode, TrackingServerSize, UnifiedStudioSettings, UserSettings, VendorGuidance } from "./models_1";
|
|
3
|
+
import { CustomizedMetricSpecification, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeployedImage, DeploymentRecommendation, DirectInternetAccess, DomainStatus, EdgePackagingJobStatus, EndpointStatus, ExperimentConfig, InfraCheckConfig, InstanceMetadataServiceConfiguration, MemberDefinition, ModelArtifacts, ModelClientConfig, ModelLifeCycle, ModelMetrics, ModelPackageSecurityConfig, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OptimizationConfig, OptimizationJobDeploymentInstanceType, OptimizationJobModelSource, OptimizationJobOutputConfig, OptimizationVpcConfig, OwnershipSettings, ParallelismConfiguration, PartnerAppAuthType, PartnerAppConfig, PartnerAppMaintenanceConfig, PartnerAppType, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, ProductionVariantStatus, ProfilerConfig, ProfilerRuleConfiguration, RemoteDebugConfig, RootAccess, RuleEvaluationStatus, ServiceCatalogProvisioningDetails, SkipModelValidation, SourceAlgorithmSpecification, SourceIpConfig, SpaceSettings, SpaceSharingSettings, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration, WorkforceIpAddressType } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The production variant summary for a deployment when an endpoint is creating or updating with the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> or <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html">UpdateEndpoint</a> operations. Describes the <code>VariantStatus </code>, weight and capacity for a production variant associated with an endpoint. </p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface PendingProductionVariantSummary {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the variant.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
VariantName: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>An array of <code>DeployedImage</code> objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this <code>ProductionVariant</code>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
DeployedImages?: DeployedImage[] | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The weight associated with the variant.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
CurrentWeight?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> operation.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
DesiredWeight?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The number of instances associated with the variant.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
CurrentInstanceCount?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> operation.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
DesiredInstanceCount?: number | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The type of instances associated with the variant.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
InstanceType?: ProductionVariantInstanceType | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>This parameter is no longer supported. Elastic Inference (EI) is no longer available.</p> <p>This parameter was used to specify the size of the EI instance to use for the production variant.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
AcceleratorType?: ProductionVariantAcceleratorType | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The endpoint variant status which describes the current deployment stage status or operational status.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
VariantStatus?: ProductionVariantStatus[] | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The serverless configuration for the endpoint.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
CurrentServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
DesiredServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic. </p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
ManagedInstanceScaling?: ProductionVariantManagedInstanceScaling | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
RoutingConfig?: ProductionVariantRoutingConfig | undefined;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>The summary of an in-progress deployment when an endpoint is creating or updating with a new endpoint configuration.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface PendingDeploymentSummary {
|
|
80
|
+
/**
|
|
81
|
+
* <p>The name of the endpoint configuration used in the deployment. </p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
EndpointConfigName: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>An array of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html">PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint for the in-progress deployment.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
ProductionVariants?: PendingProductionVariantSummary[] | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The start time of the deployment.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
StartTime?: Date | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>An array of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html">PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on <code>ProductionVariants</code> for the in-progress deployment.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
ShadowProductionVariants?: PendingProductionVariantSummary[] | undefined;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* <p>The EC2 capacity reservations that are shared to an ML capacity reservation.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export interface Ec2CapacityReservation {
|
|
106
|
+
/**
|
|
107
|
+
* <p>The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
Ec2CapacityReservationId?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The number of instances that you allocated to the EC2 capacity reservation.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
TotalInstanceCount?: number | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The number of instances that are currently available in the EC2 capacity reservation.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
AvailableInstanceCount?: number | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The number of instances from the EC2 capacity reservation that are being used by the endpoint.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
UsedByCurrentEndpoint?: number | undefined;
|
|
126
|
+
}
|
|
4
127
|
/**
|
|
5
128
|
* <p>Details about an ML capacity reservation.</p>
|
|
6
129
|
* @public
|
|
@@ -5995,6 +6118,61 @@ export interface DesiredWeightAndCapacity {
|
|
|
5995
6118
|
*/
|
|
5996
6119
|
ServerlessUpdateConfig?: ProductionVariantServerlessUpdateConfig | undefined;
|
|
5997
6120
|
}
|
|
6121
|
+
/**
|
|
6122
|
+
* @public
|
|
6123
|
+
*/
|
|
6124
|
+
export interface DetachClusterNodeVolumeRequest {
|
|
6125
|
+
/**
|
|
6126
|
+
* <p> The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster containing the target node. Your cluster must use EKS as the orchestration and be in the <code>InService</code> state. </p>
|
|
6127
|
+
* @public
|
|
6128
|
+
*/
|
|
6129
|
+
ClusterArn: string | undefined;
|
|
6130
|
+
/**
|
|
6131
|
+
* <p> The unique identifier of the cluster node from which you want to detach the volume. </p>
|
|
6132
|
+
* @public
|
|
6133
|
+
*/
|
|
6134
|
+
NodeId: string | undefined;
|
|
6135
|
+
/**
|
|
6136
|
+
* <p> The unique identifier of your EBS volume that you want to detach. Your volume must be currently attached to the specified node. </p>
|
|
6137
|
+
* @public
|
|
6138
|
+
*/
|
|
6139
|
+
VolumeId: string | undefined;
|
|
6140
|
+
}
|
|
6141
|
+
/**
|
|
6142
|
+
* @public
|
|
6143
|
+
*/
|
|
6144
|
+
export interface DetachClusterNodeVolumeResponse {
|
|
6145
|
+
/**
|
|
6146
|
+
* <p> The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster where the volume detachment operation was performed. </p>
|
|
6147
|
+
* @public
|
|
6148
|
+
*/
|
|
6149
|
+
ClusterArn: string | undefined;
|
|
6150
|
+
/**
|
|
6151
|
+
* <p> The unique identifier of the cluster node from which your volume was detached. </p>
|
|
6152
|
+
* @public
|
|
6153
|
+
*/
|
|
6154
|
+
NodeId: string | undefined;
|
|
6155
|
+
/**
|
|
6156
|
+
* <p> The unique identifier of your EBS volume that was detached. </p>
|
|
6157
|
+
* @public
|
|
6158
|
+
*/
|
|
6159
|
+
VolumeId: string | undefined;
|
|
6160
|
+
/**
|
|
6161
|
+
* <p> The original timestamp when your volume was initially attached to the node. </p>
|
|
6162
|
+
* @public
|
|
6163
|
+
*/
|
|
6164
|
+
AttachTime: Date | undefined;
|
|
6165
|
+
/**
|
|
6166
|
+
* <p> The current status of your volume detachment operation. </p>
|
|
6167
|
+
* @public
|
|
6168
|
+
*/
|
|
6169
|
+
Status: VolumeAttachmentStatus | undefined;
|
|
6170
|
+
/**
|
|
6171
|
+
* <p> The device name assigned to your attached volume on the target instance. </p>
|
|
6172
|
+
* @public
|
|
6173
|
+
*/
|
|
6174
|
+
DeviceName: string | undefined;
|
|
6175
|
+
}
|
|
5998
6176
|
/**
|
|
5999
6177
|
* <p>Information of a particular device.</p>
|
|
6000
6178
|
* @public
|
|
@@ -8665,121 +8843,6 @@ export interface ListActionsRequest {
|
|
|
8665
8843
|
*/
|
|
8666
8844
|
MaxResults?: number | undefined;
|
|
8667
8845
|
}
|
|
8668
|
-
/**
|
|
8669
|
-
* @public
|
|
8670
|
-
*/
|
|
8671
|
-
export interface ListActionsResponse {
|
|
8672
|
-
/**
|
|
8673
|
-
* <p>A list of actions and their properties.</p>
|
|
8674
|
-
* @public
|
|
8675
|
-
*/
|
|
8676
|
-
ActionSummaries?: ActionSummary[] | undefined;
|
|
8677
|
-
/**
|
|
8678
|
-
* <p>A token for getting the next set of actions, if there are any.</p>
|
|
8679
|
-
* @public
|
|
8680
|
-
*/
|
|
8681
|
-
NextToken?: string | undefined;
|
|
8682
|
-
}
|
|
8683
|
-
/**
|
|
8684
|
-
* @public
|
|
8685
|
-
*/
|
|
8686
|
-
export interface ListAlgorithmsInput {
|
|
8687
|
-
/**
|
|
8688
|
-
* <p>A filter that returns only algorithms created after the specified time (timestamp).</p>
|
|
8689
|
-
* @public
|
|
8690
|
-
*/
|
|
8691
|
-
CreationTimeAfter?: Date | undefined;
|
|
8692
|
-
/**
|
|
8693
|
-
* <p>A filter that returns only algorithms created before the specified time (timestamp).</p>
|
|
8694
|
-
* @public
|
|
8695
|
-
*/
|
|
8696
|
-
CreationTimeBefore?: Date | undefined;
|
|
8697
|
-
/**
|
|
8698
|
-
* <p>The maximum number of algorithms to return in the response.</p>
|
|
8699
|
-
* @public
|
|
8700
|
-
*/
|
|
8701
|
-
MaxResults?: number | undefined;
|
|
8702
|
-
/**
|
|
8703
|
-
* <p>A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.</p>
|
|
8704
|
-
* @public
|
|
8705
|
-
*/
|
|
8706
|
-
NameContains?: string | undefined;
|
|
8707
|
-
/**
|
|
8708
|
-
* <p>If the response to a previous <code>ListAlgorithms</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of algorithms, use the token in the next request.</p>
|
|
8709
|
-
* @public
|
|
8710
|
-
*/
|
|
8711
|
-
NextToken?: string | undefined;
|
|
8712
|
-
/**
|
|
8713
|
-
* <p>The parameter by which to sort the results. The default is <code>CreationTime</code>.</p>
|
|
8714
|
-
* @public
|
|
8715
|
-
*/
|
|
8716
|
-
SortBy?: AlgorithmSortBy | undefined;
|
|
8717
|
-
/**
|
|
8718
|
-
* <p>The sort order for the results. The default is <code>Ascending</code>.</p>
|
|
8719
|
-
* @public
|
|
8720
|
-
*/
|
|
8721
|
-
SortOrder?: SortOrder | undefined;
|
|
8722
|
-
}
|
|
8723
|
-
/**
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
export interface ListAlgorithmsOutput {
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>>An array of <code>AlgorithmSummary</code> objects, each of which lists an algorithm.</p>
|
|
8729
|
-
* @public
|
|
8730
|
-
*/
|
|
8731
|
-
AlgorithmSummaryList: AlgorithmSummary[] | undefined;
|
|
8732
|
-
/**
|
|
8733
|
-
* <p>If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.</p>
|
|
8734
|
-
* @public
|
|
8735
|
-
*/
|
|
8736
|
-
NextToken?: string | undefined;
|
|
8737
|
-
}
|
|
8738
|
-
/**
|
|
8739
|
-
* @public
|
|
8740
|
-
*/
|
|
8741
|
-
export interface ListAliasesRequest {
|
|
8742
|
-
/**
|
|
8743
|
-
* <p>The name of the image.</p>
|
|
8744
|
-
* @public
|
|
8745
|
-
*/
|
|
8746
|
-
ImageName: string | undefined;
|
|
8747
|
-
/**
|
|
8748
|
-
* <p>The alias of the image version.</p>
|
|
8749
|
-
* @public
|
|
8750
|
-
*/
|
|
8751
|
-
Alias?: string | undefined;
|
|
8752
|
-
/**
|
|
8753
|
-
* <p>The version of the image. If image version is not specified, the aliases of all versions of the image are listed.</p>
|
|
8754
|
-
* @public
|
|
8755
|
-
*/
|
|
8756
|
-
Version?: number | undefined;
|
|
8757
|
-
/**
|
|
8758
|
-
* <p>The maximum number of aliases to return.</p>
|
|
8759
|
-
* @public
|
|
8760
|
-
*/
|
|
8761
|
-
MaxResults?: number | undefined;
|
|
8762
|
-
/**
|
|
8763
|
-
* <p>If the previous call to <code>ListAliases</code> didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.</p>
|
|
8764
|
-
* @public
|
|
8765
|
-
*/
|
|
8766
|
-
NextToken?: string | undefined;
|
|
8767
|
-
}
|
|
8768
|
-
/**
|
|
8769
|
-
* @public
|
|
8770
|
-
*/
|
|
8771
|
-
export interface ListAliasesResponse {
|
|
8772
|
-
/**
|
|
8773
|
-
* <p>A list of SageMaker AI image version aliases.</p>
|
|
8774
|
-
* @public
|
|
8775
|
-
*/
|
|
8776
|
-
SageMakerImageVersionAliases?: string[] | undefined;
|
|
8777
|
-
/**
|
|
8778
|
-
* <p>A token for getting the next set of aliases, if more aliases exist.</p>
|
|
8779
|
-
* @public
|
|
8780
|
-
*/
|
|
8781
|
-
NextToken?: string | undefined;
|
|
8782
|
-
}
|
|
8783
8846
|
/**
|
|
8784
8847
|
* @internal
|
|
8785
8848
|
*/
|