Struct aws_sdk_route53resolver::client::fluent_builders::ListFirewallRuleGroupAssociations
source · [−]pub struct ListFirewallRuleGroupAssociations { /* private fields */ }
Expand description
Fluent builder constructing a request to ListFirewallRuleGroupAssociations
.
Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.
A single call might return only a partial list of the associations. For information, see MaxResults
.
Implementations
sourceimpl ListFirewallRuleGroupAssociations
impl ListFirewallRuleGroupAssociations
sourcepub async fn send(
self
) -> Result<ListFirewallRuleGroupAssociationsOutput, SdkError<ListFirewallRuleGroupAssociationsError>>
pub async fn send(
self
) -> Result<ListFirewallRuleGroupAssociationsOutput, SdkError<ListFirewallRuleGroupAssociationsError>>
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.
sourcepub fn into_paginator(self) -> ListFirewallRuleGroupAssociationsPaginator
pub fn into_paginator(self) -> ListFirewallRuleGroupAssociationsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn firewall_rule_group_id(self, input: impl Into<String>) -> Self
pub fn firewall_rule_group_id(self, input: impl Into<String>) -> Self
The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
sourcepub fn set_firewall_rule_group_id(self, input: Option<String>) -> Self
pub fn set_firewall_rule_group_id(self, input: Option<String>) -> Self
The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
sourcepub fn status(self, input: FirewallRuleGroupAssociationStatus) -> Self
pub fn status(self, input: FirewallRuleGroupAssociationStatus) -> Self
The association Status
setting that you want DNS Firewall to filter on for the list. If you don't specify this, then DNS Firewall returns all associations, regardless of status.
sourcepub fn set_status(
self,
input: Option<FirewallRuleGroupAssociationStatus>
) -> Self
pub fn set_status(
self,
input: Option<FirewallRuleGroupAssociationStatus>
) -> Self
The association Status
setting that you want DNS Firewall to filter on for the list. If you don't specify this, then DNS Firewall returns all associations, regardless of status.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to 100 objects.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to 100 objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults
. If more objects are available for retrieval, Resolver returns a NextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults
. If more objects are available for retrieval, Resolver returns a NextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
Trait Implementations
sourceimpl Clone for ListFirewallRuleGroupAssociations
impl Clone for ListFirewallRuleGroupAssociations
sourcefn clone(&self) -> ListFirewallRuleGroupAssociations
fn clone(&self) -> ListFirewallRuleGroupAssociations
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ListFirewallRuleGroupAssociations
impl Send for ListFirewallRuleGroupAssociations
impl Sync for ListFirewallRuleGroupAssociations
impl Unpin for ListFirewallRuleGroupAssociations
impl !UnwindSafe for ListFirewallRuleGroupAssociations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more