import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetBandwidthRateLimitScheduleInput, GetBandwidthRateLimitScheduleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetBandwidthRateLimitScheduleCommand}. */ export interface GetBandwidthRateLimitScheduleCommandInput extends GetBandwidthRateLimitScheduleInput { } /** * @public * * The output of {@link GetBandwidthRateLimitScheduleCommand}. */ export interface GetBandwidthRateLimitScheduleCommandOutput extends GetBandwidthRateLimitScheduleOutput, __MetadataBearer { } declare const GetBandwidthRateLimitScheduleCommand_base: { new (input: GetBandwidthRateLimitScheduleCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetBandwidthRateLimitScheduleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupGatewayClient, GetBandwidthRateLimitScheduleCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import * // const { BackupGatewayClient, GetBandwidthRateLimitScheduleCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import * // import type { BackupGatewayClientConfig } from "@aws-sdk/client-backup-gateway"; * const config = {}; // type is BackupGatewayClientConfig * const client = new BackupGatewayClient(config); * const input = { // GetBandwidthRateLimitScheduleInput * GatewayArn: "STRING_VALUE", // required * }; * const command = new GetBandwidthRateLimitScheduleCommand(input); * const response = await client.send(command); * // { // GetBandwidthRateLimitScheduleOutput * // GatewayArn: "STRING_VALUE", * // BandwidthRateLimitIntervals: [ // BandwidthRateLimitIntervals * // { // BandwidthRateLimitInterval * // AverageUploadRateLimitInBitsPerSec: Number("long"), * // StartHourOfDay: Number("int"), // required * // EndHourOfDay: Number("int"), // required * // StartMinuteOfHour: Number("int"), // required * // EndMinuteOfHour: Number("int"), // required * // DaysOfWeek: [ // DaysOfWeek // required * // Number("int"), * // ], * // }, * // ], * // }; * * ``` * * @param GetBandwidthRateLimitScheduleCommandInput - {@link GetBandwidthRateLimitScheduleCommandInput} * @returns {@link GetBandwidthRateLimitScheduleCommandOutput} * @see {@link GetBandwidthRateLimitScheduleCommandInput} for command's `input` shape. * @see {@link GetBandwidthRateLimitScheduleCommandOutput} for command's `response` shape. * @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

A resource that is required for the action wasn't found.

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

The operation did not succeed because an internal error occurred. Try again later.

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

TPS has been limited to protect against intentional or unintentional high request volumes.

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

The operation did not succeed because a validation error occurred.

* * @throws {@link BackupGatewayServiceException} *

Base exception class for all service exceptions from BackupGateway service.

* * * @public */ export declare class GetBandwidthRateLimitScheduleCommand extends GetBandwidthRateLimitScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetBandwidthRateLimitScheduleInput; output: GetBandwidthRateLimitScheduleOutput; }; sdk: { input: GetBandwidthRateLimitScheduleCommandInput; output: GetBandwidthRateLimitScheduleCommandOutput; }; }; }