AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.sagemaker.getModelPackage
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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 - The Amazon Resource Name (ARN) of the model package.
- Model
Package stringArn - The Amazon Resource Name (ARN) of the model package.
- model
Package StringArn - The Amazon Resource Name (ARN) of the model package.
- model
Package stringArn - The Amazon Resource Name (ARN) of the model package.
- model_
package_ strarn - The Amazon Resource Name (ARN) of the model package.
- model
Package StringArn - The Amazon Resource Name (ARN) of the model package.
getModelPackage Result
The following output properties are available:
- Additional
Inference List<Pulumi.Specifications Aws Native. Sage Maker. Outputs. Model Package Additional Inference Specification Definition> - An array of additional Inference Specification objects.
- Approval
Description string - A description provided when the model approval is set.
- Certify
For boolMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- Creation
Time string - The time that the model package was created.
- Customer
Metadata Pulumi.Properties Aws Native. Sage Maker. Outputs. Model Package Customer Metadata Properties - The metadata properties for the model package.
- Last
Modified stringTime - The last time the model package was modified.
- Model
Approval Pulumi.Status Aws Native. Sage Maker. Model Package Model Approval Status - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- Model
Package stringArn - The Amazon Resource Name (ARN) of the model package.
- Model
Package stringName - The name of the model.
- Model
Package Pulumi.Status Aws Native. Sage Maker. Model Package Status - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- Model
Package Pulumi.Status Details Aws Native. Sage Maker. Outputs. Model Package Status Details - Specifies the validation and image scan statuses of the model package.
- Model
Package intVersion - The version number of a versioned model.
- Skip
Model Pulumi.Validation Aws Native. Sage Maker. Model Package Skip Model Validation - Indicates if you want to 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 - An array of additional Inference Specification objects.
- Approval
Description string - A description provided when the model approval is set.
- Certify
For boolMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- Creation
Time string - The time that the model package was created.
- Customer
Metadata ModelProperties Package Customer Metadata Properties - The metadata properties for the model package.
- Last
Modified stringTime - The last time the model package was modified.
- Model
Approval ModelStatus Package Model Approval Status - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- Model
Package stringArn - The Amazon Resource Name (ARN) of the model package.
- Model
Package stringName - The name of the model.
- Model
Package ModelStatus Package Status - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- Model
Package ModelStatus Details Package Status Details - Specifies the validation and image scan statuses of the model package.
- Model
Package intVersion - The version number of a versioned model.
- Skip
Model ModelValidation Package Skip Model Validation - Indicates if you want to skip model validation.
- Tag
- An array of key-value pairs to apply to this resource.
- additional
Inference List<ModelSpecifications Package Additional Inference Specification Definition> - An array of additional Inference Specification objects.
- approval
Description String - A description provided when the model approval is set.
- certify
For BooleanMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- creation
Time String - The time that the model package was created.
- customer
Metadata ModelProperties Package Customer Metadata Properties - The metadata properties for the model package.
- last
Modified StringTime - The last time the model package was modified.
- model
Approval ModelStatus Package Model Approval Status - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- model
Package StringArn - The Amazon Resource Name (ARN) of the model package.
- model
Package StringName - The name of the model.
- model
Package ModelStatus Package Status - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- model
Package ModelStatus Details Package Status Details - Specifies the validation and image scan statuses of the model package.
- model
Package IntegerVersion - The version number of a versioned model.
- skip
Model ModelValidation Package Skip Model Validation - Indicates if you want to skip model validation.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- additional
Inference ModelSpecifications Package Additional Inference Specification Definition[] - An array of additional Inference Specification objects.
- approval
Description string - A description provided when the model approval is set.
- certify
For booleanMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- creation
Time string - The time that the model package was created.
- customer
Metadata ModelProperties Package Customer Metadata Properties - The metadata properties for the model package.
- last
Modified stringTime - The last time the model package was modified.
- model
Approval ModelStatus Package Model Approval Status - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- model
Package stringArn - The Amazon Resource Name (ARN) of the model package.
- model
Package stringName - The name of the model.
- model
Package ModelStatus Package Status - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- model
Package ModelStatus Details Package Status Details - Specifies the validation and image scan statuses of the model package.
- model
Package numberVersion - The version number of a versioned model.
- skip
Model ModelValidation Package Skip Model Validation - Indicates if you want to skip model validation.
- Tag[]
- An array of key-value pairs to apply to this resource.
- additional_
inference_ Sequence[Modelspecifications Package Additional Inference Specification Definition] - An array of additional Inference Specification objects.
- approval_
description str - A description provided when the model approval is set.
- certify_
for_ boolmarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- creation_
time str - The time that the model package was created.
- customer_
metadata_ Modelproperties Package Customer Metadata Properties - The metadata properties for the model package.
- last_
modified_ strtime - The last time the model package was modified.
- model_
approval_ Modelstatus Package Model Approval Status - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- model_
package_ strarn - The Amazon Resource Name (ARN) of the model package.
- model_
package_ strname - The name of the model.
- model_
package_ Modelstatus Package Status - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- model_
package_ Modelstatus_ details Package Status Details - Specifies the validation and image scan statuses of the model package.
- model_
package_ intversion - The version number of a versioned model.
- skip_
model_ Modelvalidation Package Skip Model Validation - Indicates if you want to skip model validation.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- additional
Inference List<Property Map>Specifications - An array of additional Inference Specification objects.
- approval
Description String - A description provided when the model approval is set.
- certify
For BooleanMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
- creation
Time String - The time that the model package was created.
- customer
Metadata Property MapProperties - The metadata properties for the model package.
- last
Modified StringTime - The last time the model package was modified.
- model
Approval "Approved" | "Rejected" | "PendingStatus Manual Approval" - The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
- model
Package StringArn - The Amazon Resource Name (ARN) of the model package.
- model
Package StringName - The name of the model.
- model
Package "Pending" | "Deleting" | "InStatus Progress" | "Completed" | "Failed" - The status of the model package. This can be one of the following values.
PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
- model
Package Property MapStatus Details - Specifies the validation and image scan statuses of the model package.
- model
Package NumberVersion - The version number of a versioned model.
- skip
Model "None" | "All"Validation - Indicates if you want to skip model 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
- Validation
Statuses List<Pulumi.Aws Native. Sage Maker. Inputs. Model Package Status Item> - The validation status of the model package.
- Validation
Statuses []ModelPackage Status Item - The validation status of the model package.
- validation
Statuses List<ModelPackage Status Item> - The validation status of the model package.
- validation
Statuses ModelPackage Status Item[] - The validation status of the model package.
- validation_
statuses Sequence[ModelPackage Status Item] - The validation status of the model package.
- validation
Statuses List<Property Map> - The validation status of the model package.
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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi