@aws-sdk/client-swf

SWFClient Class

Amazon Simple Workflow Service

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide  .

Members

Name
Type
Details
(constructor) Requiredconstructor(...[configuration]: CheckOptionalClientConfig<SWFClientConfig>)
Constructs a new instance of the SWFClient class
config RequiredSWFClientResolvedConfig
The resolved configuration of SWFClient class. This is resolved and normalized from the constructor configuration interface.
destroy Requireddestroy(): void
Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.
middlewareStack RequiredMiddlewareStack<ClientInput, ClientOutput>
send Requiredsend<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>, options?: HandlerOptions): Promise<OutputType>
send Requiredsend<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>, cb: (err: any, data?: OutputType) = void): void
send Requiredsend<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>, options: HandlerOptions, cb: (err: any, data?: OutputType) = void): void

Full Signature

export declare class SWFClient extends Client<HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig>