AWS Native
getModelPackage
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 Pulumi.Specification Definition Aws Native. Sage Maker. Outputs. Model Package Additional Inference Specification Definition - Additional
Inference List<Pulumi.Specifications Aws Native. Sage Maker. Outputs. Model Package Additional Inference Specification Definition> - Additional
Inference List<Pulumi.Specifications To Add Aws Native. Sage Maker. Outputs. Model Package Additional Inference Specification Definition> - Approval
Description string - Certify
For boolMarketplace - Created
By Pulumi.Aws Native. Sage Maker. Outputs. Model Package Created By - Creation
Time string - Customer
Metadata Pulumi.Properties Aws Native. Sage Maker. Outputs. Model Package Customer Metadata Properties - Environment
Pulumi.
Aws Native. Sage Maker. Outputs. Model Package Environment - Last
Modified Pulumi.By Aws Native. Sage Maker. Outputs. Model Package Last Modified By - 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 Pulumi.Status Item Aws Native. Sage Maker. Outputs. Model Package Status Item - Model
Package intVersion - Tag
Pulumi.
Aws Native. Sage Maker. Outputs. Model Package Tag - List<Pulumi.
Aws Native. Sage Maker. Outputs. Model Package Tag> An array of key-value pairs to apply to this resource.
- Additional
Inference ModelSpecification Definition Package Additional Inference Specification Definition - Additional
Inference []ModelSpecifications Package Additional Inference Specification Definition - Additional
Inference []ModelSpecifications To Add Package Additional Inference Specification Definition - Approval
Description string - Certify
For boolMarketplace - Created
By ModelPackage Created By - Creation
Time string - Customer
Metadata ModelProperties Package Customer Metadata Properties - Environment
Model
Package Environment - Last
Modified ModelBy Package Last Modified By - 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 ModelStatus Item Package Status Item - Model
Package intVersion - Tag
Model
Package Tag - []Model
Package Tag An array of key-value pairs to apply to this resource.
- additional
Inference ModelSpecification Definition Package Additional Inference Specification Definition - additional
Inference List<ModelSpecifications Package Additional Inference Specification Definition> - additional
Inference List<ModelSpecifications To Add Package Additional Inference Specification Definition> - approval
Description String - certify
For BooleanMarketplace - created
By ModelPackage Created By - creation
Time String - customer
Metadata ModelProperties Package Customer Metadata Properties - environment
Model
Package Environment - last
Modified ModelBy Package Last Modified By - 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 ModelStatus Item Package Status Item - model
Package IntegerVersion - tag
Model
Package Tag - List<Model
Package Tag> An array of key-value pairs to apply to this resource.
- additional
Inference ModelSpecification Definition Package Additional Inference Specification Definition - additional
Inference ModelSpecifications Package Additional Inference Specification Definition[] - additional
Inference ModelSpecifications To Add Package Additional Inference Specification Definition[] - approval
Description string - certify
For booleanMarketplace - created
By ModelPackage Created By - creation
Time string - customer
Metadata ModelProperties Package Customer Metadata Properties - environment
Model
Package Environment - last
Modified ModelBy Package Last Modified By - 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 ModelStatus Item Package Status Item - model
Package numberVersion - tag
Model
Package Tag - Model
Package Tag[] An array of key-value pairs to apply to this resource.
- additional_
inference_ Modelspecification_ definition Package Additional Inference Specification Definition - additional_
inference_ Sequence[Modelspecifications Package Additional Inference Specification Definition] - additional_
inference_ Sequence[Modelspecifications_ to_ add Package Additional Inference Specification Definition] - approval_
description str - certify_
for_ boolmarketplace - created_
by ModelPackage Created By - creation_
time str - customer_
metadata_ Modelproperties Package Customer Metadata Properties - environment
Model
Package Environment - last_
modified_ Modelby Package Last Modified By - 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_ Modelstatus_ item Package Status Item - model_
package_ intversion - tag
Model
Package Tag - Sequence[Model
Package Tag] An array of key-value pairs to apply to this resource.
- additional
Inference Property MapSpecification Definition - additional
Inference List<Property Map>Specifications - additional
Inference List<Property Map>Specifications To Add - approval
Description String - certify
For BooleanMarketplace - created
By Property Map - creation
Time String - customer
Metadata Property MapProperties - environment Property Map
- last
Modified Property MapBy - 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 Property MapStatus Item - model
Package NumberVersion - tag Property Map
- 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>MIMETypes 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 []stringMIMETypes 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>MIMETypes 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[]MIMETypes 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>MIMETypes 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.
- Product
Id string The AWS Marketplace product ID of the model package.
- 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.
- Product
Id string The AWS Marketplace product ID of the model package.
- 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.
- product
Id String The AWS Marketplace product ID of the model package.
- 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.
- product
Id string The AWS Marketplace product ID of the model package.
- 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.
- product_
id str The AWS Marketplace product ID of the model package.
- 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.
- product
Id String The AWS Marketplace product ID of the model package.
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
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
ModelPackageTag
- Key string
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws-native
- License
- Apache-2.0