Struct aws_sdk_waf::Client
source · pub struct Client { /* private fields */ }Expand description
Client for AWS WAF
Client for invoking operations on AWS WAF. Each operation on AWS WAF is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_waf::Client::new(&config);Occasionally, SDKs may have additional service-specific values that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The [Builder] struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_waf::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the CreateByteMatchSet operation has
a Client::create_byte_match_set, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.create_byte_match_set()
.name("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn create_byte_match_set(&self) -> CreateByteMatchSetFluentBuilder
pub fn create_byte_match_set(&self) -> CreateByteMatchSetFluentBuilder
Constructs a fluent builder for the CreateByteMatchSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
ByteMatchSet. You can’t changeNameafter you create aByteMatchSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateByteMatchSetOutputwith field(s):byte_match_set(Option<ByteMatchSet>):A
ByteMatchSetthat contains noByteMatchTupleobjects.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateByteMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateByteMatchSetError>
source§impl Client
impl Client
sourcepub fn create_geo_match_set(&self) -> CreateGeoMatchSetFluentBuilder
pub fn create_geo_match_set(&self) -> CreateGeoMatchSetFluentBuilder
Constructs a fluent builder for the CreateGeoMatchSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
GeoMatchSet. You can’t changeNameafter you create theGeoMatchSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateGeoMatchSetOutputwith field(s):geo_match_set(Option<GeoMatchSet>):The
GeoMatchSetreturned in theCreateGeoMatchSetresponse. TheGeoMatchSetcontains noGeoMatchConstraints.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateGeoMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateGeoMatchSetError>
source§impl Client
impl Client
sourcepub fn create_ip_set(&self) -> CreateIPSetFluentBuilder
pub fn create_ip_set(&self) -> CreateIPSetFluentBuilder
Constructs a fluent builder for the CreateIPSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
IPSet. You can’t changeNameafter you create theIPSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateIpSetOutputwith field(s):ip_set(Option<IpSet>):The
IPSetreturned in theCreateIPSetresponse.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateIPSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateIPSetError>
source§impl Client
impl Client
sourcepub fn create_rate_based_rule(&self) -> CreateRateBasedRuleFluentBuilder
pub fn create_rate_based_rule(&self) -> CreateRateBasedRuleFluentBuilder
Constructs a fluent builder for the CreateRateBasedRule operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
RateBasedRule. You can’t change the name of aRateBasedRuleafter you create it.metric_name(impl Into<String>)/set_metric_name(Option<String>):
required: trueA 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 theRateBasedRule.rate_key(RateKey)/set_rate_key(Option<RateKey>):
required: trueThe 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
RateKeyisIP.IPindicates that requests that arrive from the same IP address are subject to theRateLimitthat is specified in theRateBasedRule.rate_limit(i64)/set_rate_limit(Option<i64>):
required: trueThe 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 theRateLimitand 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>):
required: trueThe
ChangeTokenthat you used to submit theCreateRateBasedRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: false
- On success, responds with
CreateRateBasedRuleOutputwith field(s):rule(Option<RateBasedRule>):The
RateBasedRulethat is returned in theCreateRateBasedRuleresponse.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateRateBasedRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateRateBasedRuleError>
source§impl Client
impl Client
sourcepub fn create_regex_match_set(&self) -> CreateRegexMatchSetFluentBuilder
pub fn create_regex_match_set(&self) -> CreateRegexMatchSetFluentBuilder
Constructs a fluent builder for the CreateRegexMatchSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
RegexMatchSet. You can’t changeNameafter you create aRegexMatchSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateRegexMatchSetOutputwith field(s):regex_match_set(Option<RegexMatchSet>):A
RegexMatchSetthat contains noRegexMatchTupleobjects.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateRegexMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateRegexMatchSetError>
source§impl Client
impl Client
sourcepub fn create_regex_pattern_set(&self) -> CreateRegexPatternSetFluentBuilder
pub fn create_regex_pattern_set(&self) -> CreateRegexPatternSetFluentBuilder
Constructs a fluent builder for the CreateRegexPatternSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
RegexPatternSet. You can’t changeNameafter you create aRegexPatternSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateRegexPatternSetOutputwith field(s):regex_pattern_set(Option<RegexPatternSet>):A
RegexPatternSetthat contains no objects.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateRegexPatternSetError>
source§impl Client
impl Client
sourcepub fn create_rule(&self) -> CreateRuleFluentBuilder
pub fn create_rule(&self) -> CreateRuleFluentBuilder
Constructs a fluent builder for the CreateRule operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
Rule. You can’t change the name of aRuleafter you create it.metric_name(impl Into<String>)/set_metric_name(Option<String>):
required: trueA friendly name or description for the metrics for this
Rule. 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 theRule.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: false
- On success, responds with
CreateRuleOutputwith field(s):rule(Option<Rule>):The
Rulereturned in theCreateRuleresponse.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateRuleError>
source§impl Client
impl Client
sourcepub fn create_rule_group(&self) -> CreateRuleGroupFluentBuilder
pub fn create_rule_group(&self) -> CreateRuleGroupFluentBuilder
Constructs a fluent builder for the CreateRuleGroup operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
RuleGroup. You can’t changeNameafter you create aRuleGroup.metric_name(impl Into<String>)/set_metric_name(Option<String>):
required: trueA friendly name or description for the metrics for this
RuleGroup. 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 theRuleGroup.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: false
- On success, responds with
CreateRuleGroupOutputwith field(s):rule_group(Option<RuleGroup>):An empty
RuleGroup.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateRuleGrouprequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateRuleGroupError>
source§impl Client
impl Client
sourcepub fn create_size_constraint_set(&self) -> CreateSizeConstraintSetFluentBuilder
pub fn create_size_constraint_set(&self) -> CreateSizeConstraintSetFluentBuilder
Constructs a fluent builder for the CreateSizeConstraintSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
SizeConstraintSet. You can’t changeNameafter you create aSizeConstraintSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateSizeConstraintSetOutputwith field(s):size_constraint_set(Option<SizeConstraintSet>):A
SizeConstraintSetthat contains noSizeConstraintobjects.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateSizeConstraintSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateSizeConstraintSetError>
source§impl Client
impl Client
sourcepub fn create_sql_injection_match_set(
&self,
) -> CreateSqlInjectionMatchSetFluentBuilder
pub fn create_sql_injection_match_set( &self, ) -> CreateSqlInjectionMatchSetFluentBuilder
Constructs a fluent builder for the CreateSqlInjectionMatchSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description for the
SqlInjectionMatchSetthat you’re creating. You can’t changeNameafter you create theSqlInjectionMatchSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateSqlInjectionMatchSetOutputwith field(s):sql_injection_match_set(Option<SqlInjectionMatchSet>):A
SqlInjectionMatchSet.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateSqlInjectionMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateSqlInjectionMatchSetError>
source§impl Client
impl Client
sourcepub fn create_web_acl(&self) -> CreateWebACLFluentBuilder
pub fn create_web_acl(&self) -> CreateWebACLFluentBuilder
Constructs a fluent builder for the CreateWebACL operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description of the
WebACL. You can’t changeNameafter you create theWebACL.metric_name(impl Into<String>)/set_metric_name(Option<String>):
required: trueA friendly name or description for the metrics for this
WebACL.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 changeMetricNameafter you create theWebACL.default_action(WafAction)/set_default_action(Option<WafAction>):
required: trueThe action that you want AWS WAF to take when a request doesn’t match the criteria specified in any of the
Ruleobjects that are associated with theWebACL.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: false
- On success, responds with
CreateWebAclOutputwith field(s):web_acl(Option<WebAcl>):The
WebACLreturned in theCreateWebACLresponse.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateWebACLrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateWebACLError>
source§impl Client
impl Client
sourcepub fn create_web_acl_migration_stack(
&self,
) -> CreateWebACLMigrationStackFluentBuilder
pub fn create_web_acl_migration_stack( &self, ) -> CreateWebACLMigrationStackFluentBuilder
Constructs a fluent builder for the CreateWebACLMigrationStack operation.
- The fluent builder is configurable:
web_acl_id(impl Into<String>)/set_web_acl_id(Option<String>):
required: trueThe UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
s3_bucket_name(impl Into<String>)/set_s3_bucket_name(Option<String>):
required: trueThe name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:
-
The bucket name must start with
aws-waf-migration-. For example,aws-waf-migration-my-web-acl. -
The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2.
-
The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section.
-
ignore_unsupported_type(bool)/set_ignore_unsupported_type(Option<bool>):
required: trueIndicates whether to exclude entities that can’t be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.
- On success, responds with
CreateWebAclMigrationStackOutputwith field(s):s3_object_url(String):The URL of the template created in Amazon S3.
- On failure, responds with
SdkError<CreateWebACLMigrationStackError>
source§impl Client
impl Client
sourcepub fn create_xss_match_set(&self) -> CreateXssMatchSetFluentBuilder
pub fn create_xss_match_set(&self) -> CreateXssMatchSetFluentBuilder
Constructs a fluent builder for the CreateXssMatchSet operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueA friendly name or description for the
XssMatchSetthat you’re creating. You can’t changeNameafter you create theXssMatchSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
CreateXssMatchSetOutputwith field(s):xss_match_set(Option<XssMatchSet>):An
XssMatchSet.change_token(Option<String>):The
ChangeTokenthat you used to submit theCreateXssMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<CreateXssMatchSetError>
source§impl Client
impl Client
sourcepub fn delete_byte_match_set(&self) -> DeleteByteMatchSetFluentBuilder
pub fn delete_byte_match_set(&self) -> DeleteByteMatchSetFluentBuilder
Constructs a fluent builder for the DeleteByteMatchSet operation.
- The fluent builder is configurable:
byte_match_set_id(impl Into<String>)/set_byte_match_set_id(Option<String>):
required: trueThe
ByteMatchSetIdof theByteMatchSetthat you want to delete.ByteMatchSetIdis returned byCreateByteMatchSetand byListByteMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteByteMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteByteMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteByteMatchSetError>
source§impl Client
impl Client
sourcepub fn delete_geo_match_set(&self) -> DeleteGeoMatchSetFluentBuilder
pub fn delete_geo_match_set(&self) -> DeleteGeoMatchSetFluentBuilder
Constructs a fluent builder for the DeleteGeoMatchSet operation.
- The fluent builder is configurable:
geo_match_set_id(impl Into<String>)/set_geo_match_set_id(Option<String>):
required: trueThe
GeoMatchSetIDof theGeoMatchSetthat you want to delete.GeoMatchSetIdis returned byCreateGeoMatchSetand byListGeoMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteGeoMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteGeoMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteGeoMatchSetError>
source§impl Client
impl Client
sourcepub fn delete_ip_set(&self) -> DeleteIPSetFluentBuilder
pub fn delete_ip_set(&self) -> DeleteIPSetFluentBuilder
Constructs a fluent builder for the DeleteIPSet operation.
- The fluent builder is configurable:
ip_set_id(impl Into<String>)/set_ip_set_id(Option<String>):
required: trueThe
IPSetIdof theIPSetthat you want to delete.IPSetIdis returned byCreateIPSetand byListIPSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteIpSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteIPSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteIPSetError>
source§impl Client
impl Client
sourcepub fn delete_logging_configuration(
&self,
) -> DeleteLoggingConfigurationFluentBuilder
pub fn delete_logging_configuration( &self, ) -> DeleteLoggingConfigurationFluentBuilder
Constructs a fluent builder for the DeleteLoggingConfiguration operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the web ACL from which you want to delete the
LoggingConfiguration.
- On success, responds with
DeleteLoggingConfigurationOutput - On failure, responds with
SdkError<DeleteLoggingConfigurationError>
source§impl Client
impl Client
sourcepub fn delete_permission_policy(&self) -> DeletePermissionPolicyFluentBuilder
pub fn delete_permission_policy(&self) -> DeletePermissionPolicyFluentBuilder
Constructs a fluent builder for the DeletePermissionPolicy operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.
The user making the request must be the owner of the RuleGroup.
- On success, responds with
DeletePermissionPolicyOutput - On failure, responds with
SdkError<DeletePermissionPolicyError>
source§impl Client
impl Client
sourcepub fn delete_rate_based_rule(&self) -> DeleteRateBasedRuleFluentBuilder
pub fn delete_rate_based_rule(&self) -> DeleteRateBasedRuleFluentBuilder
Constructs a fluent builder for the DeleteRateBasedRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRateBasedRulethat you want to delete.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteRateBasedRuleOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteRateBasedRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteRateBasedRuleError>
source§impl Client
impl Client
sourcepub fn delete_regex_match_set(&self) -> DeleteRegexMatchSetFluentBuilder
pub fn delete_regex_match_set(&self) -> DeleteRegexMatchSetFluentBuilder
Constructs a fluent builder for the DeleteRegexMatchSet operation.
- The fluent builder is configurable:
regex_match_set_id(impl Into<String>)/set_regex_match_set_id(Option<String>):
required: trueThe
RegexMatchSetIdof theRegexMatchSetthat you want to delete.RegexMatchSetIdis returned byCreateRegexMatchSetand byListRegexMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteRegexMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteRegexMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteRegexMatchSetError>
source§impl Client
impl Client
sourcepub fn delete_regex_pattern_set(&self) -> DeleteRegexPatternSetFluentBuilder
pub fn delete_regex_pattern_set(&self) -> DeleteRegexPatternSetFluentBuilder
Constructs a fluent builder for the DeleteRegexPatternSet operation.
- The fluent builder is configurable:
regex_pattern_set_id(impl Into<String>)/set_regex_pattern_set_id(Option<String>):
required: trueThe
RegexPatternSetIdof theRegexPatternSetthat you want to delete.RegexPatternSetIdis returned byCreateRegexPatternSetand byListRegexPatternSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteRegexPatternSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteRegexPatternSetError>
source§impl Client
impl Client
sourcepub fn delete_rule(&self) -> DeleteRuleFluentBuilder
pub fn delete_rule(&self) -> DeleteRuleFluentBuilder
Constructs a fluent builder for the DeleteRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRulethat you want to delete.RuleIdis returned byCreateRuleand byListRules.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteRuleOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteRuleError>
source§impl Client
impl Client
sourcepub fn delete_rule_group(&self) -> DeleteRuleGroupFluentBuilder
pub fn delete_rule_group(&self) -> DeleteRuleGroupFluentBuilder
Constructs a fluent builder for the DeleteRuleGroup operation.
- The fluent builder is configurable:
rule_group_id(impl Into<String>)/set_rule_group_id(Option<String>):
required: trueThe
RuleGroupIdof theRuleGroupthat you want to delete.RuleGroupIdis returned byCreateRuleGroupand byListRuleGroups.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteRuleGroupOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteRuleGrouprequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteRuleGroupError>
source§impl Client
impl Client
sourcepub fn delete_size_constraint_set(&self) -> DeleteSizeConstraintSetFluentBuilder
pub fn delete_size_constraint_set(&self) -> DeleteSizeConstraintSetFluentBuilder
Constructs a fluent builder for the DeleteSizeConstraintSet operation.
- The fluent builder is configurable:
size_constraint_set_id(impl Into<String>)/set_size_constraint_set_id(Option<String>):
required: trueThe
SizeConstraintSetIdof theSizeConstraintSetthat you want to delete.SizeConstraintSetIdis returned byCreateSizeConstraintSetand byListSizeConstraintSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteSizeConstraintSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteSizeConstraintSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteSizeConstraintSetError>
source§impl Client
impl Client
sourcepub fn delete_sql_injection_match_set(
&self,
) -> DeleteSqlInjectionMatchSetFluentBuilder
pub fn delete_sql_injection_match_set( &self, ) -> DeleteSqlInjectionMatchSetFluentBuilder
Constructs a fluent builder for the DeleteSqlInjectionMatchSet operation.
- The fluent builder is configurable:
sql_injection_match_set_id(impl Into<String>)/set_sql_injection_match_set_id(Option<String>):
required: trueThe
SqlInjectionMatchSetIdof theSqlInjectionMatchSetthat you want to delete.SqlInjectionMatchSetIdis returned byCreateSqlInjectionMatchSetand byListSqlInjectionMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteSqlInjectionMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteSqlInjectionMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteSqlInjectionMatchSetError>
source§impl Client
impl Client
sourcepub fn delete_web_acl(&self) -> DeleteWebACLFluentBuilder
pub fn delete_web_acl(&self) -> DeleteWebACLFluentBuilder
Constructs a fluent builder for the DeleteWebACL operation.
- The fluent builder is configurable:
web_acl_id(impl Into<String>)/set_web_acl_id(Option<String>):
required: trueThe
WebACLIdof theWebACLthat you want to delete.WebACLIdis returned byCreateWebACLand byListWebACLs.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteWebAclOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteWebACLrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteWebACLError>
source§impl Client
impl Client
sourcepub fn delete_xss_match_set(&self) -> DeleteXssMatchSetFluentBuilder
pub fn delete_xss_match_set(&self) -> DeleteXssMatchSetFluentBuilder
Constructs a fluent builder for the DeleteXssMatchSet operation.
- The fluent builder is configurable:
xss_match_set_id(impl Into<String>)/set_xss_match_set_id(Option<String>):
required: trueThe
XssMatchSetIdof theXssMatchSetthat you want to delete.XssMatchSetIdis returned byCreateXssMatchSetand byListXssMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
DeleteXssMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theDeleteXssMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<DeleteXssMatchSetError>
source§impl Client
impl Client
sourcepub fn get_byte_match_set(&self) -> GetByteMatchSetFluentBuilder
pub fn get_byte_match_set(&self) -> GetByteMatchSetFluentBuilder
Constructs a fluent builder for the GetByteMatchSet operation.
- The fluent builder is configurable:
byte_match_set_id(impl Into<String>)/set_byte_match_set_id(Option<String>):
required: trueThe
ByteMatchSetIdof theByteMatchSetthat you want to get.ByteMatchSetIdis returned byCreateByteMatchSetand byListByteMatchSets.
- On success, responds with
GetByteMatchSetOutputwith field(s):byte_match_set(Option<ByteMatchSet>):Information about the
ByteMatchSetthat you specified in theGetByteMatchSetrequest. For more information, see the following topics:-
ByteMatchSet: ContainsByteMatchSetId,ByteMatchTuples, andName -
ByteMatchTuples: Contains an array ofByteMatchTupleobjects. EachByteMatchTupleobject containsFieldToMatch,PositionalConstraint,TargetString, andTextTransformation -
FieldToMatch: ContainsDataandType
-
- On failure, responds with
SdkError<GetByteMatchSetError>
source§impl Client
impl Client
sourcepub fn get_change_token(&self) -> GetChangeTokenFluentBuilder
pub fn get_change_token(&self) -> GetChangeTokenFluentBuilder
Constructs a fluent builder for the GetChangeToken operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetChangeTokenOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used in the request. Use this value in aGetChangeTokenStatusrequest to get the current status of the request.
- On failure, responds with
SdkError<GetChangeTokenError>
source§impl Client
impl Client
sourcepub fn get_change_token_status(&self) -> GetChangeTokenStatusFluentBuilder
pub fn get_change_token_status(&self) -> GetChangeTokenStatusFluentBuilder
Constructs a fluent builder for the GetChangeTokenStatus operation.
- The fluent builder is configurable:
change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe change token for which you want to get the status. This change token was previously returned in the
GetChangeTokenresponse.
- On success, responds with
GetChangeTokenStatusOutputwith field(s):change_token_status(Option<ChangeTokenStatus>):The status of the change token.
- On failure, responds with
SdkError<GetChangeTokenStatusError>
source§impl Client
impl Client
sourcepub fn get_geo_match_set(&self) -> GetGeoMatchSetFluentBuilder
pub fn get_geo_match_set(&self) -> GetGeoMatchSetFluentBuilder
Constructs a fluent builder for the GetGeoMatchSet operation.
- The fluent builder is configurable:
geo_match_set_id(impl Into<String>)/set_geo_match_set_id(Option<String>):
required: trueThe
GeoMatchSetIdof theGeoMatchSetthat you want to get.GeoMatchSetIdis returned byCreateGeoMatchSetand byListGeoMatchSets.
- On success, responds with
GetGeoMatchSetOutputwith field(s):geo_match_set(Option<GeoMatchSet>):Information about the
GeoMatchSetthat you specified in theGetGeoMatchSetrequest. This includes theType, which for aGeoMatchContraintis alwaysCountry, as well as theValue, which is the identifier for a specific country.
- On failure, responds with
SdkError<GetGeoMatchSetError>
source§impl Client
impl Client
sourcepub fn get_ip_set(&self) -> GetIPSetFluentBuilder
pub fn get_ip_set(&self) -> GetIPSetFluentBuilder
Constructs a fluent builder for the GetIPSet operation.
- The fluent builder is configurable:
ip_set_id(impl Into<String>)/set_ip_set_id(Option<String>):
required: trueThe
IPSetIdof theIPSetthat you want to get.IPSetIdis returned byCreateIPSetand byListIPSets.
- On success, responds with
GetIpSetOutputwith field(s):ip_set(Option<IpSet>):Information about the
IPSetthat you specified in theGetIPSetrequest. For more information, see the following topics:-
IPSet: ContainsIPSetDescriptors,IPSetId, andName -
IPSetDescriptors: Contains an array ofIPSetDescriptorobjects. EachIPSetDescriptorobject containsTypeandValue
-
- On failure, responds with
SdkError<GetIPSetError>
source§impl Client
impl Client
sourcepub fn get_logging_configuration(&self) -> GetLoggingConfigurationFluentBuilder
pub fn get_logging_configuration(&self) -> GetLoggingConfigurationFluentBuilder
Constructs a fluent builder for the GetLoggingConfiguration operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the web ACL for which you want to get the
LoggingConfiguration.
- On success, responds with
GetLoggingConfigurationOutputwith field(s):logging_configuration(Option<LoggingConfiguration>):The
LoggingConfigurationfor the specified web ACL.
- On failure, responds with
SdkError<GetLoggingConfigurationError>
source§impl Client
impl Client
sourcepub fn get_permission_policy(&self) -> GetPermissionPolicyFluentBuilder
pub fn get_permission_policy(&self) -> GetPermissionPolicyFluentBuilder
Constructs a fluent builder for the GetPermissionPolicy operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.
- On success, responds with
GetPermissionPolicyOutputwith field(s):policy(Option<String>):The IAM policy attached to the specified RuleGroup.
- On failure, responds with
SdkError<GetPermissionPolicyError>
source§impl Client
impl Client
sourcepub fn get_rate_based_rule(&self) -> GetRateBasedRuleFluentBuilder
pub fn get_rate_based_rule(&self) -> GetRateBasedRuleFluentBuilder
Constructs a fluent builder for the GetRateBasedRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRateBasedRulethat you want to get.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.
- On success, responds with
GetRateBasedRuleOutputwith field(s):rule(Option<RateBasedRule>):Information about the
RateBasedRulethat you specified in theGetRateBasedRulerequest.
- On failure, responds with
SdkError<GetRateBasedRuleError>
source§impl Client
impl Client
sourcepub fn get_rate_based_rule_managed_keys(
&self,
) -> GetRateBasedRuleManagedKeysFluentBuilder
pub fn get_rate_based_rule_managed_keys( &self, ) -> GetRateBasedRuleManagedKeysFluentBuilder
Constructs a fluent builder for the GetRateBasedRuleManagedKeys operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRateBasedRulefor which you want to get a list ofManagedKeys.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseA null value and not currently used. Do not include this in your request.
- On success, responds with
GetRateBasedRuleManagedKeysOutputwith field(s):managed_keys(Option<Vec::<String>>):An array of IP addresses that currently are blocked by the specified
RateBasedRule.next_marker(Option<String>):A null value and not currently used.
- On failure, responds with
SdkError<GetRateBasedRuleManagedKeysError>
source§impl Client
impl Client
sourcepub fn get_regex_match_set(&self) -> GetRegexMatchSetFluentBuilder
pub fn get_regex_match_set(&self) -> GetRegexMatchSetFluentBuilder
Constructs a fluent builder for the GetRegexMatchSet operation.
- The fluent builder is configurable:
regex_match_set_id(impl Into<String>)/set_regex_match_set_id(Option<String>):
required: trueThe
RegexMatchSetIdof theRegexMatchSetthat you want to get.RegexMatchSetIdis returned byCreateRegexMatchSetand byListRegexMatchSets.
- On success, responds with
GetRegexMatchSetOutputwith field(s):regex_match_set(Option<RegexMatchSet>):Information about the
RegexMatchSetthat you specified in theGetRegexMatchSetrequest. For more information, seeRegexMatchTuple.
- On failure, responds with
SdkError<GetRegexMatchSetError>
source§impl Client
impl Client
sourcepub fn get_regex_pattern_set(&self) -> GetRegexPatternSetFluentBuilder
pub fn get_regex_pattern_set(&self) -> GetRegexPatternSetFluentBuilder
Constructs a fluent builder for the GetRegexPatternSet operation.
- The fluent builder is configurable:
regex_pattern_set_id(impl Into<String>)/set_regex_pattern_set_id(Option<String>):
required: trueThe
RegexPatternSetIdof theRegexPatternSetthat you want to get.RegexPatternSetIdis returned byCreateRegexPatternSetand byListRegexPatternSets.
- On success, responds with
GetRegexPatternSetOutputwith field(s):regex_pattern_set(Option<RegexPatternSet>):Information about the
RegexPatternSetthat you specified in theGetRegexPatternSetrequest, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.
- On failure, responds with
SdkError<GetRegexPatternSetError>
source§impl Client
impl Client
sourcepub fn get_rule(&self) -> GetRuleFluentBuilder
pub fn get_rule(&self) -> GetRuleFluentBuilder
Constructs a fluent builder for the GetRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRulethat you want to get.RuleIdis returned byCreateRuleand byListRules.
- On success, responds with
GetRuleOutputwith field(s):rule(Option<Rule>):Information about the
Rulethat you specified in theGetRulerequest. For more information, see the following topics:-
Rule: ContainsMetricName,Name, an array ofPredicateobjects, andRuleId -
Predicate: EachPredicateobject containsDataId,Negated, andType
-
- On failure, responds with
SdkError<GetRuleError>
source§impl Client
impl Client
sourcepub fn get_rule_group(&self) -> GetRuleGroupFluentBuilder
pub fn get_rule_group(&self) -> GetRuleGroupFluentBuilder
Constructs a fluent builder for the GetRuleGroup operation.
- The fluent builder is configurable:
rule_group_id(impl Into<String>)/set_rule_group_id(Option<String>):
required: trueThe
RuleGroupIdof theRuleGroupthat you want to get.RuleGroupIdis returned byCreateRuleGroupand byListRuleGroups.
- On success, responds with
GetRuleGroupOutputwith field(s):rule_group(Option<RuleGroup>):Information about the
RuleGroupthat you specified in theGetRuleGrouprequest.
- On failure, responds with
SdkError<GetRuleGroupError>
source§impl Client
impl Client
sourcepub fn get_sampled_requests(&self) -> GetSampledRequestsFluentBuilder
pub fn get_sampled_requests(&self) -> GetSampledRequestsFluentBuilder
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>):
required: trueThe
WebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueRuleIdis one of three values:-
The
RuleIdof theRuleor theRuleGroupIdof theRuleGroupfor which you wantGetSampledRequeststo return a sample of requests. -
Default_Action, which causesGetSampledRequeststo return a sample of the requests that didn’t match any of the rules in the specifiedWebACL.
-
time_window(TimeWindow)/set_time_window(Option<TimeWindow>):
required: trueThe start date and time and the end date and time of the range for which you want
GetSampledRequeststo 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(Option<i64>):
required: trueThe 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,GetSampledRequestsreturns information about all of them.
- On success, responds with
GetSampledRequestsOutputwith 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
GetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis less thanMaxItems, the sample includes every request that your AWS resource received during the specified time range.time_window(Option<TimeWindow>):Usually,
TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
- On failure, responds with
SdkError<GetSampledRequestsError>
source§impl Client
impl Client
sourcepub fn get_size_constraint_set(&self) -> GetSizeConstraintSetFluentBuilder
pub fn get_size_constraint_set(&self) -> GetSizeConstraintSetFluentBuilder
Constructs a fluent builder for the GetSizeConstraintSet operation.
- The fluent builder is configurable:
size_constraint_set_id(impl Into<String>)/set_size_constraint_set_id(Option<String>):
required: trueThe
SizeConstraintSetIdof theSizeConstraintSetthat you want to get.SizeConstraintSetIdis returned byCreateSizeConstraintSetand byListSizeConstraintSets.
- On success, responds with
GetSizeConstraintSetOutputwith field(s):size_constraint_set(Option<SizeConstraintSet>):Information about the
SizeConstraintSetthat you specified in theGetSizeConstraintSetrequest. For more information, see the following topics:-
SizeConstraintSet: ContainsSizeConstraintSetId,SizeConstraints, andName -
SizeConstraints: Contains an array ofSizeConstraintobjects. EachSizeConstraintobject containsFieldToMatch,TextTransformation,ComparisonOperator, andSize -
FieldToMatch: ContainsDataandType
-
- On failure, responds with
SdkError<GetSizeConstraintSetError>
source§impl Client
impl Client
sourcepub fn get_sql_injection_match_set(
&self,
) -> GetSqlInjectionMatchSetFluentBuilder
pub fn get_sql_injection_match_set( &self, ) -> GetSqlInjectionMatchSetFluentBuilder
Constructs a fluent builder for the GetSqlInjectionMatchSet operation.
- The fluent builder is configurable:
sql_injection_match_set_id(impl Into<String>)/set_sql_injection_match_set_id(Option<String>):
required: trueThe
SqlInjectionMatchSetIdof theSqlInjectionMatchSetthat you want to get.SqlInjectionMatchSetIdis returned byCreateSqlInjectionMatchSetand byListSqlInjectionMatchSets.
- On success, responds with
GetSqlInjectionMatchSetOutputwith field(s):sql_injection_match_set(Option<SqlInjectionMatchSet>):Information about the
SqlInjectionMatchSetthat you specified in theGetSqlInjectionMatchSetrequest. For more information, see the following topics:-
SqlInjectionMatchSet: ContainsName,SqlInjectionMatchSetId, and an array ofSqlInjectionMatchTupleobjects -
SqlInjectionMatchTuple: EachSqlInjectionMatchTupleobject containsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
-
- On failure, responds with
SdkError<GetSqlInjectionMatchSetError>
source§impl Client
impl Client
sourcepub fn get_web_acl(&self) -> GetWebACLFluentBuilder
pub fn get_web_acl(&self) -> GetWebACLFluentBuilder
Constructs a fluent builder for the GetWebACL operation.
- The fluent builder is configurable:
web_acl_id(impl Into<String>)/set_web_acl_id(Option<String>):
required: trueThe
WebACLIdof theWebACLthat you want to get.WebACLIdis returned byCreateWebACLand byListWebACLs.
- On success, responds with
GetWebAclOutputwith field(s):web_acl(Option<WebAcl>):Information about the
WebACLthat you specified in theGetWebACLrequest. For more information, see the following topics:-
WebACL: ContainsDefaultAction,MetricName,Name, an array ofRuleobjects, andWebACLId -
DefaultAction(Data type isWafAction): ContainsType -
Rules: Contains an array ofActivatedRuleobjects, which containAction,Priority, andRuleId -
Action: ContainsType
-
- On failure, responds with
SdkError<GetWebACLError>
source§impl Client
impl Client
sourcepub fn get_xss_match_set(&self) -> GetXssMatchSetFluentBuilder
pub fn get_xss_match_set(&self) -> GetXssMatchSetFluentBuilder
Constructs a fluent builder for the GetXssMatchSet operation.
- The fluent builder is configurable:
xss_match_set_id(impl Into<String>)/set_xss_match_set_id(Option<String>):
required: trueThe
XssMatchSetIdof theXssMatchSetthat you want to get.XssMatchSetIdis returned byCreateXssMatchSetand byListXssMatchSets.
- On success, responds with
GetXssMatchSetOutputwith field(s):xss_match_set(Option<XssMatchSet>):Information about the
XssMatchSetthat you specified in theGetXssMatchSetrequest. For more information, see the following topics:-
XssMatchSet: ContainsName,XssMatchSetId, and an array ofXssMatchTupleobjects -
XssMatchTuple: EachXssMatchTupleobject containsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
-
- On failure, responds with
SdkError<GetXssMatchSetError>
source§impl Client
impl Client
sourcepub fn list_activated_rules_in_rule_group(
&self,
) -> ListActivatedRulesInRuleGroupFluentBuilder
pub fn list_activated_rules_in_rule_group( &self, ) -> ListActivatedRulesInRuleGroupFluentBuilder
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>):
required: falseThe
RuleGroupIdof theRuleGroupfor which you want to get a list ofActivatedRuleobjects.next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreActivatedRulesthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofActivatedRules. For the second and subsequentListActivatedRulesInRuleGrouprequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofActivatedRules.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
ActivatedRulesthat you want AWS WAF to return for this request. If you have moreActivatedRulesthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofActivatedRules.
- On success, responds with
ListActivatedRulesInRuleGroupOutputwith field(s):next_marker(Option<String>):If you have more
ActivatedRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreActivatedRules, submit anotherListActivatedRulesInRuleGrouprequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.activated_rules(Option<Vec::<ActivatedRule>>):An array of
ActivatedRulesobjects.
- On failure, responds with
SdkError<ListActivatedRulesInRuleGroupError>
source§impl Client
impl Client
sourcepub fn list_byte_match_sets(&self) -> ListByteMatchSetsFluentBuilder
pub fn list_byte_match_sets(&self) -> ListByteMatchSetsFluentBuilder
Constructs a fluent builder for the ListByteMatchSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreByteMatchSetsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofByteMatchSets. For the second and subsequentListByteMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofByteMatchSets.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
ByteMatchSetobjects that you want AWS WAF to return for this request. If you have moreByteMatchSetsobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofByteMatchSetobjects.
- On success, responds with
ListByteMatchSetsOutputwith field(s):next_marker(Option<String>):If you have more
ByteMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreByteMatchSetobjects, submit anotherListByteMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.byte_match_sets(Option<Vec::<ByteMatchSetSummary>>):An array of
ByteMatchSetSummaryobjects.
- On failure, responds with
SdkError<ListByteMatchSetsError>
source§impl Client
impl Client
sourcepub fn list_geo_match_sets(&self) -> ListGeoMatchSetsFluentBuilder
pub fn list_geo_match_sets(&self) -> ListGeoMatchSetsFluentBuilder
Constructs a fluent builder for the ListGeoMatchSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreGeoMatchSets than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofGeoMatchSetobjects. For the second and subsequentListGeoMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofGeoMatchSetobjects.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
GeoMatchSetobjects that you want AWS WAF to return for this request. If you have moreGeoMatchSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofGeoMatchSetobjects.
- On success, responds with
ListGeoMatchSetsOutputwith field(s):next_marker(Option<String>):If you have more
GeoMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreGeoMatchSetobjects, submit anotherListGeoMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.geo_match_sets(Option<Vec::<GeoMatchSetSummary>>):An array of
GeoMatchSetSummaryobjects.
- On failure, responds with
SdkError<ListGeoMatchSetsError>
source§impl Client
impl Client
sourcepub fn list_ip_sets(&self) -> ListIPSetsFluentBuilder
pub fn list_ip_sets(&self) -> ListIPSetsFluentBuilder
Constructs a fluent builder for the ListIPSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseAWS WAF returns a
NextMarkervalue in the response that allows you to list another group ofIPSets. For the second and subsequentListIPSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofIPSets.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
IPSetobjects that you want AWS WAF to return for this request. If you have moreIPSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofIPSetobjects.
- On success, responds with
ListIpSetsOutputwith field(s):next_marker(Option<String>):To list more
IPSetobjects, submit anotherListIPSetsrequest, and in the next request use theNextMarkerresponse value as theNextMarkervalue.ip_sets(Option<Vec::<IpSetSummary>>):An array of
IPSetSummaryobjects.
- On failure, responds with
SdkError<ListIPSetsError>
source§impl Client
impl Client
sourcepub fn list_logging_configurations(
&self,
) -> ListLoggingConfigurationsFluentBuilder
pub fn list_logging_configurations( &self, ) -> ListLoggingConfigurationsFluentBuilder
Constructs a fluent builder for the ListLoggingConfigurations operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreLoggingConfigurationsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofLoggingConfigurations. For the second and subsequentListLoggingConfigurationsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofListLoggingConfigurations.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
LoggingConfigurationsthat you want AWS WAF to return for this request. If you have moreLoggingConfigurationsthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofLoggingConfigurations.
- On success, responds with
ListLoggingConfigurationsOutputwith field(s):logging_configurations(Option<Vec::<LoggingConfiguration>>):An array of
LoggingConfigurationobjects.next_marker(Option<String>):If you have more
LoggingConfigurationsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreLoggingConfigurations, submit anotherListLoggingConfigurationsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.
- On failure, responds with
SdkError<ListLoggingConfigurationsError>
source§impl Client
impl Client
sourcepub fn list_rate_based_rules(&self) -> ListRateBasedRulesFluentBuilder
pub fn list_rate_based_rules(&self) -> ListRateBasedRulesFluentBuilder
Constructs a fluent builder for the ListRateBasedRules operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreRulesthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRules. For the second and subsequentListRateBasedRulesrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRules.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
Rulesthat you want AWS WAF to return for this request. If you have moreRulesthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRules.
- On success, responds with
ListRateBasedRulesOutputwith field(s):next_marker(Option<String>):If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRateBasedRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.rules(Option<Vec::<RuleSummary>>):An array of
RuleSummaryobjects.
- On failure, responds with
SdkError<ListRateBasedRulesError>
source§impl Client
impl Client
sourcepub fn list_regex_match_sets(&self) -> ListRegexMatchSetsFluentBuilder
pub fn list_regex_match_sets(&self) -> ListRegexMatchSetsFluentBuilder
Constructs a fluent builder for the ListRegexMatchSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreRegexMatchSetobjects than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofByteMatchSets. For the second and subsequentListRegexMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRegexMatchSetobjects.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
RegexMatchSetobjects that you want AWS WAF to return for this request. If you have moreRegexMatchSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRegexMatchSetobjects.
- On success, responds with
ListRegexMatchSetsOutputwith field(s):next_marker(Option<String>):If you have more
RegexMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRegexMatchSetobjects, submit anotherListRegexMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.regex_match_sets(Option<Vec::<RegexMatchSetSummary>>):An array of
RegexMatchSetSummaryobjects.
- On failure, responds with
SdkError<ListRegexMatchSetsError>
source§impl Client
impl Client
sourcepub fn list_regex_pattern_sets(&self) -> ListRegexPatternSetsFluentBuilder
pub fn list_regex_pattern_sets(&self) -> ListRegexPatternSetsFluentBuilder
Constructs a fluent builder for the ListRegexPatternSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreRegexPatternSetobjects than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRegexPatternSetobjects. For the second and subsequentListRegexPatternSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRegexPatternSetobjects.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
RegexPatternSetobjects that you want AWS WAF to return for this request. If you have moreRegexPatternSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRegexPatternSetobjects.
- On success, responds with
ListRegexPatternSetsOutputwith field(s):next_marker(Option<String>):If you have more
RegexPatternSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRegexPatternSetobjects, submit anotherListRegexPatternSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.regex_pattern_sets(Option<Vec::<RegexPatternSetSummary>>):An array of
RegexPatternSetSummaryobjects.
- On failure, responds with
SdkError<ListRegexPatternSetsError>
source§impl Client
impl Client
sourcepub fn list_rule_groups(&self) -> ListRuleGroupsFluentBuilder
pub fn list_rule_groups(&self) -> ListRuleGroupsFluentBuilder
Constructs a fluent builder for the ListRuleGroups operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreRuleGroupsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRuleGroups. For the second and subsequentListRuleGroupsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRuleGroups.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
RuleGroupsthat you want AWS WAF to return for this request. If you have moreRuleGroupsthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRuleGroups.
- On success, responds with
ListRuleGroupsOutputwith field(s):next_marker(Option<String>):If you have more
RuleGroupsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRuleGroups, submit anotherListRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.rule_groups(Option<Vec::<RuleGroupSummary>>):An array of
RuleGroupobjects.
- On failure, responds with
SdkError<ListRuleGroupsError>
source§impl Client
impl Client
sourcepub fn list_rules(&self) -> ListRulesFluentBuilder
pub fn list_rules(&self) -> ListRulesFluentBuilder
Constructs a fluent builder for the ListRules operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreRulesthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRules. For the second and subsequentListRulesrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRules.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
Rulesthat you want AWS WAF to return for this request. If you have moreRulesthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRules.
- On success, responds with
ListRulesOutputwith field(s):next_marker(Option<String>):If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.rules(Option<Vec::<RuleSummary>>):An array of
RuleSummaryobjects.
- On failure, responds with
SdkError<ListRulesError>
source§impl Client
impl Client
sourcepub fn list_size_constraint_sets(&self) -> ListSizeConstraintSetsFluentBuilder
pub fn list_size_constraint_sets(&self) -> ListSizeConstraintSetsFluentBuilder
Constructs a fluent builder for the ListSizeConstraintSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreSizeConstraintSetsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofSizeConstraintSets. For the second and subsequentListSizeConstraintSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofSizeConstraintSets.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
SizeConstraintSetobjects that you want AWS WAF to return for this request. If you have moreSizeConstraintSetsobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofSizeConstraintSetobjects.
- On success, responds with
ListSizeConstraintSetsOutputwith field(s):next_marker(Option<String>):If you have more
SizeConstraintSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreSizeConstraintSetobjects, submit anotherListSizeConstraintSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.size_constraint_sets(Option<Vec::<SizeConstraintSetSummary>>):An array of
SizeConstraintSetSummaryobjects.
- On failure, responds with
SdkError<ListSizeConstraintSetsError>
source§impl Client
impl Client
sourcepub fn list_sql_injection_match_sets(
&self,
) -> ListSqlInjectionMatchSetsFluentBuilder
pub fn list_sql_injection_match_sets( &self, ) -> ListSqlInjectionMatchSetsFluentBuilder
Constructs a fluent builder for the ListSqlInjectionMatchSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreSqlInjectionMatchSetobjects than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofSqlInjectionMatchSets. For the second and subsequentListSqlInjectionMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofSqlInjectionMatchSets.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
SqlInjectionMatchSetobjects that you want AWS WAF to return for this request. If you have moreSqlInjectionMatchSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRules.
- On success, responds with
ListSqlInjectionMatchSetsOutputwith field(s):next_marker(Option<String>):If you have more
SqlInjectionMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreSqlInjectionMatchSetobjects, submit anotherListSqlInjectionMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.sql_injection_match_sets(Option<Vec::<SqlInjectionMatchSetSummary>>):An array of
SqlInjectionMatchSetSummaryobjects.
- On failure, responds with
SdkError<ListSqlInjectionMatchSetsError>
source§impl Client
impl Client
sourcepub fn list_subscribed_rule_groups(
&self,
) -> ListSubscribedRuleGroupsFluentBuilder
pub fn list_subscribed_rule_groups( &self, ) -> ListSubscribedRuleGroupsFluentBuilder
Constructs a fluent builder for the ListSubscribedRuleGroups operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreByteMatchSetssubscribed rule groups than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group of subscribed rule groups. For the second and subsequentListSubscribedRuleGroupsRequestrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch of subscribed rule groups.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies 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 aNextMarkervalue that you can use to get another batch of objects.
- On success, responds with
ListSubscribedRuleGroupsOutputwith field(s):next_marker(Option<String>):If you have more objects than the number that you specified for
Limitin the request, the response includes aNextMarkervalue. To list more objects, submit anotherListSubscribedRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.rule_groups(Option<Vec::<SubscribedRuleGroupSummary>>):An array of
RuleGroupobjects.
- On failure, responds with
SdkError<ListSubscribedRuleGroupsError>
source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falselimit(i32)/set_limit(Option<i32>):
required: falseresource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: true
- On success, responds with
ListTagsForResourceOutputwith field(s): - On failure, responds with
SdkError<ListTagsForResourceError>
source§impl Client
impl Client
sourcepub fn list_web_acls(&self) -> ListWebACLsFluentBuilder
pub fn list_web_acls(&self) -> ListWebACLsFluentBuilder
Constructs a fluent builder for the ListWebACLs operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreWebACLobjects than the number that you specify forLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofWebACLobjects. For the second and subsequentListWebACLsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofWebACLobjects.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
WebACLobjects that you want AWS WAF to return for this request. If you have moreWebACLobjects than the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofWebACLobjects.
- On success, responds with
ListWebAcLsOutputwith field(s):next_marker(Option<String>):If you have more
WebACLobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreWebACLobjects, submit anotherListWebACLsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.web_acls(Option<Vec::<WebAclSummary>>):An array of
WebACLSummaryobjects.
- On failure, responds with
SdkError<ListWebACLsError>
source§impl Client
impl Client
sourcepub fn list_xss_match_sets(&self) -> ListXssMatchSetsFluentBuilder
pub fn list_xss_match_sets(&self) -> ListXssMatchSetsFluentBuilder
Constructs a fluent builder for the ListXssMatchSets operation.
- The fluent builder is configurable:
next_marker(impl Into<String>)/set_next_marker(Option<String>):
required: falseIf you specify a value for
Limitand you have moreXssMatchSetobjects than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofXssMatchSets. For the second and subsequentListXssMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofXssMatchSets.limit(i32)/set_limit(Option<i32>):
required: falseSpecifies the number of
XssMatchSetobjects that you want AWS WAF to return for this request. If you have moreXssMatchSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRules.
- On success, responds with
ListXssMatchSetsOutputwith field(s):next_marker(Option<String>):If you have more
XssMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreXssMatchSetobjects, submit anotherListXssMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.xss_match_sets(Option<Vec::<XssMatchSetSummary>>):An array of
XssMatchSetSummaryobjects.
- On failure, responds with
SdkError<ListXssMatchSetsError>
source§impl Client
impl Client
sourcepub fn put_logging_configuration(&self) -> PutLoggingConfigurationFluentBuilder
pub fn put_logging_configuration(&self) -> PutLoggingConfigurationFluentBuilder
Constructs a fluent builder for the PutLoggingConfiguration operation.
- The fluent builder is configurable:
logging_configuration(LoggingConfiguration)/set_logging_configuration(Option<LoggingConfiguration>):
required: trueThe Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.
When specifying
TypeinRedactedFields, you must use one of the following values:URI,QUERY_STRING,HEADER, orMETHOD.
- On success, responds with
PutLoggingConfigurationOutputwith field(s):logging_configuration(Option<LoggingConfiguration>):The
LoggingConfigurationthat you submitted in the request.
- On failure, responds with
SdkError<PutLoggingConfigurationError>
source§impl Client
impl Client
sourcepub fn put_permission_policy(&self) -> PutPermissionPolicyFluentBuilder
pub fn put_permission_policy(&self) -> PutPermissionPolicyFluentBuilder
Constructs a fluent builder for the PutPermissionPolicy operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
policy(impl Into<String>)/set_policy(Option<String>):
required: trueThe policy to attach to the specified RuleGroup.
- On success, responds with
PutPermissionPolicyOutput - On failure, responds with
SdkError<PutPermissionPolicyError>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: truetags(Tag)/set_tags(Option<Vec::<Tag>>):
required: true
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: truetag_keys(impl Into<String>)/set_tag_keys(Option<Vec::<String>>):
required: true
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn update_byte_match_set(&self) -> UpdateByteMatchSetFluentBuilder
pub fn update_byte_match_set(&self) -> UpdateByteMatchSetFluentBuilder
Constructs a fluent builder for the UpdateByteMatchSet operation.
- The fluent builder is configurable:
byte_match_set_id(impl Into<String>)/set_byte_match_set_id(Option<String>):
required: trueThe
ByteMatchSetIdof theByteMatchSetthat you want to update.ByteMatchSetIdis returned byCreateByteMatchSetand byListByteMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(ByteMatchSetUpdate)/set_updates(Option<Vec::<ByteMatchSetUpdate>>):
required: trueAn array of
ByteMatchSetUpdateobjects that you want to insert into or delete from aByteMatchSet. For more information, see the applicable data types:-
ByteMatchSetUpdate: ContainsActionandByteMatchTuple -
ByteMatchTuple: ContainsFieldToMatch,PositionalConstraint,TargetString, andTextTransformation -
FieldToMatch: ContainsDataandType
-
- On success, responds with
UpdateByteMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateByteMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateByteMatchSetError>
source§impl Client
impl Client
sourcepub fn update_geo_match_set(&self) -> UpdateGeoMatchSetFluentBuilder
pub fn update_geo_match_set(&self) -> UpdateGeoMatchSetFluentBuilder
Constructs a fluent builder for the UpdateGeoMatchSet operation.
- The fluent builder is configurable:
geo_match_set_id(impl Into<String>)/set_geo_match_set_id(Option<String>):
required: trueThe
GeoMatchSetIdof theGeoMatchSetthat you want to update.GeoMatchSetIdis returned byCreateGeoMatchSetand byListGeoMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(GeoMatchSetUpdate)/set_updates(Option<Vec::<GeoMatchSetUpdate>>):
required: trueAn array of
GeoMatchSetUpdateobjects that you want to insert into or delete from anGeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: ContainsActionandGeoMatchConstraint -
GeoMatchConstraint: ContainsTypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
-
- On success, responds with
UpdateGeoMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateGeoMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateGeoMatchSetError>
source§impl Client
impl Client
sourcepub fn update_ip_set(&self) -> UpdateIPSetFluentBuilder
pub fn update_ip_set(&self) -> UpdateIPSetFluentBuilder
Constructs a fluent builder for the UpdateIPSet operation.
- The fluent builder is configurable:
ip_set_id(impl Into<String>)/set_ip_set_id(Option<String>):
required: trueThe
IPSetIdof theIPSetthat you want to update.IPSetIdis returned byCreateIPSetand byListIPSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(IpSetUpdate)/set_updates(Option<Vec::<IpSetUpdate>>):
required: trueAn array of
IPSetUpdateobjects that you want to insert into or delete from anIPSet. For more information, see the applicable data types:-
IPSetUpdate: ContainsActionandIPSetDescriptor -
IPSetDescriptor: ContainsTypeandValue
You can insert a maximum of 1000 addresses in a single request.
-
- On success, responds with
UpdateIpSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateIPSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateIPSetError>
source§impl Client
impl Client
sourcepub fn update_rate_based_rule(&self) -> UpdateRateBasedRuleFluentBuilder
pub fn update_rate_based_rule(&self) -> UpdateRateBasedRuleFluentBuilder
Constructs a fluent builder for the UpdateRateBasedRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRateBasedRulethat you want to update.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(RuleUpdate)/set_updates(Option<Vec::<RuleUpdate>>):
required: trueAn array of
RuleUpdateobjects that you want to insert into or delete from aRateBasedRule.rate_limit(i64)/set_rate_limit(Option<i64>):
required: trueThe maximum number of requests, which have an identical value in the field specified by the
RateKey, allowed in a five-minute period. If the number of requests exceeds theRateLimitand the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.
- On success, responds with
UpdateRateBasedRuleOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateRateBasedRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateRateBasedRuleError>
source§impl Client
impl Client
sourcepub fn update_regex_match_set(&self) -> UpdateRegexMatchSetFluentBuilder
pub fn update_regex_match_set(&self) -> UpdateRegexMatchSetFluentBuilder
Constructs a fluent builder for the UpdateRegexMatchSet operation.
- The fluent builder is configurable:
regex_match_set_id(impl Into<String>)/set_regex_match_set_id(Option<String>):
required: trueThe
RegexMatchSetIdof theRegexMatchSetthat you want to update.RegexMatchSetIdis returned byCreateRegexMatchSetand byListRegexMatchSets.updates(RegexMatchSetUpdate)/set_updates(Option<Vec::<RegexMatchSetUpdate>>):
required: trueAn array of
RegexMatchSetUpdateobjects that you want to insert into or delete from aRegexMatchSet. For more information, seeRegexMatchTuple.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
UpdateRegexMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateRegexMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateRegexMatchSetError>
source§impl Client
impl Client
sourcepub fn update_regex_pattern_set(&self) -> UpdateRegexPatternSetFluentBuilder
pub fn update_regex_pattern_set(&self) -> UpdateRegexPatternSetFluentBuilder
Constructs a fluent builder for the UpdateRegexPatternSet operation.
- The fluent builder is configurable:
regex_pattern_set_id(impl Into<String>)/set_regex_pattern_set_id(Option<String>):
required: trueThe
RegexPatternSetIdof theRegexPatternSetthat you want to update.RegexPatternSetIdis returned byCreateRegexPatternSetand byListRegexPatternSets.updates(RegexPatternSetUpdate)/set_updates(Option<Vec::<RegexPatternSetUpdate>>):
required: trueAn array of
RegexPatternSetUpdateobjects that you want to insert into or delete from aRegexPatternSet.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
UpdateRegexPatternSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateRegexPatternSetError>
source§impl Client
impl Client
sourcepub fn update_rule(&self) -> UpdateRuleFluentBuilder
pub fn update_rule(&self) -> UpdateRuleFluentBuilder
Constructs a fluent builder for the UpdateRule operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)/set_rule_id(Option<String>):
required: trueThe
RuleIdof theRulethat you want to update.RuleIdis returned byCreateRuleand byListRules.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(RuleUpdate)/set_updates(Option<Vec::<RuleUpdate>>):
required: trueAn array of
RuleUpdateobjects that you want to insert into or delete from aRule. For more information, see the applicable data types:-
RuleUpdate: ContainsActionandPredicate -
Predicate: ContainsDataId,Negated, andType -
FieldToMatch: ContainsDataandType
-
- On success, responds with
UpdateRuleOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateRulerequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateRuleError>
source§impl Client
impl Client
sourcepub fn update_rule_group(&self) -> UpdateRuleGroupFluentBuilder
pub fn update_rule_group(&self) -> UpdateRuleGroupFluentBuilder
Constructs a fluent builder for the UpdateRuleGroup operation.
- The fluent builder is configurable:
rule_group_id(impl Into<String>)/set_rule_group_id(Option<String>):
required: trueThe
RuleGroupIdof theRuleGroupthat you want to update.RuleGroupIdis returned byCreateRuleGroupand byListRuleGroups.updates(RuleGroupUpdate)/set_updates(Option<Vec::<RuleGroupUpdate>>):
required: trueAn array of
RuleGroupUpdateobjects that you want to insert into or delete from aRuleGroup.You can only insert
REGULARrules into a rule group.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.
- On success, responds with
UpdateRuleGroupOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateRuleGrouprequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateRuleGroupError>
source§impl Client
impl Client
sourcepub fn update_size_constraint_set(&self) -> UpdateSizeConstraintSetFluentBuilder
pub fn update_size_constraint_set(&self) -> UpdateSizeConstraintSetFluentBuilder
Constructs a fluent builder for the UpdateSizeConstraintSet operation.
- The fluent builder is configurable:
size_constraint_set_id(impl Into<String>)/set_size_constraint_set_id(Option<String>):
required: trueThe
SizeConstraintSetIdof theSizeConstraintSetthat you want to update.SizeConstraintSetIdis returned byCreateSizeConstraintSetand byListSizeConstraintSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(SizeConstraintSetUpdate)/set_updates(Option<Vec::<SizeConstraintSetUpdate>>):
required: trueAn array of
SizeConstraintSetUpdateobjects that you want to insert into or delete from aSizeConstraintSet. For more information, see the applicable data types:-
SizeConstraintSetUpdate: ContainsActionandSizeConstraint -
SizeConstraint: ContainsFieldToMatch,TextTransformation,ComparisonOperator, andSize -
FieldToMatch: ContainsDataandType
-
- On success, responds with
UpdateSizeConstraintSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateSizeConstraintSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateSizeConstraintSetError>
source§impl Client
impl Client
sourcepub fn update_sql_injection_match_set(
&self,
) -> UpdateSqlInjectionMatchSetFluentBuilder
pub fn update_sql_injection_match_set( &self, ) -> UpdateSqlInjectionMatchSetFluentBuilder
Constructs a fluent builder for the UpdateSqlInjectionMatchSet operation.
- The fluent builder is configurable:
sql_injection_match_set_id(impl Into<String>)/set_sql_injection_match_set_id(Option<String>):
required: trueThe
SqlInjectionMatchSetIdof theSqlInjectionMatchSetthat you want to update.SqlInjectionMatchSetIdis returned byCreateSqlInjectionMatchSetand byListSqlInjectionMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(SqlInjectionMatchSetUpdate)/set_updates(Option<Vec::<SqlInjectionMatchSetUpdate>>):
required: trueAn array of
SqlInjectionMatchSetUpdateobjects that you want to insert into or delete from aSqlInjectionMatchSet. For more information, see the applicable data types:-
SqlInjectionMatchSetUpdate: ContainsActionandSqlInjectionMatchTuple -
SqlInjectionMatchTuple: ContainsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
-
- On success, responds with
UpdateSqlInjectionMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateSqlInjectionMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateSqlInjectionMatchSetError>
source§impl Client
impl Client
sourcepub fn update_web_acl(&self) -> UpdateWebACLFluentBuilder
pub fn update_web_acl(&self) -> UpdateWebACLFluentBuilder
Constructs a fluent builder for the UpdateWebACL operation.
- The fluent builder is configurable:
web_acl_id(impl Into<String>)/set_web_acl_id(Option<String>):
required: trueThe
WebACLIdof theWebACLthat you want to update.WebACLIdis returned byCreateWebACLand byListWebACLs.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(WebAclUpdate)/set_updates(Option<Vec::<WebAclUpdate>>):
required: falseAn array of updates to make to the
WebACL.An array of
WebACLUpdateobjects that you want to insert into or delete from aWebACL. For more information, see the applicable data types:-
WebACLUpdate: ContainsActionandActivatedRule -
ActivatedRule: ContainsAction,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: ContainsType
-
default_action(WafAction)/set_default_action(Option<WafAction>):
required: falseA default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn’t match the criteria in any of the rules in a web ACL.
- On success, responds with
UpdateWebAclOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateWebACLrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateWebACLError>
source§impl Client
impl Client
sourcepub fn update_xss_match_set(&self) -> UpdateXssMatchSetFluentBuilder
pub fn update_xss_match_set(&self) -> UpdateXssMatchSetFluentBuilder
Constructs a fluent builder for the UpdateXssMatchSet operation.
- The fluent builder is configurable:
xss_match_set_id(impl Into<String>)/set_xss_match_set_id(Option<String>):
required: trueThe
XssMatchSetIdof theXssMatchSetthat you want to update.XssMatchSetIdis returned byCreateXssMatchSetand byListXssMatchSets.change_token(impl Into<String>)/set_change_token(Option<String>):
required: trueThe value returned by the most recent call to
GetChangeToken.updates(XssMatchSetUpdate)/set_updates(Option<Vec::<XssMatchSetUpdate>>):
required: trueAn array of
XssMatchSetUpdateobjects that you want to insert into or delete from anXssMatchSet. For more information, see the applicable data types:-
XssMatchSetUpdate: ContainsActionandXssMatchTuple -
XssMatchTuple: ContainsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
-
- On success, responds with
UpdateXssMatchSetOutputwith field(s):change_token(Option<String>):The
ChangeTokenthat you used to submit theUpdateXssMatchSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.
- On failure, responds with
SdkError<UpdateXssMatchSetError>
source§impl Client
impl Client
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_implconfigured. - Identity caching is enabled without a
sleep_implandtime_sourceconfigured. - No
behavior_versionis provided.
The panic message for each of these will have instructions on how to resolve them.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it. - This method will panic if no
BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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