@aws-sdk/client-sagemaker 3.841.0 → 3.844.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.
Files changed (64) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +135 -28
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/CreateHubContentPresignedUrlsCommand.js +22 -0
  5. package/dist-es/commands/CreateModelPackageCommand.js +1 -1
  6. package/dist-es/commands/StartSessionCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +0 -4
  9. package/dist-es/models/models_1.js +9 -4
  10. package/dist-es/models/models_2.js +5 -17
  11. package/dist-es/models/models_3.js +12 -0
  12. package/dist-es/pagination/CreateHubContentPresignedUrlsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +67 -0
  15. package/dist-types/SageMaker.d.ts +14 -0
  16. package/dist-types/SageMakerClient.d.ts +4 -2
  17. package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateHubContentPresignedUrlsCommand.d.ts +87 -0
  19. package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -2
  21. package/dist-types/commands/CreateSpaceCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeSpaceCommand.d.ts +1 -0
  24. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListSpacesCommand.d.ts +1 -0
  27. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -1
  28. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  29. package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  30. package/dist-types/commands/StartSessionCommand.d.ts +80 -0
  31. package/dist-types/commands/UpdateSpaceCommand.d.ts +1 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/models_0.d.ts +16 -12
  34. package/dist-types/models/models_1.d.ts +99 -189
  35. package/dist-types/models/models_2.d.ts +191 -72
  36. package/dist-types/models/models_3.d.ts +62 -148
  37. package/dist-types/models/models_4.d.ts +154 -59
  38. package/dist-types/models/models_5.d.ts +88 -3
  39. package/dist-types/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  42. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  43. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  44. package/dist-types/ts3.4/commands/CreateHubContentPresignedUrlsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +4 -6
  56. package/dist-types/ts3.4/models/models_1.d.ts +33 -52
  57. package/dist-types/ts3.4/models/models_2.d.ts +58 -31
  58. package/dist-types/ts3.4/models/models_3.d.ts +26 -42
  59. package/dist-types/ts3.4/models/models_4.d.ts +44 -19
  60. package/dist-types/ts3.4/models/models_5.d.ts +25 -1
  61. package/dist-types/ts3.4/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  64. package/package.json +14 -14
