pub struct Client { /* private fields */ }
Expand description

Client for AWS WAF Regional

Client for invoking operations on AWS WAF Regional. Each operation on AWS WAF Regional is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_wafregional::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_wafregional::config::Builder::from(&shared_config)
  .retry_config(RetryConfig::disabled())
  .build();
let client = aws_sdk_wafregional::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AssociateWebACL operation.

Constructs a fluent builder for the CreateByteMatchSet operation.

Constructs a fluent builder for the CreateGeoMatchSet operation.

Constructs a fluent builder for the CreateIPSet operation.

Constructs a fluent builder for the CreateRateBasedRule operation.

  • The fluent builder is configurable:
    • name(impl Into<String>) / set_name(Option<String>):

      A friendly name or description of the RateBasedRule. You can’t change the name of a RateBasedRule after you create it.

    • metric_name(impl Into<String>) / set_metric_name(Option<String>):

      A friendly name or description for the metrics for this RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can’t contain whitespace or metric names reserved for AWS WAF, including “All” and “Default_Action.” You can’t change the name of the metric after you create the RateBasedRule.

    • rate_key(RateKey) / set_rate_key(Option<RateKey>):

      The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests that arrive from the same IP address are subject to the RateLimit that is specified in the RateBasedRule.

    • rate_limit(i64) / set_rate_limit(i64):

      The maximum number of requests, which have an identical value in the field that is specified by RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

    • change_token(impl Into<String>) / set_change_token(Option<String>):

      The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

    • tags(Vec<Tag>) / set_tags(Option<Vec<Tag>>):

  • On success, responds with CreateRateBasedRuleOutput with field(s):
    • rule(Option<RateBasedRule>):

      The RateBasedRule that is returned in the CreateRateBasedRule response.

    • change_token(Option<String>):

      The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

  • On failure, responds with SdkError<CreateRateBasedRuleError>

Constructs a fluent builder for the CreateRegexMatchSet operation.

Constructs a fluent builder for the CreateRegexPatternSet operation.

Constructs a fluent builder for the CreateRule operation.

Constructs a fluent builder for the CreateRuleGroup operation.

Constructs a fluent builder for the CreateSizeConstraintSet operation.

Constructs a fluent builder for the CreateSqlInjectionMatchSet operation.

Constructs a fluent builder for the CreateWebACL operation.

Constructs a fluent builder for the CreateWebACLMigrationStack operation.

Constructs a fluent builder for the CreateXssMatchSet operation.

Constructs a fluent builder for the DeleteByteMatchSet operation.

Constructs a fluent builder for the DeleteGeoMatchSet operation.

Constructs a fluent builder for the DeleteIPSet operation.

Constructs a fluent builder for the DeleteLoggingConfiguration operation.

Constructs a fluent builder for the DeletePermissionPolicy operation.

Constructs a fluent builder for the DeleteRateBasedRule operation.

Constructs a fluent builder for the DeleteRegexMatchSet operation.

Constructs a fluent builder for the DeleteRegexPatternSet operation.

Constructs a fluent builder for the DeleteRule operation.

Constructs a fluent builder for the DeleteRuleGroup operation.

Constructs a fluent builder for the DeleteSizeConstraintSet operation.

Constructs a fluent builder for the DeleteSqlInjectionMatchSet operation.

Constructs a fluent builder for the DeleteWebACL operation.

Constructs a fluent builder for the DeleteXssMatchSet operation.

Constructs a fluent builder for the DisassociateWebACL operation.

  • The fluent builder is configurable:
    • resource_arn(impl Into<String>) / set_resource_arn(Option<String>):

      The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed, either an application load balancer or Amazon API Gateway stage.

      The ARN should 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 stage: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name

  • On success, responds with DisassociateWebAclOutput
  • On failure, responds with SdkError<DisassociateWebACLError>

Constructs a fluent builder for the GetByteMatchSet operation.

  • The fluent builder is configurable:
  • On success, responds with GetByteMatchSetOutput with field(s):
    • byte_match_set(Option<ByteMatchSet>):

      Information about the ByteMatchSet that you specified in the GetByteMatchSet request. For more information, see the following topics:

      • ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name

      • ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation

      • FieldToMatch: Contains Data and Type

  • On failure, responds with SdkError<GetByteMatchSetError>

Constructs a fluent builder for the GetChangeToken operation.

Constructs a fluent builder for the GetChangeTokenStatus operation.

Constructs a fluent builder for the GetGeoMatchSet operation.

