Struct aws_sdk_wafv2::operation::list_available_managed_rule_groups::builders::ListAvailableManagedRuleGroupsFluentBuilder
source · pub struct ListAvailableManagedRuleGroupsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListAvailableManagedRuleGroups
.
Retrieves an array of managed rule groups that are available for you to use. This list includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're subscribed to.
Implementations§
source§impl ListAvailableManagedRuleGroupsFluentBuilder
impl ListAvailableManagedRuleGroupsFluentBuilder
sourcepub fn as_input(&self) -> &ListAvailableManagedRuleGroupsInputBuilder
pub fn as_input(&self) -> &ListAvailableManagedRuleGroupsInputBuilder
Access the ListAvailableManagedRuleGroups as a reference.
sourcepub async fn send(
self
) -> Result<ListAvailableManagedRuleGroupsOutput, SdkError<ListAvailableManagedRuleGroupsError, HttpResponse>>
pub async fn send( self ) -> Result<ListAvailableManagedRuleGroupsOutput, SdkError<ListAvailableManagedRuleGroupsError, 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<ListAvailableManagedRuleGroupsOutput, ListAvailableManagedRuleGroupsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListAvailableManagedRuleGroupsOutput, ListAvailableManagedRuleGroupsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker
value that you can use in a subsequent call to get the next batch of objects.
Trait Implementations§
source§impl Clone for ListAvailableManagedRuleGroupsFluentBuilder
impl Clone for ListAvailableManagedRuleGroupsFluentBuilder
source§fn clone(&self) -> ListAvailableManagedRuleGroupsFluentBuilder
fn clone(&self) -> ListAvailableManagedRuleGroupsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more