list_flow_operations
async
¶
list_flow_operations(
firewall_arn: ResourceArn,
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = None,
availability_zone: Optional[AvailabilityZone] = None,
vpc_endpoint_association_arn: Optional[ResourceArn] = None,
vpc_endpoint_id: Optional[VpcEndpointId] = None,
flow_operation_type: Optional[FlowOperationType] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[PaginationMaxResults] = None,
) -> ListFlowOperationsResponse
Returns a list of all flow operations ran in a specific firewall. You can optionally narrow the request scope by specifying the operation type or Availability Zone associated with a firewall's flow operations.
Flow operations let you manage the flows tracked in the flow table, also known as the firewall table.
A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort.
Parameters:
-
firewall_arn(ResourceArn) –The Amazon Resource Name (ARN) of the firewall.
-
availability_zone(Optional[AvailabilityZone], default:None) –The ID of the Availability Zone where the firewall is located. For example,
us-east-2a.Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.
-
vpc_endpoint_association_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a VPC endpoint association.
-
vpc_endpoint_id(Optional[VpcEndpointId], default:None) –A unique identifier for the primary endpoint associated with a firewall.
-
flow_operation_type(Optional[FlowOperationType], default:None) –An optional string that defines whether any or all operation types are returned.
-
next_token(Optional[PaginationToken], default:None) –When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request. -
max_results(Optional[PaginationMaxResults], default:None) –The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.
Raises:
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/async_network_firewall.py
3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 | |