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 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:
- Model
Package stringArn
- Model
Package stringArn
- model
Package StringArn
- model
Package stringArn
- model
Package StringArn
getModelPackage Result
The following output properties are available:
- Additional
Inference List<Pulumi.Specifications Aws Native. Sage Maker. Outputs. Model Package Additional Inference Specification Definition> - Approval
Description string - Certify
For boolMarketplace - Creation
Time string - Customer
Metadata Pulumi.Properties Aws Native. Sage Maker. Outputs. Model Package Customer Metadata Properties - Last
Modified stringTime - Model
Approval Pulumi.Status Aws Native. Sage Maker. Model Package Model Approval Status - Model
Package stringArn - Model
Package stringName - Model
Package Pulumi.Status Aws Native. Sage Maker. Model Package Status - Model
Package Pulumi.Status Details Aws Native. Sage Maker. Outputs. Model Package Status Details - Model
Package intVersion - Skip
Model Pulumi.Validation Aws Native. Sage Maker. Model Package Skip Model Validation - List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Additional
Inference []ModelSpecifications Package Additional Inference Specification Definition - Approval
Description string - Certify
For boolMarketplace - Creation
Time string - Customer
Metadata ModelProperties Package Customer Metadata Properties - Last
Modified stringTime - Model
Approval ModelStatus Package Model Approval Status - Model
Package stringArn - Model
Package stringName - Model
Package ModelStatus Package Status - Model
Package ModelStatus Details Package Status Details - Model
Package intVersion - Skip
Model ModelValidation Package Skip Model Validation - Tag
- An array of key-value pairs to apply to this resource.
- additional
Inference List<ModelSpecifications Package Additional Inference Specification Definition> - approval
Description String - certify
For BooleanMarketplace - creation
Time String - customer
Metadata ModelProperties Package Customer Metadata Properties - last
Modified StringTime - model
Approval ModelStatus Package Model Approval Status - model
Package StringArn - model
Package StringName - model
Package ModelStatus Package Status - model
Package ModelStatus Details Package Status Details - model
Package IntegerVersion - skip
Model ModelValidation Package Skip Model Validation - List<Tag>
- An array of key-value pairs to apply to this resource.
- additional
Inference ModelSpecifications Package Additional Inference Specification Definition[] - approval
Description string - certify
For booleanMarketplace - creation
Time string - customer
Metadata ModelProperties Package Customer Metadata Properties - last
Modified stringTime - model
Approval ModelStatus Package Model Approval Status - model
Package stringArn - model
Package stringName - model
Package ModelStatus Package Status - model
Package ModelStatus Details Package Status Details - model
Package numberVersion - skip
Model ModelValidation Package Skip Model Validation - Tag[]
- An array of key-value pairs to apply to this resource.
- additional_
inference_ Sequence[Modelspecifications Package Additional Inference Specification Definition] - approval_
description str - certify_
for_ boolmarketplace - creation_
time str - customer_
metadata_ Modelproperties Package Customer Metadata Properties - last_
modified_ strtime - model_
approval_ Modelstatus Package Model Approval Status - model_
package_ strarn - model_
package_ strname - model_
package_ Modelstatus Package Status - model_
package_ Modelstatus_ details Package Status Details - model_
package_ intversion - skip_
model_ Modelvalidation Package Skip Model Validation - Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- additional
Inference List<Property Map>Specifications - approval
Description String - certify
For BooleanMarketplace - creation
Time String - customer
Metadata Property MapProperties - last
Modified StringTime - model
Approval "Approved" | "Rejected" | "PendingStatus Manual Approval" - model
Package StringArn - model
Package StringName - model
Package "Pending" | "Deleting" | "InStatus Progress" | "Completed" | "Failed" - model
Package Property MapStatus Details - model
Package NumberVersion - skip
Model "None" | "All"Validation - List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
ModelPackageAdditionalInferenceSpecificationDefinition
- Containers
List<Pulumi.
Aws Native. Sage Maker. Inputs. Model Package Container Definition> - 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.
- Supported
Content List<string>Types - The supported MIME types for the input data.
- Supported
Realtime List<string>Inference Instance Types - A list of the instance types that are used to generate inferences in real-time
- Supported
Response List<string>Mime Types - The supported MIME types for the output data.
- Supported
Transform List<string>Instance Types - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
- Containers
[]Model
Package Container Definition - 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.
- Supported
Content []stringTypes - The supported MIME types for the input data.
- Supported
Realtime []stringInference Instance Types - A list of the instance types that are used to generate inferences in real-time
- Supported
Response []stringMime Types - The supported MIME types for the output data.
- Supported
Transform []stringInstance Types - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
- containers
List<Model
Package Container Definition> - 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.
- supported
Content List<String>Types - The supported MIME types for the input data.
- supported
Realtime List<String>Inference Instance Types - A list of the instance types that are used to generate inferences in real-time
- supported
Response List<String>Mime Types - The supported MIME types for the output data.
- supported
Transform List<String>Instance Types - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
- containers
Model
Package Container Definition[] - 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.
- supported
Content string[]Types - The supported MIME types for the input data.
- supported
Realtime string[]Inference Instance Types - A list of the instance types that are used to generate inferences in real-time
- supported
Response string[]Mime Types - The supported MIME types for the output data.
- supported
Transform string[]Instance Types - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
- containers
Sequence[Model
Package Container Definition] - 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_ Sequence[str]types - The supported MIME types for the input data.
- supported_
realtime_ Sequence[str]inference_ instance_ types - A list of the instance types that are used to generate inferences in real-time
- supported_
response_ Sequence[str]mime_ types - The supported MIME types for the output data.
- supported_
transform_ Sequence[str]instance_ types - 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.
- supported
Content List<String>Types - The supported MIME types for the input data.
- supported
Realtime List<String>Inference Instance Types - A list of the instance types that are used to generate inferences in real-time
- supported
Response List<String>Mime Types - The supported MIME types for the output data.
- supported
Transform List<String>Instance Types - 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.
- Container
Hostname string - The DNS host name for the Docker container.
- Environment
Pulumi.
Aws Native. Sage Maker. Inputs. Model Package Environment - Framework string
- The machine learning framework of the model package container image.
- Framework
Version string - The framework version of the Model Package Container Image.
- Image
Digest string - An MD5 hash of the training algorithm that identifies the Docker image used for training.
- Model
Data stringUrl - A structure with Model Input details.
- Model
Input Pulumi.Aws Native. Sage Maker. Inputs. Model Package Container Definition Model Input Properties - Nearest
Model stringName - 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.
- Container
Hostname string - The DNS host name for the Docker container.
- Environment
Model
Package Environment - Framework string
- The machine learning framework of the model package container image.
- Framework
Version string - The framework version of the Model Package Container Image.
- Image
Digest string - An MD5 hash of the training algorithm that identifies the Docker image used for training.
- Model
Data stringUrl - A structure with Model Input details.
- Model
Input ModelPackage Container Definition Model Input Properties - Nearest
Model stringName - 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.
- container
Hostname String - The DNS host name for the Docker container.
- environment
Model
Package Environment - framework String
- The machine learning framework of the model package container image.
- framework
Version String - The framework version of the Model Package Container Image.
- image
Digest String - An MD5 hash of the training algorithm that identifies the Docker image used for training.
- model
Data StringUrl - A structure with Model Input details.
- model
Input ModelPackage Container Definition Model Input Properties - nearest
Model StringName - 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.
- container
Hostname string - The DNS host name for the Docker container.
- environment
Model
Package Environment - framework string
- The machine learning framework of the model package container image.
- framework
Version string - The framework version of the Model Package Container Image.
- image
Digest string - An MD5 hash of the training algorithm that identifies the Docker image used for training.
- model
Data stringUrl - A structure with Model Input details.
- model
Input ModelPackage Container Definition Model Input Properties - nearest
Model stringName - 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
Model
Package Environment - 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_ strurl - A structure with Model Input details.
- model_
input ModelPackage Container Definition Model Input Properties - nearest_
model_ strname - 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.
- container
Hostname String - The DNS host name for the Docker container.
- environment Property Map
- framework String
- The machine learning framework of the model package container image.
- framework
Version String - The framework version of the Model Package Container Image.
- image
Digest String - An MD5 hash of the training algorithm that identifies the Docker image used for training.
- model
Data StringUrl - A structure with Model Input details.
- model
Input Property Map - nearest
Model StringName - The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
ModelPackageContainerDefinitionModelInputProperties
- Data
Input stringConfig - The input configuration object for the model.
- Data
Input stringConfig - The input configuration object for the model.
- data
Input StringConfig - The input configuration object for the model.
- data
Input stringConfig - The input configuration object for the model.
- data_
input_ strconfig - The input configuration object for the model.
- data
Input StringConfig - 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.
Aws Native. Sage Maker. Model Package Status Item Status - The current status.
- Failure
Reason 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
Model
Package Status Item Status - The current status.
- Failure
Reason 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
Model
Package Status Item Status - The current status.
- failure
Reason 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
Model
Package Status Item Status - The current status.
- failure
Reason 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
Model
Package Status Item Status - 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
"Not
Started" | "Failed" | "In Progress" | "Completed" - The current status.
- failure
Reason String - If the overall status is Failed, the reason for the failure.
ModelPackageStatusItemStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi