import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeScheduledActionsMessage, ScheduledActionsMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeScheduledActionsCommand}. */ export interface DescribeScheduledActionsCommandInput extends DescribeScheduledActionsMessage { } /** * @public * * The output of {@link DescribeScheduledActionsCommand}. */ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsMessage, __MetadataBearer { } declare const DescribeScheduledActionsCommand_base: { new (input: DescribeScheduledActionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeScheduledActionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes properties of scheduled actions. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeScheduledActionsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeScheduledActionsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DescribeScheduledActionsMessage * ScheduledActionName: "STRING_VALUE", * TargetActionType: "ResizeCluster" || "PauseCluster" || "ResumeCluster", * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * Active: true || false, * Filters: [ // ScheduledActionFilterList * { // ScheduledActionFilter * Name: "cluster-identifier" || "iam-role", // required * Values: [ // ValueStringList // required * "STRING_VALUE", * ], * }, * ], * Marker: "STRING_VALUE", * MaxRecords: Number("int"), * }; * const command = new DescribeScheduledActionsCommand(input); * const response = await client.send(command); * // { // ScheduledActionsMessage * // Marker: "STRING_VALUE", * // ScheduledActions: [ // ScheduledActionList * // { // ScheduledAction * // ScheduledActionName: "STRING_VALUE", * // TargetAction: { // ScheduledActionType * // ResizeCluster: { // ResizeClusterMessage * // ClusterIdentifier: "STRING_VALUE", // required * // ClusterType: "STRING_VALUE", * // NodeType: "STRING_VALUE", * // NumberOfNodes: Number("int"), * // Classic: true || false, * // ReservedNodeId: "STRING_VALUE", * // TargetReservedNodeOfferingId: "STRING_VALUE", * // }, * // PauseCluster: { // PauseClusterMessage * // ClusterIdentifier: "STRING_VALUE", // required * // }, * // ResumeCluster: { // ResumeClusterMessage * // ClusterIdentifier: "STRING_VALUE", // required * // }, * // }, * // Schedule: "STRING_VALUE", * // IamRole: "STRING_VALUE", * // ScheduledActionDescription: "STRING_VALUE", * // State: "ACTIVE" || "DISABLED", * // NextInvocations: [ // ScheduledActionTimeList * // new Date("TIMESTAMP"), * // ], * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param DescribeScheduledActionsCommandInput - {@link DescribeScheduledActionsCommandInput} * @returns {@link DescribeScheduledActionsCommandOutput} * @see {@link DescribeScheduledActionsCommandInput} for command's `input` shape. * @see {@link DescribeScheduledActionsCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ScheduledActionNotFoundFault} (client fault) *

The scheduled action cannot be found.

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

Your account is not authorized to perform the requested operation.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeScheduledActionsCommand extends DescribeScheduledActionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeScheduledActionsMessage; output: ScheduledActionsMessage; }; sdk: { input: DescribeScheduledActionsCommandInput; output: DescribeScheduledActionsCommandOutput; }; }; }