import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRecoveryPlanExecutionStepRequest, UpdateRecoveryPlanExecutionStepResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateRecoveryPlanExecutionStepCommand}. */ export interface UpdateRecoveryPlanExecutionStepCommandInput extends UpdateRecoveryPlanExecutionStepRequest { } /** * @public * * The output of {@link UpdateRecoveryPlanExecutionStepCommand}. */ export interface UpdateRecoveryPlanExecutionStepCommandOutput extends UpdateRecoveryPlanExecutionStepResponse, __MetadataBearer { } declare const UpdateRecoveryPlanExecutionStepCommand_base: { new (input: UpdateRecoveryPlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateRecoveryPlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an execution step. Supports two actions: (1) skip a step that is in NOT_STARTED or FAILED status; (2) update the wait duration of a WAIT type step that is in NOT_STARTED status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DrsClient, UpdateRecoveryPlanExecutionStepCommand } from "@aws-sdk/client-drs"; // ES Modules import * // const { DrsClient, UpdateRecoveryPlanExecutionStepCommand } = require("@aws-sdk/client-drs"); // CommonJS import * // import type { DrsClientConfig } from "@aws-sdk/client-drs"; * const config = {}; // type is DrsClientConfig * const client = new DrsClient(config); * const input = { // UpdateRecoveryPlanExecutionStepRequest * recoveryPlanExecutionStepArn: "STRING_VALUE", // required * status: "STRING_VALUE", * servers: [ // RecoveryPlanServers * { // RecoveryPlanServer * serverArn: "STRING_VALUE", // required * impactLevel: "STRING_VALUE", * }, * ], * waitDurationMinutes: Number("int"), * }; * const command = new UpdateRecoveryPlanExecutionStepCommand(input); * const response = await client.send(command); * // { // UpdateRecoveryPlanExecutionStepResponse * // recoveryPlanExecutionStep: { // RecoveryPlanExecutionStep * // recoveryPlanExecutionStepArn: "STRING_VALUE", // required * // stepIndex: Number("int"), // required * // status: "STRING_VALUE", // required * // stepName: "STRING_VALUE", // required * // configuration: { // RecoveryPlanExecutionStepConfiguration Union: only one key present * // executionServerStepConfiguration: { // ExecutionServerStepConfiguration * // servers: [ // RecoveryPlanExecutionServers // required * // { // RecoveryPlanExecutionServer * // serverArn: "STRING_VALUE", // required * // impactLevel: "STRING_VALUE", * // jobID: "STRING_VALUE", * // }, * // ], * // }, * // waitStepConfiguration: { // WaitStepConfiguration * // waitDurationMinutes: Number("int"), // required * // }, * // }, * // errorDetail: { // ErrorDetail * // message: "STRING_VALUE", // required * // code: "STRING_VALUE", // required * // }, * // attempt: Number("int"), // required * // createdAt: "STRING_VALUE", // required * // updatedAt: "STRING_VALUE", // required * // }, * // }; * * ``` * * @param UpdateRecoveryPlanExecutionStepCommandInput - {@link UpdateRecoveryPlanExecutionStepCommandInput} * @returns {@link UpdateRecoveryPlanExecutionStepCommandOutput} * @see {@link UpdateRecoveryPlanExecutionStepCommandInput} for command's `input` shape. * @see {@link UpdateRecoveryPlanExecutionStepCommandOutput} for command's `response` shape. * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request could not be completed due to a conflict with the current state of the target resource.

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

The request processing has failed because of an unknown error, exception or failure.

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

The resource for this operation was not found.

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

The request was denied due to request throttling.

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

The account performing the request has not been initialized.

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

The input fails to satisfy the constraints specified by the AWS service.

* * @throws {@link DrsServiceException} *

Base exception class for all service exceptions from Drs service.

* * * @public */ export declare class UpdateRecoveryPlanExecutionStepCommand extends UpdateRecoveryPlanExecutionStepCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRecoveryPlanExecutionStepRequest; output: UpdateRecoveryPlanExecutionStepResponse; }; sdk: { input: UpdateRecoveryPlanExecutionStepCommandInput; output: UpdateRecoveryPlanExecutionStepCommandOutput; }; }; }