aws_sdk_networkfirewall/client/describe_flow_operation.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeFlowOperation`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`firewall_arn(impl Into<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::firewall_arn) / [`set_firewall_arn(Option<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::set_firewall_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the firewall.</p><br>
7 /// - [`availability_zone(impl Into<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::availability_zone) / [`set_availability_zone(Option<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::set_availability_zone):<br>required: **false**<br><p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p> <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p><br>
8 /// - [`flow_operation_id(impl Into<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::flow_operation_id) / [`set_flow_operation_id(Option<String>)`](crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::set_flow_operation_id):<br>required: **true**<br><p>A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.</p><br>
9 /// - On success, responds with [`DescribeFlowOperationOutput`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput) with field(s):
10 /// - [`firewall_arn(Option<String>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::firewall_arn): <p>The Amazon Resource Name (ARN) of the firewall.</p>
11 /// - [`availability_zone(Option<String>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::availability_zone): <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p> <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
12 /// - [`flow_operation_id(Option<String>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::flow_operation_id): <p>A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.</p>
13 /// - [`flow_operation_type(Option<FlowOperationType>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::flow_operation_type): <p>Defines the type of <code>FlowOperation</code>.</p>
14 /// - [`flow_operation_status(Option<FlowOperationStatus>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::flow_operation_status): <p>Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.</p> <p>If the status is <code>COMPLETED_WITH_ERRORS</code>, results may be returned with any number of <code>Flows</code> missing from the response. If the status is <code>FAILED</code>, <code>Flows</code> returned will be empty.</p>
15 /// - [`status_message(Option<String>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::status_message): <p>If the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include <code>Flow operation error</code> and <code>Flow timeout</code>.</p>
16 /// - [`flow_request_timestamp(Option<DateTime>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::flow_request_timestamp): <p>A timestamp indicating when the Suricata engine identified flows impacted by an operation.</p>
17 /// - [`flow_operation(Option<FlowOperation>)`](crate::operation::describe_flow_operation::DescribeFlowOperationOutput::flow_operation): <p>Returns key information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation.</p>
18 /// - On failure, responds with [`SdkError<DescribeFlowOperationError>`](crate::operation::describe_flow_operation::DescribeFlowOperationError)
19 pub fn describe_flow_operation(&self) -> crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder {
20 crate::operation::describe_flow_operation::builders::DescribeFlowOperationFluentBuilder::new(self.handle.clone())
21 }
22}