Skip to content

Type definitions#

Index > WAFV2 > Type definitions

Auto-generated documentation for WAFV2 type annotations stubs module types-boto3-wafv2.

BlobTypeDef#

# BlobTypeDef Union usage example

from types_boto3_wafv2.type_defs import BlobTypeDef


def get_value() -> BlobTypeDef:
    return ...


# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

TimestampTypeDef#

# TimestampTypeDef Union usage example

from types_boto3_wafv2.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AndStatementUnionTypeDef#

# AndStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import AndStatementUnionTypeDef


def get_value() -> AndStatementUnionTypeDef:
    return ...


# AndStatementUnionTypeDef definition

AndStatementUnionTypeDef = Union[
    AndStatementTypeDef,  # (1)
    AndStatementOutputTypeDef,  # (2)
]
  1. See AndStatementTypeDef
  2. See AndStatementOutputTypeDef

CookieMatchPatternUnionTypeDef#

# CookieMatchPatternUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CookieMatchPatternUnionTypeDef


def get_value() -> CookieMatchPatternUnionTypeDef:
    return ...


# CookieMatchPatternUnionTypeDef definition

CookieMatchPatternUnionTypeDef = Union[
    CookieMatchPatternTypeDef,  # (1)
    CookieMatchPatternOutputTypeDef,  # (2)
]
  1. See CookieMatchPatternTypeDef
  2. See CookieMatchPatternOutputTypeDef

HeaderMatchPatternUnionTypeDef#

# HeaderMatchPatternUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import HeaderMatchPatternUnionTypeDef


def get_value() -> HeaderMatchPatternUnionTypeDef:
    return ...


# HeaderMatchPatternUnionTypeDef definition

HeaderMatchPatternUnionTypeDef = Union[
    HeaderMatchPatternTypeDef,  # (1)
    HeaderMatchPatternOutputTypeDef,  # (2)
]
  1. See HeaderMatchPatternTypeDef
  2. See HeaderMatchPatternOutputTypeDef

JsonMatchPatternUnionTypeDef#

# JsonMatchPatternUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import JsonMatchPatternUnionTypeDef


def get_value() -> JsonMatchPatternUnionTypeDef:
    return ...


# JsonMatchPatternUnionTypeDef definition

JsonMatchPatternUnionTypeDef = Union[
    JsonMatchPatternTypeDef,  # (1)
    JsonMatchPatternOutputTypeDef,  # (2)
]
  1. See JsonMatchPatternTypeDef
  2. See JsonMatchPatternOutputTypeDef

NotStatementUnionTypeDef#

# NotStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import NotStatementUnionTypeDef


def get_value() -> NotStatementUnionTypeDef:
    return ...


# NotStatementUnionTypeDef definition

NotStatementUnionTypeDef = Union[
    NotStatementTypeDef,  # (1)
    NotStatementOutputTypeDef,  # (2)
]
  1. See NotStatementTypeDef
  2. See NotStatementOutputTypeDef

OrStatementUnionTypeDef#

# OrStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import OrStatementUnionTypeDef


def get_value() -> OrStatementUnionTypeDef:
    return ...


# OrStatementUnionTypeDef definition

OrStatementUnionTypeDef = Union[
    OrStatementTypeDef,  # (1)
    OrStatementOutputTypeDef,  # (2)
]
  1. See OrStatementTypeDef
  2. See OrStatementOutputTypeDef

ResponseInspectionBodyContainsUnionTypeDef#

# ResponseInspectionBodyContainsUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ResponseInspectionBodyContainsUnionTypeDef


def get_value() -> ResponseInspectionBodyContainsUnionTypeDef:
    return ...


# ResponseInspectionBodyContainsUnionTypeDef definition

ResponseInspectionBodyContainsUnionTypeDef = Union[
    ResponseInspectionBodyContainsTypeDef,  # (1)
    ResponseInspectionBodyContainsOutputTypeDef,  # (2)
]
  1. See ResponseInspectionBodyContainsTypeDef
  2. See ResponseInspectionBodyContainsOutputTypeDef

ResponseInspectionHeaderUnionTypeDef#

# ResponseInspectionHeaderUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ResponseInspectionHeaderUnionTypeDef


def get_value() -> ResponseInspectionHeaderUnionTypeDef:
    return ...


# ResponseInspectionHeaderUnionTypeDef definition

ResponseInspectionHeaderUnionTypeDef = Union[
    ResponseInspectionHeaderTypeDef,  # (1)
    ResponseInspectionHeaderOutputTypeDef,  # (2)
]
  1. See ResponseInspectionHeaderTypeDef
  2. See ResponseInspectionHeaderOutputTypeDef

ResponseInspectionJsonUnionTypeDef#

# ResponseInspectionJsonUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ResponseInspectionJsonUnionTypeDef


def get_value() -> ResponseInspectionJsonUnionTypeDef:
    return ...


# ResponseInspectionJsonUnionTypeDef definition

ResponseInspectionJsonUnionTypeDef = Union[
    ResponseInspectionJsonTypeDef,  # (1)
    ResponseInspectionJsonOutputTypeDef,  # (2)
]
  1. See ResponseInspectionJsonTypeDef
  2. See ResponseInspectionJsonOutputTypeDef

ResponseInspectionStatusCodeUnionTypeDef#

# ResponseInspectionStatusCodeUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ResponseInspectionStatusCodeUnionTypeDef


def get_value() -> ResponseInspectionStatusCodeUnionTypeDef:
    return ...


# ResponseInspectionStatusCodeUnionTypeDef definition

ResponseInspectionStatusCodeUnionTypeDef = Union[
    ResponseInspectionStatusCodeTypeDef,  # (1)
    ResponseInspectionStatusCodeOutputTypeDef,  # (2)
]
  1. See ResponseInspectionStatusCodeTypeDef
  2. See ResponseInspectionStatusCodeOutputTypeDef

AssociationConfigUnionTypeDef#

# AssociationConfigUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import AssociationConfigUnionTypeDef


def get_value() -> AssociationConfigUnionTypeDef:
    return ...


# AssociationConfigUnionTypeDef definition

AssociationConfigUnionTypeDef = Union[
    AssociationConfigTypeDef,  # (1)
    AssociationConfigOutputTypeDef,  # (2)
]
  1. See AssociationConfigTypeDef
  2. See AssociationConfigOutputTypeDef

RateLimitCookieUnionTypeDef#

# RateLimitCookieUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateLimitCookieUnionTypeDef


def get_value() -> RateLimitCookieUnionTypeDef:
    return ...


# RateLimitCookieUnionTypeDef definition

RateLimitCookieUnionTypeDef = Union[
    RateLimitCookieTypeDef,  # (1)
    RateLimitCookieOutputTypeDef,  # (2)
]
  1. See RateLimitCookieTypeDef
  2. See RateLimitCookieOutputTypeDef

RateLimitHeaderUnionTypeDef#

# RateLimitHeaderUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateLimitHeaderUnionTypeDef


def get_value() -> RateLimitHeaderUnionTypeDef:
    return ...


# RateLimitHeaderUnionTypeDef definition

RateLimitHeaderUnionTypeDef = Union[
    RateLimitHeaderTypeDef,  # (1)
    RateLimitHeaderOutputTypeDef,  # (2)
]
  1. See RateLimitHeaderTypeDef
  2. See RateLimitHeaderOutputTypeDef

RateLimitQueryArgumentUnionTypeDef#

# RateLimitQueryArgumentUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateLimitQueryArgumentUnionTypeDef


def get_value() -> RateLimitQueryArgumentUnionTypeDef:
    return ...


# RateLimitQueryArgumentUnionTypeDef definition

RateLimitQueryArgumentUnionTypeDef = Union[
    RateLimitQueryArgumentTypeDef,  # (1)
    RateLimitQueryArgumentOutputTypeDef,  # (2)
]
  1. See RateLimitQueryArgumentTypeDef
  2. See RateLimitQueryArgumentOutputTypeDef

RateLimitQueryStringUnionTypeDef#

# RateLimitQueryStringUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateLimitQueryStringUnionTypeDef


def get_value() -> RateLimitQueryStringUnionTypeDef:
    return ...


# RateLimitQueryStringUnionTypeDef definition

RateLimitQueryStringUnionTypeDef = Union[
    RateLimitQueryStringTypeDef,  # (1)
    RateLimitQueryStringOutputTypeDef,  # (2)
]
  1. See RateLimitQueryStringTypeDef
  2. See RateLimitQueryStringOutputTypeDef

RateLimitUriPathUnionTypeDef#

# RateLimitUriPathUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateLimitUriPathUnionTypeDef


def get_value() -> RateLimitUriPathUnionTypeDef:
    return ...


# RateLimitUriPathUnionTypeDef definition

RateLimitUriPathUnionTypeDef = Union[
    RateLimitUriPathTypeDef,  # (1)
    RateLimitUriPathOutputTypeDef,  # (2)
]
  1. See RateLimitUriPathTypeDef
  2. See RateLimitUriPathOutputTypeDef

CustomRequestHandlingUnionTypeDef#

# CustomRequestHandlingUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CustomRequestHandlingUnionTypeDef


def get_value() -> CustomRequestHandlingUnionTypeDef:
    return ...


# CustomRequestHandlingUnionTypeDef definition

CustomRequestHandlingUnionTypeDef = Union[
    CustomRequestHandlingTypeDef,  # (1)
    CustomRequestHandlingOutputTypeDef,  # (2)
]
  1. See CustomRequestHandlingTypeDef
  2. See CustomRequestHandlingOutputTypeDef

CustomResponseUnionTypeDef#

# CustomResponseUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CustomResponseUnionTypeDef


def get_value() -> CustomResponseUnionTypeDef:
    return ...


# CustomResponseUnionTypeDef definition

CustomResponseUnionTypeDef = Union[
    CustomResponseTypeDef,  # (1)
    CustomResponseOutputTypeDef,  # (2)
]
  1. See CustomResponseTypeDef
  2. See CustomResponseOutputTypeDef

GeoMatchStatementUnionTypeDef#

# GeoMatchStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import GeoMatchStatementUnionTypeDef


def get_value() -> GeoMatchStatementUnionTypeDef:
    return ...


# GeoMatchStatementUnionTypeDef definition

GeoMatchStatementUnionTypeDef = Union[
    GeoMatchStatementTypeDef,  # (1)
    GeoMatchStatementOutputTypeDef,  # (2)
]
  1. See GeoMatchStatementTypeDef
  2. See GeoMatchStatementOutputTypeDef

RequestInspectionACFPUnionTypeDef#

# RequestInspectionACFPUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RequestInspectionACFPUnionTypeDef


def get_value() -> RequestInspectionACFPUnionTypeDef:
    return ...


# RequestInspectionACFPUnionTypeDef definition

RequestInspectionACFPUnionTypeDef = Union[
    RequestInspectionACFPTypeDef,  # (1)
    RequestInspectionACFPOutputTypeDef,  # (2)
]
  1. See RequestInspectionACFPTypeDef
  2. See RequestInspectionACFPOutputTypeDef

TimeWindowUnionTypeDef#

# TimeWindowUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import TimeWindowUnionTypeDef


def get_value() -> TimeWindowUnionTypeDef:
    return ...


# TimeWindowUnionTypeDef definition

TimeWindowUnionTypeDef = Union[
    TimeWindowTypeDef,  # (1)
    TimeWindowOutputTypeDef,  # (2)
]
  1. See TimeWindowTypeDef
  2. See TimeWindowOutputTypeDef

CookiesUnionTypeDef#

# CookiesUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CookiesUnionTypeDef


def get_value() -> CookiesUnionTypeDef:
    return ...


# CookiesUnionTypeDef definition

CookiesUnionTypeDef = Union[
    CookiesTypeDef,  # (1)
    CookiesOutputTypeDef,  # (2)
]
  1. See CookiesTypeDef
  2. See CookiesOutputTypeDef

DataProtectionConfigUnionTypeDef#

# DataProtectionConfigUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import DataProtectionConfigUnionTypeDef


def get_value() -> DataProtectionConfigUnionTypeDef:
    return ...


# DataProtectionConfigUnionTypeDef definition

DataProtectionConfigUnionTypeDef = Union[
    DataProtectionConfigTypeDef,  # (1)
    DataProtectionConfigOutputTypeDef,  # (2)
]
  1. See DataProtectionConfigTypeDef
  2. See DataProtectionConfigOutputTypeDef

HeadersUnionTypeDef#

# HeadersUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import HeadersUnionTypeDef


def get_value() -> HeadersUnionTypeDef:
    return ...


# HeadersUnionTypeDef definition

HeadersUnionTypeDef = Union[
    HeadersTypeDef,  # (1)
    HeadersOutputTypeDef,  # (2)
]
  1. See HeadersTypeDef
  2. See HeadersOutputTypeDef

JsonBodyUnionTypeDef#

# JsonBodyUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import JsonBodyUnionTypeDef


def get_value() -> JsonBodyUnionTypeDef:
    return ...


# JsonBodyUnionTypeDef definition

JsonBodyUnionTypeDef = Union[
    JsonBodyTypeDef,  # (1)
    JsonBodyOutputTypeDef,  # (2)
]
  1. See JsonBodyTypeDef
  2. See JsonBodyOutputTypeDef

ResponseInspectionUnionTypeDef#

# ResponseInspectionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ResponseInspectionUnionTypeDef


def get_value() -> ResponseInspectionUnionTypeDef:
    return ...


# ResponseInspectionUnionTypeDef definition

ResponseInspectionUnionTypeDef = Union[
    ResponseInspectionTypeDef,  # (1)
    ResponseInspectionOutputTypeDef,  # (2)
]
  1. See ResponseInspectionTypeDef
  2. See ResponseInspectionOutputTypeDef

RateBasedStatementCustomKeyUnionTypeDef#

# RateBasedStatementCustomKeyUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateBasedStatementCustomKeyUnionTypeDef


def get_value() -> RateBasedStatementCustomKeyUnionTypeDef:
    return ...


# RateBasedStatementCustomKeyUnionTypeDef definition

RateBasedStatementCustomKeyUnionTypeDef = Union[
    RateBasedStatementCustomKeyTypeDef,  # (1)
    RateBasedStatementCustomKeyOutputTypeDef,  # (2)
]
  1. See RateBasedStatementCustomKeyTypeDef
  2. See RateBasedStatementCustomKeyOutputTypeDef

AllowActionUnionTypeDef#

# AllowActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import AllowActionUnionTypeDef


def get_value() -> AllowActionUnionTypeDef:
    return ...


# AllowActionUnionTypeDef definition

AllowActionUnionTypeDef = Union[
    AllowActionTypeDef,  # (1)
    AllowActionOutputTypeDef,  # (2)
]
  1. See AllowActionTypeDef
  2. See AllowActionOutputTypeDef

CaptchaActionUnionTypeDef#

# CaptchaActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CaptchaActionUnionTypeDef


def get_value() -> CaptchaActionUnionTypeDef:
    return ...


# CaptchaActionUnionTypeDef definition

CaptchaActionUnionTypeDef = Union[
    CaptchaActionTypeDef,  # (1)
    CaptchaActionOutputTypeDef,  # (2)
]
  1. See CaptchaActionTypeDef
  2. See CaptchaActionOutputTypeDef

ChallengeActionUnionTypeDef#

# ChallengeActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ChallengeActionUnionTypeDef


def get_value() -> ChallengeActionUnionTypeDef:
    return ...


# ChallengeActionUnionTypeDef definition

ChallengeActionUnionTypeDef = Union[
    ChallengeActionTypeDef,  # (1)
    ChallengeActionOutputTypeDef,  # (2)
]
  1. See ChallengeActionTypeDef
  2. See ChallengeActionOutputTypeDef

CountActionUnionTypeDef#

# CountActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import CountActionUnionTypeDef


def get_value() -> CountActionUnionTypeDef:
    return ...


# CountActionUnionTypeDef definition

CountActionUnionTypeDef = Union[
    CountActionTypeDef,  # (1)
    CountActionOutputTypeDef,  # (2)
]
  1. See CountActionTypeDef
  2. See CountActionOutputTypeDef

BlockActionUnionTypeDef#

# BlockActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import BlockActionUnionTypeDef


def get_value() -> BlockActionUnionTypeDef:
    return ...


# BlockActionUnionTypeDef definition

BlockActionUnionTypeDef = Union[
    BlockActionTypeDef,  # (1)
    BlockActionOutputTypeDef,  # (2)
]
  1. See BlockActionTypeDef
  2. See BlockActionOutputTypeDef

DefaultActionUnionTypeDef#

# DefaultActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import DefaultActionUnionTypeDef


def get_value() -> DefaultActionUnionTypeDef:
    return ...


# DefaultActionUnionTypeDef definition

DefaultActionUnionTypeDef = Union[
    DefaultActionTypeDef,  # (1)
    DefaultActionOutputTypeDef,  # (2)
]
  1. See DefaultActionTypeDef
  2. See DefaultActionOutputTypeDef

FieldToMatchUnionTypeDef#

# FieldToMatchUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import FieldToMatchUnionTypeDef


def get_value() -> FieldToMatchUnionTypeDef:
    return ...


# FieldToMatchUnionTypeDef definition

FieldToMatchUnionTypeDef = Union[
    FieldToMatchTypeDef,  # (1)
    FieldToMatchOutputTypeDef,  # (2)
]
  1. See FieldToMatchTypeDef
  2. See FieldToMatchOutputTypeDef

AWSManagedRulesACFPRuleSetUnionTypeDef#

# AWSManagedRulesACFPRuleSetUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesACFPRuleSetUnionTypeDef


def get_value() -> AWSManagedRulesACFPRuleSetUnionTypeDef:
    return ...


# AWSManagedRulesACFPRuleSetUnionTypeDef definition

AWSManagedRulesACFPRuleSetUnionTypeDef = Union[
    AWSManagedRulesACFPRuleSetTypeDef,  # (1)
    AWSManagedRulesACFPRuleSetOutputTypeDef,  # (2)
]
  1. See AWSManagedRulesACFPRuleSetTypeDef
  2. See AWSManagedRulesACFPRuleSetOutputTypeDef

AWSManagedRulesATPRuleSetUnionTypeDef#

# AWSManagedRulesATPRuleSetUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesATPRuleSetUnionTypeDef


def get_value() -> AWSManagedRulesATPRuleSetUnionTypeDef:
    return ...


# AWSManagedRulesATPRuleSetUnionTypeDef definition

AWSManagedRulesATPRuleSetUnionTypeDef = Union[
    AWSManagedRulesATPRuleSetTypeDef,  # (1)
    AWSManagedRulesATPRuleSetOutputTypeDef,  # (2)
]
  1. See AWSManagedRulesATPRuleSetTypeDef
  2. See AWSManagedRulesATPRuleSetOutputTypeDef

RateBasedStatementUnionTypeDef#

# RateBasedStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RateBasedStatementUnionTypeDef


def get_value() -> RateBasedStatementUnionTypeDef:
    return ...


# RateBasedStatementUnionTypeDef definition

RateBasedStatementUnionTypeDef = Union[
    RateBasedStatementTypeDef,  # (1)
    RateBasedStatementOutputTypeDef,  # (2)
]
  1. See RateBasedStatementTypeDef
  2. See RateBasedStatementOutputTypeDef

OverrideActionUnionTypeDef#

# OverrideActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import OverrideActionUnionTypeDef


def get_value() -> OverrideActionUnionTypeDef:
    return ...


# OverrideActionUnionTypeDef definition

OverrideActionUnionTypeDef = Union[
    OverrideActionTypeDef,  # (1)
    OverrideActionOutputTypeDef,  # (2)
]
  1. See OverrideActionTypeDef
  2. See OverrideActionOutputTypeDef

RuleActionUnionTypeDef#

# RuleActionUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RuleActionUnionTypeDef


def get_value() -> RuleActionUnionTypeDef:
    return ...


# RuleActionUnionTypeDef definition

RuleActionUnionTypeDef = Union[
    RuleActionTypeDef,  # (1)
    RuleActionOutputTypeDef,  # (2)
]
  1. See RuleActionTypeDef
  2. See RuleActionOutputTypeDef

LoggingConfigurationUnionTypeDef#

# LoggingConfigurationUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import LoggingConfigurationUnionTypeDef


def get_value() -> LoggingConfigurationUnionTypeDef:
    return ...


# LoggingConfigurationUnionTypeDef definition

LoggingConfigurationUnionTypeDef = Union[
    LoggingConfigurationTypeDef,  # (1)
    LoggingConfigurationOutputTypeDef,  # (2)
]
  1. See LoggingConfigurationTypeDef
  2. See LoggingConfigurationOutputTypeDef

ByteMatchStatementUnionTypeDef#

# ByteMatchStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ByteMatchStatementUnionTypeDef


def get_value() -> ByteMatchStatementUnionTypeDef:
    return ...


# ByteMatchStatementUnionTypeDef definition

ByteMatchStatementUnionTypeDef = Union[
    ByteMatchStatementTypeDef,  # (1)
    ByteMatchStatementOutputTypeDef,  # (2)
]
  1. See ByteMatchStatementTypeDef
  2. See ByteMatchStatementOutputTypeDef

RegexMatchStatementUnionTypeDef#

# RegexMatchStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RegexMatchStatementUnionTypeDef


def get_value() -> RegexMatchStatementUnionTypeDef:
    return ...


# RegexMatchStatementUnionTypeDef definition

RegexMatchStatementUnionTypeDef = Union[
    RegexMatchStatementTypeDef,  # (1)
    RegexMatchStatementOutputTypeDef,  # (2)
]
  1. See RegexMatchStatementTypeDef
  2. See RegexMatchStatementOutputTypeDef

RegexPatternSetReferenceStatementUnionTypeDef#

# RegexPatternSetReferenceStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RegexPatternSetReferenceStatementUnionTypeDef


def get_value() -> RegexPatternSetReferenceStatementUnionTypeDef:
    return ...


# RegexPatternSetReferenceStatementUnionTypeDef definition

RegexPatternSetReferenceStatementUnionTypeDef = Union[
    RegexPatternSetReferenceStatementTypeDef,  # (1)
    RegexPatternSetReferenceStatementOutputTypeDef,  # (2)
]
  1. See RegexPatternSetReferenceStatementTypeDef
  2. See RegexPatternSetReferenceStatementOutputTypeDef

SizeConstraintStatementUnionTypeDef#

# SizeConstraintStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import SizeConstraintStatementUnionTypeDef


def get_value() -> SizeConstraintStatementUnionTypeDef:
    return ...


# SizeConstraintStatementUnionTypeDef definition

SizeConstraintStatementUnionTypeDef = Union[
    SizeConstraintStatementTypeDef,  # (1)
    SizeConstraintStatementOutputTypeDef,  # (2)
]
  1. See SizeConstraintStatementTypeDef
  2. See SizeConstraintStatementOutputTypeDef

SqliMatchStatementUnionTypeDef#

# SqliMatchStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import SqliMatchStatementUnionTypeDef


def get_value() -> SqliMatchStatementUnionTypeDef:
    return ...


# SqliMatchStatementUnionTypeDef definition

SqliMatchStatementUnionTypeDef = Union[
    SqliMatchStatementTypeDef,  # (1)
    SqliMatchStatementOutputTypeDef,  # (2)
]
  1. See SqliMatchStatementTypeDef
  2. See SqliMatchStatementOutputTypeDef

XssMatchStatementUnionTypeDef#

# XssMatchStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import XssMatchStatementUnionTypeDef


def get_value() -> XssMatchStatementUnionTypeDef:
    return ...


# XssMatchStatementUnionTypeDef definition

XssMatchStatementUnionTypeDef = Union[
    XssMatchStatementTypeDef,  # (1)
    XssMatchStatementOutputTypeDef,  # (2)
]
  1. See XssMatchStatementTypeDef
  2. See XssMatchStatementOutputTypeDef

ManagedRuleGroupConfigUnionTypeDef#

# ManagedRuleGroupConfigUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupConfigUnionTypeDef


def get_value() -> ManagedRuleGroupConfigUnionTypeDef:
    return ...


# ManagedRuleGroupConfigUnionTypeDef definition

ManagedRuleGroupConfigUnionTypeDef = Union[
    ManagedRuleGroupConfigTypeDef,  # (1)
    ManagedRuleGroupConfigOutputTypeDef,  # (2)
]
  1. See ManagedRuleGroupConfigTypeDef
  2. See ManagedRuleGroupConfigOutputTypeDef

RuleActionOverrideUnionTypeDef#

# RuleActionOverrideUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RuleActionOverrideUnionTypeDef


def get_value() -> RuleActionOverrideUnionTypeDef:
    return ...


# RuleActionOverrideUnionTypeDef definition

RuleActionOverrideUnionTypeDef = Union[
    RuleActionOverrideTypeDef,  # (1)
    RuleActionOverrideOutputTypeDef,  # (2)
]
  1. See RuleActionOverrideTypeDef
  2. See RuleActionOverrideOutputTypeDef

ManagedRuleGroupStatementUnionTypeDef#

# ManagedRuleGroupStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupStatementUnionTypeDef


def get_value() -> ManagedRuleGroupStatementUnionTypeDef:
    return ...


# ManagedRuleGroupStatementUnionTypeDef definition

ManagedRuleGroupStatementUnionTypeDef = Union[
    ManagedRuleGroupStatementTypeDef,  # (1)
    ManagedRuleGroupStatementOutputTypeDef,  # (2)
]
  1. See ManagedRuleGroupStatementTypeDef
  2. See ManagedRuleGroupStatementOutputTypeDef

RuleGroupReferenceStatementUnionTypeDef#

# RuleGroupReferenceStatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RuleGroupReferenceStatementUnionTypeDef


def get_value() -> RuleGroupReferenceStatementUnionTypeDef:
    return ...


# RuleGroupReferenceStatementUnionTypeDef definition

RuleGroupReferenceStatementUnionTypeDef = Union[
    RuleGroupReferenceStatementTypeDef,  # (1)
    RuleGroupReferenceStatementOutputTypeDef,  # (2)
]
  1. See RuleGroupReferenceStatementTypeDef
  2. See RuleGroupReferenceStatementOutputTypeDef

StatementUnionTypeDef#

# StatementUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import StatementUnionTypeDef


def get_value() -> StatementUnionTypeDef:
    return ...


# StatementUnionTypeDef definition

StatementUnionTypeDef = Union[
    StatementTypeDef,  # (1)
    StatementOutputTypeDef,  # (2)
]
  1. See StatementTypeDef
  2. See StatementOutputTypeDef

RuleUnionTypeDef#

# RuleUnionTypeDef Union usage example

from types_boto3_wafv2.type_defs import RuleUnionTypeDef


def get_value() -> RuleUnionTypeDef:
    return ...


# RuleUnionTypeDef definition

RuleUnionTypeDef = Union[
    RuleTypeDef,  # (1)
    RuleOutputTypeDef,  # (2)
]
  1. See RuleTypeDef
  2. See RuleOutputTypeDef

APIKeySummaryTypeDef#

# APIKeySummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import APIKeySummaryTypeDef


def get_value() -> APIKeySummaryTypeDef:
    return {
        "TokenDomains": ...,
    }


# APIKeySummaryTypeDef definition

class APIKeySummaryTypeDef(TypedDict):
    TokenDomains: NotRequired[List[str]],
    APIKey: NotRequired[str],
    CreationTimestamp: NotRequired[datetime],
    Version: NotRequired[int],

AWSManagedRulesBotControlRuleSetTypeDef#

# AWSManagedRulesBotControlRuleSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesBotControlRuleSetTypeDef


def get_value() -> AWSManagedRulesBotControlRuleSetTypeDef:
    return {
        "InspectionLevel": ...,
    }


# AWSManagedRulesBotControlRuleSetTypeDef definition

class AWSManagedRulesBotControlRuleSetTypeDef(TypedDict):
    InspectionLevel: InspectionLevelType,  # (1)
    EnableMachineLearning: NotRequired[bool],
  1. See InspectionLevelType

ActionConditionTypeDef#

# ActionConditionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ActionConditionTypeDef


def get_value() -> ActionConditionTypeDef:
    return {
        "Action": ...,
    }


# ActionConditionTypeDef definition

class ActionConditionTypeDef(TypedDict):
    Action: ActionValueType,  # (1)
  1. See ActionValueType

AddressFieldTypeDef#

# AddressFieldTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AddressFieldTypeDef


def get_value() -> AddressFieldTypeDef:
    return {
        "Identifier": ...,
    }


# AddressFieldTypeDef definition

class AddressFieldTypeDef(TypedDict):
    Identifier: str,

AndStatementOutputTypeDef#

# AndStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AndStatementOutputTypeDef


def get_value() -> AndStatementOutputTypeDef:
    return {
        "Statements": ...,
    }


# AndStatementOutputTypeDef definition

class AndStatementOutputTypeDef(TypedDict):
    Statements: List[Dict[str, Any]],

AndStatementTypeDef#

# AndStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AndStatementTypeDef


def get_value() -> AndStatementTypeDef:
    return {
        "Statements": ...,
    }


# AndStatementTypeDef definition

class AndStatementTypeDef(TypedDict):
    Statements: Sequence[Mapping[str, Any]],

AssociateWebACLRequestTypeDef#

# AssociateWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AssociateWebACLRequestTypeDef


def get_value() -> AssociateWebACLRequestTypeDef:
    return {
        "WebACLArn": ...,
    }


# AssociateWebACLRequestTypeDef definition

class AssociateWebACLRequestTypeDef(TypedDict):
    WebACLArn: str,
    ResourceArn: str,

RequestBodyAssociatedResourceTypeConfigTypeDef#

# RequestBodyAssociatedResourceTypeConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RequestBodyAssociatedResourceTypeConfigTypeDef


def get_value() -> RequestBodyAssociatedResourceTypeConfigTypeDef:
    return {
        "DefaultSizeInspectionLimit": ...,
    }


# RequestBodyAssociatedResourceTypeConfigTypeDef definition

class RequestBodyAssociatedResourceTypeConfigTypeDef(TypedDict):
    DefaultSizeInspectionLimit: SizeInspectionLimitType,  # (1)
  1. See SizeInspectionLimitType

BodyTypeDef#

# BodyTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import BodyTypeDef


def get_value() -> BodyTypeDef:
    return {
        "OversizeHandling": ...,
    }


# BodyTypeDef definition

class BodyTypeDef(TypedDict):
    OversizeHandling: NotRequired[OversizeHandlingType],  # (1)
  1. See OversizeHandlingType

TextTransformationTypeDef#

# TextTransformationTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TextTransformationTypeDef


def get_value() -> TextTransformationTypeDef:
    return {
        "Priority": ...,
    }


# TextTransformationTypeDef definition

class TextTransformationTypeDef(TypedDict):
    Priority: int,
    Type: TextTransformationTypeType,  # (1)
  1. See TextTransformationTypeType

ImmunityTimePropertyTypeDef#

# ImmunityTimePropertyTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ImmunityTimePropertyTypeDef


def get_value() -> ImmunityTimePropertyTypeDef:
    return {
        "ImmunityTime": ...,
    }


# ImmunityTimePropertyTypeDef definition

class ImmunityTimePropertyTypeDef(TypedDict):
    ImmunityTime: int,

CaptchaResponseTypeDef#

# CaptchaResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CaptchaResponseTypeDef


def get_value() -> CaptchaResponseTypeDef:
    return {
        "ResponseCode": ...,
    }


# CaptchaResponseTypeDef definition

class CaptchaResponseTypeDef(TypedDict):
    ResponseCode: NotRequired[int],
    SolveTimestamp: NotRequired[int],
    FailureReason: NotRequired[FailureReasonType],  # (1)
  1. See FailureReasonType

ChallengeResponseTypeDef#

# ChallengeResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ChallengeResponseTypeDef


def get_value() -> ChallengeResponseTypeDef:
    return {
        "ResponseCode": ...,
    }


# ChallengeResponseTypeDef definition

class ChallengeResponseTypeDef(TypedDict):
    ResponseCode: NotRequired[int],
    SolveTimestamp: NotRequired[int],
    FailureReason: NotRequired[FailureReasonType],  # (1)
  1. See FailureReasonType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

LabelNameConditionTypeDef#

# LabelNameConditionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LabelNameConditionTypeDef


def get_value() -> LabelNameConditionTypeDef:
    return {
        "LabelName": ...,
    }


# LabelNameConditionTypeDef definition

class LabelNameConditionTypeDef(TypedDict):
    LabelName: str,

CookieMatchPatternOutputTypeDef#

# CookieMatchPatternOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CookieMatchPatternOutputTypeDef


def get_value() -> CookieMatchPatternOutputTypeDef:
    return {
        "All": ...,
    }


# CookieMatchPatternOutputTypeDef definition

class CookieMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[Dict[str, Any]],
    IncludedCookies: NotRequired[List[str]],
    ExcludedCookies: NotRequired[List[str]],

CookieMatchPatternTypeDef#

# CookieMatchPatternTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CookieMatchPatternTypeDef


def get_value() -> CookieMatchPatternTypeDef:
    return {
        "All": ...,
    }


# CookieMatchPatternTypeDef definition

class CookieMatchPatternTypeDef(TypedDict):
    All: NotRequired[Mapping[str, Any]],
    IncludedCookies: NotRequired[Sequence[str]],
    ExcludedCookies: NotRequired[Sequence[str]],

CreateAPIKeyRequestTypeDef#

# CreateAPIKeyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateAPIKeyRequestTypeDef


def get_value() -> CreateAPIKeyRequestTypeDef:
    return {
        "Scope": ...,
    }


# CreateAPIKeyRequestTypeDef definition

class CreateAPIKeyRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    TokenDomains: Sequence[str],
  1. See ScopeType

TagTypeDef#

# TagTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }


# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

IPSetSummaryTypeDef#

# IPSetSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import IPSetSummaryTypeDef


def get_value() -> IPSetSummaryTypeDef:
    return {
        "Name": ...,
    }


# IPSetSummaryTypeDef definition

class IPSetSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    LockToken: NotRequired[str],
    ARN: NotRequired[str],

RegexTypeDef#

# RegexTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexTypeDef


def get_value() -> RegexTypeDef:
    return {
        "RegexString": ...,
    }


# RegexTypeDef definition

class RegexTypeDef(TypedDict):
    RegexString: NotRequired[str],

RegexPatternSetSummaryTypeDef#

# RegexPatternSetSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexPatternSetSummaryTypeDef


def get_value() -> RegexPatternSetSummaryTypeDef:
    return {
        "Name": ...,
    }


# RegexPatternSetSummaryTypeDef definition

class RegexPatternSetSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    LockToken: NotRequired[str],
    ARN: NotRequired[str],

CustomResponseBodyTypeDef#

# CustomResponseBodyTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomResponseBodyTypeDef


def get_value() -> CustomResponseBodyTypeDef:
    return {
        "ContentType": ...,
    }


# CustomResponseBodyTypeDef definition

class CustomResponseBodyTypeDef(TypedDict):
    ContentType: ResponseContentTypeType,  # (1)
    Content: str,
  1. See ResponseContentTypeType

VisibilityConfigTypeDef#

# VisibilityConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import VisibilityConfigTypeDef


def get_value() -> VisibilityConfigTypeDef:
    return {
        "SampledRequestsEnabled": ...,
    }


# VisibilityConfigTypeDef definition

class VisibilityConfigTypeDef(TypedDict):
    SampledRequestsEnabled: bool,
    CloudWatchMetricsEnabled: bool,
    MetricName: str,

RuleGroupSummaryTypeDef#

# RuleGroupSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleGroupSummaryTypeDef


def get_value() -> RuleGroupSummaryTypeDef:
    return {
        "Name": ...,
    }


# RuleGroupSummaryTypeDef definition

class RuleGroupSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    LockToken: NotRequired[str],
    ARN: NotRequired[str],

WebACLSummaryTypeDef#

# WebACLSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import WebACLSummaryTypeDef


def get_value() -> WebACLSummaryTypeDef:
    return {
        "Name": ...,
    }


# WebACLSummaryTypeDef definition

class WebACLSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    LockToken: NotRequired[str],
    ARN: NotRequired[str],

CustomHTTPHeaderTypeDef#

# CustomHTTPHeaderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomHTTPHeaderTypeDef


def get_value() -> CustomHTTPHeaderTypeDef:
    return {
        "Name": ...,
    }


# CustomHTTPHeaderTypeDef definition

class CustomHTTPHeaderTypeDef(TypedDict):
    Name: str,
    Value: str,

FieldToProtectOutputTypeDef#

# FieldToProtectOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FieldToProtectOutputTypeDef


def get_value() -> FieldToProtectOutputTypeDef:
    return {
        "FieldType": ...,
    }


# FieldToProtectOutputTypeDef definition

class FieldToProtectOutputTypeDef(TypedDict):
    FieldType: FieldToProtectTypeType,  # (1)
    FieldKeys: NotRequired[List[str]],
  1. See FieldToProtectTypeType

FieldToProtectTypeDef#

# FieldToProtectTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FieldToProtectTypeDef


def get_value() -> FieldToProtectTypeDef:
    return {
        "FieldType": ...,
    }


# FieldToProtectTypeDef definition

class FieldToProtectTypeDef(TypedDict):
    FieldType: FieldToProtectTypeType,  # (1)
    FieldKeys: NotRequired[Sequence[str]],
  1. See FieldToProtectTypeType

DeleteAPIKeyRequestTypeDef#

# DeleteAPIKeyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteAPIKeyRequestTypeDef


def get_value() -> DeleteAPIKeyRequestTypeDef:
    return {
        "Scope": ...,
    }


# DeleteAPIKeyRequestTypeDef definition

class DeleteAPIKeyRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    APIKey: str,
  1. See ScopeType

DeleteFirewallManagerRuleGroupsRequestTypeDef#

# DeleteFirewallManagerRuleGroupsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteFirewallManagerRuleGroupsRequestTypeDef


def get_value() -> DeleteFirewallManagerRuleGroupsRequestTypeDef:
    return {
        "WebACLArn": ...,
    }


# DeleteFirewallManagerRuleGroupsRequestTypeDef definition

class DeleteFirewallManagerRuleGroupsRequestTypeDef(TypedDict):
    WebACLArn: str,
    WebACLLockToken: str,

DeleteIPSetRequestTypeDef#

# DeleteIPSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteIPSetRequestTypeDef


def get_value() -> DeleteIPSetRequestTypeDef:
    return {
        "Name": ...,
    }


# DeleteIPSetRequestTypeDef definition

class DeleteIPSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
  1. See ScopeType

DeleteLoggingConfigurationRequestTypeDef#

# DeleteLoggingConfigurationRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteLoggingConfigurationRequestTypeDef


def get_value() -> DeleteLoggingConfigurationRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# DeleteLoggingConfigurationRequestTypeDef definition

class DeleteLoggingConfigurationRequestTypeDef(TypedDict):
    ResourceArn: str,
    LogType: NotRequired[LogTypeType],  # (1)
    LogScope: NotRequired[LogScopeType],  # (2)
  1. See LogTypeType
  2. See LogScopeType

DeletePermissionPolicyRequestTypeDef#

# DeletePermissionPolicyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeletePermissionPolicyRequestTypeDef


def get_value() -> DeletePermissionPolicyRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# DeletePermissionPolicyRequestTypeDef definition

class DeletePermissionPolicyRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRegexPatternSetRequestTypeDef#

# DeleteRegexPatternSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteRegexPatternSetRequestTypeDef


def get_value() -> DeleteRegexPatternSetRequestTypeDef:
    return {
        "Name": ...,
    }


# DeleteRegexPatternSetRequestTypeDef definition

class DeleteRegexPatternSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
  1. See ScopeType

DeleteRuleGroupRequestTypeDef#

# DeleteRuleGroupRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteRuleGroupRequestTypeDef


def get_value() -> DeleteRuleGroupRequestTypeDef:
    return {
        "Name": ...,
    }


# DeleteRuleGroupRequestTypeDef definition

class DeleteRuleGroupRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
  1. See ScopeType

DeleteWebACLRequestTypeDef#

# DeleteWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteWebACLRequestTypeDef


def get_value() -> DeleteWebACLRequestTypeDef:
    return {
        "Name": ...,
    }


# DeleteWebACLRequestTypeDef definition

class DeleteWebACLRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
  1. See ScopeType

DescribeAllManagedProductsRequestTypeDef#

# DescribeAllManagedProductsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeAllManagedProductsRequestTypeDef


def get_value() -> DescribeAllManagedProductsRequestTypeDef:
    return {
        "Scope": ...,
    }


# DescribeAllManagedProductsRequestTypeDef definition

class DescribeAllManagedProductsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
  1. See ScopeType

ManagedProductDescriptorTypeDef#

# ManagedProductDescriptorTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedProductDescriptorTypeDef


def get_value() -> ManagedProductDescriptorTypeDef:
    return {
        "VendorName": ...,
    }


# ManagedProductDescriptorTypeDef definition

class ManagedProductDescriptorTypeDef(TypedDict):
    VendorName: NotRequired[str],
    ManagedRuleSetName: NotRequired[str],
    ProductId: NotRequired[str],
    ProductLink: NotRequired[str],
    ProductTitle: NotRequired[str],
    ProductDescription: NotRequired[str],
    SnsTopicArn: NotRequired[str],
    IsVersioningSupported: NotRequired[bool],
    IsAdvancedManagedRuleSet: NotRequired[bool],

