pub struct ListFirewallRulesRequest {
pub action: Option<String>,
pub firewall_rule_group_id: String,
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub priority: Option<i64>,
}
Fields
action: Option<String>
Optional additional filter for the rules to retrieve.
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:
-
ALLOW
- Permit the request to go through. -
ALERT
- Permit the request to go through but send an alert to the logs. -
BLOCK
- Disallow the request. If this is specified, additional handling details are provided in the rule'sBlockResponse
setting.
firewall_rule_group_id: String
The unique identifier of the firewall rule group that you want to retrieve the rules for.
max_results: Option<i64>
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.
next_token: Option<String>
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.
priority: Option<i64>
Optional additional filter for the rules to retrieve.
The setting that determines the processing order of the rules in a rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
Trait Implementations
sourceimpl Clone for ListFirewallRulesRequest
impl Clone for ListFirewallRulesRequest
sourcefn clone(&self) -> ListFirewallRulesRequest
fn clone(&self) -> ListFirewallRulesRequest
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
sourceimpl Debug for ListFirewallRulesRequest
impl Debug for ListFirewallRulesRequest
sourceimpl Default for ListFirewallRulesRequest
impl Default for ListFirewallRulesRequest
sourcefn default() -> ListFirewallRulesRequest
fn default() -> ListFirewallRulesRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListFirewallRulesRequest> for ListFirewallRulesRequest
impl PartialEq<ListFirewallRulesRequest> for ListFirewallRulesRequest
sourcefn eq(&self, other: &ListFirewallRulesRequest) -> bool
fn eq(&self, other: &ListFirewallRulesRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListFirewallRulesRequest) -> bool
fn ne(&self, other: &ListFirewallRulesRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListFirewallRulesRequest
impl Serialize for ListFirewallRulesRequest
impl StructuralPartialEq for ListFirewallRulesRequest
Auto Trait Implementations
impl RefUnwindSafe for ListFirewallRulesRequest
impl Send for ListFirewallRulesRequest
impl Sync for ListFirewallRulesRequest
impl Unpin for ListFirewallRulesRequest
impl UnwindSafe for ListFirewallRulesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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