1.10.3 • Published 5 months ago
@effect-aws/client-sfn v1.10.3
@effect-aws/client-sfn
Installation
npm install --save @effect-aws/client-sfnUsage
With default SFNClient instance:
import { SFN } from "@effect-aws/client-sfn";
const program = SFN.startExecution(args);
const result = pipe(
program,
Effect.provide(SFN.defaultLayer),
Effect.runPromise,
);With custom SFNClient instance:
import { SFN } from "@effect-aws/client-sfn";
const program = SFN.startExecution(args);
const result = await pipe(
program,
Effect.provide(
SFN.baseLayer(() => new SFNClient({ region: "eu-central-1" })),
),
Effect.runPromise,
);With custom SFNClient configuration:
import { SFN } from "@effect-aws/client-sfn";
const program = SFN.startExecution(args);
const result = await pipe(
program,
Effect.provide(SFN.layer({ region: "eu-central-1" })),
Effect.runPromiseExit,
);or use SFN.baseLayer((default) => new SFNClient({ ...default, region: "eu-central-1" }))
1.10.3
5 months ago
1.10.2
6 months ago
1.9.0
9 months ago
1.6.0
9 months ago
1.5.0
12 months ago
1.4.1
12 months ago
1.9.5
7 months ago
1.9.3
8 months ago
1.10.0
6 months ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.0
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago