@aws-sdk/client-sagemaker 3.840.0 → 3.843.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 +135 -28
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/CreateHubContentPresignedUrlsCommand.js +22 -0
- package/dist-es/commands/CreateModelPackageCommand.js +1 -1
- package/dist-es/commands/StartSessionCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +0 -4
- package/dist-es/models/models_1.js +9 -4
- package/dist-es/models/models_2.js +5 -17
- package/dist-es/models/models_3.js +12 -0
- package/dist-es/pagination/CreateHubContentPresignedUrlsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +67 -0
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
- package/dist-types/commands/CreateHubContentPresignedUrlsCommand.d.ts +87 -0
- package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -2
- package/dist-types/commands/CreateSpaceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSpaceCommand.d.ts +1 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +1 -0
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -1
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +80 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSpaceCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +16 -12
- package/dist-types/models/models_1.d.ts +100 -190
- package/dist-types/models/models_2.d.ts +191 -72
- package/dist-types/models/models_3.d.ts +62 -148
- package/dist-types/models/models_4.d.ts +155 -60
- package/dist-types/models/models_5.d.ts +89 -4
- package/dist-types/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- 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/CreateHubContentPresignedUrlsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -6
- package/dist-types/ts3.4/models/models_1.d.ts +34 -53
- package/dist-types/ts3.4/models/models_2.d.ts +58 -31
- package/dist-types/ts3.4/models/models_3.d.ts +26 -42
- package/dist-types/ts3.4/models/models_4.d.ts +44 -19
- package/dist-types/ts3.4/models/models_5.d.ts +26 -2
- package/dist-types/ts3.4/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export * from "./CreateExperimentCommand";
|
|
|
28
28
|
export * from "./CreateFeatureGroupCommand";
|
|
29
29
|
export * from "./CreateFlowDefinitionCommand";
|
|
30
30
|
export * from "./CreateHubCommand";
|
|
31
|
+
export * from "./CreateHubContentPresignedUrlsCommand";
|
|
31
32
|
export * from "./CreateHubContentReferenceCommand";
|
|
32
33
|
export * from "./CreateHumanTaskUiCommand";
|
|
33
34
|
export * from "./CreateHyperParameterTuningJobCommand";
|
|
@@ -297,6 +298,7 @@ export * from "./StartMlflowTrackingServerCommand";
|
|
|
297
298
|
export * from "./StartMonitoringScheduleCommand";
|
|
298
299
|
export * from "./StartNotebookInstanceCommand";
|
|
299
300
|
export * from "./StartPipelineExecutionCommand";
|
|
301
|
+
export * from "./StartSessionCommand";
|
|
300
302
|
export * from "./StopAutoMLJobCommand";
|
|
301
303
|
export * from "./StopCompilationJobCommand";
|
|
302
304
|
export * from "./StopEdgeDeploymentStageCommand";
|
|
@@ -2854,6 +2854,22 @@ export declare const AuthMode: {
|
|
|
2854
2854
|
* @public
|
|
2855
2855
|
*/
|
|
2856
2856
|
export type AuthMode = (typeof AuthMode)[keyof typeof AuthMode];
|
|
2857
|
+
/**
|
|
2858
|
+
* <p>Contains a presigned URL and its associated local file path for downloading hub content artifacts.</p>
|
|
2859
|
+
* @public
|
|
2860
|
+
*/
|
|
2861
|
+
export interface AuthorizedUrl {
|
|
2862
|
+
/**
|
|
2863
|
+
* <p>The presigned S3 URL that provides temporary, secure access to download the file. URLs expire within 15 minutes for security purposes.</p>
|
|
2864
|
+
* @public
|
|
2865
|
+
*/
|
|
2866
|
+
Url?: string | undefined;
|
|
2867
|
+
/**
|
|
2868
|
+
* <p>The recommended local file path where the downloaded file should be stored to maintain proper directory structure and file organization.</p>
|
|
2869
|
+
* @public
|
|
2870
|
+
*/
|
|
2871
|
+
LocalPath?: string | undefined;
|
|
2872
|
+
}
|
|
2857
2873
|
/**
|
|
2858
2874
|
* @public
|
|
2859
2875
|
* @enum
|
|
@@ -6876,15 +6892,3 @@ export interface ComputeQuotaSummary {
|
|
|
6876
6892
|
*/
|
|
6877
6893
|
LastModifiedTime?: Date | undefined;
|
|
6878
6894
|
}
|
|
6879
|
-
/**
|
|
6880
|
-
* @public
|
|
6881
|
-
* @enum
|
|
6882
|
-
*/
|
|
6883
|
-
export declare const ConditionOutcome: {
|
|
6884
|
-
readonly FALSE: "False";
|
|
6885
|
-
readonly TRUE: "True";
|
|
6886
|
-
};
|
|
6887
|
-
/**
|
|
6888
|
-
* @public
|
|
6889
|
-
*/
|
|
6890
|
-
export type ConditionOutcome = (typeof ConditionOutcome)[keyof typeof ConditionOutcome];
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ActionSource, ActionStatus, ActivationState,
|
|
2
|
+
import { ActionSource, ActionStatus, ActivationState, AdditionalModelDataSource, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacityReservationPreference, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, CustomImage, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, VpcConfig } from "./models_0";
|
|
3
3
|
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const ConditionOutcome: {
|
|
9
|
+
readonly FALSE: "False";
|
|
10
|
+
readonly TRUE: "True";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type ConditionOutcome = (typeof ConditionOutcome)[keyof typeof ConditionOutcome];
|
|
4
16
|
/**
|
|
5
17
|
* <p>Metadata for a Condition step.</p>
|
|
6
18
|
* @public
|
|
@@ -915,7 +927,7 @@ export interface CreateClusterRequest {
|
|
|
915
927
|
* <p>The instance groups to be created in the SageMaker HyperPod cluster.</p>
|
|
916
928
|
* @public
|
|
917
929
|
*/
|
|
918
|
-
InstanceGroups
|
|
930
|
+
InstanceGroups?: ClusterInstanceGroupSpecification[] | undefined;
|
|
919
931
|
/**
|
|
920
932
|
* <p>Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker access to resources in your Amazon VPC</a>.</p> <note> <p>When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform:</p> <ul> <li> <p>Slurm-orchestrated clusters automatically configure nodes with dual IPv6 and IPv4 addresses, allowing immediate IPv6 network communications.</p> </li> <li> <p>In Amazon EKS-orchestrated clusters, nodes receive dual-stack addressing, but pods can only use IPv6 when the Amazon EKS cluster is explicitly IPv6-enabled. For information about deploying an IPv6 Amazon EKS cluster, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/deploy-ipv6-cluster.html#_deploy_an_ipv6_cluster_with_eksctl">Amazon EKS IPv6 Cluster Deployment</a>.</p> </li> </ul> <p>Additional resources for IPv6 configuration:</p> <ul> <li> <p>For information about adding IPv6 support to your VPC, see to <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html">IPv6 Support for VPC</a>.</p> </li> <li> <p>For information about creating a new IPv6-compatible VPC, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/create-vpc.html">Amazon VPC Creation Guide</a>.</p> </li> <li> <p>To configure SageMaker HyperPod with a custom Amazon VPC, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-optional-vpc">Custom Amazon VPC Setup for SageMaker HyperPod</a>.</p> </li> </ul> </note>
|
|
921
933
|
* @public
|
|
@@ -2615,12 +2627,12 @@ export interface CreateDomainRequest {
|
|
|
2615
2627
|
* <p>The VPC subnets that the domain uses for communication.</p>
|
|
2616
2628
|
* @public
|
|
2617
2629
|
*/
|
|
2618
|
-
SubnetIds
|
|
2630
|
+
SubnetIds?: string[] | undefined;
|
|
2619
2631
|
/**
|
|
2620
2632
|
* <p>The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.</p>
|
|
2621
2633
|
* @public
|
|
2622
2634
|
*/
|
|
2623
|
-
VpcId
|
|
2635
|
+
VpcId?: string | undefined;
|
|
2624
2636
|
/**
|
|
2625
2637
|
* <p>Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the <code>Search</code> API.</p> <p>Tags that you specify for the Domain are also added to all Apps that the Domain launches.</p>
|
|
2626
2638
|
* @public
|
|
@@ -3873,6 +3885,90 @@ export interface CreateHubResponse {
|
|
|
3873
3885
|
*/
|
|
3874
3886
|
HubArn: string | undefined;
|
|
3875
3887
|
}
|
|
3888
|
+
/**
|
|
3889
|
+
* <p>Configuration for accessing hub content through presigned URLs, including license agreement acceptance and URL validation settings.</p>
|
|
3890
|
+
* @public
|
|
3891
|
+
*/
|
|
3892
|
+
export interface PresignedUrlAccessConfig {
|
|
3893
|
+
/**
|
|
3894
|
+
* <p>Indicates acceptance of the End User License Agreement (EULA) for gated models. Set to true to acknowledge acceptance of the license terms required for accessing gated content.</p>
|
|
3895
|
+
* @public
|
|
3896
|
+
*/
|
|
3897
|
+
AcceptEula?: boolean | undefined;
|
|
3898
|
+
/**
|
|
3899
|
+
* <p>The expected S3 URL prefix for validation purposes. This parameter helps ensure consistency between the resolved S3 URIs and the deployment configuration, reducing potential compatibility issues.</p>
|
|
3900
|
+
* @public
|
|
3901
|
+
*/
|
|
3902
|
+
ExpectedS3Url?: string | undefined;
|
|
3903
|
+
}
|
|
3904
|
+
/**
|
|
3905
|
+
* @public
|
|
3906
|
+
* @enum
|
|
3907
|
+
*/
|
|
3908
|
+
export declare const HubContentType: {
|
|
3909
|
+
readonly MODEL: "Model";
|
|
3910
|
+
readonly MODEL_REFERENCE: "ModelReference";
|
|
3911
|
+
readonly NOTEBOOK: "Notebook";
|
|
3912
|
+
};
|
|
3913
|
+
/**
|
|
3914
|
+
* @public
|
|
3915
|
+
*/
|
|
3916
|
+
export type HubContentType = (typeof HubContentType)[keyof typeof HubContentType];
|
|
3917
|
+
/**
|
|
3918
|
+
* @public
|
|
3919
|
+
*/
|
|
3920
|
+
export interface CreateHubContentPresignedUrlsRequest {
|
|
3921
|
+
/**
|
|
3922
|
+
* <p>The name or Amazon Resource Name (ARN) of the hub that contains the content. For public content, use <code>SageMakerPublicHub</code>.</p>
|
|
3923
|
+
* @public
|
|
3924
|
+
*/
|
|
3925
|
+
HubName: string | undefined;
|
|
3926
|
+
/**
|
|
3927
|
+
* <p>The type of hub content to access. Valid values include <code>Model</code>, <code>Notebook</code>, and <code>ModelReference</code>.</p>
|
|
3928
|
+
* @public
|
|
3929
|
+
*/
|
|
3930
|
+
HubContentType: HubContentType | undefined;
|
|
3931
|
+
/**
|
|
3932
|
+
* <p>The name of the hub content for which to generate presigned URLs. This identifies the specific model or content within the hub.</p>
|
|
3933
|
+
* @public
|
|
3934
|
+
*/
|
|
3935
|
+
HubContentName: string | undefined;
|
|
3936
|
+
/**
|
|
3937
|
+
* <p>The version of the hub content. If not specified, the latest version is used.</p>
|
|
3938
|
+
* @public
|
|
3939
|
+
*/
|
|
3940
|
+
HubContentVersion?: string | undefined;
|
|
3941
|
+
/**
|
|
3942
|
+
* <p>Configuration settings for accessing the hub content, including end-user license agreement acceptance for gated models and expected S3 URL validation.</p>
|
|
3943
|
+
* @public
|
|
3944
|
+
*/
|
|
3945
|
+
AccessConfig?: PresignedUrlAccessConfig | undefined;
|
|
3946
|
+
/**
|
|
3947
|
+
* <p>The maximum number of presigned URLs to return in the response. Default value is 100. Large models may contain hundreds of files, requiring pagination to retrieve all URLs.</p>
|
|
3948
|
+
* @public
|
|
3949
|
+
*/
|
|
3950
|
+
MaxResults?: number | undefined;
|
|
3951
|
+
/**
|
|
3952
|
+
* <p> A token for pagination. Use this token to retrieve the next set of presigned URLs when the response is truncated.</p>
|
|
3953
|
+
* @public
|
|
3954
|
+
*/
|
|
3955
|
+
NextToken?: string | undefined;
|
|
3956
|
+
}
|
|
3957
|
+
/**
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
export interface CreateHubContentPresignedUrlsResponse {
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>An array of authorized URL configurations, each containing a presigned URL and its corresponding local file path for proper file organization during download.</p>
|
|
3963
|
+
* @public
|
|
3964
|
+
*/
|
|
3965
|
+
AuthorizedUrlConfigs: AuthorizedUrl[] | undefined;
|
|
3966
|
+
/**
|
|
3967
|
+
* <p>A token for pagination. If present, indicates that more presigned URLs are available. Use this token in a subsequent request to retrieve additional URLs.</p>
|
|
3968
|
+
* @public
|
|
3969
|
+
*/
|
|
3970
|
+
NextToken?: string | undefined;
|
|
3971
|
+
}
|
|
3876
3972
|
/**
|
|
3877
3973
|
* @public
|
|
3878
3974
|
*/
|
|
@@ -6652,188 +6748,6 @@ export interface SourceAlgorithmSpecification {
|
|
|
6652
6748
|
*/
|
|
6653
6749
|
SourceAlgorithms: SourceAlgorithm[] | undefined;
|
|
6654
6750
|
}
|
|
6655
|
-
/**
|
|
6656
|
-
* <p>Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package.</p> <p>The data provided in the validation profile is made available to your buyers on Amazon Web Services Marketplace.</p>
|
|
6657
|
-
* @public
|
|
6658
|
-
*/
|
|
6659
|
-
export interface ModelPackageValidationProfile {
|
|
6660
|
-
/**
|
|
6661
|
-
* <p>The name of the profile for the model package.</p>
|
|
6662
|
-
* @public
|
|
6663
|
-
*/
|
|
6664
|
-
ProfileName: string | undefined;
|
|
6665
|
-
/**
|
|
6666
|
-
* <p>The <code>TransformJobDefinition</code> object that describes the transform job used for the validation of the model package.</p>
|
|
6667
|
-
* @public
|
|
6668
|
-
*/
|
|
6669
|
-
TransformJobDefinition: TransformJobDefinition | undefined;
|
|
6670
|
-
}
|
|
6671
|
-
/**
|
|
6672
|
-
* <p>Specifies batch transform jobs that SageMaker runs to validate your model package.</p>
|
|
6673
|
-
* @public
|
|
6674
|
-
*/
|
|
6675
|
-
export interface ModelPackageValidationSpecification {
|
|
6676
|
-
/**
|
|
6677
|
-
* <p>The IAM roles to be used for the validation of the model package.</p>
|
|
6678
|
-
* @public
|
|
6679
|
-
*/
|
|
6680
|
-
ValidationRole: string | undefined;
|
|
6681
|
-
/**
|
|
6682
|
-
* <p>An array of <code>ModelPackageValidationProfile</code> objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.</p>
|
|
6683
|
-
* @public
|
|
6684
|
-
*/
|
|
6685
|
-
ValidationProfiles: ModelPackageValidationProfile[] | undefined;
|
|
6686
|
-
}
|
|
6687
|
-
/**
|
|
6688
|
-
* @public
|
|
6689
|
-
*/
|
|
6690
|
-
export interface CreateModelPackageInput {
|
|
6691
|
-
/**
|
|
6692
|
-
* <p>The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> <p>This parameter is required for unversioned models. It is not applicable to versioned models.</p>
|
|
6693
|
-
* @public
|
|
6694
|
-
*/
|
|
6695
|
-
ModelPackageName?: string | undefined;
|
|
6696
|
-
/**
|
|
6697
|
-
* <p>The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to.</p> <p>This parameter is required for versioned models, and does not apply to unversioned models.</p>
|
|
6698
|
-
* @public
|
|
6699
|
-
*/
|
|
6700
|
-
ModelPackageGroupName?: string | undefined;
|
|
6701
|
-
/**
|
|
6702
|
-
* <p>A description of the model package.</p>
|
|
6703
|
-
* @public
|
|
6704
|
-
*/
|
|
6705
|
-
ModelPackageDescription?: string | undefined;
|
|
6706
|
-
/**
|
|
6707
|
-
* <p>Specifies details about inference jobs that you can run with models based on this model package, including the following information:</p> <ul> <li> <p>The Amazon ECR paths of containers that contain the inference code and model artifacts.</p> </li> <li> <p>The instance types that the model package supports for transform jobs and real-time endpoints used for inference.</p> </li> <li> <p>The input and output content formats that the model package supports for inference.</p> </li> </ul>
|
|
6708
|
-
* @public
|
|
6709
|
-
*/
|
|
6710
|
-
InferenceSpecification?: InferenceSpecification | undefined;
|
|
6711
|
-
/**
|
|
6712
|
-
* <p>Specifies configurations for one or more transform jobs that SageMaker runs to test the model package.</p>
|
|
6713
|
-
* @public
|
|
6714
|
-
*/
|
|
6715
|
-
ValidationSpecification?: ModelPackageValidationSpecification | undefined;
|
|
6716
|
-
/**
|
|
6717
|
-
* <p>Details about the algorithm that was used to create the model package.</p>
|
|
6718
|
-
* @public
|
|
6719
|
-
*/
|
|
6720
|
-
SourceAlgorithmSpecification?: SourceAlgorithmSpecification | undefined;
|
|
6721
|
-
/**
|
|
6722
|
-
* <p>Whether to certify the model package for listing on Amazon Web Services Marketplace.</p> <p>This parameter is optional for unversioned models, and does not apply to versioned models.</p>
|
|
6723
|
-
* @public
|
|
6724
|
-
*/
|
|
6725
|
-
CertifyForMarketplace?: boolean | undefined;
|
|
6726
|
-
/**
|
|
6727
|
-
* <p>A list of key value pairs associated with the model. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p> <p>If you supply <code>ModelPackageGroupName</code>, your model package belongs to the model group you specify and uses the tags associated with the model group. In this case, you cannot supply a <code>tag</code> argument. </p>
|
|
6728
|
-
* @public
|
|
6729
|
-
*/
|
|
6730
|
-
Tags?: Tag[] | undefined;
|
|
6731
|
-
/**
|
|
6732
|
-
* <p>Whether the model is approved for deployment.</p> <p>This parameter is optional for versioned models, and does not apply to unversioned models.</p> <p>For versioned models, the value of this parameter must be set to <code>Approved</code> to deploy the model.</p>
|
|
6733
|
-
* @public
|
|
6734
|
-
*/
|
|
6735
|
-
ModelApprovalStatus?: ModelApprovalStatus | undefined;
|
|
6736
|
-
/**
|
|
6737
|
-
* <p>Metadata properties of the tracking entity, trial, or trial component.</p>
|
|
6738
|
-
* @public
|
|
6739
|
-
*/
|
|
6740
|
-
MetadataProperties?: MetadataProperties | undefined;
|
|
6741
|
-
/**
|
|
6742
|
-
* <p>A structure that contains model metrics reports.</p>
|
|
6743
|
-
* @public
|
|
6744
|
-
*/
|
|
6745
|
-
ModelMetrics?: ModelMetrics | undefined;
|
|
6746
|
-
/**
|
|
6747
|
-
* <p>A unique token that guarantees that the call to this API is idempotent.</p>
|
|
6748
|
-
* @public
|
|
6749
|
-
*/
|
|
6750
|
-
ClientToken?: string | undefined;
|
|
6751
|
-
/**
|
|
6752
|
-
* <p>The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.</p>
|
|
6753
|
-
* @public
|
|
6754
|
-
*/
|
|
6755
|
-
Domain?: string | undefined;
|
|
6756
|
-
/**
|
|
6757
|
-
* <p>The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification. The following tasks are supported by Inference Recommender: <code>"IMAGE_CLASSIFICATION"</code> | <code>"OBJECT_DETECTION"</code> | <code>"TEXT_GENERATION"</code> |<code>"IMAGE_SEGMENTATION"</code> | <code>"FILL_MASK"</code> | <code>"CLASSIFICATION"</code> | <code>"REGRESSION"</code> | <code>"OTHER"</code>.</p> <p>Specify "OTHER" if none of the tasks listed fit your use case.</p>
|
|
6758
|
-
* @public
|
|
6759
|
-
*/
|
|
6760
|
-
Task?: string | undefined;
|
|
6761
|
-
/**
|
|
6762
|
-
* <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html#API_runtime_InvokeEndpoint_RequestSyntax">InvokeEndpoint</a> call.</p>
|
|
6763
|
-
* @public
|
|
6764
|
-
*/
|
|
6765
|
-
SamplePayloadUrl?: string | undefined;
|
|
6766
|
-
/**
|
|
6767
|
-
* <p>The metadata properties associated with the model package versions.</p>
|
|
6768
|
-
* @public
|
|
6769
|
-
*/
|
|
6770
|
-
CustomerMetadataProperties?: Record<string, string> | undefined;
|
|
6771
|
-
/**
|
|
6772
|
-
* <p>Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection">Drift Detection against Previous Baselines in SageMaker Pipelines</a> in the <i>Amazon SageMaker Developer Guide</i>. </p>
|
|
6773
|
-
* @public
|
|
6774
|
-
*/
|
|
6775
|
-
DriftCheckBaselines?: DriftCheckBaselines | undefined;
|
|
6776
|
-
/**
|
|
6777
|
-
* <p>An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts. </p>
|
|
6778
|
-
* @public
|
|
6779
|
-
*/
|
|
6780
|
-
AdditionalInferenceSpecifications?: AdditionalInferenceSpecificationDefinition[] | undefined;
|
|
6781
|
-
/**
|
|
6782
|
-
* <p>Indicates if you want to skip model validation.</p>
|
|
6783
|
-
* @public
|
|
6784
|
-
*/
|
|
6785
|
-
SkipModelValidation?: SkipModelValidation | undefined;
|
|
6786
|
-
/**
|
|
6787
|
-
* <p>The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN.</p>
|
|
6788
|
-
* @public
|
|
6789
|
-
*/
|
|
6790
|
-
SourceUri?: string | undefined;
|
|
6791
|
-
/**
|
|
6792
|
-
* <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
|
|
6793
|
-
* @public
|
|
6794
|
-
*/
|
|
6795
|
-
SecurityConfig?: ModelPackageSecurityConfig | undefined;
|
|
6796
|
-
/**
|
|
6797
|
-
* <p>The model card associated with the model package. Since <code>ModelPackageModelCard</code> is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of <code>ModelCard</code>. The <code>ModelPackageModelCard</code> schema does not include <code>model_package_details</code>, and <code>model_overview</code> is composed of the <code>model_creator</code> and <code>model_artifact</code> properties. For more information about the model package model card schema, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema">Model package model card schema</a>. For more information about the model card associated with the model package, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html">View the Details of a Model Version</a>.</p>
|
|
6798
|
-
* @public
|
|
6799
|
-
*/
|
|
6800
|
-
ModelCard?: ModelPackageModelCard | undefined;
|
|
6801
|
-
/**
|
|
6802
|
-
* <p> A structure describing the current state of the model in its life cycle. </p>
|
|
6803
|
-
* @public
|
|
6804
|
-
*/
|
|
6805
|
-
ModelLifeCycle?: ModelLifeCycle | undefined;
|
|
6806
|
-
}
|
|
6807
|
-
/**
|
|
6808
|
-
* @public
|
|
6809
|
-
*/
|
|
6810
|
-
export interface CreateModelPackageOutput {
|
|
6811
|
-
/**
|
|
6812
|
-
* <p>The Amazon Resource Name (ARN) of the new model package.</p>
|
|
6813
|
-
* @public
|
|
6814
|
-
*/
|
|
6815
|
-
ModelPackageArn: string | undefined;
|
|
6816
|
-
}
|
|
6817
|
-
/**
|
|
6818
|
-
* @public
|
|
6819
|
-
*/
|
|
6820
|
-
export interface CreateModelPackageGroupInput {
|
|
6821
|
-
/**
|
|
6822
|
-
* <p>The name of the model group.</p>
|
|
6823
|
-
* @public
|
|
6824
|
-
*/
|
|
6825
|
-
ModelPackageGroupName: string | undefined;
|
|
6826
|
-
/**
|
|
6827
|
-
* <p>A description for the model group.</p>
|
|
6828
|
-
* @public
|
|
6829
|
-
*/
|
|
6830
|
-
ModelPackageGroupDescription?: string | undefined;
|
|
6831
|
-
/**
|
|
6832
|
-
* <p>A list of key value pairs associated with the model group. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>
|
|
6833
|
-
* @public
|
|
6834
|
-
*/
|
|
6835
|
-
Tags?: Tag[] | undefined;
|
|
6836
|
-
}
|
|
6837
6751
|
/**
|
|
6838
6752
|
* @internal
|
|
6839
6753
|
*/
|
|
@@ -6842,7 +6756,3 @@ export declare const CreateModelCardRequestFilterSensitiveLog: (obj: CreateModel
|
|
|
6842
6756
|
* @internal
|
|
6843
6757
|
*/
|
|
6844
6758
|
export declare const ModelPackageModelCardFilterSensitiveLog: (obj: ModelPackageModelCard) => any;
|
|
6845
|
-
/**
|
|
6846
|
-
* @internal
|
|
6847
|
-
*/
|
|
6848
|
-
export declare const CreateModelPackageInputFilterSensitiveLog: (obj: CreateModelPackageInput) => any;
|