Struct aws_sdk_wafv2::operation::get_ip_set::GetIpSetOutput
source · #[non_exhaustive]pub struct GetIpSetOutput {
pub ip_set: Option<IpSet>,
pub 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.ip_set: Option<IpSet>
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 GetIpSetOutput
impl GetIpSetOutput
sourcepub fn lock_token(&self) -> Option<&str>
pub fn 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 GetIpSetOutput
impl GetIpSetOutput
sourcepub fn builder() -> GetIpSetOutputBuilder
pub fn builder() -> GetIpSetOutputBuilder
Creates a new builder-style object to manufacture GetIpSetOutput
.
Trait Implementations§
source§impl Clone for GetIpSetOutput
impl Clone for GetIpSetOutput
source§fn clone(&self) -> GetIpSetOutput
fn clone(&self) -> GetIpSetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetIpSetOutput
impl Debug for GetIpSetOutput
source§impl PartialEq for GetIpSetOutput
impl PartialEq for GetIpSetOutput
source§fn eq(&self, other: &GetIpSetOutput) -> bool
fn eq(&self, other: &GetIpSetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetIpSetOutput
impl RequestId for GetIpSetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.