import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetScheduleInput, GetScheduleOutput } from "../models/models_0"; import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetScheduleCommand}. */ export interface GetScheduleCommandInput extends GetScheduleInput { } /** * @public * * The output of {@link GetScheduleCommand}. */ export interface GetScheduleCommandOutput extends GetScheduleOutput, __MetadataBearer { } declare const GetScheduleCommand_base: { new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves the specified schedule.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SchedulerClient, GetScheduleCommand } from "@aws-sdk/client-scheduler"; // ES Modules import * // const { SchedulerClient, GetScheduleCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import * // import type { SchedulerClientConfig } from "@aws-sdk/client-scheduler"; * const config = {}; // type is SchedulerClientConfig * const client = new SchedulerClient(config); * const input = { // GetScheduleInput * Name: "STRING_VALUE", // required * GroupName: "STRING_VALUE", * }; * const command = new GetScheduleCommand(input); * const response = await client.send(command); * // { // GetScheduleOutput * // Arn: "STRING_VALUE", * // GroupName: "STRING_VALUE", * // Name: "STRING_VALUE", * // ScheduleExpression: "STRING_VALUE", * // StartDate: new Date("TIMESTAMP"), * // EndDate: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // ScheduleExpressionTimezone: "STRING_VALUE", * // State: "STRING_VALUE", * // CreationDate: new Date("TIMESTAMP"), * // LastModificationDate: new Date("TIMESTAMP"), * // KmsKeyArn: "STRING_VALUE", * // Target: { // Target * // Arn: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // DeadLetterConfig: { // DeadLetterConfig * // Arn: "STRING_VALUE", * // }, * // RetryPolicy: { // RetryPolicy * // MaximumEventAgeInSeconds: Number("int"), * // MaximumRetryAttempts: Number("int"), * // }, * // Input: "STRING_VALUE", * // EcsParameters: { // EcsParameters * // TaskDefinitionArn: "STRING_VALUE", // required * // TaskCount: Number("int"), * // LaunchType: "STRING_VALUE", * // NetworkConfiguration: { // NetworkConfiguration * // awsvpcConfiguration: { // AwsVpcConfiguration * // Subnets: [ // Subnets // required * // "STRING_VALUE", * // ], * // SecurityGroups: [ // SecurityGroups * // "STRING_VALUE", * // ], * // AssignPublicIp: "STRING_VALUE", * // }, * // }, * // PlatformVersion: "STRING_VALUE", * // Group: "STRING_VALUE", * // CapacityProviderStrategy: [ // CapacityProviderStrategy * // { // CapacityProviderStrategyItem * // capacityProvider: "STRING_VALUE", // required * // weight: Number("int"), * // base: Number("int"), * // }, * // ], * // EnableECSManagedTags: true || false, * // EnableExecuteCommand: true || false, * // PlacementConstraints: [ // PlacementConstraints * // { // PlacementConstraint * // type: "STRING_VALUE", * // expression: "STRING_VALUE", * // }, * // ], * // PlacementStrategy: [ // PlacementStrategies * // { // PlacementStrategy * // type: "STRING_VALUE", * // field: "STRING_VALUE", * // }, * // ], * // PropagateTags: "STRING_VALUE", * // ReferenceId: "STRING_VALUE", * // Tags: [ // Tags * // { // TagMap * // "": "STRING_VALUE", * // }, * // ], * // }, * // EventBridgeParameters: { // EventBridgeParameters * // DetailType: "STRING_VALUE", // required * // Source: "STRING_VALUE", // required * // }, * // KinesisParameters: { // KinesisParameters * // PartitionKey: "STRING_VALUE", // required * // }, * // SageMakerPipelineParameters: { // SageMakerPipelineParameters * // PipelineParameterList: [ // SageMakerPipelineParameterList * // { // SageMakerPipelineParameter * // Name: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // SqsParameters: { // SqsParameters * // MessageGroupId: "STRING_VALUE", * // }, * // }, * // FlexibleTimeWindow: { // FlexibleTimeWindow * // Mode: "STRING_VALUE", // required * // MaximumWindowInMinutes: Number("int"), * // }, * // ActionAfterCompletion: "STRING_VALUE", * // }; * * ``` * * @param GetScheduleCommandInput - {@link GetScheduleCommandInput} * @returns {@link GetScheduleCommandOutput} * @see {@link GetScheduleCommandInput} for command's `input` shape. * @see {@link GetScheduleCommandOutput} for command's `response` shape. * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Unexpected error encountered while processing the request.

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

The request references a resource which does not exist.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link SchedulerServiceException} *

Base exception class for all service exceptions from Scheduler service.

* * * @public */ export declare class GetScheduleCommand extends GetScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetScheduleInput; output: GetScheduleOutput; }; sdk: { input: GetScheduleCommandInput; output: GetScheduleCommandOutput; }; }; }