@@ -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, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacityReservationPreference, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, ConditionOutcome, CustomImage, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
2
+ import { 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
@@ -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: string[] | undefined;
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: string | undefined;
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;
@@ -1,5 +1,187 @@
1
- import { ActionSource, ActionStatus, ActivationState, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, CapacityReservationPreference, CaptureStatus, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterNodeRecovery, ClusterOrchestrator, ClusterStatus, CodeEditorAppImageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ComputeQuotaConfig, ComputeQuotaTarget, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, SchedulerResourceStatus, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
- import { _InstanceType, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, ExplainerConfig, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, ModelDeployConfig, MonitoringConstraintsResource, MonitoringGroundTruthS3Input, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OutputConfig, ProcessingInstanceType, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TagPropagation, TrainingSpecification, UserSettings } from "./models_1";
1
+ import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, CapacityReservationPreference, CaptureStatus, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterNodeRecovery, ClusterOrchestrator, ClusterStatus, CodeEditorAppImageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ComputeQuotaConfig, ComputeQuotaTarget, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, ModelApprovalStatus, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, SchedulerResourceStatus, StoppingCondition, Tag, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
+ import { _InstanceType, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, ExplainerConfig, HubContentType, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, ModelDeployConfig, ModelLifeCycle, ModelMetrics, ModelPackageModelCard, ModelPackageSecurityConfig, MonitoringConstraintsResource, MonitoringGroundTruthS3Input, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OutputConfig, ProcessingInstanceType, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, SkipModelValidation, SourceAlgorithmSpecification, TagPropagation, TrainingSpecification, UserSettings } from "./models_1";
3
+ /**
4
+ * <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>
5
+ * @public
6
+ */
7
+ export interface ModelPackageValidationProfile {
8
+ /**
9
+ * <p>The name of the profile for the model package.</p>
10
+ * @public
11
+ */
12
+ ProfileName: string | undefined;
13
+ /**
14
+ * <p>The <code>TransformJobDefinition</code> object that describes the transform job used for the validation of the model package.</p>
15
+ * @public
16
+ */
17
+ TransformJobDefinition: TransformJobDefinition | undefined;
18
+ }
19
+ /**
20
+ * <p>Specifies batch transform jobs that SageMaker runs to validate your model package.</p>
21
+ * @public
22
+ */
23
+ export interface ModelPackageValidationSpecification {
24
+ /**
25
+ * <p>The IAM roles to be used for the validation of the model package.</p>
26
+ * @public
27
+ */
28
+ ValidationRole: string | undefined;
29
+ /**
30
+ * <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>
31
+ * @public
32
+ */
33
+ ValidationProfiles: ModelPackageValidationProfile[] | undefined;
34
+ }
35
+ /**
36
+ * @public
37
+ */
38
+ export interface CreateModelPackageInput {
39
+ /**
40
+ * <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>
41
+ * @public
42
+ */
43
+ ModelPackageName?: string | undefined;
44
+ /**
45
+ * <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>
46
+ * @public
47
+ */
48
+ ModelPackageGroupName?: string | undefined;
49
+ /**
50
+ * <p>A description of the model package.</p>
51
+ * @public
52
+ */
53
+ ModelPackageDescription?: string | undefined;
54
+ /**
55
+ * <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>
56
+ * @public
57
+ */
58
+ InferenceSpecification?: InferenceSpecification | undefined;
59
+ /**
60
+ * <p>Specifies configurations for one or more transform jobs that SageMaker runs to test the model package.</p>
61
+ * @public
62
+ */
63
+ ValidationSpecification?: ModelPackageValidationSpecification | undefined;
64
+ /**
65
+ * <p>Details about the algorithm that was used to create the model package.</p>
66
+ * @public
67
+ */
68
+ SourceAlgorithmSpecification?: SourceAlgorithmSpecification | undefined;
69
+ /**
70
+ * <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>
71
+ * @public
72
+ */
73
+ CertifyForMarketplace?: boolean | undefined;
74
+ /**
75
+ * <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>
76
+ * @public
77
+ */
78
+ Tags?: Tag[] | undefined;
79
+ /**
80
+ * <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>
81
+ * @public
82
+ */
83
+ ModelApprovalStatus?: ModelApprovalStatus | undefined;
84
+ /**
85
+ * <p>Metadata properties of the tracking entity, trial, or trial component.</p>
86
+ * @public
87
+ */
88
+ MetadataProperties?: MetadataProperties | undefined;
89
+ /**
90
+ * <p>A structure that contains model metrics reports.</p>
91
+ * @public
92
+ */
93
+ ModelMetrics?: ModelMetrics | undefined;
94
+ /**
95
+ * <p>A unique token that guarantees that the call to this API is idempotent.</p>
96
+ * @public
97
+ */
98
+ ClientToken?: string | undefined;
99
+ /**
100
+ * <p>The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.</p>
101
+ * @public
102
+ */
103
+ Domain?: string | undefined;
104
+ /**
105
+ * <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>
106
+ * @public
107
+ */
108
+ Task?: string | undefined;
109
+ /**
110
+ * <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>
111
+ * @public
112
+ */
113
+ SamplePayloadUrl?: string | undefined;
114
+ /**
115
+ * <p>The metadata properties associated with the model package versions.</p>
116
+ * @public
117
+ */
118
+ CustomerMetadataProperties?: Record<string, string> | undefined;
119
+ /**
120
+ * <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>
121
+ * @public
122
+ */
123
+ DriftCheckBaselines?: DriftCheckBaselines | undefined;
124
+ /**
125
+ * <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>
126
+ * @public
127
+ */
128
+ AdditionalInferenceSpecifications?: AdditionalInferenceSpecificationDefinition[] | undefined;
129
+ /**
130
+ * <p>Indicates if you want to skip model validation.</p>
131
+ * @public
132
+ */
133
+ SkipModelValidation?: SkipModelValidation | undefined;
134
+ /**
135
+ * <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>
136
+ * @public
137
+ */
138
+ SourceUri?: string | undefined;
139
+ /**
140
+ * <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
141
+ * @public
142
+ */
143
+ SecurityConfig?: ModelPackageSecurityConfig | undefined;
144
+ /**
145
+ * <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>
146
+ * @public
147
+ */
148
+ ModelCard?: ModelPackageModelCard | undefined;
149
+ /**
150
+ * <p> A structure describing the current state of the model in its life cycle. </p>
151
+ * @public
152
+ */
153
+ ModelLifeCycle?: ModelLifeCycle | undefined;
154
+ }
155
+ /**
156
+ * @public
157
+ */
158
+ export interface CreateModelPackageOutput {
159
+ /**
160
+ * <p>The Amazon Resource Name (ARN) of the new model package.</p>
161
+ * @public
162
+ */
163
+ ModelPackageArn: string | undefined;
164
+ }
165
+ /**
166
+ * @public
167
+ */
168
+ export interface CreateModelPackageGroupInput {
169
+ /**
170
+ * <p>The name of the model group.</p>
171
+ * @public
172
+ */
173
+ ModelPackageGroupName: string | undefined;
174
+ /**
175
+ * <p>A description for the model group.</p>
176
+ * @public
177
+ */
178
+ ModelPackageGroupDescription?: string | undefined;
179
+ /**
180
+ * <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>
181
+ * @public
182
+ */
183
+ Tags?: Tag[] | undefined;
184
+ }
3
185
  /**
4
186
  * @public
5
187
  */
@@ -1952,6 +2134,11 @@ export interface SpaceSettings {
1952
2134
  * @public
1953
2135
  */
1954
2136
  CustomFileSystems?: CustomFileSystem[] | undefined;
2137
+ /**
2138
+ * <p>A setting that enables or disables remote access for a SageMaker space. When enabled, this allows you to connect to the remote space from your local IDE.</p>
2139
+ * @public
2140
+ */
2141
+ RemoteAccess?: FeatureStatus | undefined;
1955
2142
  }
1956
2143
  /**
1957
2144
  * @public
@@ -3561,19 +3748,6 @@ export interface DeleteHubRequest {
3561
3748
  */
3562
3749
  HubName: string | undefined;
3563
3750
  }
3564
- /**
3565
- * @public
3566
- * @enum
3567
- */
3568
- export declare const HubContentType: {
3569
- readonly MODEL: "Model";
3570
- readonly MODEL_REFERENCE: "ModelReference";
3571
- readonly NOTEBOOK: "Notebook";
3572
- };
3573
- /**
3574
- * @public
3575
- */
3576
- export type HubContentType = (typeof HubContentType)[keyof typeof HubContentType];
3577
3751
  /**
3578
3752
  * @public
3579
3753
  */
@@ -6507,64 +6681,9 @@ export interface DescribeExperimentResponse {
6507
6681
  LastModifiedBy?: UserContext | undefined;
6508
6682
  }
6509
6683
  /**
6510
- * @public
6511
- */
6512
- export interface DescribeFeatureGroupRequest {
6513
- /**
6514
- * <p>The name or Amazon Resource Name (ARN) of the <code>FeatureGroup</code> you want described. </p>
6515
- * @public
6516
- */
6517
- FeatureGroupName: string | undefined;
6518
- /**
6519
- * <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>). 2,500 <code>Features</code> are returned by default.</p>
6520
- * @public
6521
- */
6522
- NextToken?: string | undefined;
6523
- }
6524
- /**
6525
- * @public
6526
- * @enum
6527
- */
6528
- export declare const FeatureGroupStatus: {
6529
- readonly CREATED: "Created";
6530
- readonly CREATE_FAILED: "CreateFailed";
6531
- readonly CREATING: "Creating";
6532
- readonly DELETE_FAILED: "DeleteFailed";
6533
- readonly DELETING: "Deleting";
6534
- };
6535
- /**
6536
- * @public
6537
- */
6538
- export type FeatureGroupStatus = (typeof FeatureGroupStatus)[keyof typeof FeatureGroupStatus];
6539
- /**
6540
- * @public
6541
- * @enum
6542
- */
6543
- export declare const LastUpdateStatusValue: {
6544
- readonly FAILED: "Failed";
6545
- readonly IN_PROGRESS: "InProgress";
6546
- readonly SUCCESSFUL: "Successful";
6547
- };
6548
- /**
6549
- * @public
6550
- */
6551
- export type LastUpdateStatusValue = (typeof LastUpdateStatusValue)[keyof typeof LastUpdateStatusValue];
6552
- /**
6553
- * <p>A value that indicates whether the update was successful.</p>
6554
- * @public
6684
+ * @internal
6555
6685
  */
6556
- export interface LastUpdateStatus {
6557
- /**
6558
- * <p>A value that indicates whether the update was made successful.</p>
6559
- * @public
6560
- */
6561
- Status: LastUpdateStatusValue | undefined;
6562
- /**
6563
- * <p>If the update wasn't successful, indicates the reason why it failed.</p>
6564
- * @public
6565
- */
6566
- FailureReason?: string | undefined;
6567
- }
6686
+ export declare const CreateModelPackageInputFilterSensitiveLog: (obj: CreateModelPackageInput) => any;
6568
6687
  /**
6569
6688
  * @internal
6570
6689
  */