Skip to content

GetAction

Source: src/AWS/FIS/GetAction.ts

Runtime binding for fis:GetAction.

Reads a single FIS action from the service’s action catalog — its description, parameters, and the targets it applies to (e.g. aws:ec2:stop-instances). Provide the implementation with Effect.provide(AWS.FIS.GetActionHttp).

// init — account-level binding, no resource argument
const getAction = yield* AWS.FIS.GetAction();
// runtime
const { action } = yield* getAction({ id: "aws:fis:wait" });
console.log(Object.keys(action?.parameters ?? {}));