Skip to content

Type definitions#

Index > WAFRegional > Type definitions

Auto-generated documentation for WAFRegional type annotations stubs module mypy-boto3-waf-regional.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ExcludedRuleTypeDef#

# ExcludedRuleTypeDef definition

class ExcludedRuleTypeDef(TypedDict):
    RuleId: str,

WafActionTypeDef#

# WafActionTypeDef definition

class WafActionTypeDef(TypedDict):
    Type: WafActionTypeType,  # (1)
  1. See WafActionTypeType

WafOverrideActionTypeDef#

# WafOverrideActionTypeDef definition

class WafOverrideActionTypeDef(TypedDict):
    Type: WafOverrideActionTypeType,  # (1)
  1. See WafOverrideActionTypeType

AssociateWebACLRequestRequestTypeDef#

# AssociateWebACLRequestRequestTypeDef definition

class AssociateWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    ResourceArn: str,

ByteMatchSetSummaryTypeDef#

# ByteMatchSetSummaryTypeDef definition

class ByteMatchSetSummaryTypeDef(TypedDict):
    ByteMatchSetId: str,
    Name: str,

FieldToMatchTypeDef#

# FieldToMatchTypeDef definition

class FieldToMatchTypeDef(TypedDict):
    Type: MatchFieldTypeType,  # (1)
    Data: NotRequired[str],
  1. See MatchFieldTypeType

CreateByteMatchSetRequestRequestTypeDef#

# CreateByteMatchSetRequestRequestTypeDef definition

class CreateByteMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateGeoMatchSetRequestRequestTypeDef#

# CreateGeoMatchSetRequestRequestTypeDef definition

class CreateGeoMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateIPSetRequestRequestTypeDef#

# CreateIPSetRequestRequestTypeDef definition

class CreateIPSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

TagTypeDef#

# TagTypeDef definition

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

CreateRegexMatchSetRequestRequestTypeDef#

# CreateRegexMatchSetRequestRequestTypeDef definition

class CreateRegexMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateRegexPatternSetRequestRequestTypeDef#

# CreateRegexPatternSetRequestRequestTypeDef definition

class CreateRegexPatternSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,