UNPKG

@pulumi/aws

Version:

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

56 lines 1.7 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.getSlotTypeOutput = exports.getSlotType = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about a specific Amazon Lex Slot Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const flowerTypes = aws.lex.getSlotType({ * name: "FlowerTypes", * version: "1", * }); * ``` */ function getSlotType(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:lex/getSlotType:getSlotType", { "name": args.name, "region": args.region, "version": args.version, }, opts); } exports.getSlotType = getSlotType; /** * Provides details about a specific Amazon Lex Slot Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const flowerTypes = aws.lex.getSlotType({ * name: "FlowerTypes", * version: "1", * }); * ``` */ function getSlotTypeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:lex/getSlotType:getSlotType", { "name": args.name, "region": args.region, "version": args.version, }, opts); } exports.getSlotTypeOutput = getSlotTypeOutput; //# sourceMappingURL=getSlotType.js.map