Struct aws_sdk_wafv2::operation::describe_managed_rule_group::builders::DescribeManagedRuleGroupFluentBuilder
source · pub struct DescribeManagedRuleGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeManagedRuleGroup
.
Provides high-level information for a managed rule group, including descriptions of the rules.
Implementations§
source§impl DescribeManagedRuleGroupFluentBuilder
impl DescribeManagedRuleGroupFluentBuilder
sourcepub fn as_input(&self) -> &DescribeManagedRuleGroupInputBuilder
pub fn as_input(&self) -> &DescribeManagedRuleGroupInputBuilder
Access the DescribeManagedRuleGroup as a reference.
sourcepub async fn send(
self
) -> Result<DescribeManagedRuleGroupOutput, SdkError<DescribeManagedRuleGroupError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeManagedRuleGroupOutput, SdkError<DescribeManagedRuleGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeManagedRuleGroupOutput, DescribeManagedRuleGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeManagedRuleGroupOutput, DescribeManagedRuleGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn vendor_name(self, input: impl Into<String>) -> Self
pub fn vendor_name(self, input: impl Into<String>) -> Self
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
sourcepub fn set_vendor_name(self, input: Option<String>) -> Self
pub fn set_vendor_name(self, input: Option<String>) -> Self
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
sourcepub fn get_vendor_name(&self) -> &Option<String>
pub fn get_vendor_name(&self) -> &Option<String>
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
sourcepub fn scope(self, input: Scope) -> Self
pub fn scope(self, input: Scope) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn set_scope(self, input: Option<Scope>) -> Self
pub fn set_scope(self, input: Option<Scope>) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn get_scope(&self) -> &Option<Scope>
pub fn get_scope(&self) -> &Option<Scope>
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn version_name(self, input: impl Into<String>) -> Self
pub fn version_name(self, input: impl Into<String>) -> Self
The version of the rule group. You can only use a version that is not scheduled for expiration. If you don't provide this, WAF uses the vendor's default version.
sourcepub fn set_version_name(self, input: Option<String>) -> Self
pub fn set_version_name(self, input: Option<String>) -> Self
The version of the rule group. You can only use a version that is not scheduled for expiration. If you don't provide this, WAF uses the vendor's default version.
sourcepub fn get_version_name(&self) -> &Option<String>
pub fn get_version_name(&self) -> &Option<String>
The version of the rule group. You can only use a version that is not scheduled for expiration. If you don't provide this, WAF uses the vendor's default version.
Trait Implementations§
source§impl Clone for DescribeManagedRuleGroupFluentBuilder
impl Clone for DescribeManagedRuleGroupFluentBuilder
source§fn clone(&self) -> DescribeManagedRuleGroupFluentBuilder
fn clone(&self) -> DescribeManagedRuleGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeManagedRuleGroupFluentBuilder
impl !RefUnwindSafe for DescribeManagedRuleGroupFluentBuilder
impl Send for DescribeManagedRuleGroupFluentBuilder
impl Sync for DescribeManagedRuleGroupFluentBuilder
impl Unpin for DescribeManagedRuleGroupFluentBuilder
impl !UnwindSafe for DescribeManagedRuleGroupFluentBuilder
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