import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeTemplateRequest, DescribeTemplateResponse } from "../models/models_4"; import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeTemplateCommand}. */ export interface DescribeTemplateCommandInput extends DescribeTemplateRequest { } /** * @public * * The output of {@link DescribeTemplateCommand}. */ export interface DescribeTemplateCommandOutput extends DescribeTemplateResponse, __MetadataBearer { } declare const DescribeTemplateCommand_base: { new (input: DescribeTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes a template's metadata.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QuickSightClient, DescribeTemplateCommand } from "@aws-sdk/client-quicksight"; // ES Modules import * // const { QuickSightClient, DescribeTemplateCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight"; * const config = {}; // type is QuickSightClientConfig * const client = new QuickSightClient(config); * const input = { // DescribeTemplateRequest * AwsAccountId: "STRING_VALUE", // required * TemplateId: "STRING_VALUE", // required * VersionNumber: Number("long"), * AliasName: "STRING_VALUE", * }; * const command = new DescribeTemplateCommand(input); * const response = await client.send(command); * // { // DescribeTemplateResponse * // Template: { // Template * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Version: { // TemplateVersion * // CreatedTime: new Date("TIMESTAMP"), * // Errors: [ // TemplateErrorList * // { // TemplateError * // Type: "SOURCE_NOT_FOUND" || "DATA_SET_NOT_FOUND" || "INTERNAL_FAILURE" || "ACCESS_DENIED", * // Message: "STRING_VALUE", * // ViolatedEntities: [ // EntityList * // { // Entity * // Path: "STRING_VALUE", * // }, * // ], * // }, * // ], * // VersionNumber: Number("long"), * // Status: "CREATION_IN_PROGRESS" || "CREATION_SUCCESSFUL" || "CREATION_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_SUCCESSFUL" || "UPDATE_FAILED" || "DELETED", * // DataSetConfigurations: [ // DataSetConfigurationList * // { // DataSetConfiguration * // Placeholder: "STRING_VALUE", * // DataSetSchema: { // DataSetSchema * // ColumnSchemaList: [ // ColumnSchemaList * // { // ColumnSchema * // Name: "STRING_VALUE", * // DataType: "STRING_VALUE", * // GeographicRole: "STRING_VALUE", * // }, * // ], * // }, * // ColumnGroupSchemaList: [ // ColumnGroupSchemaList * // { // ColumnGroupSchema * // Name: "STRING_VALUE", * // ColumnGroupColumnSchemaList: [ // ColumnGroupColumnSchemaList * // { // ColumnGroupColumnSchema * // Name: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }, * // ], * // Description: "STRING_VALUE", * // SourceEntityArn: "STRING_VALUE", * // ThemeArn: "STRING_VALUE", * // Sheets: [ // SheetList * // { // Sheet * // SheetId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Images: [ // SheetImageList * // { // SheetImage * // SheetImageId: "STRING_VALUE", // required * // Source: { // SheetImageSource * // SheetImageStaticFileSource: { // SheetImageStaticFileSource * // StaticFileId: "STRING_VALUE", // required * // }, * // }, * // Scaling: { // SheetImageScalingConfiguration * // ScalingType: "SCALE_TO_WIDTH" || "SCALE_TO_HEIGHT" || "SCALE_TO_CONTAINER" || "SCALE_NONE", * // }, * // Tooltip: { // SheetImageTooltipConfiguration * // TooltipText: { // SheetImageTooltipText * // PlainText: "STRING_VALUE", * // }, * // Visibility: "HIDDEN" || "VISIBLE", * // }, * // ImageContentAltText: "STRING_VALUE", * // Interactions: { // ImageInteractionOptions * // ImageMenuOption: { // ImageMenuOption * // AvailabilityStatus: "ENABLED" || "DISABLED", * // }, * // }, * // Actions: [ // ImageCustomActionList * // { // ImageCustomAction * // CustomActionId: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // Status: "ENABLED" || "DISABLED", * // Trigger: "CLICK" || "MENU", // required * // ActionOperations: [ // ImageCustomActionOperationList // required * // { // ImageCustomActionOperation * // NavigationOperation: { // CustomActionNavigationOperation * // LocalNavigationConfiguration: { // LocalNavigationConfiguration * // TargetSheetId: "STRING_VALUE", // required * // }, * // }, * // URLOperation: { // CustomActionURLOperation * // URLTemplate: "STRING_VALUE", // required * // URLTarget: "NEW_TAB" || "NEW_WINDOW" || "SAME_TAB", // required * // }, * // SetParametersOperation: { // CustomActionSetParametersOperation * // ParameterValueConfigurations: [ // SetParameterValueConfigurationList // required * // { // SetParameterValueConfiguration * // DestinationParameterName: "STRING_VALUE", // required * // Value: { // DestinationParameterValueConfiguration * // CustomValuesConfiguration: { // CustomValuesConfiguration * // IncludeNullValue: true || false, * // CustomValues: { // CustomParameterValues * // StringValues: [ // StringDefaultValueList * // "STRING_VALUE", * // ], * // IntegerValues: [ // IntegerDefaultValueList * // Number("long"), * // ], * // DecimalValues: [ // DecimalDefaultValueList * // Number("double"), * // ], * // DateTimeValues: [ // DateTimeDefaultValueList * // new Date("TIMESTAMP"), * // ], * // }, * // }, * // SelectAllValueOptions: "ALL_VALUES", * // SourceParameterName: "STRING_VALUE", * // SourceField: "STRING_VALUE", * // SourceColumn: { // ColumnIdentifier * // DataSetIdentifier: "STRING_VALUE", // required * // ColumnName: "STRING_VALUE", // required * // }, * // }, * // }, * // ], * // }, * // }, * // ], * // }, * // ], * // }, * // ], * // }, * // ], * // }, * // TemplateId: "STRING_VALUE", * // LastUpdatedTime: new Date("TIMESTAMP"), * // CreatedTime: new Date("TIMESTAMP"), * // }, * // Status: Number("int"), * // RequestId: "STRING_VALUE", * // }; * * ``` * * @param DescribeTemplateCommandInput - {@link DescribeTemplateCommandInput} * @returns {@link DescribeTemplateCommandOutput} * @see {@link DescribeTemplateCommandInput} for command's `input` shape. * @see {@link DescribeTemplateCommandOutput} for command's `response` shape. * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have access to this item. The provided credentials couldn't be * validated. You might not be authorized to carry out the request. Make sure that your * account is authorized to use the Amazon Quick Sight service, that your policies have the * correct permissions, and that you are using the correct credentials.

* * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

* * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

* * @throws {@link InvalidParameterValueException} (client fault) *

One or more parameters has a value that isn't valid.

* * @throws {@link ResourceExistsException} (client fault) *

The resource specified already exists.

* * @throws {@link ResourceNotFoundException} (client fault) *

One or more resources can't be found.

* * @throws {@link ThrottlingException} (client fault) *

Access is throttled.

* * @throws {@link UnsupportedUserEditionException} (client fault) *

This error indicates that you are calling an operation on an Amazon Quick Suite * subscription where the edition doesn't include support for that operation. Amazon * Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and * capability is available in every edition.

* * @throws {@link QuickSightServiceException} *

Base exception class for all service exceptions from QuickSight service.

* * * @public */ export declare class DescribeTemplateCommand extends DescribeTemplateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTemplateRequest; output: DescribeTemplateResponse; }; sdk: { input: DescribeTemplateCommandInput; output: DescribeTemplateCommandOutput; }; }; }