WAFV2 module#
Index > WAFV2
Auto-generated documentation for WAFV2 type annotations stubs module types-boto3-wafv2.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
WAFV2
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and WAFV2
.
From PyPI with pip#
Install types-boto3
for WAFV2
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[wafv2]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-boto3-lite[wafv2]'
# standalone installation
python -m pip install types-boto3-wafv2
How to uninstall#
python -m pip uninstall -y types-boto3-wafv2
Usage#
Code samples can be found in Examples.
WAFV2Client#
Type annotations and code completion for boto3.client("wafv2")
as WAFV2Client
boto3 documentation
# WAFV2Client usage example
from boto3.session import Session
from types_boto3_wafv2.client import WAFV2Client
def get_client() -> WAFV2Client:
return Session().client("wafv2")
Literals#
Type annotations for literals used in methods and schema.
# ActionValueType usage example
from types_boto3_wafv2.literals import ActionValueType
def get_value() -> ActionValueType:
return "ALLOW"
- ActionValueType
- AssociatedResourceTypeType
- BodyParsingFallbackBehaviorType
- ComparisonOperatorType
- CountryCodeType
- FailureReasonType
- FallbackBehaviorType
- FilterBehaviorType
- FilterRequirementType
- ForwardedIPPositionType
- IPAddressVersionType
- InspectionLevelType
- JsonMatchScopeType
- LabelMatchScopeType
- LogScopeType
- LogTypeType
- MapMatchScopeType
- OversizeHandlingType
- PayloadTypeType
- PlatformType
- PositionalConstraintType
- RateBasedStatementAggregateKeyTypeType
- ResourceTypeType
- ResponseContentTypeType
- ScopeType
- SensitivityLevelType
- SizeInspectionLimitType
- TextTransformationTypeType
- WAFV2ServiceName
- ServiceName
- ResourceServiceName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- APIKeySummaryTypeDef
- AWSManagedRulesBotControlRuleSetTypeDef
- ActionConditionTypeDef
- AddressFieldTypeDef
- AndStatementOutputTypeDef
- AndStatementTypeDef
- AssociateWebACLRequestRequestTypeDef
- RequestBodyAssociatedResourceTypeConfigTypeDef
- BlobTypeDef
- BodyTypeDef
- TextTransformationTypeDef
- ImmunityTimePropertyTypeDef
- CaptchaResponseTypeDef
- ChallengeResponseTypeDef
- ResponseMetadataTypeDef
- LabelNameConditionTypeDef
- CookieMatchPatternOutputTypeDef
- CookieMatchPatternTypeDef
- CreateAPIKeyRequestRequestTypeDef
- TagTypeDef
- IPSetSummaryTypeDef
- RegexTypeDef
- RegexPatternSetSummaryTypeDef
- CustomResponseBodyTypeDef
- VisibilityConfigTypeDef
- RuleGroupSummaryTypeDef
- WebACLSummaryTypeDef
- CustomHTTPHeaderTypeDef
- DeleteAPIKeyRequestRequestTypeDef
- DeleteFirewallManagerRuleGroupsRequestRequestTypeDef
- DeleteIPSetRequestRequestTypeDef
- DeleteLoggingConfigurationRequestRequestTypeDef
- DeletePermissionPolicyRequestRequestTypeDef
- DeleteRegexPatternSetRequestRequestTypeDef
- DeleteRuleGroupRequestRequestTypeDef
- DeleteWebACLRequestRequestTypeDef
- DescribeAllManagedProductsRequestRequestTypeDef
- ManagedProductDescriptorTypeDef
- DescribeManagedProductsByVendorRequestRequestTypeDef
- DescribeManagedRuleGroupRequestRequestTypeDef
- LabelSummaryTypeDef
- DisassociateWebACLRequestRequestTypeDef
- EmailFieldTypeDef
- ExcludedRuleTypeDef
- HeaderOrderTypeDef
- JA3FingerprintTypeDef
- SingleHeaderTypeDef
- SingleQueryArgumentTypeDef
- ForwardedIPConfigTypeDef
- GenerateMobileSdkReleaseUrlRequestRequestTypeDef
- GetDecryptedAPIKeyRequestRequestTypeDef
- GetIPSetRequestRequestTypeDef
- IPSetTypeDef
- GetLoggingConfigurationRequestRequestTypeDef
- GetManagedRuleSetRequestRequestTypeDef
- GetMobileSdkReleaseRequestRequestTypeDef
- GetPermissionPolicyRequestRequestTypeDef
- GetRateBasedStatementManagedKeysRequestRequestTypeDef
- RateBasedStatementManagedKeysIPSetTypeDef
- GetRegexPatternSetRequestRequestTypeDef
- GetRuleGroupRequestRequestTypeDef
- TimeWindowOutputTypeDef
- GetWebACLForResourceRequestRequestTypeDef
- GetWebACLRequestRequestTypeDef
- HTTPHeaderTypeDef
- HeaderMatchPatternOutputTypeDef
- HeaderMatchPatternTypeDef
- IPSetForwardedIPConfigTypeDef
- JsonMatchPatternOutputTypeDef
- JsonMatchPatternTypeDef
- LabelMatchStatementTypeDef
- LabelTypeDef
- ListAPIKeysRequestRequestTypeDef
- ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef
- ManagedRuleGroupVersionTypeDef
- ListAvailableManagedRuleGroupsRequestRequestTypeDef
- ManagedRuleGroupSummaryTypeDef
- ListIPSetsRequestRequestTypeDef
- ListLoggingConfigurationsRequestRequestTypeDef
- ListManagedRuleSetsRequestRequestTypeDef
- ManagedRuleSetSummaryTypeDef
- ListMobileSdkReleasesRequestRequestTypeDef
- ReleaseSummaryTypeDef
- ListRegexPatternSetsRequestRequestTypeDef
- ListResourcesForWebACLRequestRequestTypeDef
- ListRuleGroupsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ListWebACLsRequestRequestTypeDef
- PasswordFieldTypeDef
- UsernameFieldTypeDef
- ManagedRuleSetVersionTypeDef
- NotStatementOutputTypeDef
- NotStatementTypeDef
- OrStatementOutputTypeDef
- OrStatementTypeDef
- PhoneNumberFieldTypeDef
- VersionToPublishTypeDef
- PutPermissionPolicyRequestRequestTypeDef
- RateLimitLabelNamespaceTypeDef
- ResponseInspectionBodyContainsOutputTypeDef
- ResponseInspectionBodyContainsTypeDef
- ResponseInspectionHeaderOutputTypeDef
- ResponseInspectionHeaderTypeDef
- ResponseInspectionJsonOutputTypeDef
- ResponseInspectionJsonTypeDef
- ResponseInspectionStatusCodeOutputTypeDef
- ResponseInspectionStatusCodeTypeDef
- TimestampTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateIPSetRequestRequestTypeDef
- AndStatementUnionTypeDef
- AssociationConfigOutputTypeDef
- AssociationConfigTypeDef
- RateLimitCookieOutputTypeDef
- RateLimitCookieTypeDef
- RateLimitHeaderOutputTypeDef
- RateLimitHeaderTypeDef
- RateLimitQueryArgumentOutputTypeDef
- RateLimitQueryArgumentTypeDef
- RateLimitQueryStringOutputTypeDef
- RateLimitQueryStringTypeDef
- RateLimitUriPathOutputTypeDef
- RateLimitUriPathTypeDef
- CaptchaConfigTypeDef
- ChallengeConfigTypeDef
- CheckCapacityResponseTypeDef
- CreateAPIKeyResponseTypeDef
- DeleteFirewallManagerRuleGroupsResponseTypeDef
- GenerateMobileSdkReleaseUrlResponseTypeDef
- GetDecryptedAPIKeyResponseTypeDef
- GetPermissionPolicyResponseTypeDef
- ListAPIKeysResponseTypeDef
- ListResourcesForWebACLResponseTypeDef
- PutManagedRuleSetVersionsResponseTypeDef
- UpdateIPSetResponseTypeDef
- UpdateManagedRuleSetVersionExpiryDateResponseTypeDef
- UpdateRegexPatternSetResponseTypeDef
- UpdateRuleGroupResponseTypeDef
- UpdateWebACLResponseTypeDef
- ConditionTypeDef
- CookiesOutputTypeDef
- CookieMatchPatternUnionTypeDef
- CreateIPSetRequestRequestTypeDef
- MobileSdkReleaseTypeDef
- TagInfoForResourceTypeDef
- TagResourceRequestRequestTypeDef
- CreateIPSetResponseTypeDef
- ListIPSetsResponseTypeDef
- CreateRegexPatternSetRequestRequestTypeDef
- RegexPatternSetTypeDef
- UpdateRegexPatternSetRequestRequestTypeDef
- CreateRegexPatternSetResponseTypeDef
- ListRegexPatternSetsResponseTypeDef
- CreateRuleGroupResponseTypeDef
- ListRuleGroupsResponseTypeDef
- CreateWebACLResponseTypeDef
- ListWebACLsResponseTypeDef
- CustomRequestHandlingOutputTypeDef
- CustomRequestHandlingTypeDef
- CustomResponseOutputTypeDef
- CustomResponseTypeDef
- DescribeAllManagedProductsResponseTypeDef
- DescribeManagedProductsByVendorResponseTypeDef
- GeoMatchStatementOutputTypeDef
- GeoMatchStatementTypeDef
- GetIPSetResponseTypeDef
- GetRateBasedStatementManagedKeysResponseTypeDef
- HTTPRequestTypeDef
- HeadersOutputTypeDef
- HeaderMatchPatternUnionTypeDef
- IPSetReferenceStatementTypeDef
- JsonBodyOutputTypeDef
- JsonMatchPatternUnionTypeDef
- ListAvailableManagedRuleGroupVersionsResponseTypeDef
- ListAvailableManagedRuleGroupsResponseTypeDef
- ListManagedRuleSetsResponseTypeDef
- ListMobileSdkReleasesResponseTypeDef
- RequestInspectionTypeDef
- ManagedRuleSetTypeDef
- NotStatementUnionTypeDef
- OrStatementUnionTypeDef
- RequestInspectionACFPOutputTypeDef
- RequestInspectionACFPTypeDef
- PutManagedRuleSetVersionsRequestRequestTypeDef
- ResponseInspectionBodyContainsUnionTypeDef
- ResponseInspectionHeaderUnionTypeDef
- ResponseInspectionJsonUnionTypeDef
- ResponseInspectionOutputTypeDef
- ResponseInspectionStatusCodeUnionTypeDef
- TimeWindowTypeDef
- UpdateManagedRuleSetVersionExpiryDateRequestRequestTypeDef
- RateLimitCookieUnionTypeDef
- RateLimitHeaderUnionTypeDef
- RateLimitQueryArgumentUnionTypeDef
- RateLimitQueryStringUnionTypeDef
- RateBasedStatementCustomKeyOutputTypeDef
- RateLimitUriPathUnionTypeDef
- FilterOutputTypeDef
- FilterTypeDef
- CookiesTypeDef
- GetMobileSdkReleaseResponseTypeDef
- ListTagsForResourceResponseTypeDef
- GetRegexPatternSetResponseTypeDef
- AllowActionOutputTypeDef
- CaptchaActionOutputTypeDef
- ChallengeActionOutputTypeDef
- CountActionOutputTypeDef
- CustomRequestHandlingUnionTypeDef
- BlockActionOutputTypeDef
- CustomResponseUnionTypeDef
- GeoMatchStatementUnionTypeDef
- SampledHTTPRequestTypeDef
- HeadersTypeDef
- FieldToMatchOutputTypeDef
- JsonBodyTypeDef
- GetManagedRuleSetResponseTypeDef
- RequestInspectionACFPUnionTypeDef
- AWSManagedRulesACFPRuleSetOutputTypeDef
- AWSManagedRulesATPRuleSetOutputTypeDef
- ResponseInspectionTypeDef
- GetSampledRequestsRequestRequestTypeDef
- RateBasedStatementOutputTypeDef
- RateBasedStatementCustomKeyTypeDef
- LoggingFilterOutputTypeDef
- FilterUnionTypeDef
- CookiesUnionTypeDef
- OverrideActionOutputTypeDef
- AllowActionTypeDef
- CaptchaActionTypeDef
- ChallengeActionTypeDef
- CountActionTypeDef
- DefaultActionOutputTypeDef
- RuleActionOutputTypeDef
- BlockActionTypeDef
- GetSampledRequestsResponseTypeDef
- HeadersUnionTypeDef
- ByteMatchStatementOutputTypeDef
- RegexMatchStatementOutputTypeDef
- RegexPatternSetReferenceStatementOutputTypeDef
- SizeConstraintStatementOutputTypeDef
- SqliMatchStatementOutputTypeDef
- XssMatchStatementOutputTypeDef
- JsonBodyUnionTypeDef
- ManagedRuleGroupConfigOutputTypeDef
- ResponseInspectionUnionTypeDef
- RateBasedStatementCustomKeyUnionTypeDef
- LoggingConfigurationOutputTypeDef
- LoggingFilterTypeDef
- AllowActionUnionTypeDef
- CaptchaActionUnionTypeDef
- ChallengeActionUnionTypeDef
- CountActionUnionTypeDef
- RuleActionOverrideOutputTypeDef
- RuleSummaryTypeDef
- BlockActionUnionTypeDef
- FieldToMatchTypeDef
- AWSManagedRulesACFPRuleSetTypeDef
- AWSManagedRulesATPRuleSetTypeDef
- RateBasedStatementTypeDef
- GetLoggingConfigurationResponseTypeDef
- ListLoggingConfigurationsResponseTypeDef
- PutLoggingConfigurationResponseTypeDef
- LoggingFilterUnionTypeDef
- OverrideActionTypeDef
- ManagedRuleGroupStatementOutputTypeDef
- RuleGroupReferenceStatementOutputTypeDef
- DescribeManagedRuleGroupResponseTypeDef
- DefaultActionTypeDef
- RuleActionTypeDef
- FieldToMatchUnionTypeDef
- AWSManagedRulesACFPRuleSetUnionTypeDef
- AWSManagedRulesATPRuleSetUnionTypeDef
- RateBasedStatementUnionTypeDef
- OverrideActionUnionTypeDef
- FirewallManagerStatementTypeDef
- StatementOutputTypeDef
- RuleActionUnionTypeDef
- ByteMatchStatementTypeDef
- LoggingConfigurationTypeDef
- RegexMatchStatementTypeDef
- RegexPatternSetReferenceStatementTypeDef
- SizeConstraintStatementTypeDef
- SqliMatchStatementTypeDef
- XssMatchStatementTypeDef
- ManagedRuleGroupConfigTypeDef
- FirewallManagerRuleGroupTypeDef
- RuleOutputTypeDef
- RuleActionOverrideTypeDef
- ByteMatchStatementUnionTypeDef
- PutLoggingConfigurationRequestRequestTypeDef
- RegexMatchStatementUnionTypeDef
- RegexPatternSetReferenceStatementUnionTypeDef
- SizeConstraintStatementUnionTypeDef
- SqliMatchStatementUnionTypeDef
- XssMatchStatementUnionTypeDef
- ManagedRuleGroupConfigUnionTypeDef
- RuleGroupTypeDef
- WebACLTypeDef
- RuleActionOverrideUnionTypeDef
- RuleGroupReferenceStatementTypeDef
- GetRuleGroupResponseTypeDef
- GetWebACLForResourceResponseTypeDef
- GetWebACLResponseTypeDef
- ManagedRuleGroupStatementTypeDef
- RuleGroupReferenceStatementUnionTypeDef
- ManagedRuleGroupStatementUnionTypeDef
- StatementTypeDef
- StatementUnionTypeDef
- RuleTypeDef
- CreateRuleGroupRequestRequestTypeDef
- CreateWebACLRequestRequestTypeDef
- RuleUnionTypeDef
- UpdateRuleGroupRequestRequestTypeDef
- UpdateWebACLRequestRequestTypeDef
- CheckCapacityRequestRequestTypeDef