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 { CancelJobRequest, CancelJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CancelJobCommand}. */ export interface CancelJobCommandInput extends CancelJobRequest { } /** * @public * * The output of {@link CancelJobCommand}. */ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBearer { } declare const CancelJobCommand_base: { new (input: CancelJobCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CancelJobCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * Permanently cancel a job. Once you have canceled a job, you can't start it again. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConvertClient, CancelJobCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import * // const { MediaConvertClient, CancelJobCommand } = 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 = { // CancelJobRequest * Id: "STRING_VALUE", // required * }; * const command = new CancelJobCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CancelJobCommandInput - {@link CancelJobCommandInput} * @returns {@link CancelJobCommandOutput} * @see {@link CancelJobCommandInput} for command's `input` shape. * @see {@link CancelJobCommandOutput} 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 CancelJobCommand extends CancelJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CancelJobRequest; output: {}; }; sdk: { input: CancelJobCommandInput; output: CancelJobCommandOutput; }; }; }