Struct aws_sdk_wafv2::operation::put_managed_rule_set_versions::PutManagedRuleSetVersionsOutput
source · #[non_exhaustive]pub struct PutManagedRuleSetVersionsOutput {
pub next_lock_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_lock_token: Option<String>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
Implementations§
source§impl PutManagedRuleSetVersionsOutput
impl PutManagedRuleSetVersionsOutput
sourcepub fn next_lock_token(&self) -> Option<&str>
pub fn next_lock_token(&self) -> Option<&str>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
source§impl PutManagedRuleSetVersionsOutput
impl PutManagedRuleSetVersionsOutput
sourcepub fn builder() -> PutManagedRuleSetVersionsOutputBuilder
pub fn builder() -> PutManagedRuleSetVersionsOutputBuilder
Creates a new builder-style object to manufacture PutManagedRuleSetVersionsOutput
.
Trait Implementations§
source§impl Clone for PutManagedRuleSetVersionsOutput
impl Clone for PutManagedRuleSetVersionsOutput
source§fn clone(&self) -> PutManagedRuleSetVersionsOutput
fn clone(&self) -> PutManagedRuleSetVersionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutManagedRuleSetVersionsOutput
impl PartialEq for PutManagedRuleSetVersionsOutput
source§fn eq(&self, other: &PutManagedRuleSetVersionsOutput) -> bool
fn eq(&self, other: &PutManagedRuleSetVersionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutManagedRuleSetVersionsOutput
impl RequestId for PutManagedRuleSetVersionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.