Struct aws_sdk_wafv2::operation::update_managed_rule_set_version_expiry_date::UpdateManagedRuleSetVersionExpiryDateOutput
source · #[non_exhaustive]pub struct UpdateManagedRuleSetVersionExpiryDateOutput {
pub expiring_version: Option<String>,
pub expiry_timestamp: Option<DateTime>,
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.expiring_version: Option<String>
The version that is set to expire.
expiry_timestamp: Option<DateTime>
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
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 UpdateManagedRuleSetVersionExpiryDateOutput
impl UpdateManagedRuleSetVersionExpiryDateOutput
sourcepub fn expiring_version(&self) -> Option<&str>
pub fn expiring_version(&self) -> Option<&str>
The version that is set to expire.
sourcepub fn expiry_timestamp(&self) -> Option<&DateTime>
pub fn expiry_timestamp(&self) -> Option<&DateTime>
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
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 UpdateManagedRuleSetVersionExpiryDateOutput
impl UpdateManagedRuleSetVersionExpiryDateOutput
sourcepub fn builder() -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
pub fn builder() -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
Creates a new builder-style object to manufacture UpdateManagedRuleSetVersionExpiryDateOutput
.
Trait Implementations§
source§impl Clone for UpdateManagedRuleSetVersionExpiryDateOutput
impl Clone for UpdateManagedRuleSetVersionExpiryDateOutput
source§fn clone(&self) -> UpdateManagedRuleSetVersionExpiryDateOutput
fn clone(&self) -> UpdateManagedRuleSetVersionExpiryDateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateManagedRuleSetVersionExpiryDateOutput
impl PartialEq for UpdateManagedRuleSetVersionExpiryDateOutput
source§fn eq(&self, other: &UpdateManagedRuleSetVersionExpiryDateOutput) -> bool
fn eq(&self, other: &UpdateManagedRuleSetVersionExpiryDateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateManagedRuleSetVersionExpiryDateOutput
impl RequestId for UpdateManagedRuleSetVersionExpiryDateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.