import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SendWorkflowStepStateRequest, SendWorkflowStepStateResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link SendWorkflowStepStateCommand}. */ export interface SendWorkflowStepStateCommandInput extends SendWorkflowStepStateRequest { } /** * @public * * The output of {@link SendWorkflowStepStateCommand}. */ export interface SendWorkflowStepStateCommandOutput extends SendWorkflowStepStateResponse, __MetadataBearer { } declare const SendWorkflowStepStateCommand_base: { new (input: SendWorkflowStepStateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: SendWorkflowStepStateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Sends a callback for asynchronous custom steps.

The ExecutionId, WorkflowId, and Token are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, SendWorkflowStepStateCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, SendWorkflowStepStateCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // SendWorkflowStepStateRequest * WorkflowId: "STRING_VALUE", // required * ExecutionId: "STRING_VALUE", // required * Token: "STRING_VALUE", // required * Status: "SUCCESS" || "FAILURE", // required * }; * const command = new SendWorkflowStepStateCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SendWorkflowStepStateCommandInput - {@link SendWorkflowStepStateCommandInput} * @returns {@link SendWorkflowStepStateCommandOutput} * @see {@link SendWorkflowStepStateCommandInput} for command's `input` shape. * @see {@link SendWorkflowStepStateCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

This exception is thrown when an error occurs in the Transfer Family service.

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

This exception is thrown when the client submits a malformed request.

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

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

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

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

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

The request was denied due to request throttling.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class SendWorkflowStepStateCommand extends SendWorkflowStepStateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SendWorkflowStepStateRequest; output: {}; }; sdk: { input: SendWorkflowStepStateCommandInput; output: SendWorkflowStepStateCommandOutput; }; }; }