Struct aws_sdk_wafv2::input::GetWebAclForResourceInput
source · #[non_exhaustive]pub struct GetWebAclForResourceInput { /* private fields */ }
Implementations§
source§impl GetWebAclForResourceInput
impl GetWebAclForResourceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetWebACLForResource, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetWebACLForResource, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetWebACLForResource
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetWebAclForResourceInput
.
source§impl GetWebAclForResourceInput
impl GetWebAclForResourceInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve.
The ARN must be in one of the following formats:
-
For an Application Load Balancer:
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
-
For an Amazon API Gateway REST API:
arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
-
For an AppSync GraphQL API:
arn:aws:appsync:region:account-id:apis/GraphQLApiId
-
For an Amazon Cognito user pool:
arn:aws:cognito-idp:region:account-id:userpool/user-pool-id
Trait Implementations§
source§impl Clone for GetWebAclForResourceInput
impl Clone for GetWebAclForResourceInput
source§fn clone(&self) -> GetWebAclForResourceInput
fn clone(&self) -> GetWebAclForResourceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetWebAclForResourceInput
impl Debug for GetWebAclForResourceInput
source§impl PartialEq<GetWebAclForResourceInput> for GetWebAclForResourceInput
impl PartialEq<GetWebAclForResourceInput> for GetWebAclForResourceInput
source§fn eq(&self, other: &GetWebAclForResourceInput) -> bool
fn eq(&self, other: &GetWebAclForResourceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.