UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

52 lines 1.84 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getCustomModelOutput = exports.getCustomModel = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Returns properties of a specific Amazon Bedrock custom model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getCustomModel({ * modelId: "arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ", * }); * ``` */ function getCustomModel(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:bedrock/getCustomModel:getCustomModel", { "modelId": args.modelId, "region": args.region, }, opts); } exports.getCustomModel = getCustomModel; /** * Returns properties of a specific Amazon Bedrock custom model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getCustomModel({ * modelId: "arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ", * }); * ``` */ function getCustomModelOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:bedrock/getCustomModel:getCustomModel", { "modelId": args.modelId, "region": args.region, }, opts); } exports.getCustomModelOutput = getCustomModelOutput; //# sourceMappingURL=getCustomModel.js.map