@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
103 lines (102 loc) • 4.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::SageMaker::ModelPackage
*/
export declare function getModelPackage(args: GetModelPackageArgs, opts?: pulumi.InvokeOptions): Promise<GetModelPackageResult>;
export interface GetModelPackageArgs {
/**
* The Amazon Resource Name (ARN) of the model package.
*/
modelPackageArn: string;
}
export interface GetModelPackageResult {
/**
* An array of additional Inference Specification objects.
*/
readonly additionalInferenceSpecifications?: outputs.sagemaker.ModelPackageAdditionalInferenceSpecificationDefinition[];
/**
* A description provided when the model approval is set.
*/
readonly approvalDescription?: string;
/**
* 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](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html) .
*/
readonly certifyForMarketplace?: boolean;
/**
* The time that the model package was created.
*/
readonly creationTime?: string;
/**
* The metadata properties for the model package.
*/
readonly customerMetadataProperties?: outputs.sagemaker.ModelPackageCustomerMetadataProperties;
/**
* The last time the model package was modified.
*/
readonly lastModifiedTime?: string;
/**
* The approval status of the model. This can be one of the following values.
*
* - `APPROVED` - The model is approved
* - `REJECTED` - The model is rejected.
* - `PENDING_MANUAL_APPROVAL` - The model is waiting for manual approval.
*/
readonly modelApprovalStatus?: enums.sagemaker.ModelPackageModelApprovalStatus;
/**
* An Amazon SageMaker Model Card.
*/
readonly modelCard?: outputs.sagemaker.ModelPackageModelCard;
/**
* The Amazon Resource Name (ARN) of the model package.
*/
readonly modelPackageArn?: string;
/**
* The name of the model package. The name can be as follows:
*
* - For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format ' `ModelPackageGroupName/ModelPackageVersion` '.
* - For an unversioned model, you must provide the name.
*/
readonly modelPackageName?: string;
/**
* 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.
*/
readonly modelPackageStatus?: enums.sagemaker.ModelPackageStatus;
/**
* Specifies the validation and image scan statuses of the model package.
*/
readonly modelPackageStatusDetails?: outputs.sagemaker.ModelPackageStatusDetails;
/**
* The version number of a versioned model.
*/
readonly modelPackageVersion?: number;
/**
* Indicates if you want to skip model validation.
*/
readonly skipModelValidation?: enums.sagemaker.ModelPackageSkipModelValidation;
/**
* The URI of the source for the model package.
*/
readonly sourceUri?: string;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type definition for AWS::SageMaker::ModelPackage
*/
export declare function getModelPackageOutput(args: GetModelPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetModelPackageResult>;
export interface GetModelPackageOutputArgs {
/**
* The Amazon Resource Name (ARN) of the model package.
*/
modelPackageArn: pulumi.Input<string>;
}