DescribeManagedProductsByVendorRequestTypeDef#

# DescribeManagedProductsByVendorRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeManagedProductsByVendorRequestTypeDef


def get_value() -> DescribeManagedProductsByVendorRequestTypeDef:
    return {
        "VendorName": ...,
    }


# DescribeManagedProductsByVendorRequestTypeDef definition

class DescribeManagedProductsByVendorRequestTypeDef(TypedDict):
    VendorName: str,
    Scope: ScopeType,  # (1)
  1. See ScopeType

DescribeManagedRuleGroupRequestTypeDef#

# DescribeManagedRuleGroupRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeManagedRuleGroupRequestTypeDef


def get_value() -> DescribeManagedRuleGroupRequestTypeDef:
    return {
        "VendorName": ...,
    }


# DescribeManagedRuleGroupRequestTypeDef definition

class DescribeManagedRuleGroupRequestTypeDef(TypedDict):
    VendorName: str,
    Name: str,
    Scope: ScopeType,  # (1)
    VersionName: NotRequired[str],
  1. See ScopeType

LabelSummaryTypeDef#

# LabelSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LabelSummaryTypeDef


def get_value() -> LabelSummaryTypeDef:
    return {
        "Name": ...,
    }


# LabelSummaryTypeDef definition

class LabelSummaryTypeDef(TypedDict):
    Name: NotRequired[str],

DisassociateWebACLRequestTypeDef#

# DisassociateWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DisassociateWebACLRequestTypeDef


def get_value() -> DisassociateWebACLRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# DisassociateWebACLRequestTypeDef definition

class DisassociateWebACLRequestTypeDef(TypedDict):
    ResourceArn: str,

EmailFieldTypeDef#

# EmailFieldTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import EmailFieldTypeDef


def get_value() -> EmailFieldTypeDef:
    return {
        "Identifier": ...,
    }


# EmailFieldTypeDef definition

class EmailFieldTypeDef(TypedDict):
    Identifier: str,

ExcludedRuleTypeDef#

# ExcludedRuleTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ExcludedRuleTypeDef


def get_value() -> ExcludedRuleTypeDef:
    return {
        "Name": ...,
    }


# ExcludedRuleTypeDef definition

class ExcludedRuleTypeDef(TypedDict):
    Name: str,

HeaderOrderTypeDef#

# HeaderOrderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HeaderOrderTypeDef


def get_value() -> HeaderOrderTypeDef:
    return {
        "OversizeHandling": ...,
    }


# HeaderOrderTypeDef definition

class HeaderOrderTypeDef(TypedDict):
    OversizeHandling: OversizeHandlingType,  # (1)
  1. See OversizeHandlingType

JA3FingerprintTypeDef#

# JA3FingerprintTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import JA3FingerprintTypeDef


def get_value() -> JA3FingerprintTypeDef:
    return {
        "FallbackBehavior": ...,
    }


# JA3FingerprintTypeDef definition

class JA3FingerprintTypeDef(TypedDict):
    FallbackBehavior: FallbackBehaviorType,  # (1)
  1. See FallbackBehaviorType

SingleHeaderTypeDef#

# SingleHeaderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SingleHeaderTypeDef


def get_value() -> SingleHeaderTypeDef:
    return {
        "Name": ...,
    }


# SingleHeaderTypeDef definition

class SingleHeaderTypeDef(TypedDict):
    Name: str,

SingleQueryArgumentTypeDef#

# SingleQueryArgumentTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SingleQueryArgumentTypeDef


def get_value() -> SingleQueryArgumentTypeDef:
    return {
        "Name": ...,
    }


# SingleQueryArgumentTypeDef definition

class SingleQueryArgumentTypeDef(TypedDict):
    Name: str,

ForwardedIPConfigTypeDef#

# ForwardedIPConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ForwardedIPConfigTypeDef


def get_value() -> ForwardedIPConfigTypeDef:
    return {
        "HeaderName": ...,
    }


# ForwardedIPConfigTypeDef definition

class ForwardedIPConfigTypeDef(TypedDict):
    HeaderName: str,
    FallbackBehavior: FallbackBehaviorType,  # (1)
  1. See FallbackBehaviorType

GenerateMobileSdkReleaseUrlRequestTypeDef#

# GenerateMobileSdkReleaseUrlRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GenerateMobileSdkReleaseUrlRequestTypeDef


def get_value() -> GenerateMobileSdkReleaseUrlRequestTypeDef:
    return {
        "Platform": ...,
    }


# GenerateMobileSdkReleaseUrlRequestTypeDef definition

class GenerateMobileSdkReleaseUrlRequestTypeDef(TypedDict):
    Platform: PlatformType,  # (1)
    ReleaseVersion: str,
  1. See PlatformType

GetDecryptedAPIKeyRequestTypeDef#

# GetDecryptedAPIKeyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetDecryptedAPIKeyRequestTypeDef


def get_value() -> GetDecryptedAPIKeyRequestTypeDef:
    return {
        "Scope": ...,
    }


# GetDecryptedAPIKeyRequestTypeDef definition

class GetDecryptedAPIKeyRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    APIKey: str,
  1. See ScopeType

GetIPSetRequestTypeDef#

# GetIPSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetIPSetRequestTypeDef


def get_value() -> GetIPSetRequestTypeDef:
    return {
        "Name": ...,
    }


# GetIPSetRequestTypeDef definition

class GetIPSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
  1. See ScopeType

IPSetTypeDef#

# IPSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import IPSetTypeDef


def get_value() -> IPSetTypeDef:
    return {
        "Name": ...,
    }


# IPSetTypeDef definition

class IPSetTypeDef(TypedDict):
    Name: str,
    Id: str,
    ARN: str,
    IPAddressVersion: IPAddressVersionType,  # (1)
    Addresses: List[str],
    Description: NotRequired[str],
  1. See IPAddressVersionType

GetLoggingConfigurationRequestTypeDef#

# GetLoggingConfigurationRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetLoggingConfigurationRequestTypeDef


def get_value() -> GetLoggingConfigurationRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# GetLoggingConfigurationRequestTypeDef definition

class GetLoggingConfigurationRequestTypeDef(TypedDict):
    ResourceArn: str,
    LogType: NotRequired[LogTypeType],  # (1)
    LogScope: NotRequired[LogScopeType],  # (2)
  1. See LogTypeType
  2. See LogScopeType

GetManagedRuleSetRequestTypeDef#

# GetManagedRuleSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetManagedRuleSetRequestTypeDef


def get_value() -> GetManagedRuleSetRequestTypeDef:
    return {
        "Name": ...,
    }


# GetManagedRuleSetRequestTypeDef definition

class GetManagedRuleSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
  1. See ScopeType

GetMobileSdkReleaseRequestTypeDef#

# GetMobileSdkReleaseRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetMobileSdkReleaseRequestTypeDef


def get_value() -> GetMobileSdkReleaseRequestTypeDef:
    return {
        "Platform": ...,
    }


# GetMobileSdkReleaseRequestTypeDef definition

class GetMobileSdkReleaseRequestTypeDef(TypedDict):
    Platform: PlatformType,  # (1)
    ReleaseVersion: str,
  1. See PlatformType

GetPermissionPolicyRequestTypeDef#

# GetPermissionPolicyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetPermissionPolicyRequestTypeDef


def get_value() -> GetPermissionPolicyRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# GetPermissionPolicyRequestTypeDef definition

class GetPermissionPolicyRequestTypeDef(TypedDict):
    ResourceArn: str,

GetRateBasedStatementManagedKeysRequestTypeDef#

# GetRateBasedStatementManagedKeysRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRateBasedStatementManagedKeysRequestTypeDef


def get_value() -> GetRateBasedStatementManagedKeysRequestTypeDef:
    return {
        "Scope": ...,
    }


# GetRateBasedStatementManagedKeysRequestTypeDef definition

class GetRateBasedStatementManagedKeysRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    WebACLName: str,
    WebACLId: str,
    RuleName: str,
    RuleGroupRuleName: NotRequired[str],
  1. See ScopeType

RateBasedStatementManagedKeysIPSetTypeDef#

# RateBasedStatementManagedKeysIPSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateBasedStatementManagedKeysIPSetTypeDef


def get_value() -> RateBasedStatementManagedKeysIPSetTypeDef:
    return {
        "IPAddressVersion": ...,
    }


# RateBasedStatementManagedKeysIPSetTypeDef definition

class RateBasedStatementManagedKeysIPSetTypeDef(TypedDict):
    IPAddressVersion: NotRequired[IPAddressVersionType],  # (1)
    Addresses: NotRequired[List[str]],
  1. See IPAddressVersionType

GetRegexPatternSetRequestTypeDef#

# GetRegexPatternSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRegexPatternSetRequestTypeDef


def get_value() -> GetRegexPatternSetRequestTypeDef:
    return {
        "Name": ...,
    }


# GetRegexPatternSetRequestTypeDef definition

class GetRegexPatternSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
  1. See ScopeType

GetRuleGroupRequestTypeDef#

# GetRuleGroupRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRuleGroupRequestTypeDef


def get_value() -> GetRuleGroupRequestTypeDef:
    return {
        "Name": ...,
    }


# GetRuleGroupRequestTypeDef definition

class GetRuleGroupRequestTypeDef(TypedDict):
    Name: NotRequired[str],
    Scope: NotRequired[ScopeType],  # (1)
    Id: NotRequired[str],
    ARN: NotRequired[str],
  1. See ScopeType

TimeWindowOutputTypeDef#

# TimeWindowOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TimeWindowOutputTypeDef


def get_value() -> TimeWindowOutputTypeDef:
    return {
        "StartTime": ...,
    }


# TimeWindowOutputTypeDef definition

class TimeWindowOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,

GetWebACLForResourceRequestTypeDef#

# GetWebACLForResourceRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetWebACLForResourceRequestTypeDef


def get_value() -> GetWebACLForResourceRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# GetWebACLForResourceRequestTypeDef definition

class GetWebACLForResourceRequestTypeDef(TypedDict):
    ResourceArn: str,

GetWebACLRequestTypeDef#

# GetWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetWebACLRequestTypeDef


def get_value() -> GetWebACLRequestTypeDef:
    return {
        "Name": ...,
    }


# GetWebACLRequestTypeDef definition

class GetWebACLRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
  1. See ScopeType

HTTPHeaderTypeDef#

# HTTPHeaderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HTTPHeaderTypeDef


def get_value() -> HTTPHeaderTypeDef:
    return {
        "Name": ...,
    }


# HTTPHeaderTypeDef definition

class HTTPHeaderTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[str],

HeaderMatchPatternOutputTypeDef#

# HeaderMatchPatternOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HeaderMatchPatternOutputTypeDef


def get_value() -> HeaderMatchPatternOutputTypeDef:
    return {
        "All": ...,
    }


# HeaderMatchPatternOutputTypeDef definition

class HeaderMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[Dict[str, Any]],
    IncludedHeaders: NotRequired[List[str]],
    ExcludedHeaders: NotRequired[List[str]],

HeaderMatchPatternTypeDef#

# HeaderMatchPatternTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HeaderMatchPatternTypeDef


def get_value() -> HeaderMatchPatternTypeDef:
    return {
        "All": ...,
    }


# HeaderMatchPatternTypeDef definition

class HeaderMatchPatternTypeDef(TypedDict):
    All: NotRequired[Mapping[str, Any]],
    IncludedHeaders: NotRequired[Sequence[str]],
    ExcludedHeaders: NotRequired[Sequence[str]],

IPSetForwardedIPConfigTypeDef#

# IPSetForwardedIPConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import IPSetForwardedIPConfigTypeDef


def get_value() -> IPSetForwardedIPConfigTypeDef:
    return {
        "HeaderName": ...,
    }


# IPSetForwardedIPConfigTypeDef definition

class IPSetForwardedIPConfigTypeDef(TypedDict):
    HeaderName: str,
    FallbackBehavior: FallbackBehaviorType,  # (1)
    Position: ForwardedIPPositionType,  # (2)
  1. See FallbackBehaviorType
  2. See ForwardedIPPositionType

JsonMatchPatternOutputTypeDef#

# JsonMatchPatternOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import JsonMatchPatternOutputTypeDef


def get_value() -> JsonMatchPatternOutputTypeDef:
    return {
        "All": ...,
    }


# JsonMatchPatternOutputTypeDef definition

class JsonMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[Dict[str, Any]],
    IncludedPaths: NotRequired[List[str]],

JsonMatchPatternTypeDef#

# JsonMatchPatternTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import JsonMatchPatternTypeDef


def get_value() -> JsonMatchPatternTypeDef:
    return {
        "All": ...,
    }


# JsonMatchPatternTypeDef definition

class JsonMatchPatternTypeDef(TypedDict):
    All: NotRequired[Mapping[str, Any]],
    IncludedPaths: NotRequired[Sequence[str]],

LabelMatchStatementTypeDef#

# LabelMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LabelMatchStatementTypeDef


def get_value() -> LabelMatchStatementTypeDef:
    return {
        "Scope": ...,
    }


# LabelMatchStatementTypeDef definition

class LabelMatchStatementTypeDef(TypedDict):
    Scope: LabelMatchScopeType,  # (1)
    Key: str,
  1. See LabelMatchScopeType

LabelTypeDef#

# LabelTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LabelTypeDef


def get_value() -> LabelTypeDef:
    return {
        "Name": ...,
    }


# LabelTypeDef definition

class LabelTypeDef(TypedDict):
    Name: str,

ListAPIKeysRequestTypeDef#

# ListAPIKeysRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAPIKeysRequestTypeDef


def get_value() -> ListAPIKeysRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListAPIKeysRequestTypeDef definition

class ListAPIKeysRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ListAvailableManagedRuleGroupVersionsRequestTypeDef#

# ListAvailableManagedRuleGroupVersionsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAvailableManagedRuleGroupVersionsRequestTypeDef


def get_value() -> ListAvailableManagedRuleGroupVersionsRequestTypeDef:
    return {
        "VendorName": ...,
    }


# ListAvailableManagedRuleGroupVersionsRequestTypeDef definition

class ListAvailableManagedRuleGroupVersionsRequestTypeDef(TypedDict):
    VendorName: str,
    Name: str,
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ManagedRuleGroupVersionTypeDef#

# ManagedRuleGroupVersionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupVersionTypeDef


def get_value() -> ManagedRuleGroupVersionTypeDef:
    return {
        "Name": ...,
    }


# ManagedRuleGroupVersionTypeDef definition

class ManagedRuleGroupVersionTypeDef(TypedDict):
    Name: NotRequired[str],
    LastUpdateTimestamp: NotRequired[datetime],

ListAvailableManagedRuleGroupsRequestTypeDef#

# ListAvailableManagedRuleGroupsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAvailableManagedRuleGroupsRequestTypeDef


def get_value() -> ListAvailableManagedRuleGroupsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListAvailableManagedRuleGroupsRequestTypeDef definition

class ListAvailableManagedRuleGroupsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ManagedRuleGroupSummaryTypeDef#

# ManagedRuleGroupSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupSummaryTypeDef


def get_value() -> ManagedRuleGroupSummaryTypeDef:
    return {
        "VendorName": ...,
    }


# ManagedRuleGroupSummaryTypeDef definition

class ManagedRuleGroupSummaryTypeDef(TypedDict):
    VendorName: NotRequired[str],
    Name: NotRequired[str],
    VersioningSupported: NotRequired[bool],
    Description: NotRequired[str],

ListIPSetsRequestTypeDef#

# ListIPSetsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListIPSetsRequestTypeDef


def get_value() -> ListIPSetsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListIPSetsRequestTypeDef definition

class ListIPSetsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ListLoggingConfigurationsRequestTypeDef#

# ListLoggingConfigurationsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListLoggingConfigurationsRequestTypeDef


def get_value() -> ListLoggingConfigurationsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListLoggingConfigurationsRequestTypeDef definition

class ListLoggingConfigurationsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
    LogScope: NotRequired[LogScopeType],  # (2)
  1. See ScopeType
  2. See LogScopeType

ListManagedRuleSetsRequestTypeDef#

# ListManagedRuleSetsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListManagedRuleSetsRequestTypeDef


def get_value() -> ListManagedRuleSetsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListManagedRuleSetsRequestTypeDef definition

class ListManagedRuleSetsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ManagedRuleSetSummaryTypeDef#

# ManagedRuleSetSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleSetSummaryTypeDef


def get_value() -> ManagedRuleSetSummaryTypeDef:
    return {
        "Name": ...,
    }


# ManagedRuleSetSummaryTypeDef definition

class ManagedRuleSetSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    LockToken: NotRequired[str],
    ARN: NotRequired[str],
    LabelNamespace: NotRequired[str],

ListMobileSdkReleasesRequestTypeDef#

# ListMobileSdkReleasesRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListMobileSdkReleasesRequestTypeDef


def get_value() -> ListMobileSdkReleasesRequestTypeDef:
    return {
        "Platform": ...,
    }


# ListMobileSdkReleasesRequestTypeDef definition

class ListMobileSdkReleasesRequestTypeDef(TypedDict):
    Platform: PlatformType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See PlatformType

ReleaseSummaryTypeDef#

# ReleaseSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ReleaseSummaryTypeDef


def get_value() -> ReleaseSummaryTypeDef:
    return {
        "ReleaseVersion": ...,
    }


# ReleaseSummaryTypeDef definition

class ReleaseSummaryTypeDef(TypedDict):
    ReleaseVersion: NotRequired[str],
    Timestamp: NotRequired[datetime],

ListRegexPatternSetsRequestTypeDef#

# ListRegexPatternSetsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListRegexPatternSetsRequestTypeDef


def get_value() -> ListRegexPatternSetsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListRegexPatternSetsRequestTypeDef definition

class ListRegexPatternSetsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ListResourcesForWebACLRequestTypeDef#

# ListResourcesForWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListResourcesForWebACLRequestTypeDef


def get_value() -> ListResourcesForWebACLRequestTypeDef:
    return {
        "WebACLArn": ...,
    }


# ListResourcesForWebACLRequestTypeDef definition

class ListResourcesForWebACLRequestTypeDef(TypedDict):
    WebACLArn: str,
    ResourceType: NotRequired[ResourceTypeType],  # (1)
  1. See ResourceTypeType

ListRuleGroupsRequestTypeDef#

# ListRuleGroupsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListRuleGroupsRequestTypeDef


def get_value() -> ListRuleGroupsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListRuleGroupsRequestTypeDef definition

class ListRuleGroupsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "ResourceARN": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    ResourceARN: str,
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListWebACLsRequestTypeDef#

# ListWebACLsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListWebACLsRequestTypeDef


def get_value() -> ListWebACLsRequestTypeDef:
    return {
        "Scope": ...,
    }


# ListWebACLsRequestTypeDef definition

class ListWebACLsRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],
  1. See ScopeType

PasswordFieldTypeDef#

# PasswordFieldTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PasswordFieldTypeDef


def get_value() -> PasswordFieldTypeDef:
    return {
        "Identifier": ...,
    }


# PasswordFieldTypeDef definition

class PasswordFieldTypeDef(TypedDict):
    Identifier: str,

UsernameFieldTypeDef#

# UsernameFieldTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UsernameFieldTypeDef


def get_value() -> UsernameFieldTypeDef:
    return {
        "Identifier": ...,
    }


# UsernameFieldTypeDef definition

class UsernameFieldTypeDef(TypedDict):
    Identifier: str,

ManagedRuleSetVersionTypeDef#

# ManagedRuleSetVersionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleSetVersionTypeDef


def get_value() -> ManagedRuleSetVersionTypeDef:
    return {
        "AssociatedRuleGroupArn": ...,
    }


# ManagedRuleSetVersionTypeDef definition

class ManagedRuleSetVersionTypeDef(TypedDict):
    AssociatedRuleGroupArn: NotRequired[str],
    Capacity: NotRequired[int],
    ForecastedLifetime: NotRequired[int],
    PublishTimestamp: NotRequired[datetime],
    LastUpdateTimestamp: NotRequired[datetime],
    ExpiryTimestamp: NotRequired[datetime],

NotStatementOutputTypeDef#

# NotStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import NotStatementOutputTypeDef


def get_value() -> NotStatementOutputTypeDef:
    return {
        "Statement": ...,
    }


# NotStatementOutputTypeDef definition

class NotStatementOutputTypeDef(TypedDict):
    Statement: Dict[str, Any],

NotStatementTypeDef#

# NotStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import NotStatementTypeDef


def get_value() -> NotStatementTypeDef:
    return {
        "Statement": ...,
    }


# NotStatementTypeDef definition

class NotStatementTypeDef(TypedDict):
    Statement: Mapping[str, Any],

OrStatementOutputTypeDef#

# OrStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import OrStatementOutputTypeDef


def get_value() -> OrStatementOutputTypeDef:
    return {
        "Statements": ...,
    }


# OrStatementOutputTypeDef definition

class OrStatementOutputTypeDef(TypedDict):
    Statements: List[Dict[str, Any]],

OrStatementTypeDef#

# OrStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import OrStatementTypeDef


def get_value() -> OrStatementTypeDef:
    return {
        "Statements": ...,
    }


# OrStatementTypeDef definition

class OrStatementTypeDef(TypedDict):
    Statements: Sequence[Mapping[str, Any]],

PhoneNumberFieldTypeDef#

# PhoneNumberFieldTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PhoneNumberFieldTypeDef


def get_value() -> PhoneNumberFieldTypeDef:
    return {
        "Identifier": ...,
    }


# PhoneNumberFieldTypeDef definition

class PhoneNumberFieldTypeDef(TypedDict):
    Identifier: str,

VersionToPublishTypeDef#

# VersionToPublishTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import VersionToPublishTypeDef


def get_value() -> VersionToPublishTypeDef:
    return {
        "AssociatedRuleGroupArn": ...,
    }


# VersionToPublishTypeDef definition

class VersionToPublishTypeDef(TypedDict):
    AssociatedRuleGroupArn: NotRequired[str],
    ForecastedLifetime: NotRequired[int],

PutPermissionPolicyRequestTypeDef#

# PutPermissionPolicyRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PutPermissionPolicyRequestTypeDef


def get_value() -> PutPermissionPolicyRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# PutPermissionPolicyRequestTypeDef definition

class PutPermissionPolicyRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,

RateLimitLabelNamespaceTypeDef#

# RateLimitLabelNamespaceTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitLabelNamespaceTypeDef


def get_value() -> RateLimitLabelNamespaceTypeDef:
    return {
        "Namespace": ...,
    }


# RateLimitLabelNamespaceTypeDef definition

class RateLimitLabelNamespaceTypeDef(TypedDict):
    Namespace: str,

ResponseInspectionBodyContainsOutputTypeDef#

# ResponseInspectionBodyContainsOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionBodyContainsOutputTypeDef


def get_value() -> ResponseInspectionBodyContainsOutputTypeDef:
    return {
        "SuccessStrings": ...,
    }


# ResponseInspectionBodyContainsOutputTypeDef definition

class ResponseInspectionBodyContainsOutputTypeDef(TypedDict):
    SuccessStrings: List[str],
    FailureStrings: List[str],

ResponseInspectionBodyContainsTypeDef#

# ResponseInspectionBodyContainsTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionBodyContainsTypeDef


def get_value() -> ResponseInspectionBodyContainsTypeDef:
    return {
        "SuccessStrings": ...,
    }


# ResponseInspectionBodyContainsTypeDef definition

class ResponseInspectionBodyContainsTypeDef(TypedDict):
    SuccessStrings: Sequence[str],
    FailureStrings: Sequence[str],

ResponseInspectionHeaderOutputTypeDef#

# ResponseInspectionHeaderOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionHeaderOutputTypeDef


def get_value() -> ResponseInspectionHeaderOutputTypeDef:
    return {
        "Name": ...,
    }


# ResponseInspectionHeaderOutputTypeDef definition

class ResponseInspectionHeaderOutputTypeDef(TypedDict):
    Name: str,
    SuccessValues: List[str],
    FailureValues: List[str],

ResponseInspectionHeaderTypeDef#

# ResponseInspectionHeaderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionHeaderTypeDef


def get_value() -> ResponseInspectionHeaderTypeDef:
    return {
        "Name": ...,
    }


# ResponseInspectionHeaderTypeDef definition

class ResponseInspectionHeaderTypeDef(TypedDict):
    Name: str,
    SuccessValues: Sequence[str],
    FailureValues: Sequence[str],

ResponseInspectionJsonOutputTypeDef#

# ResponseInspectionJsonOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionJsonOutputTypeDef


def get_value() -> ResponseInspectionJsonOutputTypeDef:
    return {
        "Identifier": ...,
    }


# ResponseInspectionJsonOutputTypeDef definition

class ResponseInspectionJsonOutputTypeDef(TypedDict):
    Identifier: str,
    SuccessValues: List[str],
    FailureValues: List[str],

ResponseInspectionJsonTypeDef#

# ResponseInspectionJsonTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionJsonTypeDef


def get_value() -> ResponseInspectionJsonTypeDef:
    return {
        "Identifier": ...,
    }


# ResponseInspectionJsonTypeDef definition

class ResponseInspectionJsonTypeDef(TypedDict):
    Identifier: str,
    SuccessValues: Sequence[str],
    FailureValues: Sequence[str],

ResponseInspectionStatusCodeOutputTypeDef#

# ResponseInspectionStatusCodeOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionStatusCodeOutputTypeDef


def get_value() -> ResponseInspectionStatusCodeOutputTypeDef:
    return {
        "SuccessCodes": ...,
    }


# ResponseInspectionStatusCodeOutputTypeDef definition

class ResponseInspectionStatusCodeOutputTypeDef(TypedDict):
    SuccessCodes: List[int],
    FailureCodes: List[int],

ResponseInspectionStatusCodeTypeDef#

# ResponseInspectionStatusCodeTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionStatusCodeTypeDef


def get_value() -> ResponseInspectionStatusCodeTypeDef:
    return {
        "SuccessCodes": ...,
    }


# ResponseInspectionStatusCodeTypeDef definition

class ResponseInspectionStatusCodeTypeDef(TypedDict):
    SuccessCodes: Sequence[int],
    FailureCodes: Sequence[int],

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "ResourceARN": ...,
    }


# UntagResourceRequestTypeDef definition

class UntagResourceRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateIPSetRequestTypeDef#

# UpdateIPSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateIPSetRequestTypeDef


def get_value() -> UpdateIPSetRequestTypeDef:
    return {
        "Name": ...,
    }


# UpdateIPSetRequestTypeDef definition

class UpdateIPSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    Addresses: Sequence[str],
    LockToken: str,
    Description: NotRequired[str],
  1. See ScopeType

AssociationConfigOutputTypeDef#

# AssociationConfigOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AssociationConfigOutputTypeDef


def get_value() -> AssociationConfigOutputTypeDef:
    return {
        "RequestBody": ...,
    }


# AssociationConfigOutputTypeDef definition

class AssociationConfigOutputTypeDef(TypedDict):
    RequestBody: NotRequired[Dict[AssociatedResourceTypeType, RequestBodyAssociatedResourceTypeConfigTypeDef]],  # (1)
  1. See AssociatedResourceTypeType RequestBodyAssociatedResourceTypeConfigTypeDef

AssociationConfigTypeDef#

# AssociationConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AssociationConfigTypeDef


def get_value() -> AssociationConfigTypeDef:
    return {
        "RequestBody": ...,
    }


# AssociationConfigTypeDef definition

class AssociationConfigTypeDef(TypedDict):
    RequestBody: NotRequired[Mapping[AssociatedResourceTypeType, RequestBodyAssociatedResourceTypeConfigTypeDef]],  # (1)
  1. See AssociatedResourceTypeType RequestBodyAssociatedResourceTypeConfigTypeDef

RateLimitCookieOutputTypeDef#

# RateLimitCookieOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitCookieOutputTypeDef


def get_value() -> RateLimitCookieOutputTypeDef:
    return {
        "Name": ...,
    }


# RateLimitCookieOutputTypeDef definition

