Struct aws_sdk_wafv2::operation::get_web_acl::GetWebAclOutput
source · #[non_exhaustive]pub struct GetWebAclOutput {
pub web_acl: Option<WebAcl>,
pub lock_token: Option<String>,
pub application_integration_url: 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.web_acl: Option<WebAcl>
The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
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.
application_integration_url: Option<String>
The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group AWSManagedRulesATPRuleSet
and the account creation fraud prevention managed rule group AWSManagedRulesACFPRuleSet
. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.
Implementations§
source§impl GetWebAclOutput
impl GetWebAclOutput
sourcepub fn web_acl(&self) -> Option<&WebAcl>
pub fn web_acl(&self) -> Option<&WebAcl>
The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
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.
sourcepub fn application_integration_url(&self) -> Option<&str>
pub fn application_integration_url(&self) -> Option<&str>
The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group AWSManagedRulesATPRuleSet
and the account creation fraud prevention managed rule group AWSManagedRulesACFPRuleSet
. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.
source§impl GetWebAclOutput
impl GetWebAclOutput
sourcepub fn builder() -> GetWebAclOutputBuilder
pub fn builder() -> GetWebAclOutputBuilder
Creates a new builder-style object to manufacture GetWebAclOutput
.
Trait Implementations§
source§impl Clone for GetWebAclOutput
impl Clone for GetWebAclOutput
source§fn clone(&self) -> GetWebAclOutput
fn clone(&self) -> GetWebAclOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWebAclOutput
impl Debug for GetWebAclOutput
source§impl PartialEq for GetWebAclOutput
impl PartialEq for GetWebAclOutput
source§fn eq(&self, other: &GetWebAclOutput) -> bool
fn eq(&self, other: &GetWebAclOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetWebAclOutput
impl RequestId for GetWebAclOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetWebAclOutput
Auto Trait Implementations§
impl Freeze for GetWebAclOutput
impl RefUnwindSafe for GetWebAclOutput
impl Send for GetWebAclOutput
impl Sync for GetWebAclOutput
impl Unpin for GetWebAclOutput
impl UnwindSafe for GetWebAclOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more