[−][src]Struct rusoto_waf::CreateRateBasedRuleRequest
Fields
change_token: String
The ChangeToken
that you used to submit the CreateRateBasedRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
metric_name: String
A friendly name or description for the metrics for this RateBasedRule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RateBasedRule
.
name: String
A friendly name or description of the RateBasedRule. You can't change the name of a RateBasedRule
after you create it.
rate_key: String
The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for RateKey
is IP
. IP
indicates that requests that arrive from the same IP address are subject to the RateLimit
that is specified in the RateBasedRule
.
rate_limit: i64
The maximum number of requests, which have an identical value in the field that is specified by RateKey
, allowed in a five-minute period. If the number of requests exceeds the RateLimit
and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.
Trait Implementations
impl Clone for CreateRateBasedRuleRequest
[src]
pub fn clone(&self) -> CreateRateBasedRuleRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateRateBasedRuleRequest
[src]
impl Default for CreateRateBasedRuleRequest
[src]
pub fn default() -> CreateRateBasedRuleRequest
[src]
impl PartialEq<CreateRateBasedRuleRequest> for CreateRateBasedRuleRequest
[src]
pub fn eq(&self, other: &CreateRateBasedRuleRequest) -> bool
[src]
pub fn ne(&self, other: &CreateRateBasedRuleRequest) -> bool
[src]
impl Serialize for CreateRateBasedRuleRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateRateBasedRuleRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateRateBasedRuleRequest
[src]
impl Send for CreateRateBasedRuleRequest
[src]
impl Sync for CreateRateBasedRuleRequest
[src]
impl Unpin for CreateRateBasedRuleRequest
[src]
impl UnwindSafe for CreateRateBasedRuleRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,