import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { UpdateJobRequest } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateJobCommand}. */ export interface UpdateJobCommandInput extends UpdateJobRequest { } /** * @public * * The output of {@link UpdateJobCommand}. */ export interface UpdateJobCommandOutput extends __MetadataBearer { } declare const UpdateJobCommand_base: { new (input: UpdateJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates supported fields of the specified job.

*

Requires permission to access the UpdateJob action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, UpdateJobCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, UpdateJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // UpdateJobRequest * jobId: "STRING_VALUE", // required * description: "STRING_VALUE", * presignedUrlConfig: { // PresignedUrlConfig * roleArn: "STRING_VALUE", * expiresInSec: Number("long"), * }, * jobExecutionsRolloutConfig: { // JobExecutionsRolloutConfig * maximumPerMinute: Number("int"), * exponentialRate: { // ExponentialRolloutRate * baseRatePerMinute: Number("int"), // required * incrementFactor: Number("double"), // required * rateIncreaseCriteria: { // RateIncreaseCriteria * numberOfNotifiedThings: Number("int"), * numberOfSucceededThings: Number("int"), * }, * }, * }, * abortConfig: { // AbortConfig * criteriaList: [ // AbortCriteriaList // required * { // AbortCriteria * failureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", // required * action: "CANCEL", // required * thresholdPercentage: Number("double"), // required * minNumberOfExecutedThings: Number("int"), // required * }, * ], * }, * timeoutConfig: { // TimeoutConfig * inProgressTimeoutInMinutes: Number("long"), * }, * namespaceId: "STRING_VALUE", * jobExecutionsRetryConfig: { // JobExecutionsRetryConfig * criteriaList: [ // RetryCriteriaList // required * { // RetryCriteria * failureType: "FAILED" || "TIMED_OUT" || "ALL", // required * numberOfRetries: Number("int"), // required * }, * ], * }, * }; * const command = new UpdateJobCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateJobCommandInput - {@link UpdateJobCommandInput} * @returns {@link UpdateJobCommandOutput} * @see {@link UpdateJobCommandInput} for command's `input` shape. * @see {@link UpdateJobCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is not valid.

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

The specified resource does not exist.

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

The service is temporarily unavailable.

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

The rate exceeds the limit.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class UpdateJobCommand extends UpdateJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateJobRequest; output: {}; }; sdk: { input: UpdateJobCommandInput; output: UpdateJobCommandOutput; }; }; }