import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; import type { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateQueueCommand}. */ export interface UpdateQueueCommandInput extends UpdateQueueRequest { } /** * @public * * The output of {@link UpdateQueueCommand}. */ export interface UpdateQueueCommandOutput extends UpdateQueueResponse, __MetadataBearer { } declare const UpdateQueueCommand_base: { new (input: UpdateQueueCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateQueueCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * Modify one of your existing queues. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConvertClient, UpdateQueueCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import * // const { MediaConvertClient, UpdateQueueCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import * // import type { MediaConvertClientConfig } from "@aws-sdk/client-mediaconvert"; * const config = {}; // type is MediaConvertClientConfig * const client = new MediaConvertClient(config); * const input = { // UpdateQueueRequest * ConcurrentJobs: Number("int"), * Description: "STRING_VALUE", * MaximumConcurrentFeeds: Number("int"), * Name: "STRING_VALUE", // required * ReservationPlanSettings: { // ReservationPlanSettings * Commitment: "ONE_YEAR", // required * RenewalType: "AUTO_RENEW" || "EXPIRE", // required * ReservedSlots: Number("int"), // required * }, * Status: "ACTIVE" || "PAUSED", * }; * const command = new UpdateQueueCommand(input); * const response = await client.send(command); * // { // UpdateQueueResponse * // Queue: { // Queue * // Arn: "STRING_VALUE", * // ConcurrentJobs: Number("int"), * // CreatedAt: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // LastUpdated: new Date("TIMESTAMP"), * // MaximumConcurrentFeeds: Number("int"), * // Name: "STRING_VALUE", // required * // PricingPlan: "ON_DEMAND" || "RESERVED", * // ProgressingJobsCount: Number("int"), * // ReservationPlan: { // ReservationPlan * // Commitment: "ONE_YEAR", * // ExpiresAt: new Date("TIMESTAMP"), * // PurchasedAt: new Date("TIMESTAMP"), * // RenewalType: "AUTO_RENEW" || "EXPIRE", * // ReservedSlots: Number("int"), * // Status: "ACTIVE" || "EXPIRED", * // }, * // ServiceOverrides: [ // __listOfServiceOverride * // { // ServiceOverride * // Message: "STRING_VALUE", * // Name: "STRING_VALUE", * // OverrideValue: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // Status: "ACTIVE" || "PAUSED", * // SubmittedJobsCount: Number("int"), * // Type: "SYSTEM" || "CUSTOM", * // }, * // }; * * ``` * * @param UpdateQueueCommandInput - {@link UpdateQueueCommandInput} * @returns {@link UpdateQueueCommandOutput} * @see {@link UpdateQueueCommandInput} for command's `input` shape. * @see {@link UpdateQueueCommandOutput} for command's `response` shape. * @see {@link MediaConvertClientResolvedConfig | config} for MediaConvertClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * The service can't process your request because of a problem in the request. Please check your request form and syntax. * * @throws {@link ConflictException} (client fault) * The service couldn't complete your request because there is a conflict with the current state of the resource. * * @throws {@link ForbiddenException} (client fault) * You don't have permissions for this action with the credentials you sent. * * @throws {@link InternalServerErrorException} (server fault) * The service encountered an unexpected condition and can't fulfill your request. * * @throws {@link NotFoundException} (client fault) * The resource you requested doesn't exist. * * @throws {@link ServiceQuotaExceededException} (client fault) * You attempted to create more resources than the service allows based on service quotas. * * @throws {@link TooManyRequestsException} (client fault) * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests. * * @throws {@link MediaConvertServiceException} *

Base exception class for all service exceptions from MediaConvert service.

* * * @public */ export declare class UpdateQueueCommand extends UpdateQueueCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateQueueRequest; output: UpdateQueueResponse; }; sdk: { input: UpdateQueueCommandInput; output: UpdateQueueCommandOutput; }; }; }