Constructs a fluent builder for the GetIPSet operation.

  • The fluent builder is configurable:
  • On success, responds with GetIpSetOutput with field(s):
    • ip_set(Option<IpSet>):

      Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics:

      • IPSet: Contains IPSetDescriptors, IPSetId, and Name

      • IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value

  • On failure, responds with SdkError<GetIPSetError>

Constructs a fluent builder for the GetLoggingConfiguration operation.

Constructs a fluent builder for the GetPermissionPolicy operation.

Constructs a fluent builder for the GetRateBasedRule operation.

Constructs a fluent builder for the GetRateBasedRuleManagedKeys operation.

Constructs a fluent builder for the GetRegexMatchSet operation.

Constructs a fluent builder for the GetRegexPatternSet operation.

Constructs a fluent builder for the GetRule operation.

  • The fluent builder is configurable:
  • On success, responds with GetRuleOutput with field(s):
    • rule(Option<Rule>):

      Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId

      • Predicate: Each Predicate object contains DataId, Negated, and Type

  • On failure, responds with SdkError<GetRuleError>

Constructs a fluent builder for the GetRuleGroup operation.

Constructs a fluent builder for the GetSampledRequests operation.

  • The fluent builder is configurable:
    • web_acl_id(impl Into<String>) / set_web_acl_id(Option<String>):

      The WebACLId of the WebACL for which you want GetSampledRequests to return a sample of requests.

    • rule_id(impl Into<String>) / set_rule_id(Option<String>):

      RuleId is one of three values:

      • The RuleId of the Rule or the RuleGroupId of the RuleGroup for which you want GetSampledRequests to return a sample of requests.

      • Default_Action, which causes GetSampledRequests to return a sample of the requests that didn’t match any of the rules in the specified WebACL.

    • time_window(TimeWindow) / set_time_window(Option<TimeWindow>):

      The start date and time and the end date and time of the range for which you want GetSampledRequests to return a sample of requests. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, “2016-09-27T14:50Z”. You can specify any time range in the previous three hours.

    • max_items(i64) / set_max_items(i64):

      The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received during the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests returns information about all of them.

  • On success, responds with GetSampledRequestsOutput with field(s):
    • sampled_requests(Option<Vec<SampledHttpRequest>>):

      A complex type that contains detailed information about each of the requests in the sample.

    • population_size(i64):

      The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your AWS resource received during the specified time range.

    • time_window(Option<TimeWindow>):

      Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.

  • On failure, responds with SdkError<GetSampledRequestsError>

Constructs a fluent builder for the GetSizeConstraintSet operation.

Constructs a fluent builder for the GetSqlInjectionMatchSet operation.

Constructs a fluent builder for the GetWebACL operation.

  • The fluent builder is configurable:
  • On success, responds with GetWebAclOutput with field(s):
    • web_acl(Option<WebAcl>):

      Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

      • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId

      • DefaultAction (Data type is WafAction): Contains Type

      • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId

      • Action: Contains Type

  • On failure, responds with SdkError<GetWebACLError>

Constructs a fluent builder for the GetWebACLForResource operation.

  • The fluent builder is configurable:
    • resource_arn(impl Into<String>) / set_resource_arn(Option<String>):

      The ARN (Amazon Resource Name) of the resource for which to get the web ACL, either an application load balancer or Amazon API Gateway stage.

      The ARN should 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 stage: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name

  • On success, responds with GetWebAclForResourceOutput with field(s):
    • web_acl_summary(Option<WebAclSummary>):

      Information about the web ACL that you specified in the GetWebACLForResource request. If there is no associated resource, a null WebACLSummary is returned.

  • On failure, responds with SdkError<GetWebACLForResourceError>

Constructs a fluent builder for the GetXssMatchSet operation.

Constructs a fluent builder for the ListActivatedRulesInRuleGroup operation.

  • The fluent builder is configurable:
    • rule_group_id(impl Into<String>) / set_rule_group_id(Option<String>):

      The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more ActivatedRules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ActivatedRules. For the second and subsequent ListActivatedRulesInRuleGroup requests, specify the value of NextMarker from the previous response to get information about another batch of ActivatedRules.

    • limit(i32) / set_limit(i32):

      Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of ActivatedRules.

  • On success, responds with ListActivatedRulesInRuleGroupOutput with field(s):
    • next_marker(Option<String>):

      If you have more ActivatedRules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more ActivatedRules, submit another ListActivatedRulesInRuleGroup request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • activated_rules(Option<Vec<ActivatedRule>>):

      An array of ActivatedRules objects.

  • On failure, responds with SdkError<ListActivatedRulesInRuleGroupError>