class RateLimitCookieOutputTypeDef(TypedDict):
    Name: str,
    TextTransformations: List[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitCookieTypeDef#

# RateLimitCookieTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitCookieTypeDef


def get_value() -> RateLimitCookieTypeDef:
    return {
        "Name": ...,
    }


# RateLimitCookieTypeDef definition

class RateLimitCookieTypeDef(TypedDict):
    Name: str,
    TextTransformations: Sequence[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitHeaderOutputTypeDef#

# RateLimitHeaderOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitHeaderOutputTypeDef


def get_value() -> RateLimitHeaderOutputTypeDef:
    return {
        "Name": ...,
    }


# RateLimitHeaderOutputTypeDef definition

class RateLimitHeaderOutputTypeDef(TypedDict):
    Name: str,
    TextTransformations: List[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitHeaderTypeDef#

# RateLimitHeaderTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitHeaderTypeDef


def get_value() -> RateLimitHeaderTypeDef:
    return {
        "Name": ...,
    }


# RateLimitHeaderTypeDef definition

class RateLimitHeaderTypeDef(TypedDict):
    Name: str,
    TextTransformations: Sequence[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitQueryArgumentOutputTypeDef#

# RateLimitQueryArgumentOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitQueryArgumentOutputTypeDef


def get_value() -> RateLimitQueryArgumentOutputTypeDef:
    return {
        "Name": ...,
    }


# RateLimitQueryArgumentOutputTypeDef definition

class RateLimitQueryArgumentOutputTypeDef(TypedDict):
    Name: str,
    TextTransformations: List[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitQueryArgumentTypeDef#

# RateLimitQueryArgumentTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitQueryArgumentTypeDef


def get_value() -> RateLimitQueryArgumentTypeDef:
    return {
        "Name": ...,
    }


# RateLimitQueryArgumentTypeDef definition

class RateLimitQueryArgumentTypeDef(TypedDict):
    Name: str,
    TextTransformations: Sequence[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitQueryStringOutputTypeDef#

# RateLimitQueryStringOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitQueryStringOutputTypeDef


def get_value() -> RateLimitQueryStringOutputTypeDef:
    return {
        "TextTransformations": ...,
    }


# RateLimitQueryStringOutputTypeDef definition

class RateLimitQueryStringOutputTypeDef(TypedDict):
    TextTransformations: List[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitQueryStringTypeDef#

# RateLimitQueryStringTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitQueryStringTypeDef


def get_value() -> RateLimitQueryStringTypeDef:
    return {
        "TextTransformations": ...,
    }


# RateLimitQueryStringTypeDef definition

class RateLimitQueryStringTypeDef(TypedDict):
    TextTransformations: Sequence[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitUriPathOutputTypeDef#

# RateLimitUriPathOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitUriPathOutputTypeDef


def get_value() -> RateLimitUriPathOutputTypeDef:
    return {
        "TextTransformations": ...,
    }


# RateLimitUriPathOutputTypeDef definition

class RateLimitUriPathOutputTypeDef(TypedDict):
    TextTransformations: List[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

RateLimitUriPathTypeDef#

# RateLimitUriPathTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateLimitUriPathTypeDef


def get_value() -> RateLimitUriPathTypeDef:
    return {
        "TextTransformations": ...,
    }


# RateLimitUriPathTypeDef definition

class RateLimitUriPathTypeDef(TypedDict):
    TextTransformations: Sequence[TextTransformationTypeDef],  # (1)
  1. See TextTransformationTypeDef

CaptchaConfigTypeDef#

# CaptchaConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CaptchaConfigTypeDef


def get_value() -> CaptchaConfigTypeDef:
    return {
        "ImmunityTimeProperty": ...,
    }


# CaptchaConfigTypeDef definition

class CaptchaConfigTypeDef(TypedDict):
    ImmunityTimeProperty: NotRequired[ImmunityTimePropertyTypeDef],  # (1)
  1. See ImmunityTimePropertyTypeDef

ChallengeConfigTypeDef#

# ChallengeConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ChallengeConfigTypeDef


def get_value() -> ChallengeConfigTypeDef:
    return {
        "ImmunityTimeProperty": ...,
    }


# ChallengeConfigTypeDef definition

class ChallengeConfigTypeDef(TypedDict):
    ImmunityTimeProperty: NotRequired[ImmunityTimePropertyTypeDef],  # (1)
  1. See ImmunityTimePropertyTypeDef

CheckCapacityResponseTypeDef#

# CheckCapacityResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CheckCapacityResponseTypeDef


def get_value() -> CheckCapacityResponseTypeDef:
    return {
        "Capacity": ...,
    }


# CheckCapacityResponseTypeDef definition

class CheckCapacityResponseTypeDef(TypedDict):
    Capacity: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAPIKeyResponseTypeDef#

# CreateAPIKeyResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateAPIKeyResponseTypeDef


def get_value() -> CreateAPIKeyResponseTypeDef:
    return {
        "APIKey": ...,
    }


# CreateAPIKeyResponseTypeDef definition

class CreateAPIKeyResponseTypeDef(TypedDict):
    APIKey: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteFirewallManagerRuleGroupsResponseTypeDef#

# DeleteFirewallManagerRuleGroupsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DeleteFirewallManagerRuleGroupsResponseTypeDef


def get_value() -> DeleteFirewallManagerRuleGroupsResponseTypeDef:
    return {
        "NextWebACLLockToken": ...,
    }


# DeleteFirewallManagerRuleGroupsResponseTypeDef definition

class DeleteFirewallManagerRuleGroupsResponseTypeDef(TypedDict):
    NextWebACLLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GenerateMobileSdkReleaseUrlResponseTypeDef#

# GenerateMobileSdkReleaseUrlResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GenerateMobileSdkReleaseUrlResponseTypeDef


def get_value() -> GenerateMobileSdkReleaseUrlResponseTypeDef:
    return {
        "Url": ...,
    }


# GenerateMobileSdkReleaseUrlResponseTypeDef definition

class GenerateMobileSdkReleaseUrlResponseTypeDef(TypedDict):
    Url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetDecryptedAPIKeyResponseTypeDef#

# GetDecryptedAPIKeyResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetDecryptedAPIKeyResponseTypeDef


def get_value() -> GetDecryptedAPIKeyResponseTypeDef:
    return {
        "TokenDomains": ...,
    }


# GetDecryptedAPIKeyResponseTypeDef definition

class GetDecryptedAPIKeyResponseTypeDef(TypedDict):
    TokenDomains: List[str],
    CreationTimestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPermissionPolicyResponseTypeDef#

# GetPermissionPolicyResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetPermissionPolicyResponseTypeDef


def get_value() -> GetPermissionPolicyResponseTypeDef:
    return {
        "Policy": ...,
    }


# GetPermissionPolicyResponseTypeDef definition

class GetPermissionPolicyResponseTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAPIKeysResponseTypeDef#

# ListAPIKeysResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAPIKeysResponseTypeDef


def get_value() -> ListAPIKeysResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListAPIKeysResponseTypeDef definition

class ListAPIKeysResponseTypeDef(TypedDict):
    NextMarker: str,
    APIKeySummaries: List[APIKeySummaryTypeDef],  # (1)
    ApplicationIntegrationURL: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See APIKeySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListResourcesForWebACLResponseTypeDef#

# ListResourcesForWebACLResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListResourcesForWebACLResponseTypeDef


def get_value() -> ListResourcesForWebACLResponseTypeDef:
    return {
        "ResourceArns": ...,
    }


# ListResourcesForWebACLResponseTypeDef definition

class ListResourcesForWebACLResponseTypeDef(TypedDict):
    ResourceArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutManagedRuleSetVersionsResponseTypeDef#

# PutManagedRuleSetVersionsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PutManagedRuleSetVersionsResponseTypeDef


def get_value() -> PutManagedRuleSetVersionsResponseTypeDef:
    return {
        "NextLockToken": ...,
    }


# PutManagedRuleSetVersionsResponseTypeDef definition

class PutManagedRuleSetVersionsResponseTypeDef(TypedDict):
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateIPSetResponseTypeDef#

# UpdateIPSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateIPSetResponseTypeDef


def get_value() -> UpdateIPSetResponseTypeDef:
    return {
        "NextLockToken": ...,
    }


# UpdateIPSetResponseTypeDef definition

class UpdateIPSetResponseTypeDef(TypedDict):
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateManagedRuleSetVersionExpiryDateResponseTypeDef#

# UpdateManagedRuleSetVersionExpiryDateResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateManagedRuleSetVersionExpiryDateResponseTypeDef


def get_value() -> UpdateManagedRuleSetVersionExpiryDateResponseTypeDef:
    return {
        "ExpiringVersion": ...,
    }


# UpdateManagedRuleSetVersionExpiryDateResponseTypeDef definition

class UpdateManagedRuleSetVersionExpiryDateResponseTypeDef(TypedDict):
    ExpiringVersion: str,
    ExpiryTimestamp: datetime,
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRegexPatternSetResponseTypeDef#

# UpdateRegexPatternSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateRegexPatternSetResponseTypeDef


def get_value() -> UpdateRegexPatternSetResponseTypeDef:
    return {
        "NextLockToken": ...,
    }


# UpdateRegexPatternSetResponseTypeDef definition

class UpdateRegexPatternSetResponseTypeDef(TypedDict):
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateRuleGroupResponseTypeDef


def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "NextLockToken": ...,
    }


# UpdateRuleGroupResponseTypeDef definition

class UpdateRuleGroupResponseTypeDef(TypedDict):
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateWebACLResponseTypeDef#

# UpdateWebACLResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateWebACLResponseTypeDef


def get_value() -> UpdateWebACLResponseTypeDef:
    return {
        "NextLockToken": ...,
    }


# UpdateWebACLResponseTypeDef definition

class UpdateWebACLResponseTypeDef(TypedDict):
    NextLockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConditionTypeDef#

# ConditionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ConditionTypeDef


def get_value() -> ConditionTypeDef:
    return {
        "ActionCondition": ...,
    }


# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    ActionCondition: NotRequired[ActionConditionTypeDef],  # (1)
    LabelNameCondition: NotRequired[LabelNameConditionTypeDef],  # (2)
  1. See ActionConditionTypeDef
  2. See LabelNameConditionTypeDef

CookiesOutputTypeDef#

# CookiesOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CookiesOutputTypeDef


def get_value() -> CookiesOutputTypeDef:
    return {
        "MatchPattern": ...,
    }


# CookiesOutputTypeDef definition

class CookiesOutputTypeDef(TypedDict):
    MatchPattern: CookieMatchPatternOutputTypeDef,  # (1)
    MatchScope: MapMatchScopeType,  # (2)
    OversizeHandling: OversizeHandlingType,  # (3)
  1. See CookieMatchPatternOutputTypeDef
  2. See MapMatchScopeType
  3. See OversizeHandlingType

CreateIPSetRequestTypeDef#

# CreateIPSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateIPSetRequestTypeDef


def get_value() -> CreateIPSetRequestTypeDef:
    return {
        "Name": ...,
    }


# CreateIPSetRequestTypeDef definition

class CreateIPSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    IPAddressVersion: IPAddressVersionType,  # (2)
    Addresses: Sequence[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ScopeType
  2. See IPAddressVersionType
  3. See TagTypeDef

MobileSdkReleaseTypeDef#

# MobileSdkReleaseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import MobileSdkReleaseTypeDef


def get_value() -> MobileSdkReleaseTypeDef:
    return {
        "ReleaseVersion": ...,
    }


# MobileSdkReleaseTypeDef definition

class MobileSdkReleaseTypeDef(TypedDict):
    ReleaseVersion: NotRequired[str],
    Timestamp: NotRequired[datetime],
    ReleaseNotes: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagInfoForResourceTypeDef#

# TagInfoForResourceTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TagInfoForResourceTypeDef


def get_value() -> TagInfoForResourceTypeDef:
    return {
        "ResourceARN": ...,
    }


# TagInfoForResourceTypeDef definition

class TagInfoForResourceTypeDef(TypedDict):
    ResourceARN: NotRequired[str],
    TagList: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "ResourceARN": ...,
    }


# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateIPSetResponseTypeDef#

# CreateIPSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateIPSetResponseTypeDef


def get_value() -> CreateIPSetResponseTypeDef:
    return {
        "Summary": ...,
    }


# CreateIPSetResponseTypeDef definition

class CreateIPSetResponseTypeDef(TypedDict):
    Summary: IPSetSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IPSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListIPSetsResponseTypeDef#

# ListIPSetsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListIPSetsResponseTypeDef


def get_value() -> ListIPSetsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListIPSetsResponseTypeDef definition

class ListIPSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    IPSets: List[IPSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IPSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateRegexPatternSetRequestTypeDef#

# CreateRegexPatternSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateRegexPatternSetRequestTypeDef


def get_value() -> CreateRegexPatternSetRequestTypeDef:
    return {
        "Name": ...,
    }


# CreateRegexPatternSetRequestTypeDef definition

class CreateRegexPatternSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    RegularExpressionList: Sequence[RegexTypeDef],  # (2)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ScopeType
  2. See RegexTypeDef
  3. See TagTypeDef

RegexPatternSetTypeDef#

# RegexPatternSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexPatternSetTypeDef


def get_value() -> RegexPatternSetTypeDef:
    return {
        "Name": ...,
    }


# RegexPatternSetTypeDef definition

class RegexPatternSetTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    ARN: NotRequired[str],
    Description: NotRequired[str],
    RegularExpressionList: NotRequired[List[RegexTypeDef]],  # (1)
  1. See RegexTypeDef

UpdateRegexPatternSetRequestTypeDef#

# UpdateRegexPatternSetRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateRegexPatternSetRequestTypeDef


def get_value() -> UpdateRegexPatternSetRequestTypeDef:
    return {
        "Name": ...,
    }


# UpdateRegexPatternSetRequestTypeDef definition

class UpdateRegexPatternSetRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    RegularExpressionList: Sequence[RegexTypeDef],  # (2)
    LockToken: str,
    Description: NotRequired[str],
  1. See ScopeType
  2. See RegexTypeDef

CreateRegexPatternSetResponseTypeDef#

# CreateRegexPatternSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateRegexPatternSetResponseTypeDef


def get_value() -> CreateRegexPatternSetResponseTypeDef:
    return {
        "Summary": ...,
    }


# CreateRegexPatternSetResponseTypeDef definition

class CreateRegexPatternSetResponseTypeDef(TypedDict):
    Summary: RegexPatternSetSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexPatternSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRegexPatternSetsResponseTypeDef#

# ListRegexPatternSetsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListRegexPatternSetsResponseTypeDef


def get_value() -> ListRegexPatternSetsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListRegexPatternSetsResponseTypeDef definition

class ListRegexPatternSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    RegexPatternSets: List[RegexPatternSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexPatternSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateRuleGroupResponseTypeDef


def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "Summary": ...,
    }


# CreateRuleGroupResponseTypeDef definition

class CreateRuleGroupResponseTypeDef(TypedDict):
    Summary: RuleGroupSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListRuleGroupsResponseTypeDef


def get_value() -> ListRuleGroupsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListRuleGroupsResponseTypeDef definition

class ListRuleGroupsResponseTypeDef(TypedDict):
    NextMarker: str,
    RuleGroups: List[RuleGroupSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateWebACLResponseTypeDef#

# CreateWebACLResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateWebACLResponseTypeDef


def get_value() -> CreateWebACLResponseTypeDef:
    return {
        "Summary": ...,
    }


# CreateWebACLResponseTypeDef definition

class CreateWebACLResponseTypeDef(TypedDict):
    Summary: WebACLSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WebACLSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListWebACLsResponseTypeDef#

# ListWebACLsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListWebACLsResponseTypeDef


def get_value() -> ListWebACLsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListWebACLsResponseTypeDef definition

class ListWebACLsResponseTypeDef(TypedDict):
    NextMarker: str,
    WebACLs: List[WebACLSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WebACLSummaryTypeDef
  2. See ResponseMetadataTypeDef

CustomRequestHandlingOutputTypeDef#

# CustomRequestHandlingOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomRequestHandlingOutputTypeDef


def get_value() -> CustomRequestHandlingOutputTypeDef:
    return {
        "InsertHeaders": ...,
    }


# CustomRequestHandlingOutputTypeDef definition

class CustomRequestHandlingOutputTypeDef(TypedDict):
    InsertHeaders: List[CustomHTTPHeaderTypeDef],  # (1)
  1. See CustomHTTPHeaderTypeDef

CustomRequestHandlingTypeDef#

# CustomRequestHandlingTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomRequestHandlingTypeDef


def get_value() -> CustomRequestHandlingTypeDef:
    return {
        "InsertHeaders": ...,
    }


# CustomRequestHandlingTypeDef definition

class CustomRequestHandlingTypeDef(TypedDict):
    InsertHeaders: Sequence[CustomHTTPHeaderTypeDef],  # (1)
  1. See CustomHTTPHeaderTypeDef

CustomResponseOutputTypeDef#

# CustomResponseOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomResponseOutputTypeDef


def get_value() -> CustomResponseOutputTypeDef:
    return {
        "ResponseCode": ...,
    }


# CustomResponseOutputTypeDef definition

class CustomResponseOutputTypeDef(TypedDict):
    ResponseCode: int,
    CustomResponseBodyKey: NotRequired[str],
    ResponseHeaders: NotRequired[List[CustomHTTPHeaderTypeDef]],  # (1)
  1. See CustomHTTPHeaderTypeDef

CustomResponseTypeDef#

# CustomResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CustomResponseTypeDef


def get_value() -> CustomResponseTypeDef:
    return {
        "ResponseCode": ...,
    }


# CustomResponseTypeDef definition

class CustomResponseTypeDef(TypedDict):
    ResponseCode: int,
    CustomResponseBodyKey: NotRequired[str],
    ResponseHeaders: NotRequired[Sequence[CustomHTTPHeaderTypeDef]],  # (1)
  1. See CustomHTTPHeaderTypeDef

DataProtectionOutputTypeDef#

# DataProtectionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DataProtectionOutputTypeDef


def get_value() -> DataProtectionOutputTypeDef:
    return {
        "Field": ...,
    }


# DataProtectionOutputTypeDef definition

class DataProtectionOutputTypeDef(TypedDict):
    Field: FieldToProtectOutputTypeDef,  # (1)
    Action: DataProtectionActionType,  # (2)
    ExcludeRuleMatchDetails: NotRequired[bool],
    ExcludeRateBasedDetails: NotRequired[bool],
  1. See FieldToProtectOutputTypeDef
  2. See DataProtectionActionType

DataProtectionTypeDef#

# DataProtectionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DataProtectionTypeDef


def get_value() -> DataProtectionTypeDef:
    return {
        "Field": ...,
    }


# DataProtectionTypeDef definition

class DataProtectionTypeDef(TypedDict):
    Field: FieldToProtectTypeDef,  # (1)
    Action: DataProtectionActionType,  # (2)
    ExcludeRuleMatchDetails: NotRequired[bool],
    ExcludeRateBasedDetails: NotRequired[bool],
  1. See FieldToProtectTypeDef
  2. See DataProtectionActionType

DescribeAllManagedProductsResponseTypeDef#

# DescribeAllManagedProductsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeAllManagedProductsResponseTypeDef


def get_value() -> DescribeAllManagedProductsResponseTypeDef:
    return {
        "ManagedProducts": ...,
    }


# DescribeAllManagedProductsResponseTypeDef definition

class DescribeAllManagedProductsResponseTypeDef(TypedDict):
    ManagedProducts: List[ManagedProductDescriptorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedProductDescriptorTypeDef
  2. See ResponseMetadataTypeDef

DescribeManagedProductsByVendorResponseTypeDef#

# DescribeManagedProductsByVendorResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeManagedProductsByVendorResponseTypeDef


def get_value() -> DescribeManagedProductsByVendorResponseTypeDef:
    return {
        "ManagedProducts": ...,
    }


# DescribeManagedProductsByVendorResponseTypeDef definition

class DescribeManagedProductsByVendorResponseTypeDef(TypedDict):
    ManagedProducts: List[ManagedProductDescriptorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedProductDescriptorTypeDef
  2. See ResponseMetadataTypeDef

GeoMatchStatementOutputTypeDef#

# GeoMatchStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GeoMatchStatementOutputTypeDef


def get_value() -> GeoMatchStatementOutputTypeDef:
    return {
        "CountryCodes": ...,
    }


# GeoMatchStatementOutputTypeDef definition

class GeoMatchStatementOutputTypeDef(TypedDict):
    CountryCodes: NotRequired[List[CountryCodeType]],  # (1)
    ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef],  # (2)
  1. See CountryCodeType
  2. See ForwardedIPConfigTypeDef

GeoMatchStatementTypeDef#

# GeoMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GeoMatchStatementTypeDef


def get_value() -> GeoMatchStatementTypeDef:
    return {
        "CountryCodes": ...,
    }


# GeoMatchStatementTypeDef definition

class GeoMatchStatementTypeDef(TypedDict):
    CountryCodes: NotRequired[Sequence[CountryCodeType]],  # (1)
    ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef],  # (2)
  1. See CountryCodeType
  2. See ForwardedIPConfigTypeDef

GetIPSetResponseTypeDef#

# GetIPSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetIPSetResponseTypeDef


def get_value() -> GetIPSetResponseTypeDef:
    return {
        "IPSet": ...,
    }


# GetIPSetResponseTypeDef definition

class GetIPSetResponseTypeDef(TypedDict):
    IPSet: IPSetTypeDef,  # (1)
    LockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IPSetTypeDef
  2. See ResponseMetadataTypeDef

GetRateBasedStatementManagedKeysResponseTypeDef#

# GetRateBasedStatementManagedKeysResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRateBasedStatementManagedKeysResponseTypeDef


def get_value() -> GetRateBasedStatementManagedKeysResponseTypeDef:
    return {
        "ManagedKeysIPV4": ...,
    }


# GetRateBasedStatementManagedKeysResponseTypeDef definition

class GetRateBasedStatementManagedKeysResponseTypeDef(TypedDict):
    ManagedKeysIPV4: RateBasedStatementManagedKeysIPSetTypeDef,  # (1)
    ManagedKeysIPV6: RateBasedStatementManagedKeysIPSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RateBasedStatementManagedKeysIPSetTypeDef
  2. See RateBasedStatementManagedKeysIPSetTypeDef
  3. See ResponseMetadataTypeDef

HTTPRequestTypeDef#

# HTTPRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HTTPRequestTypeDef


def get_value() -> HTTPRequestTypeDef:
    return {
        "ClientIP": ...,
    }


# HTTPRequestTypeDef definition

class HTTPRequestTypeDef(TypedDict):
    ClientIP: NotRequired[str],
    Country: NotRequired[str],
    URI: NotRequired[str],
    Method: NotRequired[str],
    HTTPVersion: NotRequired[str],
    Headers: NotRequired[List[HTTPHeaderTypeDef]],  # (1)
  1. See HTTPHeaderTypeDef

HeadersOutputTypeDef#

# HeadersOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HeadersOutputTypeDef


def get_value() -> HeadersOutputTypeDef:
    return {
        "MatchPattern": ...,
    }


# HeadersOutputTypeDef definition

class HeadersOutputTypeDef(TypedDict):
    MatchPattern: HeaderMatchPatternOutputTypeDef,  # (1)
    MatchScope: MapMatchScopeType,  # (2)
    OversizeHandling: OversizeHandlingType,  # (3)
  1. See HeaderMatchPatternOutputTypeDef
  2. See MapMatchScopeType
  3. See OversizeHandlingType

IPSetReferenceStatementTypeDef#

# IPSetReferenceStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import IPSetReferenceStatementTypeDef


def get_value() -> IPSetReferenceStatementTypeDef:
    return {
        "ARN": ...,
    }


# IPSetReferenceStatementTypeDef definition

class IPSetReferenceStatementTypeDef(TypedDict):
    ARN: str,
    IPSetForwardedIPConfig: NotRequired[IPSetForwardedIPConfigTypeDef],  # (1)
  1. See IPSetForwardedIPConfigTypeDef

JsonBodyOutputTypeDef#

# JsonBodyOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import JsonBodyOutputTypeDef


def get_value() -> JsonBodyOutputTypeDef:
    return {
        "MatchPattern": ...,
    }


# JsonBodyOutputTypeDef definition

class JsonBodyOutputTypeDef(TypedDict):
    MatchPattern: JsonMatchPatternOutputTypeDef,  # (1)
    MatchScope: JsonMatchScopeType,  # (2)
    InvalidFallbackBehavior: NotRequired[BodyParsingFallbackBehaviorType],  # (3)
    OversizeHandling: NotRequired[OversizeHandlingType],  # (4)
  1. See JsonMatchPatternOutputTypeDef
  2. See JsonMatchScopeType
  3. See BodyParsingFallbackBehaviorType
  4. See OversizeHandlingType

ListAvailableManagedRuleGroupVersionsResponseTypeDef#

# ListAvailableManagedRuleGroupVersionsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAvailableManagedRuleGroupVersionsResponseTypeDef


def get_value() -> ListAvailableManagedRuleGroupVersionsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListAvailableManagedRuleGroupVersionsResponseTypeDef definition

class ListAvailableManagedRuleGroupVersionsResponseTypeDef(TypedDict):
    NextMarker: str,
    Versions: List[ManagedRuleGroupVersionTypeDef],  # (1)
    CurrentDefaultVersion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedRuleGroupVersionTypeDef
  2. See ResponseMetadataTypeDef

ListAvailableManagedRuleGroupsResponseTypeDef#

# ListAvailableManagedRuleGroupsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListAvailableManagedRuleGroupsResponseTypeDef


def get_value() -> ListAvailableManagedRuleGroupsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListAvailableManagedRuleGroupsResponseTypeDef definition

class ListAvailableManagedRuleGroupsResponseTypeDef(TypedDict):
    NextMarker: str,
    ManagedRuleGroups: List[ManagedRuleGroupSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedRuleGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListManagedRuleSetsResponseTypeDef#

# ListManagedRuleSetsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListManagedRuleSetsResponseTypeDef


def get_value() -> ListManagedRuleSetsResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListManagedRuleSetsResponseTypeDef definition

class ListManagedRuleSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    ManagedRuleSets: List[ManagedRuleSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedRuleSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListMobileSdkReleasesResponseTypeDef#

# ListMobileSdkReleasesResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListMobileSdkReleasesResponseTypeDef


def get_value() -> ListMobileSdkReleasesResponseTypeDef:
    return {
        "ReleaseSummaries": ...,
    }


# ListMobileSdkReleasesResponseTypeDef definition

class ListMobileSdkReleasesResponseTypeDef(TypedDict):
    ReleaseSummaries: List[ReleaseSummaryTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReleaseSummaryTypeDef
  2. See ResponseMetadataTypeDef

RequestInspectionTypeDef#

# RequestInspectionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RequestInspectionTypeDef


def get_value() -> RequestInspectionTypeDef:
    return {
        "PayloadType": ...,
    }


# RequestInspectionTypeDef definition

class RequestInspectionTypeDef(TypedDict):
    PayloadType: PayloadTypeType,  # (1)
    UsernameField: UsernameFieldTypeDef,  # (2)
    PasswordField: PasswordFieldTypeDef,  # (3)
  1. See PayloadTypeType
  2. See UsernameFieldTypeDef
  3. See PasswordFieldTypeDef

ManagedRuleSetTypeDef#

# ManagedRuleSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleSetTypeDef


def get_value() -> ManagedRuleSetTypeDef:
    return {
        "Name": ...,
    }


# ManagedRuleSetTypeDef definition

class ManagedRuleSetTypeDef(TypedDict):
    Name: str,
    Id: str,
    ARN: str,
    Description: NotRequired[str],
    PublishedVersions: NotRequired[Dict[str, ManagedRuleSetVersionTypeDef]],  # (1)
    RecommendedVersion: NotRequired[str],
    LabelNamespace: NotRequired[str],
  1. See ManagedRuleSetVersionTypeDef

RequestInspectionACFPOutputTypeDef#

# RequestInspectionACFPOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RequestInspectionACFPOutputTypeDef


def get_value() -> RequestInspectionACFPOutputTypeDef:
    return {
        "PayloadType": ...,
    }


# RequestInspectionACFPOutputTypeDef definition

class RequestInspectionACFPOutputTypeDef(TypedDict):
    PayloadType: PayloadTypeType,  # (1)
    UsernameField: NotRequired[UsernameFieldTypeDef],  # (2)
    PasswordField: NotRequired[PasswordFieldTypeDef],  # (3)
    EmailField: NotRequired[EmailFieldTypeDef],  # (4)
    PhoneNumberFields: NotRequired[List[PhoneNumberFieldTypeDef]],  # (5)
    AddressFields: NotRequired[List[AddressFieldTypeDef]],  # (6)
  1. See PayloadTypeType
  2. See UsernameFieldTypeDef
  3. See PasswordFieldTypeDef
  4. See EmailFieldTypeDef
  5. See PhoneNumberFieldTypeDef
  6. See AddressFieldTypeDef

RequestInspectionACFPTypeDef#

# RequestInspectionACFPTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RequestInspectionACFPTypeDef


def get_value() -> RequestInspectionACFPTypeDef:
    return {
        "PayloadType": ...,
    }


# RequestInspectionACFPTypeDef definition

class RequestInspectionACFPTypeDef(TypedDict):
    PayloadType: PayloadTypeType,  # (1)
    UsernameField: NotRequired[UsernameFieldTypeDef],  # (2)
    PasswordField: NotRequired[PasswordFieldTypeDef],  # (3)
    EmailField: NotRequired[EmailFieldTypeDef],  # (4)
    PhoneNumberFields: NotRequired[Sequence[PhoneNumberFieldTypeDef]],  # (5)
    AddressFields: NotRequired[Sequence[AddressFieldTypeDef]],  # (6)
  1. See PayloadTypeType
  2. See UsernameFieldTypeDef
  3. See PasswordFieldTypeDef
  4. See EmailFieldTypeDef
  5. See PhoneNumberFieldTypeDef
  6. See AddressFieldTypeDef

PutManagedRuleSetVersionsRequestTypeDef#

# PutManagedRuleSetVersionsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PutManagedRuleSetVersionsRequestTypeDef


def get_value() -> PutManagedRuleSetVersionsRequestTypeDef:
    return {
        "Name": ...,
    }


# PutManagedRuleSetVersionsRequestTypeDef definition

class PutManagedRuleSetVersionsRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
    RecommendedVersion: NotRequired[str],
    VersionsToPublish: NotRequired[Mapping[str, VersionToPublishTypeDef]],  # (2)
  1. See ScopeType
  2. See VersionToPublishTypeDef

ResponseInspectionOutputTypeDef#

# ResponseInspectionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionOutputTypeDef


def get_value() -> ResponseInspectionOutputTypeDef:
    return {
        "StatusCode": ...,
    }


# ResponseInspectionOutputTypeDef definition

class ResponseInspectionOutputTypeDef(TypedDict):
    StatusCode: NotRequired[ResponseInspectionStatusCodeOutputTypeDef],  # (1)
    Header: NotRequired[ResponseInspectionHeaderOutputTypeDef],  # (2)
    BodyContains: NotRequired[ResponseInspectionBodyContainsOutputTypeDef],  # (3)
    Json: NotRequired[ResponseInspectionJsonOutputTypeDef],  # (4)
  1. See ResponseInspectionStatusCodeOutputTypeDef
  2. See ResponseInspectionHeaderOutputTypeDef
  3. See ResponseInspectionBodyContainsOutputTypeDef
  4. See ResponseInspectionJsonOutputTypeDef

TimeWindowTypeDef#

# TimeWindowTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import TimeWindowTypeDef


def get_value() -> TimeWindowTypeDef:
    return {
        "StartTime": ...,
    }


# TimeWindowTypeDef definition

class TimeWindowTypeDef(TypedDict):
    StartTime: TimestampTypeDef,
    EndTime: TimestampTypeDef,

UpdateManagedRuleSetVersionExpiryDateRequestTypeDef#

# UpdateManagedRuleSetVersionExpiryDateRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateManagedRuleSetVersionExpiryDateRequestTypeDef


def get_value() -> UpdateManagedRuleSetVersionExpiryDateRequestTypeDef:
    return {
        "Name": ...,
    }


# UpdateManagedRuleSetVersionExpiryDateRequestTypeDef definition

class UpdateManagedRuleSetVersionExpiryDateRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    LockToken: str,
    VersionToExpire: str,
    ExpiryTimestamp: TimestampTypeDef,
  1. See ScopeType

RateBasedStatementCustomKeyOutputTypeDef#

# RateBasedStatementCustomKeyOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateBasedStatementCustomKeyOutputTypeDef


def get_value() -> RateBasedStatementCustomKeyOutputTypeDef:
    return {
        "Header": ...,
    }


# RateBasedStatementCustomKeyOutputTypeDef definition

class RateBasedStatementCustomKeyOutputTypeDef(TypedDict):
    Header: NotRequired[RateLimitHeaderOutputTypeDef],  # (1)
    Cookie: NotRequired[RateLimitCookieOutputTypeDef],  # (2)
    QueryArgument: NotRequired[RateLimitQueryArgumentOutputTypeDef],  # (3)
    QueryString: NotRequired[RateLimitQueryStringOutputTypeDef],  # (4)
    HTTPMethod: NotRequired[Dict[str, Any]],
    ForwardedIP: NotRequired[Dict[str, Any]],
    IP: NotRequired[Dict[str, Any]],
    LabelNamespace: NotRequired[RateLimitLabelNamespaceTypeDef],  # (5)
    UriPath: NotRequired[RateLimitUriPathOutputTypeDef],  # (6)
  1. See RateLimitHeaderOutputTypeDef
  2. See RateLimitCookieOutputTypeDef
  3. See RateLimitQueryArgumentOutputTypeDef
  4. See RateLimitQueryStringOutputTypeDef
  5. See RateLimitLabelNamespaceTypeDef
  6. See RateLimitUriPathOutputTypeDef

FilterOutputTypeDef#

# FilterOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FilterOutputTypeDef


def get_value() -> FilterOutputTypeDef:
    return {
        "Behavior": ...,
    }


# FilterOutputTypeDef definition

class FilterOutputTypeDef(TypedDict):
    Behavior: FilterBehaviorType,  # (1)
    Requirement: FilterRequirementType,  # (2)
    Conditions: List[ConditionTypeDef],  # (3)
  1. See FilterBehaviorType
  2. See FilterRequirementType
  3. See ConditionTypeDef

FilterTypeDef#

# FilterTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FilterTypeDef


def get_value() -> FilterTypeDef:
    return {
        "Behavior": ...,
    }


# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Behavior: FilterBehaviorType,  # (1)
    Requirement: FilterRequirementType,  # (2)
    Conditions: Sequence[ConditionTypeDef],  # (3)
  1. See FilterBehaviorType
  2. See FilterRequirementType
  3. See ConditionTypeDef

CookiesTypeDef#

# CookiesTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CookiesTypeDef


def get_value() -> CookiesTypeDef:
    return {
        "MatchPattern": ...,
    }


# CookiesTypeDef definition

class CookiesTypeDef(TypedDict):
    MatchPattern: CookieMatchPatternUnionTypeDef,  # (1)
    MatchScope: MapMatchScopeType,  # (2)
    OversizeHandling: OversizeHandlingType,  # (3)
  1. See CookieMatchPatternTypeDef CookieMatchPatternOutputTypeDef
  2. See MapMatchScopeType
  3. See OversizeHandlingType

GetMobileSdkReleaseResponseTypeDef#

# GetMobileSdkReleaseResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetMobileSdkReleaseResponseTypeDef


def get_value() -> GetMobileSdkReleaseResponseTypeDef:
    return {
        "MobileSdkRelease": ...,
    }


# GetMobileSdkReleaseResponseTypeDef definition

class GetMobileSdkReleaseResponseTypeDef(TypedDict):
    MobileSdkRelease: MobileSdkReleaseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MobileSdkReleaseTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "NextMarker": ...,
    }


# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    NextMarker: str,
    TagInfoForResource: TagInfoForResourceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagInfoForResourceTypeDef
  2. See ResponseMetadataTypeDef

GetRegexPatternSetResponseTypeDef#

# GetRegexPatternSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRegexPatternSetResponseTypeDef


def get_value() -> GetRegexPatternSetResponseTypeDef:
    return {
        "RegexPatternSet": ...,
    }


# GetRegexPatternSetResponseTypeDef definition

class GetRegexPatternSetResponseTypeDef(TypedDict):
    RegexPatternSet: RegexPatternSetTypeDef,  # (1)
    LockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexPatternSetTypeDef
  2. See ResponseMetadataTypeDef

AllowActionOutputTypeDef#

# AllowActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AllowActionOutputTypeDef


def get_value() -> AllowActionOutputTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# AllowActionOutputTypeDef definition

class AllowActionOutputTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef],  # (1)
  1. See CustomRequestHandlingOutputTypeDef

CaptchaActionOutputTypeDef#

# CaptchaActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CaptchaActionOutputTypeDef


def get_value() -> CaptchaActionOutputTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# CaptchaActionOutputTypeDef definition

class CaptchaActionOutputTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef],  # (1)
  1. See CustomRequestHandlingOutputTypeDef

ChallengeActionOutputTypeDef#

# ChallengeActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ChallengeActionOutputTypeDef


def get_value() -> ChallengeActionOutputTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# ChallengeActionOutputTypeDef definition

class ChallengeActionOutputTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef],  # (1)
  1. See CustomRequestHandlingOutputTypeDef

CountActionOutputTypeDef#

# CountActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CountActionOutputTypeDef


def get_value() -> CountActionOutputTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# CountActionOutputTypeDef definition

class CountActionOutputTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef],  # (1)
  1. See CustomRequestHandlingOutputTypeDef

BlockActionOutputTypeDef#

# BlockActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import BlockActionOutputTypeDef


def get_value() -> BlockActionOutputTypeDef:
    return {
        "CustomResponse": ...,
    }


# BlockActionOutputTypeDef definition

class BlockActionOutputTypeDef(TypedDict):
    CustomResponse: NotRequired[CustomResponseOutputTypeDef],  # (1)
  1. See CustomResponseOutputTypeDef

DataProtectionConfigOutputTypeDef#

# DataProtectionConfigOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DataProtectionConfigOutputTypeDef


def get_value() -> DataProtectionConfigOutputTypeDef:
    return {
        "DataProtections": ...,
    }


# DataProtectionConfigOutputTypeDef definition

class DataProtectionConfigOutputTypeDef(TypedDict):
    DataProtections: List[DataProtectionOutputTypeDef],  # (1)
  1. See DataProtectionOutputTypeDef

DataProtectionConfigTypeDef#

# DataProtectionConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DataProtectionConfigTypeDef


def get_value() -> DataProtectionConfigTypeDef:
    return {
        "DataProtections": ...,
    }


# DataProtectionConfigTypeDef definition

class DataProtectionConfigTypeDef(TypedDict):
    DataProtections: Sequence[DataProtectionTypeDef],  # (1)
  1. See DataProtectionTypeDef

SampledHTTPRequestTypeDef#

# SampledHTTPRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SampledHTTPRequestTypeDef


def get_value() -> SampledHTTPRequestTypeDef:
    return {
        "Request": ...,
    }


# SampledHTTPRequestTypeDef definition

class SampledHTTPRequestTypeDef(TypedDict):
    Request: HTTPRequestTypeDef,  # (1)
    Weight: int,
    Timestamp: NotRequired[datetime],
    Action: NotRequired[str],
    RuleNameWithinRuleGroup: NotRequired[str],
    RequestHeadersInserted: NotRequired[List[HTTPHeaderTypeDef]],  # (2)
    ResponseCodeSent: NotRequired[int],
    Labels: NotRequired[List[LabelTypeDef]],  # (3)
    CaptchaResponse: NotRequired[CaptchaResponseTypeDef],  # (4)
    ChallengeResponse: NotRequired[ChallengeResponseTypeDef],  # (5)
    OverriddenAction: NotRequired[str],
  1. See HTTPRequestTypeDef
  2. See HTTPHeaderTypeDef
  3. See LabelTypeDef
  4. See CaptchaResponseTypeDef
  5. See ChallengeResponseTypeDef

HeadersTypeDef#

# HeadersTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import HeadersTypeDef


def get_value() -> HeadersTypeDef:
    return {
        "MatchPattern": ...,
    }


# HeadersTypeDef definition

class HeadersTypeDef(TypedDict):
    MatchPattern: HeaderMatchPatternUnionTypeDef,  # (1)
    MatchScope: MapMatchScopeType,  # (2)
    OversizeHandling: OversizeHandlingType,  # (3)
  1. See HeaderMatchPatternTypeDef HeaderMatchPatternOutputTypeDef
  2. See MapMatchScopeType
  3. See OversizeHandlingType

FieldToMatchOutputTypeDef#

# FieldToMatchOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FieldToMatchOutputTypeDef


def get_value() -> FieldToMatchOutputTypeDef:
    return {
        "SingleHeader": ...,
    }


# FieldToMatchOutputTypeDef definition

class FieldToMatchOutputTypeDef(TypedDict):
    SingleHeader: NotRequired[SingleHeaderTypeDef],  # (1)
    SingleQueryArgument: NotRequired[SingleQueryArgumentTypeDef],  # (2)
    AllQueryArguments: NotRequired[Dict[str, Any]],
    UriPath: NotRequired[Dict[str, Any]],
    QueryString: NotRequired[Dict[str, Any]],
    Body: NotRequired[BodyTypeDef],  # (3)
    Method: NotRequired[Dict[str, Any]],
    JsonBody: NotRequired[JsonBodyOutputTypeDef],  # (4)
    Headers: NotRequired[HeadersOutputTypeDef],  # (5)
    Cookies: NotRequired[CookiesOutputTypeDef],  # (6)
    HeaderOrder: NotRequired[HeaderOrderTypeDef],  # (7)
    JA3Fingerprint: NotRequired[JA3FingerprintTypeDef],  # (8)
  1. See SingleHeaderTypeDef
  2. See SingleQueryArgumentTypeDef
  3. See BodyTypeDef
  4. See JsonBodyOutputTypeDef
  5. See HeadersOutputTypeDef
  6. See CookiesOutputTypeDef
  7. See HeaderOrderTypeDef
  8. See JA3FingerprintTypeDef

JsonBodyTypeDef#

# JsonBodyTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import JsonBodyTypeDef


def get_value() -> JsonBodyTypeDef:
    return {
        "MatchPattern": ...,
    }


# JsonBodyTypeDef definition

class JsonBodyTypeDef(TypedDict):
    MatchPattern: JsonMatchPatternUnionTypeDef,  # (1)
    MatchScope: JsonMatchScopeType,  # (2)
    InvalidFallbackBehavior: NotRequired[BodyParsingFallbackBehaviorType],  # (3)
    OversizeHandling: NotRequired[OversizeHandlingType],  # (4)
  1. See JsonMatchPatternTypeDef JsonMatchPatternOutputTypeDef
  2. See JsonMatchScopeType
  3. See BodyParsingFallbackBehaviorType
  4. See OversizeHandlingType

GetManagedRuleSetResponseTypeDef#

# GetManagedRuleSetResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetManagedRuleSetResponseTypeDef


def get_value() -> GetManagedRuleSetResponseTypeDef:
    return {
        "ManagedRuleSet": ...,
    }


# GetManagedRuleSetResponseTypeDef definition

class GetManagedRuleSetResponseTypeDef(TypedDict):
    ManagedRuleSet: ManagedRuleSetTypeDef,  # (1)
    LockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedRuleSetTypeDef
  2. See ResponseMetadataTypeDef

AWSManagedRulesACFPRuleSetOutputTypeDef#

# AWSManagedRulesACFPRuleSetOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesACFPRuleSetOutputTypeDef


def get_value() -> AWSManagedRulesACFPRuleSetOutputTypeDef:
    return {
        "CreationPath": ...,
    }


# AWSManagedRulesACFPRuleSetOutputTypeDef definition

class AWSManagedRulesACFPRuleSetOutputTypeDef(TypedDict):
    CreationPath: str,
    RegistrationPagePath: str,
    RequestInspection: RequestInspectionACFPOutputTypeDef,  # (1)
    ResponseInspection: NotRequired[ResponseInspectionOutputTypeDef],  # (2)
    EnableRegexInPath: NotRequired[bool],
  1. See RequestInspectionACFPOutputTypeDef
  2. See ResponseInspectionOutputTypeDef

AWSManagedRulesATPRuleSetOutputTypeDef#

# AWSManagedRulesATPRuleSetOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesATPRuleSetOutputTypeDef


def get_value() -> AWSManagedRulesATPRuleSetOutputTypeDef:
    return {
        "LoginPath": ...,
    }


# AWSManagedRulesATPRuleSetOutputTypeDef definition

class AWSManagedRulesATPRuleSetOutputTypeDef(TypedDict):
    LoginPath: str,
    RequestInspection: NotRequired[RequestInspectionTypeDef],  # (1)
    ResponseInspection: NotRequired[ResponseInspectionOutputTypeDef],  # (2)
    EnableRegexInPath: NotRequired[bool],
  1. See RequestInspectionTypeDef
  2. See ResponseInspectionOutputTypeDef

ResponseInspectionTypeDef#

# ResponseInspectionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ResponseInspectionTypeDef


def get_value() -> ResponseInspectionTypeDef:
    return {
        "StatusCode": ...,
    }


# ResponseInspectionTypeDef definition

class ResponseInspectionTypeDef(TypedDict):
    StatusCode: NotRequired[ResponseInspectionStatusCodeUnionTypeDef],  # (1)
    Header: NotRequired[ResponseInspectionHeaderUnionTypeDef],  # (2)
    BodyContains: NotRequired[ResponseInspectionBodyContainsUnionTypeDef],  # (3)
    Json: NotRequired[ResponseInspectionJsonUnionTypeDef],  # (4)
  1. See ResponseInspectionStatusCodeTypeDef ResponseInspectionStatusCodeOutputTypeDef
  2. See ResponseInspectionHeaderTypeDef ResponseInspectionHeaderOutputTypeDef
  3. See ResponseInspectionBodyContainsTypeDef ResponseInspectionBodyContainsOutputTypeDef
  4. See ResponseInspectionJsonTypeDef ResponseInspectionJsonOutputTypeDef

RateBasedStatementOutputTypeDef#

# RateBasedStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateBasedStatementOutputTypeDef


def get_value() -> RateBasedStatementOutputTypeDef:
    return {
        "Limit": ...,
    }


# RateBasedStatementOutputTypeDef definition

class RateBasedStatementOutputTypeDef(TypedDict):
    Limit: int,
    AggregateKeyType: RateBasedStatementAggregateKeyTypeType,  # (1)
    EvaluationWindowSec: NotRequired[int],
    ScopeDownStatement: NotRequired[Dict[str, Any]],
    ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef],  # (2)
    CustomKeys: NotRequired[List[RateBasedStatementCustomKeyOutputTypeDef]],  # (3)
  1. See RateBasedStatementAggregateKeyTypeType
  2. See ForwardedIPConfigTypeDef
  3. See RateBasedStatementCustomKeyOutputTypeDef

RateBasedStatementCustomKeyTypeDef#

# RateBasedStatementCustomKeyTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateBasedStatementCustomKeyTypeDef


def get_value() -> RateBasedStatementCustomKeyTypeDef:
    return {
        "Header": ...,
    }


# RateBasedStatementCustomKeyTypeDef definition

class RateBasedStatementCustomKeyTypeDef(TypedDict):
    Header: NotRequired[RateLimitHeaderUnionTypeDef],  # (1)
    Cookie: NotRequired[RateLimitCookieUnionTypeDef],  # (2)
    QueryArgument: NotRequired[RateLimitQueryArgumentUnionTypeDef],  # (3)
    QueryString: NotRequired[RateLimitQueryStringUnionTypeDef],  # (4)
    HTTPMethod: NotRequired[Mapping[str, Any]],
    ForwardedIP: NotRequired[Mapping[str, Any]],
    IP: NotRequired[Mapping[str, Any]],
    LabelNamespace: NotRequired[RateLimitLabelNamespaceTypeDef],  # (5)
    UriPath: NotRequired[RateLimitUriPathUnionTypeDef],  # (6)
  1. See RateLimitHeaderTypeDef RateLimitHeaderOutputTypeDef
  2. See RateLimitCookieTypeDef RateLimitCookieOutputTypeDef
  3. See RateLimitQueryArgumentTypeDef RateLimitQueryArgumentOutputTypeDef
  4. See RateLimitQueryStringTypeDef RateLimitQueryStringOutputTypeDef
  5. See RateLimitLabelNamespaceTypeDef
  6. See RateLimitUriPathTypeDef RateLimitUriPathOutputTypeDef

LoggingFilterOutputTypeDef#

# LoggingFilterOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LoggingFilterOutputTypeDef


def get_value() -> LoggingFilterOutputTypeDef:
    return {
        "Filters": ...,
    }


# LoggingFilterOutputTypeDef definition

class LoggingFilterOutputTypeDef(TypedDict):
    Filters: List[FilterOutputTypeDef],  # (1)
    DefaultBehavior: FilterBehaviorType,  # (2)
  1. See FilterOutputTypeDef
  2. See FilterBehaviorType

LoggingFilterTypeDef#

# LoggingFilterTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LoggingFilterTypeDef


def get_value() -> LoggingFilterTypeDef:
    return {
        "Filters": ...,
    }


# LoggingFilterTypeDef definition

class LoggingFilterTypeDef(TypedDict):
    Filters: Sequence[FilterTypeDef],  # (1)
    DefaultBehavior: FilterBehaviorType,  # (2)
  1. See FilterTypeDef
  2. See FilterBehaviorType

OverrideActionOutputTypeDef#

# OverrideActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import OverrideActionOutputTypeDef


def get_value() -> OverrideActionOutputTypeDef:
    return {
        "Count": ...,
    }


# OverrideActionOutputTypeDef definition

class OverrideActionOutputTypeDef(TypedDict):
    Count: NotRequired[CountActionOutputTypeDef],  # (1)
    None: NotRequired[Dict[str, Any]],
  1. See CountActionOutputTypeDef

AllowActionTypeDef#

# AllowActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AllowActionTypeDef


def get_value() -> AllowActionTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# AllowActionTypeDef definition

class AllowActionTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef],  # (1)
  1. See CustomRequestHandlingTypeDef CustomRequestHandlingOutputTypeDef

CaptchaActionTypeDef#

# CaptchaActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CaptchaActionTypeDef


def get_value() -> CaptchaActionTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# CaptchaActionTypeDef definition

class CaptchaActionTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef],  # (1)
  1. See CustomRequestHandlingTypeDef CustomRequestHandlingOutputTypeDef

ChallengeActionTypeDef#

# ChallengeActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ChallengeActionTypeDef


def get_value() -> ChallengeActionTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# ChallengeActionTypeDef definition

class ChallengeActionTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef],  # (1)
  1. See CustomRequestHandlingTypeDef CustomRequestHandlingOutputTypeDef

CountActionTypeDef#

# CountActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CountActionTypeDef


def get_value() -> CountActionTypeDef:
    return {
        "CustomRequestHandling": ...,
    }


# CountActionTypeDef definition

class CountActionTypeDef(TypedDict):
    CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef],  # (1)
  1. See CustomRequestHandlingTypeDef CustomRequestHandlingOutputTypeDef

DefaultActionOutputTypeDef#

# DefaultActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DefaultActionOutputTypeDef


def get_value() -> DefaultActionOutputTypeDef:
    return {
        "Block": ...,
    }


# DefaultActionOutputTypeDef definition

class DefaultActionOutputTypeDef(TypedDict):
    Block: NotRequired[BlockActionOutputTypeDef],  # (1)
    Allow: NotRequired[AllowActionOutputTypeDef],  # (2)
  1. See BlockActionOutputTypeDef
  2. See AllowActionOutputTypeDef

RuleActionOutputTypeDef#

# RuleActionOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleActionOutputTypeDef


def get_value() -> RuleActionOutputTypeDef:
    return {
        "Block": ...,
    }


# RuleActionOutputTypeDef definition

class RuleActionOutputTypeDef(TypedDict):
    Block: NotRequired[BlockActionOutputTypeDef],  # (1)
    Allow: NotRequired[AllowActionOutputTypeDef],  # (2)
    Count: NotRequired[CountActionOutputTypeDef],  # (3)
    Captcha: NotRequired[CaptchaActionOutputTypeDef],  # (4)
    Challenge: NotRequired[ChallengeActionOutputTypeDef],  # (5)
  1. See BlockActionOutputTypeDef
  2. See AllowActionOutputTypeDef
  3. See CountActionOutputTypeDef
  4. See CaptchaActionOutputTypeDef
  5. See ChallengeActionOutputTypeDef

BlockActionTypeDef#

# BlockActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import BlockActionTypeDef


def get_value() -> BlockActionTypeDef:
    return {
        "CustomResponse": ...,
    }


# BlockActionTypeDef definition

class BlockActionTypeDef(TypedDict):
    CustomResponse: NotRequired[CustomResponseUnionTypeDef],  # (1)
  1. See CustomResponseTypeDef CustomResponseOutputTypeDef

GetSampledRequestsResponseTypeDef#

# GetSampledRequestsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetSampledRequestsResponseTypeDef


def get_value() -> GetSampledRequestsResponseTypeDef:
    return {
        "SampledRequests": ...,
    }


# GetSampledRequestsResponseTypeDef definition

class GetSampledRequestsResponseTypeDef(TypedDict):
    SampledRequests: List[SampledHTTPRequestTypeDef],  # (1)
    PopulationSize: int,
    TimeWindow: TimeWindowOutputTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SampledHTTPRequestTypeDef
  2. See TimeWindowOutputTypeDef
  3. See ResponseMetadataTypeDef

ByteMatchStatementOutputTypeDef#

# ByteMatchStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ByteMatchStatementOutputTypeDef


def get_value() -> ByteMatchStatementOutputTypeDef:
    return {
        "SearchString": ...,
    }


# ByteMatchStatementOutputTypeDef definition

class ByteMatchStatementOutputTypeDef(TypedDict):
    SearchString: bytes,
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    TextTransformations: List[TextTransformationTypeDef],  # (2)
    PositionalConstraint: PositionalConstraintType,  # (3)
  1. See FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef
  3. See PositionalConstraintType

RegexMatchStatementOutputTypeDef#

# RegexMatchStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexMatchStatementOutputTypeDef


def get_value() -> RegexMatchStatementOutputTypeDef:
    return {
        "RegexString": ...,
    }


# RegexMatchStatementOutputTypeDef definition

class RegexMatchStatementOutputTypeDef(TypedDict):
    RegexString: str,
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    TextTransformations: List[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

RegexPatternSetReferenceStatementOutputTypeDef#

# RegexPatternSetReferenceStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexPatternSetReferenceStatementOutputTypeDef


def get_value() -> RegexPatternSetReferenceStatementOutputTypeDef:
    return {
        "ARN": ...,
    }


# RegexPatternSetReferenceStatementOutputTypeDef definition

class RegexPatternSetReferenceStatementOutputTypeDef(TypedDict):
    ARN: str,
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    TextTransformations: List[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

SizeConstraintStatementOutputTypeDef#

# SizeConstraintStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SizeConstraintStatementOutputTypeDef


def get_value() -> SizeConstraintStatementOutputTypeDef:
    return {
        "FieldToMatch": ...,
    }


# SizeConstraintStatementOutputTypeDef definition

class SizeConstraintStatementOutputTypeDef(TypedDict):
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    ComparisonOperator: ComparisonOperatorType,  # (2)
    Size: int,
    TextTransformations: List[TextTransformationTypeDef],  # (3)
  1. See FieldToMatchOutputTypeDef
  2. See ComparisonOperatorType
  3. See TextTransformationTypeDef

SqliMatchStatementOutputTypeDef#

# SqliMatchStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SqliMatchStatementOutputTypeDef


def get_value() -> SqliMatchStatementOutputTypeDef:
    return {
        "FieldToMatch": ...,
    }


# SqliMatchStatementOutputTypeDef definition

class SqliMatchStatementOutputTypeDef(TypedDict):
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    TextTransformations: List[TextTransformationTypeDef],  # (2)
    SensitivityLevel: NotRequired[SensitivityLevelType],  # (3)
  1. See FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef
  3. See SensitivityLevelType

XssMatchStatementOutputTypeDef#

# XssMatchStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import XssMatchStatementOutputTypeDef


def get_value() -> XssMatchStatementOutputTypeDef:
    return {
        "FieldToMatch": ...,
    }


# XssMatchStatementOutputTypeDef definition

class XssMatchStatementOutputTypeDef(TypedDict):
    FieldToMatch: FieldToMatchOutputTypeDef,  # (1)
    TextTransformations: List[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

ManagedRuleGroupConfigOutputTypeDef#

# ManagedRuleGroupConfigOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupConfigOutputTypeDef


def get_value() -> ManagedRuleGroupConfigOutputTypeDef:
    return {
        "LoginPath": ...,
    }


# ManagedRuleGroupConfigOutputTypeDef definition

class ManagedRuleGroupConfigOutputTypeDef(TypedDict):
    LoginPath: NotRequired[str],
    PayloadType: NotRequired[PayloadTypeType],  # (1)
    UsernameField: NotRequired[UsernameFieldTypeDef],  # (2)
    PasswordField: NotRequired[PasswordFieldTypeDef],  # (3)
    AWSManagedRulesBotControlRuleSet: NotRequired[AWSManagedRulesBotControlRuleSetTypeDef],  # (4)
    AWSManagedRulesATPRuleSet: NotRequired[AWSManagedRulesATPRuleSetOutputTypeDef],  # (5)
    AWSManagedRulesACFPRuleSet: NotRequired[AWSManagedRulesACFPRuleSetOutputTypeDef],  # (6)
  1. See PayloadTypeType
  2. See UsernameFieldTypeDef
  3. See PasswordFieldTypeDef
  4. See AWSManagedRulesBotControlRuleSetTypeDef
  5. See AWSManagedRulesATPRuleSetOutputTypeDef
  6. See AWSManagedRulesACFPRuleSetOutputTypeDef

GetSampledRequestsRequestTypeDef#

# GetSampledRequestsRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetSampledRequestsRequestTypeDef


def get_value() -> GetSampledRequestsRequestTypeDef:
    return {
        "WebAclArn": ...,
    }


# GetSampledRequestsRequestTypeDef definition

class GetSampledRequestsRequestTypeDef(TypedDict):
    WebAclArn: str,
    RuleMetricName: str,
    Scope: ScopeType,  # (1)
    TimeWindow: TimeWindowUnionTypeDef,  # (2)
    MaxItems: int,
  1. See ScopeType
  2. See TimeWindowTypeDef TimeWindowOutputTypeDef

LoggingConfigurationOutputTypeDef#

# LoggingConfigurationOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LoggingConfigurationOutputTypeDef


def get_value() -> LoggingConfigurationOutputTypeDef:
    return {
        "ResourceArn": ...,
    }


# LoggingConfigurationOutputTypeDef definition

class LoggingConfigurationOutputTypeDef(TypedDict):
    ResourceArn: str,
    LogDestinationConfigs: List[str],
    RedactedFields: NotRequired[List[FieldToMatchOutputTypeDef]],  # (1)
    ManagedByFirewallManager: NotRequired[bool],
    LoggingFilter: NotRequired[LoggingFilterOutputTypeDef],  # (2)
    LogType: NotRequired[LogTypeType],  # (3)
    LogScope: NotRequired[LogScopeType],  # (4)
  1. See FieldToMatchOutputTypeDef
  2. See LoggingFilterOutputTypeDef
  3. See LogTypeType
  4. See LogScopeType

RuleActionOverrideOutputTypeDef#

# RuleActionOverrideOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleActionOverrideOutputTypeDef


def get_value() -> RuleActionOverrideOutputTypeDef:
    return {
        "Name": ...,
    }


# RuleActionOverrideOutputTypeDef definition

class RuleActionOverrideOutputTypeDef(TypedDict):
    Name: str,
    ActionToUse: RuleActionOutputTypeDef,  # (1)
  1. See RuleActionOutputTypeDef

RuleSummaryTypeDef#

# RuleSummaryTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleSummaryTypeDef


def get_value() -> RuleSummaryTypeDef:
    return {
        "Name": ...,
    }


# RuleSummaryTypeDef definition

class RuleSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Action: NotRequired[RuleActionOutputTypeDef],  # (1)
  1. See RuleActionOutputTypeDef

DefaultActionTypeDef#

# DefaultActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DefaultActionTypeDef


def get_value() -> DefaultActionTypeDef:
    return {
        "Block": ...,
    }


# DefaultActionTypeDef definition

class DefaultActionTypeDef(TypedDict):
    Block: NotRequired[BlockActionTypeDef],  # (1)
    Allow: NotRequired[AllowActionTypeDef],  # (2)
  1. See BlockActionTypeDef
  2. See AllowActionTypeDef

FieldToMatchTypeDef#

# FieldToMatchTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FieldToMatchTypeDef


def get_value() -> FieldToMatchTypeDef:
    return {
        "SingleHeader": ...,
    }


# FieldToMatchTypeDef definition

class FieldToMatchTypeDef(TypedDict):
    SingleHeader: NotRequired[SingleHeaderTypeDef],  # (1)
    SingleQueryArgument: NotRequired[SingleQueryArgumentTypeDef],  # (2)
    AllQueryArguments: NotRequired[Mapping[str, Any]],
    UriPath: NotRequired[Mapping[str, Any]],
    QueryString: NotRequired[Mapping[str, Any]],
    Body: NotRequired[BodyTypeDef],  # (3)
    Method: NotRequired[Mapping[str, Any]],
    JsonBody: NotRequired[JsonBodyUnionTypeDef],  # (4)
    Headers: NotRequired[HeadersUnionTypeDef],  # (5)
    Cookies: NotRequired[CookiesUnionTypeDef],  # (6)
    HeaderOrder: NotRequired[HeaderOrderTypeDef],  # (7)
    JA3Fingerprint: NotRequired[JA3FingerprintTypeDef],  # (8)
  1. See SingleHeaderTypeDef
  2. See SingleQueryArgumentTypeDef
  3. See BodyTypeDef
  4. See JsonBodyTypeDef JsonBodyOutputTypeDef
  5. See HeadersTypeDef HeadersOutputTypeDef
  6. See CookiesTypeDef CookiesOutputTypeDef
  7. See HeaderOrderTypeDef
  8. See JA3FingerprintTypeDef

AWSManagedRulesACFPRuleSetTypeDef#

# AWSManagedRulesACFPRuleSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesACFPRuleSetTypeDef


def get_value() -> AWSManagedRulesACFPRuleSetTypeDef:
    return {
        "CreationPath": ...,
    }


# AWSManagedRulesACFPRuleSetTypeDef definition

class AWSManagedRulesACFPRuleSetTypeDef(TypedDict):
    CreationPath: str,
    RegistrationPagePath: str,
    RequestInspection: RequestInspectionACFPUnionTypeDef,  # (1)
    ResponseInspection: NotRequired[ResponseInspectionUnionTypeDef],  # (2)
    EnableRegexInPath: NotRequired[bool],
  1. See RequestInspectionACFPTypeDef RequestInspectionACFPOutputTypeDef
  2. See ResponseInspectionTypeDef ResponseInspectionOutputTypeDef

AWSManagedRulesATPRuleSetTypeDef#

# AWSManagedRulesATPRuleSetTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import AWSManagedRulesATPRuleSetTypeDef


def get_value() -> AWSManagedRulesATPRuleSetTypeDef:
    return {
        "LoginPath": ...,
    }


# AWSManagedRulesATPRuleSetTypeDef definition

class AWSManagedRulesATPRuleSetTypeDef(TypedDict):
    LoginPath: str,
    RequestInspection: NotRequired[RequestInspectionTypeDef],  # (1)
    ResponseInspection: NotRequired[ResponseInspectionUnionTypeDef],  # (2)
    EnableRegexInPath: NotRequired[bool],
  1. See RequestInspectionTypeDef
  2. See ResponseInspectionTypeDef ResponseInspectionOutputTypeDef

RateBasedStatementTypeDef#

# RateBasedStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RateBasedStatementTypeDef


def get_value() -> RateBasedStatementTypeDef:
    return {
        "Limit": ...,
    }


# RateBasedStatementTypeDef definition

class RateBasedStatementTypeDef(TypedDict):
    Limit: int,
    AggregateKeyType: RateBasedStatementAggregateKeyTypeType,  # (1)
    EvaluationWindowSec: NotRequired[int],
    ScopeDownStatement: NotRequired[Mapping[str, Any]],
    ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef],  # (2)
    CustomKeys: NotRequired[Sequence[RateBasedStatementCustomKeyUnionTypeDef]],  # (3)
  1. See RateBasedStatementAggregateKeyTypeType
  2. See ForwardedIPConfigTypeDef
  3. See RateBasedStatementCustomKeyTypeDef RateBasedStatementCustomKeyOutputTypeDef

GetLoggingConfigurationResponseTypeDef#

# GetLoggingConfigurationResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetLoggingConfigurationResponseTypeDef


def get_value() -> GetLoggingConfigurationResponseTypeDef:
    return {
        "LoggingConfiguration": ...,
    }


# GetLoggingConfigurationResponseTypeDef definition

class GetLoggingConfigurationResponseTypeDef(TypedDict):
    LoggingConfiguration: LoggingConfigurationOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

ListLoggingConfigurationsResponseTypeDef#

# ListLoggingConfigurationsResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ListLoggingConfigurationsResponseTypeDef


def get_value() -> ListLoggingConfigurationsResponseTypeDef:
    return {
        "LoggingConfigurations": ...,
    }


# ListLoggingConfigurationsResponseTypeDef definition

class ListLoggingConfigurationsResponseTypeDef(TypedDict):
    LoggingConfigurations: List[LoggingConfigurationOutputTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

PutLoggingConfigurationResponseTypeDef#

# PutLoggingConfigurationResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PutLoggingConfigurationResponseTypeDef


def get_value() -> PutLoggingConfigurationResponseTypeDef:
    return {
        "LoggingConfiguration": ...,
    }


# PutLoggingConfigurationResponseTypeDef definition

class PutLoggingConfigurationResponseTypeDef(TypedDict):
    LoggingConfiguration: LoggingConfigurationOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

OverrideActionTypeDef#

# OverrideActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import OverrideActionTypeDef


def get_value() -> OverrideActionTypeDef:
    return {
        "Count": ...,
    }


# OverrideActionTypeDef definition

class OverrideActionTypeDef(TypedDict):
    Count: NotRequired[CountActionUnionTypeDef],  # (1)
    None: NotRequired[Mapping[str, Any]],
  1. See CountActionTypeDef CountActionOutputTypeDef

ManagedRuleGroupStatementOutputTypeDef#

# ManagedRuleGroupStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupStatementOutputTypeDef


def get_value() -> ManagedRuleGroupStatementOutputTypeDef:
    return {
        "VendorName": ...,
    }


# ManagedRuleGroupStatementOutputTypeDef definition

class ManagedRuleGroupStatementOutputTypeDef(TypedDict):
    VendorName: str,
    Name: str,
    Version: NotRequired[str],
    ExcludedRules: NotRequired[List[ExcludedRuleTypeDef]],  # (1)
    ScopeDownStatement: NotRequired[Dict[str, Any]],
    ManagedRuleGroupConfigs: NotRequired[List[ManagedRuleGroupConfigOutputTypeDef]],  # (2)
    RuleActionOverrides: NotRequired[List[RuleActionOverrideOutputTypeDef]],  # (3)
  1. See ExcludedRuleTypeDef
  2. See ManagedRuleGroupConfigOutputTypeDef
  3. See RuleActionOverrideOutputTypeDef

RuleGroupReferenceStatementOutputTypeDef#

# RuleGroupReferenceStatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleGroupReferenceStatementOutputTypeDef


def get_value() -> RuleGroupReferenceStatementOutputTypeDef:
    return {
        "ARN": ...,
    }


# RuleGroupReferenceStatementOutputTypeDef definition

class RuleGroupReferenceStatementOutputTypeDef(TypedDict):
    ARN: str,
    ExcludedRules: NotRequired[List[ExcludedRuleTypeDef]],  # (1)
    RuleActionOverrides: NotRequired[List[RuleActionOverrideOutputTypeDef]],  # (2)
  1. See ExcludedRuleTypeDef
  2. See RuleActionOverrideOutputTypeDef

DescribeManagedRuleGroupResponseTypeDef#

# DescribeManagedRuleGroupResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import DescribeManagedRuleGroupResponseTypeDef


def get_value() -> DescribeManagedRuleGroupResponseTypeDef:
    return {
        "VersionName": ...,
    }


# DescribeManagedRuleGroupResponseTypeDef definition

class DescribeManagedRuleGroupResponseTypeDef(TypedDict):
    VersionName: str,
    SnsTopicArn: str,
    Capacity: int,
    Rules: List[RuleSummaryTypeDef],  # (1)
    LabelNamespace: str,
    AvailableLabels: List[LabelSummaryTypeDef],  # (2)
    ConsumedLabels: List[LabelSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See RuleSummaryTypeDef
  2. See LabelSummaryTypeDef
  3. See LabelSummaryTypeDef
  4. See ResponseMetadataTypeDef

RuleActionTypeDef#

# RuleActionTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleActionTypeDef


def get_value() -> RuleActionTypeDef:
    return {
        "Block": ...,
    }


# RuleActionTypeDef definition

class RuleActionTypeDef(TypedDict):
    Block: NotRequired[BlockActionUnionTypeDef],  # (1)
    Allow: NotRequired[AllowActionUnionTypeDef],  # (2)
    Count: NotRequired[CountActionUnionTypeDef],  # (3)
    Captcha: NotRequired[CaptchaActionUnionTypeDef],  # (4)
    Challenge: NotRequired[ChallengeActionUnionTypeDef],  # (5)
  1. See BlockActionTypeDef BlockActionOutputTypeDef
  2. See AllowActionTypeDef AllowActionOutputTypeDef
  3. See CountActionTypeDef CountActionOutputTypeDef
  4. See CaptchaActionTypeDef CaptchaActionOutputTypeDef
  5. See ChallengeActionTypeDef ChallengeActionOutputTypeDef

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import LoggingConfigurationTypeDef


def get_value() -> LoggingConfigurationTypeDef:
    return {
        "ResourceArn": ...,
    }


# LoggingConfigurationTypeDef definition

class LoggingConfigurationTypeDef(TypedDict):
    ResourceArn: str,
    LogDestinationConfigs: Sequence[str],
    RedactedFields: NotRequired[Sequence[FieldToMatchTypeDef]],  # (1)
    ManagedByFirewallManager: NotRequired[bool],
    LoggingFilter: NotRequired[LoggingFilterTypeDef],  # (2)
    LogType: NotRequired[LogTypeType],  # (3)
    LogScope: NotRequired[LogScopeType],  # (4)
  1. See FieldToMatchTypeDef
  2. See LoggingFilterTypeDef
  3. See LogTypeType
  4. See LogScopeType

FirewallManagerStatementTypeDef#

# FirewallManagerStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FirewallManagerStatementTypeDef


def get_value() -> FirewallManagerStatementTypeDef:
    return {
        "ManagedRuleGroupStatement": ...,
    }


# FirewallManagerStatementTypeDef definition

class FirewallManagerStatementTypeDef(TypedDict):
    ManagedRuleGroupStatement: NotRequired[ManagedRuleGroupStatementOutputTypeDef],  # (1)
    RuleGroupReferenceStatement: NotRequired[RuleGroupReferenceStatementOutputTypeDef],  # (2)
  1. See ManagedRuleGroupStatementOutputTypeDef
  2. See RuleGroupReferenceStatementOutputTypeDef

StatementOutputTypeDef#

# StatementOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import StatementOutputTypeDef


def get_value() -> StatementOutputTypeDef:
    return {
        "ByteMatchStatement": ...,
    }


# StatementOutputTypeDef definition

class StatementOutputTypeDef(TypedDict):
    ByteMatchStatement: NotRequired[ByteMatchStatementOutputTypeDef],  # (1)
    SqliMatchStatement: NotRequired[SqliMatchStatementOutputTypeDef],  # (2)
    XssMatchStatement: NotRequired[XssMatchStatementOutputTypeDef],  # (3)
    SizeConstraintStatement: NotRequired[SizeConstraintStatementOutputTypeDef],  # (4)
    GeoMatchStatement: NotRequired[GeoMatchStatementOutputTypeDef],  # (5)
    RuleGroupReferenceStatement: NotRequired[RuleGroupReferenceStatementOutputTypeDef],  # (6)
    IPSetReferenceStatement: NotRequired[IPSetReferenceStatementTypeDef],  # (7)
    RegexPatternSetReferenceStatement: NotRequired[RegexPatternSetReferenceStatementOutputTypeDef],  # (8)
    RateBasedStatement: NotRequired[RateBasedStatementOutputTypeDef],  # (9)
    AndStatement: NotRequired[AndStatementOutputTypeDef],  # (10)
    OrStatement: NotRequired[OrStatementOutputTypeDef],  # (11)
    NotStatement: NotRequired[NotStatementOutputTypeDef],  # (12)
    ManagedRuleGroupStatement: NotRequired[ManagedRuleGroupStatementOutputTypeDef],  # (13)
    LabelMatchStatement: NotRequired[LabelMatchStatementTypeDef],  # (14)
    RegexMatchStatement: NotRequired[RegexMatchStatementOutputTypeDef],  # (15)
  1. See ByteMatchStatementOutputTypeDef
  2. See SqliMatchStatementOutputTypeDef
  3. See XssMatchStatementOutputTypeDef
  4. See SizeConstraintStatementOutputTypeDef
  5. See GeoMatchStatementOutputTypeDef
  6. See RuleGroupReferenceStatementOutputTypeDef
  7. See IPSetReferenceStatementTypeDef
  8. See RegexPatternSetReferenceStatementOutputTypeDef
  9. See RateBasedStatementOutputTypeDef
  10. See AndStatementOutputTypeDef
  11. See OrStatementOutputTypeDef
  12. See NotStatementOutputTypeDef
  13. See ManagedRuleGroupStatementOutputTypeDef
  14. See LabelMatchStatementTypeDef
  15. See RegexMatchStatementOutputTypeDef

ByteMatchStatementTypeDef#

# ByteMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ByteMatchStatementTypeDef


def get_value() -> ByteMatchStatementTypeDef:
    return {
        "SearchString": ...,
    }


# ByteMatchStatementTypeDef definition

class ByteMatchStatementTypeDef(TypedDict):
    SearchString: BlobTypeDef,
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    TextTransformations: Sequence[TextTransformationTypeDef],  # (2)
    PositionalConstraint: PositionalConstraintType,  # (3)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef
  3. See PositionalConstraintType

RegexMatchStatementTypeDef#

# RegexMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexMatchStatementTypeDef


def get_value() -> RegexMatchStatementTypeDef:
    return {
        "RegexString": ...,
    }


# RegexMatchStatementTypeDef definition

class RegexMatchStatementTypeDef(TypedDict):
    RegexString: str,
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    TextTransformations: Sequence[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

RegexPatternSetReferenceStatementTypeDef#

# RegexPatternSetReferenceStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RegexPatternSetReferenceStatementTypeDef


def get_value() -> RegexPatternSetReferenceStatementTypeDef:
    return {
        "ARN": ...,
    }


# RegexPatternSetReferenceStatementTypeDef definition

class RegexPatternSetReferenceStatementTypeDef(TypedDict):
    ARN: str,
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    TextTransformations: Sequence[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

SizeConstraintStatementTypeDef#

# SizeConstraintStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SizeConstraintStatementTypeDef


def get_value() -> SizeConstraintStatementTypeDef:
    return {
        "FieldToMatch": ...,
    }


# SizeConstraintStatementTypeDef definition

class SizeConstraintStatementTypeDef(TypedDict):
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    ComparisonOperator: ComparisonOperatorType,  # (2)
    Size: int,
    TextTransformations: Sequence[TextTransformationTypeDef],  # (3)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See ComparisonOperatorType
  3. See TextTransformationTypeDef

SqliMatchStatementTypeDef#

# SqliMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import SqliMatchStatementTypeDef


def get_value() -> SqliMatchStatementTypeDef:
    return {
        "FieldToMatch": ...,
    }


# SqliMatchStatementTypeDef definition

class SqliMatchStatementTypeDef(TypedDict):
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    TextTransformations: Sequence[TextTransformationTypeDef],  # (2)
    SensitivityLevel: NotRequired[SensitivityLevelType],  # (3)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef
  3. See SensitivityLevelType

XssMatchStatementTypeDef#

# XssMatchStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import XssMatchStatementTypeDef


def get_value() -> XssMatchStatementTypeDef:
    return {
        "FieldToMatch": ...,
    }


# XssMatchStatementTypeDef definition

class XssMatchStatementTypeDef(TypedDict):
    FieldToMatch: FieldToMatchUnionTypeDef,  # (1)
    TextTransformations: Sequence[TextTransformationTypeDef],  # (2)
  1. See FieldToMatchTypeDef FieldToMatchOutputTypeDef
  2. See TextTransformationTypeDef

ManagedRuleGroupConfigTypeDef#

# ManagedRuleGroupConfigTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupConfigTypeDef


def get_value() -> ManagedRuleGroupConfigTypeDef:
    return {
        "LoginPath": ...,
    }


# ManagedRuleGroupConfigTypeDef definition

class ManagedRuleGroupConfigTypeDef(TypedDict):
    LoginPath: NotRequired[str],
    PayloadType: NotRequired[PayloadTypeType],  # (1)
    UsernameField: NotRequired[UsernameFieldTypeDef],  # (2)
    PasswordField: NotRequired[PasswordFieldTypeDef],  # (3)
    AWSManagedRulesBotControlRuleSet: NotRequired[AWSManagedRulesBotControlRuleSetTypeDef],  # (4)
    AWSManagedRulesATPRuleSet: NotRequired[AWSManagedRulesATPRuleSetUnionTypeDef],  # (5)
    AWSManagedRulesACFPRuleSet: NotRequired[AWSManagedRulesACFPRuleSetUnionTypeDef],  # (6)
  1. See PayloadTypeType
  2. See UsernameFieldTypeDef
  3. See PasswordFieldTypeDef
  4. See AWSManagedRulesBotControlRuleSetTypeDef
  5. See AWSManagedRulesATPRuleSetTypeDef AWSManagedRulesATPRuleSetOutputTypeDef
  6. See AWSManagedRulesACFPRuleSetTypeDef AWSManagedRulesACFPRuleSetOutputTypeDef

FirewallManagerRuleGroupTypeDef#

# FirewallManagerRuleGroupTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import FirewallManagerRuleGroupTypeDef


def get_value() -> FirewallManagerRuleGroupTypeDef:
    return {
        "Name": ...,
    }


# FirewallManagerRuleGroupTypeDef definition

class FirewallManagerRuleGroupTypeDef(TypedDict):
    Name: str,
    Priority: int,
    FirewallManagerStatement: FirewallManagerStatementTypeDef,  # (1)
    OverrideAction: OverrideActionOutputTypeDef,  # (2)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
  1. See FirewallManagerStatementTypeDef
  2. See OverrideActionOutputTypeDef
  3. See VisibilityConfigTypeDef

RuleOutputTypeDef#

# RuleOutputTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleOutputTypeDef


def get_value() -> RuleOutputTypeDef:
    return {
        "Name": ...,
    }


# RuleOutputTypeDef definition

class RuleOutputTypeDef(TypedDict):
    Name: str,
    Priority: int,
    Statement: StatementOutputTypeDef,  # (1)
    VisibilityConfig: VisibilityConfigTypeDef,  # (5)
    Action: NotRequired[RuleActionOutputTypeDef],  # (2)
    OverrideAction: NotRequired[OverrideActionOutputTypeDef],  # (3)
    RuleLabels: NotRequired[List[LabelTypeDef]],  # (4)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (6)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (7)
  1. See StatementOutputTypeDef
  2. See RuleActionOutputTypeDef
  3. See OverrideActionOutputTypeDef
  4. See LabelTypeDef
  5. See VisibilityConfigTypeDef
  6. See CaptchaConfigTypeDef
  7. See ChallengeConfigTypeDef

RuleActionOverrideTypeDef#

# RuleActionOverrideTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleActionOverrideTypeDef


def get_value() -> RuleActionOverrideTypeDef:
    return {
        "Name": ...,
    }


# RuleActionOverrideTypeDef definition

class RuleActionOverrideTypeDef(TypedDict):
    Name: str,
    ActionToUse: RuleActionUnionTypeDef,  # (1)
  1. See RuleActionTypeDef RuleActionOutputTypeDef

PutLoggingConfigurationRequestTypeDef#

# PutLoggingConfigurationRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import PutLoggingConfigurationRequestTypeDef


def get_value() -> PutLoggingConfigurationRequestTypeDef:
    return {
        "LoggingConfiguration": ...,
    }


# PutLoggingConfigurationRequestTypeDef definition

class PutLoggingConfigurationRequestTypeDef(TypedDict):
    LoggingConfiguration: LoggingConfigurationUnionTypeDef,  # (1)
  1. See LoggingConfigurationTypeDef LoggingConfigurationOutputTypeDef

RuleGroupTypeDef#

# RuleGroupTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleGroupTypeDef


def get_value() -> RuleGroupTypeDef:
    return {
        "Name": ...,
    }


# RuleGroupTypeDef definition

class RuleGroupTypeDef(TypedDict):
    Name: str,
    Id: str,
    Capacity: int,
    ARN: str,
    VisibilityConfig: VisibilityConfigTypeDef,  # (2)
    Description: NotRequired[str],
    Rules: NotRequired[List[RuleOutputTypeDef]],  # (1)
    LabelNamespace: NotRequired[str],
    CustomResponseBodies: NotRequired[Dict[str, CustomResponseBodyTypeDef]],  # (3)
    AvailableLabels: NotRequired[List[LabelSummaryTypeDef]],  # (4)
    ConsumedLabels: NotRequired[List[LabelSummaryTypeDef]],  # (4)
  1. See RuleOutputTypeDef
  2. See VisibilityConfigTypeDef
  3. See CustomResponseBodyTypeDef
  4. See LabelSummaryTypeDef
  5. See LabelSummaryTypeDef

WebACLTypeDef#

# WebACLTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import WebACLTypeDef


def get_value() -> WebACLTypeDef:
    return {
        "Name": ...,
    }


# WebACLTypeDef definition

class WebACLTypeDef(TypedDict):
    Name: str,
    Id: str,
    ARN: str,
    DefaultAction: DefaultActionOutputTypeDef,  # (1)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
    Description: NotRequired[str],
    Rules: NotRequired[List[RuleOutputTypeDef]],  # (2)
    DataProtectionConfig: NotRequired[DataProtectionConfigOutputTypeDef],  # (4)
    Capacity: NotRequired[int],
    PreProcessFirewallManagerRuleGroups: NotRequired[List[FirewallManagerRuleGroupTypeDef]],  # (5)
    PostProcessFirewallManagerRuleGroups: NotRequired[List[FirewallManagerRuleGroupTypeDef]],  # (5)
    ManagedByFirewallManager: NotRequired[bool],
    LabelNamespace: NotRequired[str],
    CustomResponseBodies: NotRequired[Dict[str, CustomResponseBodyTypeDef]],  # (7)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (8)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (9)
    TokenDomains: NotRequired[List[str]],
    AssociationConfig: NotRequired[AssociationConfigOutputTypeDef],  # (10)
    RetrofittedByFirewallManager: NotRequired[bool],
  1. See DefaultActionOutputTypeDef
  2. See RuleOutputTypeDef
  3. See VisibilityConfigTypeDef
  4. See DataProtectionConfigOutputTypeDef
  5. See FirewallManagerRuleGroupTypeDef
  6. See FirewallManagerRuleGroupTypeDef
  7. See CustomResponseBodyTypeDef
  8. See CaptchaConfigTypeDef
  9. See ChallengeConfigTypeDef
  10. See AssociationConfigOutputTypeDef

GetRuleGroupResponseTypeDef#

# GetRuleGroupResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetRuleGroupResponseTypeDef


def get_value() -> GetRuleGroupResponseTypeDef:
    return {
        "RuleGroup": ...,
    }


# GetRuleGroupResponseTypeDef definition

class GetRuleGroupResponseTypeDef(TypedDict):
    RuleGroup: RuleGroupTypeDef,  # (1)
    LockToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupTypeDef
  2. See ResponseMetadataTypeDef

GetWebACLForResourceResponseTypeDef#

# GetWebACLForResourceResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetWebACLForResourceResponseTypeDef


def get_value() -> GetWebACLForResourceResponseTypeDef:
    return {
        "WebACL": ...,
    }


# GetWebACLForResourceResponseTypeDef definition

class GetWebACLForResourceResponseTypeDef(TypedDict):
    WebACL: WebACLTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WebACLTypeDef
  2. See ResponseMetadataTypeDef

GetWebACLResponseTypeDef#

# GetWebACLResponseTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import GetWebACLResponseTypeDef


def get_value() -> GetWebACLResponseTypeDef:
    return {
        "WebACL": ...,
    }


# GetWebACLResponseTypeDef definition

class GetWebACLResponseTypeDef(TypedDict):
    WebACL: WebACLTypeDef,  # (1)
    LockToken: str,
    ApplicationIntegrationURL: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WebACLTypeDef
  2. See ResponseMetadataTypeDef

ManagedRuleGroupStatementTypeDef#

# ManagedRuleGroupStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import ManagedRuleGroupStatementTypeDef


def get_value() -> ManagedRuleGroupStatementTypeDef:
    return {
        "VendorName": ...,
    }


# ManagedRuleGroupStatementTypeDef definition

class ManagedRuleGroupStatementTypeDef(TypedDict):
    VendorName: str,
    Name: str,
    Version: NotRequired[str],
    ExcludedRules: NotRequired[Sequence[ExcludedRuleTypeDef]],  # (1)
    ScopeDownStatement: NotRequired[Mapping[str, Any]],
    ManagedRuleGroupConfigs: NotRequired[Sequence[ManagedRuleGroupConfigUnionTypeDef]],  # (2)
    RuleActionOverrides: NotRequired[Sequence[RuleActionOverrideUnionTypeDef]],  # (3)
  1. See ExcludedRuleTypeDef
  2. See ManagedRuleGroupConfigTypeDef ManagedRuleGroupConfigOutputTypeDef
  3. See RuleActionOverrideTypeDef RuleActionOverrideOutputTypeDef

RuleGroupReferenceStatementTypeDef#

# RuleGroupReferenceStatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleGroupReferenceStatementTypeDef


def get_value() -> RuleGroupReferenceStatementTypeDef:
    return {
        "ARN": ...,
    }


# RuleGroupReferenceStatementTypeDef definition

class RuleGroupReferenceStatementTypeDef(TypedDict):
    ARN: str,
    ExcludedRules: NotRequired[Sequence[ExcludedRuleTypeDef]],  # (1)
    RuleActionOverrides: NotRequired[Sequence[RuleActionOverrideUnionTypeDef]],  # (2)
  1. See ExcludedRuleTypeDef
  2. See RuleActionOverrideTypeDef RuleActionOverrideOutputTypeDef

StatementTypeDef#

# StatementTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import StatementTypeDef


def get_value() -> StatementTypeDef:
    return {
        "ByteMatchStatement": ...,
    }


# StatementTypeDef definition

class StatementTypeDef(TypedDict):
    ByteMatchStatement: NotRequired[ByteMatchStatementUnionTypeDef],  # (1)
    SqliMatchStatement: NotRequired[SqliMatchStatementUnionTypeDef],  # (2)
    XssMatchStatement: NotRequired[XssMatchStatementUnionTypeDef],  # (3)
    SizeConstraintStatement: NotRequired[SizeConstraintStatementUnionTypeDef],  # (4)
    GeoMatchStatement: NotRequired[GeoMatchStatementUnionTypeDef],  # (5)
    RuleGroupReferenceStatement: NotRequired[RuleGroupReferenceStatementUnionTypeDef],  # (6)
    IPSetReferenceStatement: NotRequired[IPSetReferenceStatementTypeDef],  # (7)
    RegexPatternSetReferenceStatement: NotRequired[RegexPatternSetReferenceStatementUnionTypeDef],  # (8)
    RateBasedStatement: NotRequired[RateBasedStatementUnionTypeDef],  # (9)
    AndStatement: NotRequired[AndStatementUnionTypeDef],  # (10)
    OrStatement: NotRequired[OrStatementUnionTypeDef],  # (11)
    NotStatement: NotRequired[NotStatementUnionTypeDef],  # (12)
    ManagedRuleGroupStatement: NotRequired[ManagedRuleGroupStatementUnionTypeDef],  # (13)
    LabelMatchStatement: NotRequired[LabelMatchStatementTypeDef],  # (14)
    RegexMatchStatement: NotRequired[RegexMatchStatementUnionTypeDef],  # (15)
  1. See ByteMatchStatementTypeDef ByteMatchStatementOutputTypeDef
  2. See SqliMatchStatementTypeDef SqliMatchStatementOutputTypeDef
  3. See XssMatchStatementTypeDef XssMatchStatementOutputTypeDef
  4. See SizeConstraintStatementTypeDef SizeConstraintStatementOutputTypeDef
  5. See GeoMatchStatementTypeDef GeoMatchStatementOutputTypeDef
  6. See RuleGroupReferenceStatementTypeDef RuleGroupReferenceStatementOutputTypeDef
  7. See IPSetReferenceStatementTypeDef
  8. See RegexPatternSetReferenceStatementTypeDef RegexPatternSetReferenceStatementOutputTypeDef
  9. See RateBasedStatementTypeDef RateBasedStatementOutputTypeDef
  10. See AndStatementTypeDef AndStatementOutputTypeDef
  11. See OrStatementTypeDef OrStatementOutputTypeDef
  12. See NotStatementTypeDef NotStatementOutputTypeDef
  13. See ManagedRuleGroupStatementTypeDef ManagedRuleGroupStatementOutputTypeDef
  14. See LabelMatchStatementTypeDef
  15. See RegexMatchStatementTypeDef RegexMatchStatementOutputTypeDef

RuleTypeDef#

# RuleTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import RuleTypeDef


def get_value() -> RuleTypeDef:
    return {
        "Name": ...,
    }


# RuleTypeDef definition

class RuleTypeDef(TypedDict):
    Name: str,
    Priority: int,
    Statement: StatementUnionTypeDef,  # (1)
    VisibilityConfig: VisibilityConfigTypeDef,  # (5)
    Action: NotRequired[RuleActionUnionTypeDef],  # (2)
    OverrideAction: NotRequired[OverrideActionUnionTypeDef],  # (3)
    RuleLabels: NotRequired[Sequence[LabelTypeDef]],  # (4)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (6)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (7)
  1. See StatementTypeDef StatementOutputTypeDef
  2. See RuleActionTypeDef RuleActionOutputTypeDef
  3. See OverrideActionTypeDef OverrideActionOutputTypeDef
  4. See LabelTypeDef
  5. See VisibilityConfigTypeDef
  6. See CaptchaConfigTypeDef
  7. See ChallengeConfigTypeDef

CheckCapacityRequestTypeDef#

# CheckCapacityRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CheckCapacityRequestTypeDef


def get_value() -> CheckCapacityRequestTypeDef:
    return {
        "Scope": ...,
    }


# CheckCapacityRequestTypeDef definition

class CheckCapacityRequestTypeDef(TypedDict):
    Scope: ScopeType,  # (1)
    Rules: Sequence[RuleUnionTypeDef],  # (2)
  1. See ScopeType
  2. See RuleTypeDef RuleOutputTypeDef

CreateRuleGroupRequestTypeDef#

# CreateRuleGroupRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateRuleGroupRequestTypeDef


def get_value() -> CreateRuleGroupRequestTypeDef:
    return {
        "Name": ...,
    }


# CreateRuleGroupRequestTypeDef definition

class CreateRuleGroupRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Capacity: int,
    VisibilityConfig: VisibilityConfigTypeDef,  # (2)
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleUnionTypeDef]],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (5)
  1. See ScopeType
  2. See VisibilityConfigTypeDef
  3. See RuleTypeDef RuleOutputTypeDef
  4. See TagTypeDef
  5. See CustomResponseBodyTypeDef

CreateWebACLRequestTypeDef#

# CreateWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import CreateWebACLRequestTypeDef


def get_value() -> CreateWebACLRequestTypeDef:
    return {
        "Name": ...,
    }


# CreateWebACLRequestTypeDef definition

class CreateWebACLRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    DefaultAction: DefaultActionUnionTypeDef,  # (2)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleUnionTypeDef]],  # (4)
    DataProtectionConfig: NotRequired[DataProtectionConfigUnionTypeDef],  # (5)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (6)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (7)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (8)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (9)
    TokenDomains: NotRequired[Sequence[str]],
    AssociationConfig: NotRequired[AssociationConfigUnionTypeDef],  # (10)
  1. See ScopeType
  2. See DefaultActionTypeDef DefaultActionOutputTypeDef
  3. See VisibilityConfigTypeDef
  4. See RuleTypeDef RuleOutputTypeDef
  5. See DataProtectionConfigTypeDef DataProtectionConfigOutputTypeDef
  6. See TagTypeDef
  7. See CustomResponseBodyTypeDef
  8. See CaptchaConfigTypeDef
  9. See ChallengeConfigTypeDef
  10. See AssociationConfigTypeDef AssociationConfigOutputTypeDef

UpdateRuleGroupRequestTypeDef#

# UpdateRuleGroupRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateRuleGroupRequestTypeDef


def get_value() -> UpdateRuleGroupRequestTypeDef:
    return {
        "Name": ...,
    }


# UpdateRuleGroupRequestTypeDef definition

class UpdateRuleGroupRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    VisibilityConfig: VisibilityConfigTypeDef,  # (2)
    LockToken: str,
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleUnionTypeDef]],  # (3)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (4)
  1. See ScopeType
  2. See VisibilityConfigTypeDef
  3. See RuleTypeDef RuleOutputTypeDef
  4. See CustomResponseBodyTypeDef

UpdateWebACLRequestTypeDef#

# UpdateWebACLRequestTypeDef TypedDict usage example

from types_boto3_wafv2.type_defs import UpdateWebACLRequestTypeDef


def get_value() -> UpdateWebACLRequestTypeDef:
    return {
        "Name": ...,
    }


# UpdateWebACLRequestTypeDef definition

class UpdateWebACLRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    DefaultAction: DefaultActionUnionTypeDef,  # (2)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
    LockToken: str,
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleUnionTypeDef]],  # (4)
    DataProtectionConfig: NotRequired[DataProtectionConfigUnionTypeDef],  # (5)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (6)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (7)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (8)
    TokenDomains: NotRequired[Sequence[str]],
    AssociationConfig: NotRequired[AssociationConfigUnionTypeDef],  # (9)
  1. See ScopeType
  2. See DefaultActionTypeDef DefaultActionOutputTypeDef
  3. See VisibilityConfigTypeDef
  4. See RuleTypeDef RuleOutputTypeDef
  5. See DataProtectionConfigTypeDef DataProtectionConfigOutputTypeDef
  6. See CustomResponseBodyTypeDef
  7. See CaptchaConfigTypeDef
  8. See ChallengeConfigTypeDef
  9. See AssociationConfigTypeDef AssociationConfigOutputTypeDef