UNPKG

@pulumi/aws

Version:

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

60 lines 1.75 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.getThemeOutput = exports.getTheme = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS QuickSight Theme. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.quicksight.getTheme({ * themeId: "example", * }); * ``` */ function getTheme(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:quicksight/getTheme:getTheme", { "awsAccountId": args.awsAccountId, "region": args.region, "tags": args.tags, "themeId": args.themeId, }, opts); } exports.getTheme = getTheme; /** * Data source for managing an AWS QuickSight Theme. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.quicksight.getTheme({ * themeId: "example", * }); * ``` */ function getThemeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:quicksight/getTheme:getTheme", { "awsAccountId": args.awsAccountId, "region": args.region, "tags": args.tags, "themeId": args.themeId, }, opts); } exports.getThemeOutput = getThemeOutput; //# sourceMappingURL=getTheme.js.map