import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateBandwidthRateLimitScheduleInput, UpdateBandwidthRateLimitScheduleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateBandwidthRateLimitScheduleCommand}. */ export interface UpdateBandwidthRateLimitScheduleCommandInput extends UpdateBandwidthRateLimitScheduleInput { } /** * @public * * The output of {@link UpdateBandwidthRateLimitScheduleCommand}. */ export interface UpdateBandwidthRateLimitScheduleCommandOutput extends UpdateBandwidthRateLimitScheduleOutput, __MetadataBearer { } declare const UpdateBandwidthRateLimitScheduleCommand_base: { new (input: UpdateBandwidthRateLimitScheduleCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateBandwidthRateLimitScheduleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates 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 initiate or update a gateway's bandwidth rate limit schedule. This * operation is supported for volume, tape, and S3 file gateways. S3 file gateways support * bandwidth rate limits for upload only. FSx file gateways do not support bandwidth rate * limits.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, UpdateBandwidthRateLimitScheduleCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, UpdateBandwidthRateLimitScheduleCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // UpdateBandwidthRateLimitScheduleInput * GatewayARN: "STRING_VALUE", // required * BandwidthRateLimitIntervals: [ // BandwidthRateLimitIntervals // required * { // BandwidthRateLimitInterval * StartHourOfDay: Number("int"), // required * StartMinuteOfHour: Number("int"), // required * EndHourOfDay: Number("int"), // required * EndMinuteOfHour: Number("int"), // required * DaysOfWeek: [ // DaysOfWeek // required * Number("int"), * ], * AverageUploadRateLimitInBitsPerSec: Number("long"), * AverageDownloadRateLimitInBitsPerSec: Number("long"), * }, * ], * }; * const command = new UpdateBandwidthRateLimitScheduleCommand(input); * const response = await client.send(command); * // { // UpdateBandwidthRateLimitScheduleOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param UpdateBandwidthRateLimitScheduleCommandInput - {@link UpdateBandwidthRateLimitScheduleCommandInput} * @returns {@link UpdateBandwidthRateLimitScheduleCommandOutput} * @see {@link UpdateBandwidthRateLimitScheduleCommandInput} for command's `input` shape. * @see {@link UpdateBandwidthRateLimitScheduleCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

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

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @public */ export declare class UpdateBandwidthRateLimitScheduleCommand extends UpdateBandwidthRateLimitScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateBandwidthRateLimitScheduleInput; output: UpdateBandwidthRateLimitScheduleOutput; }; sdk: { input: UpdateBandwidthRateLimitScheduleCommandInput; output: UpdateBandwidthRateLimitScheduleCommandOutput; }; }; }