list_flow_operation_results
async
¶
list_flow_operation_results(
firewall_arn: ResourceArn,
flow_operation_id: FlowOperationId,
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[PaginationMaxResults] = None,
availability_zone: Optional[AvailabilityZone] = None,
availability_zone_id: Optional[AvailabilityZoneId] = None,
vpc_endpoint_id: Optional[VpcEndpointId] = None,
vpc_endpoint_association_arn: Optional[ResourceArn] = None,
) -> ListFlowOperationResultsResponse
Returns the results of a specific flow operation.
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.
-
flow_operation_id(FlowOperationId) –A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.
-
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. -
availability_zone(Optional[AvailabilityZone], default:None) –The name 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.
-
availability_zone_id(Optional[AvailabilityZoneId], default:None) –The ID of the Availability Zone where the firewall is located. For example,
use2-az1. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify eitherAvailabilityZoneorAvailabilityZoneId, not both. If you specify both, the request fails. -
vpc_endpoint_id(Optional[VpcEndpointId], default:None) –A unique identifier for the primary endpoint associated with a firewall.
-
vpc_endpoint_association_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a VPC endpoint association.
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
4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 | |