Skip to content

ListActions

Source: src/AWS/FIS/ListActions.ts

Runtime binding for fis:ListActions.

Enumerates the FIS action catalog — every fault the service can inject (aws:ec2:stop-instances, aws:ssm:send-command, aws:fis:wait, …). Provide the implementation with Effect.provide(AWS.FIS.ListActionsHttp).

// init — account-level binding, no resource argument
const listActions = yield* AWS.FIS.ListActions();
// runtime
const { actions } = yield* listActions();
console.log((actions ?? []).map((a) => a.id));