import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient"; import type { GetDashboardRequest, GetDashboardResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDashboardCommand}. */ export interface GetDashboardCommandInput extends GetDashboardRequest { } /** * @public * * The output of {@link GetDashboardCommand}. */ export interface GetDashboardCommandOutput extends GetDashboardResponse, __MetadataBearer { } declare const GetDashboardCommand_base: { new (input: GetDashboardCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetDashboardCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

* Returns the specified dashboard. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudTrailClient, GetDashboardCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import * // const { CloudTrailClient, GetDashboardCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import * // import type { CloudTrailClientConfig } from "@aws-sdk/client-cloudtrail"; * const config = {}; // type is CloudTrailClientConfig * const client = new CloudTrailClient(config); * const input = { // GetDashboardRequest * DashboardId: "STRING_VALUE", // required * }; * const command = new GetDashboardCommand(input); * const response = await client.send(command); * // { // GetDashboardResponse * // DashboardArn: "STRING_VALUE", * // Type: "MANAGED" || "CUSTOM", * // Status: "CREATING" || "CREATED" || "UPDATING" || "UPDATED" || "DELETING", * // Widgets: [ // WidgetList * // { // Widget * // QueryAlias: "STRING_VALUE", * // QueryStatement: "STRING_VALUE", * // QueryParameters: [ // QueryParameters * // "STRING_VALUE", * // ], * // ViewProperties: { // ViewPropertiesMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // RefreshSchedule: { // RefreshSchedule * // Frequency: { // RefreshScheduleFrequency * // Unit: "HOURS" || "DAYS", * // Value: Number("int"), * // }, * // Status: "ENABLED" || "DISABLED", * // TimeOfDay: "STRING_VALUE", * // }, * // CreatedTimestamp: new Date("TIMESTAMP"), * // UpdatedTimestamp: new Date("TIMESTAMP"), * // LastRefreshId: "STRING_VALUE", * // LastRefreshFailureReason: "STRING_VALUE", * // TerminationProtectionEnabled: true || false, * // }; * * ``` * * @param GetDashboardCommandInput - {@link GetDashboardCommandInput} * @returns {@link GetDashboardCommandOutput} * @see {@link GetDashboardCommandInput} for command's `input` shape. * @see {@link GetDashboardCommandOutput} for command's `response` shape. * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

This exception is thrown when the specified resource is not found.

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

This exception is thrown when the requested operation is not supported.

* * @throws {@link CloudTrailServiceException} *

Base exception class for all service exceptions from CloudTrail service.

* * * @public */ export declare class GetDashboardCommand extends GetDashboardCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDashboardRequest; output: GetDashboardResponse; }; sdk: { input: GetDashboardCommandInput; output: GetDashboardCommandOutput; }; }; }