@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)
33 lines (32 loc) • 1.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource type definition for AWS::SageMaker::Model
*/
export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise<GetModelResult>;
export interface GetModelArgs {
/**
* The Amazon Resource Name (ARN) of the model.
*/
modelArn: string;
}
export interface GetModelResult {
/**
* The Amazon Resource Name (ARN) of the model.
*/
readonly modelArn?: string;
/**
* An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource type definition for AWS::SageMaker::Model
*/
export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetModelResult>;
export interface GetModelOutputArgs {
/**
* The Amazon Resource Name (ARN) of the model.
*/
modelArn: pulumi.Input<string>;
}