Skip to content

DescribeFlowOperation

Source: src/AWS/NetworkFirewall/DescribeFlowOperation.ts

Runtime binding for network-firewall:DescribeFlowOperation — read the status and definition of a flow capture/flush operation running on the bound Firewall; the firewall ARN is injected automatically.

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

// init — grants network-firewall:DescribeFlowOperation on the firewall
const describeFlowOperation =
yield* AWS.NetworkFirewall.DescribeFlowOperation(firewall);
// runtime
const { FlowOperationStatus } = yield* describeFlowOperation({
FlowOperationId: flowOperationId,
});