1. Packages
  2. AWS Native
  3. API Docs
  4. sagemaker
  5. getModelPackage

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.sagemaker.getModelPackage

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource Type definition for AWS::SageMaker::ModelPackage

    Using getModelPackage

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getModelPackage(args: GetModelPackageArgs, opts?: InvokeOptions): Promise<GetModelPackageResult>
    function getModelPackageOutput(args: GetModelPackageOutputArgs, opts?: InvokeOptions): Output<GetModelPackageResult>
    def get_model_package(model_package_arn: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetModelPackageResult
    def get_model_package_output(model_package_arn: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetModelPackageResult]
    func LookupModelPackage(ctx *Context, args *LookupModelPackageArgs, opts ...InvokeOption) (*LookupModelPackageResult, error)
    func LookupModelPackageOutput(ctx *Context, args *LookupModelPackageOutputArgs, opts ...InvokeOption) LookupModelPackageResultOutput

    > Note: This function is named LookupModelPackage in the Go SDK.

    public static class GetModelPackage 
    {
        public static Task<GetModelPackageResult> InvokeAsync(GetModelPackageArgs args, InvokeOptions? opts = null)
        public static Output<GetModelPackageResult> Invoke(GetModelPackageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetModelPackageResult> getModelPackage(GetModelPackageArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:sagemaker:getModelPackage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getModelPackage Result

    The following output properties are available:

    Supporting Types

    ModelPackageAdditionalInferenceSpecificationDefinition

    Containers List<Pulumi.AwsNative.SageMaker.Inputs.ModelPackageContainerDefinition>
    The Amazon ECR registry path of the Docker image that contains the inference code.
    Name string
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    Description string
    A description of the additional Inference specification.
    SupportedContentTypes List<string>
    The supported MIME types for the input data.
    SupportedRealtimeInferenceInstanceTypes List<string>
    A list of the instance types that are used to generate inferences in real-time
    SupportedResponseMimeTypes List<string>
    The supported MIME types for the output data.
    SupportedTransformInstanceTypes List<string>
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
    Containers []ModelPackageContainerDefinition
    The Amazon ECR registry path of the Docker image that contains the inference code.
    Name string
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    Description string
    A description of the additional Inference specification.
    SupportedContentTypes []string
    The supported MIME types for the input data.
    SupportedRealtimeInferenceInstanceTypes []string
    A list of the instance types that are used to generate inferences in real-time
    SupportedResponseMimeTypes []string
    The supported MIME types for the output data.
    SupportedTransformInstanceTypes []string
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
    containers List<ModelPackageContainerDefinition>
    The Amazon ECR registry path of the Docker image that contains the inference code.
    name String
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    description String
    A description of the additional Inference specification.
    supportedContentTypes List<String>
    The supported MIME types for the input data.
    supportedRealtimeInferenceInstanceTypes List<String>
    A list of the instance types that are used to generate inferences in real-time
    supportedResponseMimeTypes List<String>
    The supported MIME types for the output data.
    supportedTransformInstanceTypes List<String>
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
    containers ModelPackageContainerDefinition[]
    The Amazon ECR registry path of the Docker image that contains the inference code.
    name string
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    description string
    A description of the additional Inference specification.
    supportedContentTypes string[]
    The supported MIME types for the input data.
    supportedRealtimeInferenceInstanceTypes string[]
    A list of the instance types that are used to generate inferences in real-time
    supportedResponseMimeTypes string[]
    The supported MIME types for the output data.
    supportedTransformInstanceTypes string[]
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
    containers Sequence[ModelPackageContainerDefinition]
    The Amazon ECR registry path of the Docker image that contains the inference code.
    name str
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    description str
    A description of the additional Inference specification.
    supported_content_types Sequence[str]
    The supported MIME types for the input data.
    supported_realtime_inference_instance_types Sequence[str]
    A list of the instance types that are used to generate inferences in real-time
    supported_response_mime_types Sequence[str]
    The supported MIME types for the output data.
    supported_transform_instance_types Sequence[str]
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
    containers List<Property Map>
    The Amazon ECR registry path of the Docker image that contains the inference code.
    name String
    A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
    description String
    A description of the additional Inference specification.
    supportedContentTypes List<String>
    The supported MIME types for the input data.
    supportedRealtimeInferenceInstanceTypes List<String>
    A list of the instance types that are used to generate inferences in real-time
    supportedResponseMimeTypes List<String>
    The supported MIME types for the output data.
    supportedTransformInstanceTypes List<String>
    A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

    ModelPackageContainerDefinition

    Image string
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    ContainerHostname string
    The DNS host name for the Docker container.
    Environment Pulumi.AwsNative.SageMaker.Inputs.ModelPackageEnvironment
    Framework string
    The machine learning framework of the model package container image.
    FrameworkVersion string
    The framework version of the Model Package Container Image.
    ImageDigest string
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    ModelDataUrl string
    A structure with Model Input details.
    ModelInput Pulumi.AwsNative.SageMaker.Inputs.ModelPackageContainerDefinitionModelInputProperties
    NearestModelName string
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
    Image string
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    ContainerHostname string
    The DNS host name for the Docker container.
    Environment ModelPackageEnvironment
    Framework string
    The machine learning framework of the model package container image.
    FrameworkVersion string
    The framework version of the Model Package Container Image.
    ImageDigest string
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    ModelDataUrl string
    A structure with Model Input details.
    ModelInput ModelPackageContainerDefinitionModelInputProperties
    NearestModelName string
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
    image String
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    containerHostname String
    The DNS host name for the Docker container.
    environment ModelPackageEnvironment
    framework String
    The machine learning framework of the model package container image.
    frameworkVersion String
    The framework version of the Model Package Container Image.
    imageDigest String
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    modelDataUrl String
    A structure with Model Input details.
    modelInput ModelPackageContainerDefinitionModelInputProperties
    nearestModelName String
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
    image string
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    containerHostname string
    The DNS host name for the Docker container.
    environment ModelPackageEnvironment
    framework string
    The machine learning framework of the model package container image.
    frameworkVersion string
    The framework version of the Model Package Container Image.
    imageDigest string
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    modelDataUrl string
    A structure with Model Input details.
    modelInput ModelPackageContainerDefinitionModelInputProperties
    nearestModelName string
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
    image str
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    container_hostname str
    The DNS host name for the Docker container.
    environment ModelPackageEnvironment
    framework str
    The machine learning framework of the model package container image.
    framework_version str
    The framework version of the Model Package Container Image.
    image_digest str
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    model_data_url str
    A structure with Model Input details.
    model_input ModelPackageContainerDefinitionModelInputProperties
    nearest_model_name str
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
    image String
    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
    containerHostname String
    The DNS host name for the Docker container.
    environment Property Map
    framework String
    The machine learning framework of the model package container image.
    frameworkVersion String
    The framework version of the Model Package Container Image.
    imageDigest String
    An MD5 hash of the training algorithm that identifies the Docker image used for training.
    modelDataUrl String
    A structure with Model Input details.
    modelInput Property Map
    nearestModelName String
    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.

    ModelPackageContainerDefinitionModelInputProperties

    DataInputConfig string
    The input configuration object for the model.
    DataInputConfig string
    The input configuration object for the model.
    dataInputConfig String
    The input configuration object for the model.
    dataInputConfig string
    The input configuration object for the model.
    data_input_config str
    The input configuration object for the model.
    dataInputConfig String
    The input configuration object for the model.

    ModelPackageModelApprovalStatus

    ModelPackageSkipModelValidation

    ModelPackageStatus

    ModelPackageStatusDetails

    ModelPackageStatusItem

    Name string
    The name of the model package for which the overall status is being reported.
    Status Pulumi.AwsNative.SageMaker.ModelPackageStatusItemStatus
    The current status.
    FailureReason string
    If the overall status is Failed, the reason for the failure.
    Name string
    The name of the model package for which the overall status is being reported.
    Status ModelPackageStatusItemStatus
    The current status.
    FailureReason string
    If the overall status is Failed, the reason for the failure.
    name String
    The name of the model package for which the overall status is being reported.
    status ModelPackageStatusItemStatus
    The current status.
    failureReason String
    If the overall status is Failed, the reason for the failure.
    name string
    The name of the model package for which the overall status is being reported.
    status ModelPackageStatusItemStatus
    The current status.
    failureReason string
    If the overall status is Failed, the reason for the failure.
    name str
    The name of the model package for which the overall status is being reported.
    status ModelPackageStatusItemStatus
    The current status.
    failure_reason str
    If the overall status is Failed, the reason for the failure.
    name String
    The name of the model package for which the overall status is being reported.
    status "NotStarted" | "Failed" | "InProgress" | "Completed"
    The current status.
    failureReason String
    If the overall status is Failed, the reason for the failure.

    ModelPackageStatusItemStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi