Skip to content

ListFlowOperations

Source: src/AWS/NetworkFirewall/ListFlowOperations.ts

Runtime binding for network-firewall:ListFlowOperations — list the flow capture/flush operations that ran on the bound Firewall; the firewall ARN is injected automatically.

Provide NetworkFirewall.ListFlowOperationsHttp on the hosting Lambda Function to satisfy the requirement.

// init — grants network-firewall:ListFlowOperations on the firewall
const listFlowOperations =
yield* AWS.NetworkFirewall.ListFlowOperations(firewall);
// runtime
const { FlowOperations } = yield* listFlowOperations({
FlowOperationType: "FLOW_CAPTURE",
});