Constructs a fluent builder for the ListByteMatchSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more ByteMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListByteMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets.

    • limit(i32) / set_limit(i32):

      Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more ByteMatchSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of ByteMatchSet objects.

  • On success, responds with ListByteMatchSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more ByteMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more ByteMatchSet objects, submit another ListByteMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • byte_match_sets(Option<Vec<ByteMatchSetSummary>>):

      An array of ByteMatchSetSummary objects.

  • On failure, responds with SdkError<ListByteMatchSetsError>

Constructs a fluent builder for the ListGeoMatchSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

    • limit(i32) / set_limit(i32):

      Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.

  • On success, responds with ListGeoMatchSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • geo_match_sets(Option<Vec<GeoMatchSetSummary>>):

      An array of GeoMatchSetSummary objects.

  • On failure, responds with SdkError<ListGeoMatchSetsError>

Constructs a fluent builder for the ListIPSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

    • limit(i32) / set_limit(i32):

      Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more IPSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of IPSet objects.

  • On success, responds with ListIpSetsOutput with field(s):
  • On failure, responds with SdkError<ListIPSetsError>

Constructs a fluent builder for the ListLoggingConfigurations operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more LoggingConfigurations than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of LoggingConfigurations. For the second and subsequent ListLoggingConfigurations requests, specify the value of NextMarker from the previous response to get information about another batch of ListLoggingConfigurations.

    • limit(i32) / set_limit(i32):

      Specifies the number of LoggingConfigurations that you want AWS WAF to return for this request. If you have more LoggingConfigurations than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of LoggingConfigurations.

  • On success, responds with ListLoggingConfigurationsOutput with field(s):
    • logging_configurations(Option<Vec<LoggingConfiguration>>):

      An array of LoggingConfiguration objects.

    • next_marker(Option<String>):

      If you have more LoggingConfigurations than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more LoggingConfigurations, submit another ListLoggingConfigurations request, and specify the NextMarker value from the response in the NextMarker value in the next request.

  • On failure, responds with SdkError<ListLoggingConfigurationsError>

Constructs a fluent builder for the ListRateBasedRules operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

    • limit(i32) / set_limit(i32):

      Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

  • On success, responds with ListRateBasedRulesOutput with field(s):
    • next_marker(Option<String>):

      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • rules(Option<Vec<RuleSummary>>):

      An array of RuleSummary objects.

  • On failure, responds with SdkError<ListRateBasedRulesError>

Constructs a fluent builder for the ListRegexMatchSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more RegexMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListRegexMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexMatchSet objects.

    • limit(i32) / set_limit(i32):

      Specifies the number of RegexMatchSet objects that you want AWS WAF to return for this request. If you have more RegexMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RegexMatchSet objects.

  • On success, responds with ListRegexMatchSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more RegexMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more RegexMatchSet objects, submit another ListRegexMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • regex_match_sets(Option<Vec<RegexMatchSetSummary>>):

      An array of RegexMatchSetSummary objects.

  • On failure, responds with SdkError<ListRegexMatchSetsError>

Constructs a fluent builder for the ListRegexPatternSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more RegexPatternSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RegexPatternSet objects. For the second and subsequent ListRegexPatternSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexPatternSet objects.

    • limit(i32) / set_limit(i32):

      Specifies the number of RegexPatternSet objects that you want AWS WAF to return for this request. If you have more RegexPatternSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RegexPatternSet objects.

  • On success, responds with ListRegexPatternSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more RegexPatternSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more RegexPatternSet objects, submit another ListRegexPatternSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • regex_pattern_sets(Option<Vec<RegexPatternSetSummary>>):

      An array of RegexPatternSetSummary objects.

  • On failure, responds with SdkError<ListRegexPatternSetsError>

Constructs a fluent builder for the ListResourcesForWebACL operation.

Constructs a fluent builder for the ListRuleGroups operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more RuleGroups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RuleGroups. For the second and subsequent ListRuleGroups requests, specify the value of NextMarker from the previous response to get information about another batch of RuleGroups.

    • limit(i32) / set_limit(i32):

      Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RuleGroups.

  • On success, responds with ListRuleGroupsOutput with field(s):
    • next_marker(Option<String>):

      If you have more RuleGroups than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more RuleGroups, submit another ListRuleGroups request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • rule_groups(Option<Vec<RuleGroupSummary>>):

      An array of RuleGroup objects.

  • On failure, responds with SdkError<ListRuleGroupsError>

Constructs a fluent builder for the ListRules operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

    • limit(i32) / set_limit(i32):

      Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

  • On success, responds with ListRulesOutput with field(s):
    • next_marker(Option<String>):

      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • rules(Option<Vec<RuleSummary>>):

      An array of RuleSummary objects.

  • On failure, responds with SdkError<ListRulesError>

