- Navigation GuideYou are on a type information page within a Client package. Return to the Client landing page
@aws-sdk/client-swf
SWFClient Class
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) Required | constructor(...[configuration]: CheckOptionalClientConfig<SWFClientConfig>) | Constructs a new instance of the SWFClient class |
config Required | SWFClientResolvedConfig | The resolved configuration of SWFClient class. This is resolved and normalized from the constructor configuration interface. |
destroy Required | destroy(): 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 Required | MiddlewareStack<ClientInput, ClientOutput> | |
send Required | send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>, options?: HandlerOptions): Promise<OutputType> | |
send Required | send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>, cb: (err: any, data?: OutputType) = void): void | |
send Required | send<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>