Struct aws_sdk_networkfirewall::client::fluent_builders::ListFirewalls
source ·
[−]pub struct ListFirewalls<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListFirewalls
.
Retrieves the metadata for the firewalls that you have defined. If you provide VPC identifiers in your request, this returns only the firewalls for those VPCs.
Depending on your setting for max results and the number of firewalls, a single call might not return the full list.
Implementations
impl<C, M, R> ListFirewalls<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListFirewalls<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListFirewallsOutput, SdkError<ListFirewallsError>> where
R::Policy: SmithyRetryPolicy<ListFirewallsInputOperationOutputAlias, ListFirewallsOutput, ListFirewallsError, ListFirewallsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListFirewallsOutput, SdkError<ListFirewallsError>> where
R::Policy: SmithyRetryPolicy<ListFirewallsInputOperationOutputAlias, ListFirewallsOutput, ListFirewallsError, ListFirewallsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
Appends an item to VpcIds
.
To override the contents of this collection use set_vpc_ids
.
The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls for. Leave this blank to retrieve all firewalls that you have defined.
The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls for. Leave this blank to retrieve all firewalls that you have defined.
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 NextToken
value that you can use in a subsequent call to get the next batch of objects.
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 NextToken
value that you can use in a subsequent call to get the next batch of objects.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListFirewalls<C, M, R>
impl<C, M, R> Unpin for ListFirewalls<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListFirewalls<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more