Constructs a fluent builder for the ListSizeConstraintSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more SizeConstraintSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SizeConstraintSets. For the second and subsequent ListSizeConstraintSets requests, specify the value of NextMarker from the previous response to get information about another batch of SizeConstraintSets.

    • limit(i32) / set_limit(i32):

      Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more SizeConstraintSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of SizeConstraintSet objects.

  • On success, responds with ListSizeConstraintSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more SizeConstraintSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SizeConstraintSet objects, submit another ListSizeConstraintSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • size_constraint_sets(Option<Vec<SizeConstraintSetSummary>>):

      An array of SizeConstraintSetSummary objects.

  • On failure, responds with SdkError<ListSizeConstraintSetsError>

Constructs a fluent builder for the ListSqlInjectionMatchSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more SqlInjectionMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SqlInjectionMatchSets. For the second and subsequent ListSqlInjectionMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of SqlInjectionMatchSets.

    • limit(i32) / set_limit(i32):

      Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more SqlInjectionMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

  • On success, responds with ListSqlInjectionMatchSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more SqlInjectionMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SqlInjectionMatchSet objects, submit another ListSqlInjectionMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • sql_injection_match_sets(Option<Vec<SqlInjectionMatchSetSummary>>):

      An array of SqlInjectionMatchSetSummary objects.

  • On failure, responds with SdkError<ListSqlInjectionMatchSetsError>

Constructs a fluent builder for the ListSubscribedRuleGroups operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more ByteMatchSetssubscribed rule groups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of subscribed rule groups. For the second and subsequent ListSubscribedRuleGroupsRequest requests, specify the value of NextMarker from the previous response to get information about another batch of subscribed rule groups.

    • limit(i32) / set_limit(i32):

      Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of objects.

  • On success, responds with ListSubscribedRuleGroupsOutput with field(s):
    • next_marker(Option<String>):

      If you have more objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more objects, submit another ListSubscribedRuleGroups request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • rule_groups(Option<Vec<SubscribedRuleGroupSummary>>):

      An array of RuleGroup objects.

  • On failure, responds with SdkError<ListSubscribedRuleGroupsError>

Constructs a fluent builder for the ListWebACLs operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more WebACL objects than the number that you specify for Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of WebACL objects. For the second and subsequent ListWebACLs requests, specify the value of NextMarker from the previous response to get information about another batch of WebACL objects.

    • limit(i32) / set_limit(i32):

      Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more WebACL objects than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of WebACL objects.

  • On success, responds with ListWebAcLsOutput with field(s):
    • next_marker(Option<String>):

      If you have more WebACL objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more WebACL objects, submit another ListWebACLs request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • web_ac_ls(Option<Vec<WebAclSummary>>):

      An array of WebACLSummary objects.

  • On failure, responds with SdkError<ListWebACLsError>

Constructs a fluent builder for the ListXssMatchSets operation.

  • The fluent builder is configurable:
    • next_marker(impl Into<String>) / set_next_marker(Option<String>):

      If you specify a value for Limit and you have more XssMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of XssMatchSets. For the second and subsequent ListXssMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of XssMatchSets.

    • limit(i32) / set_limit(i32):

      Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more XssMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

  • On success, responds with ListXssMatchSetsOutput with field(s):
    • next_marker(Option<String>):

      If you have more XssMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more XssMatchSet objects, submit another ListXssMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

    • xss_match_sets(Option<Vec<XssMatchSetSummary>>):

      An array of XssMatchSetSummary objects.

  • On failure, responds with SdkError<ListXssMatchSetsError>

Constructs a fluent builder for the PutLoggingConfiguration operation.

Constructs a fluent builder for the PutPermissionPolicy operation.

Constructs a fluent builder for the TagResource operation.

Constructs a fluent builder for the UntagResource operation.

Constructs a fluent builder for the UpdateByteMatchSet operation.

Constructs a fluent builder for the UpdateGeoMatchSet operation.

Constructs a fluent builder for the UpdateIPSet operation.

Constructs a fluent builder for the UpdateRateBasedRule operation.

Constructs a fluent builder for the UpdateRegexMatchSet operation.

Constructs a fluent builder for the UpdateRegexPatternSet operation.

Constructs a fluent builder for the UpdateRule operation.

Constructs a fluent builder for the UpdateRuleGroup operation.

Constructs a fluent builder for the UpdateSizeConstraintSet operation.

Constructs a fluent builder for the UpdateSqlInjectionMatchSet operation.

Constructs a fluent builder for the UpdateWebACL operation.

Constructs a fluent builder for the UpdateXssMatchSet operation.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more