Skip to content

Typed dictionaries

Index > WAF > Typed dictionaries

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

ExcludedRuleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ExcludedRuleTypeDef

def get_value() -> ExcludedRuleTypeDef:
    return {
        "RuleId": ...,
    }
Definition
class ExcludedRuleTypeDef(TypedDict):
    RuleId: str,

WafActionTypeDef

Usage Example
from mypy_boto3_waf.type_defs import WafActionTypeDef

def get_value() -> WafActionTypeDef:
    return {
        "Type": ...,
    }
Definition
class WafActionTypeDef(TypedDict):
    Type: WafActionTypeType,  # (1)
  1. See WafActionTypeType

WafOverrideActionTypeDef

Usage Example
from mypy_boto3_waf.type_defs import WafOverrideActionTypeDef

def get_value() -> WafOverrideActionTypeDef:
    return {
        "Type": ...,
    }
Definition
class WafOverrideActionTypeDef(TypedDict):
    Type: WafOverrideActionTypeType,  # (1)
  1. See WafOverrideActionTypeType

ByteMatchSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ByteMatchSetSummaryTypeDef

def get_value() -> ByteMatchSetSummaryTypeDef:
    return {
        "ByteMatchSetId": ...,
        "Name": ...,
    }
Definition
class ByteMatchSetSummaryTypeDef(TypedDict):
    ByteMatchSetId: str,
    Name: str,

FieldToMatchTypeDef

Usage Example
from mypy_boto3_waf.type_defs import FieldToMatchTypeDef

def get_value() -> FieldToMatchTypeDef:
    return {
        "Type": ...,
    }
Definition
class FieldToMatchTypeDef(TypedDict):
    Type: MatchFieldTypeType,  # (1)
    Data: NotRequired[str],
  1. See MatchFieldTypeType

CreateByteMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateByteMatchSetRequestRequestTypeDef

def get_value() -> CreateByteMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateByteMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

CreateGeoMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateGeoMatchSetRequestRequestTypeDef

def get_value() -> CreateGeoMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateGeoMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateIPSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateIPSetRequestRequestTypeDef

def get_value() -> CreateIPSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateIPSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

TagTypeDef

Usage Example
from mypy_boto3_waf.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CreateRegexMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRegexMatchSetRequestRequestTypeDef

def get_value() -> CreateRegexMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateRegexMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateRegexPatternSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRegexPatternSetRequestRequestTypeDef

def get_value() -> CreateRegexPatternSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateRegexPatternSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

RegexPatternSetTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RegexPatternSetTypeDef

def get_value() -> RegexPatternSetTypeDef:
    return {
        "RegexPatternSetId": ...,
        "RegexPatternStrings": ...,
    }
Definition
class RegexPatternSetTypeDef(TypedDict):
    RegexPatternSetId: str,
    RegexPatternStrings: List[str],
    Name: NotRequired[str],

RuleGroupTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RuleGroupTypeDef

def get_value() -> RuleGroupTypeDef:
    return {
        "RuleGroupId": ...,
    }
Definition
class RuleGroupTypeDef(TypedDict):
    RuleGroupId: str,
    Name: NotRequired[str],
    MetricName: NotRequired[str],

CreateSizeConstraintSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateSizeConstraintSetRequestRequestTypeDef

def get_value() -> CreateSizeConstraintSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateSizeConstraintSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateSqlInjectionMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> CreateSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

CreateWebACLMigrationStackRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateWebACLMigrationStackRequestRequestTypeDef

def get_value() -> CreateWebACLMigrationStackRequestRequestTypeDef:
    return {
        "WebACLId": ...,
        "S3BucketName": ...,
        "IgnoreUnsupportedType": ...,
    }
Definition
class CreateWebACLMigrationStackRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    S3BucketName: str,
    IgnoreUnsupportedType: bool,

CreateXssMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateXssMatchSetRequestRequestTypeDef

def get_value() -> CreateXssMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
Definition
class CreateXssMatchSetRequestRequestTypeDef(TypedDict):
    Name: str,
    ChangeToken: str,

DeleteByteMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteByteMatchSetRequestRequestTypeDef

def get_value() -> DeleteByteMatchSetRequestRequestTypeDef:
    return {
        "ByteMatchSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,
    ChangeToken: str,

DeleteGeoMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteGeoMatchSetRequestRequestTypeDef

def get_value() -> DeleteGeoMatchSetRequestRequestTypeDef:
    return {
        "GeoMatchSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,
    ChangeToken: str,

DeleteIPSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteIPSetRequestRequestTypeDef

def get_value() -> DeleteIPSetRequestRequestTypeDef:
    return {
        "IPSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,
    ChangeToken: str,

DeleteLoggingConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteLoggingConfigurationRequestRequestTypeDef

def get_value() -> DeleteLoggingConfigurationRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeletePermissionPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeletePermissionPolicyRequestRequestTypeDef

def get_value() -> DeletePermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRateBasedRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRateBasedRuleRequestRequestTypeDef

def get_value() -> DeleteRateBasedRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,

DeleteRegexMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRegexMatchSetRequestRequestTypeDef

def get_value() -> DeleteRegexMatchSetRequestRequestTypeDef:
    return {
        "RegexMatchSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,
    ChangeToken: str,

DeleteRegexPatternSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRegexPatternSetRequestRequestTypeDef

def get_value() -> DeleteRegexPatternSetRequestRequestTypeDef:
    return {
        "RegexPatternSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,
    ChangeToken: str,

DeleteRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRuleGroupRequestRequestTypeDef

def get_value() -> DeleteRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,
    ChangeToken: str,

DeleteRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRuleRequestRequestTypeDef

def get_value() -> DeleteRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,

DeleteSizeConstraintSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteSizeConstraintSetRequestRequestTypeDef

def get_value() -> DeleteSizeConstraintSetRequestRequestTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,
    ChangeToken: str,

DeleteSqlInjectionMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> DeleteSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    ChangeToken: str,

DeleteWebACLRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteWebACLRequestRequestTypeDef

def get_value() -> DeleteWebACLRequestRequestTypeDef:
    return {
        "WebACLId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    ChangeToken: str,

DeleteXssMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteXssMatchSetRequestRequestTypeDef

def get_value() -> DeleteXssMatchSetRequestRequestTypeDef:
    return {
        "XssMatchSetId": ...,
        "ChangeToken": ...,
    }
Definition
class DeleteXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,
    ChangeToken: str,

GeoMatchConstraintTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GeoMatchConstraintTypeDef

def get_value() -> GeoMatchConstraintTypeDef:
    return {
        "Type": ...,
        "Value": ...,
    }
Definition
class GeoMatchConstraintTypeDef(TypedDict):
    Type: GeoMatchConstraintTypeType,  # (1)
    Value: GeoMatchConstraintValueType,  # (2)
  1. See GeoMatchConstraintTypeType
  2. See GeoMatchConstraintValueType

GeoMatchSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GeoMatchSetSummaryTypeDef

def get_value() -> GeoMatchSetSummaryTypeDef:
    return {
        "GeoMatchSetId": ...,
        "Name": ...,
    }
Definition
class GeoMatchSetSummaryTypeDef(TypedDict):
    GeoMatchSetId: str,
    Name: str,

GetByteMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetByteMatchSetRequestRequestTypeDef

def get_value() -> GetByteMatchSetRequestRequestTypeDef:
    return {
        "ByteMatchSetId": ...,
    }
Definition
class GetByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,

GetChangeTokenStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetChangeTokenStatusRequestRequestTypeDef

def get_value() -> GetChangeTokenStatusRequestRequestTypeDef:
    return {
        "ChangeToken": ...,
    }
Definition
class GetChangeTokenStatusRequestRequestTypeDef(TypedDict):
    ChangeToken: str,

GetGeoMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetGeoMatchSetRequestRequestTypeDef

def get_value() -> GetGeoMatchSetRequestRequestTypeDef:
    return {
        "GeoMatchSetId": ...,
    }
Definition
class GetGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,

GetIPSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetIPSetRequestRequestTypeDef

def get_value() -> GetIPSetRequestRequestTypeDef:
    return {
        "IPSetId": ...,
    }
Definition
class GetIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,

GetLoggingConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetLoggingConfigurationRequestRequestTypeDef

def get_value() -> GetLoggingConfigurationRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetPermissionPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetPermissionPolicyRequestRequestTypeDef

def get_value() -> GetPermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_waf.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetRateBasedRuleManagedKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRateBasedRuleManagedKeysRequestRequestTypeDef

def get_value() -> GetRateBasedRuleManagedKeysRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
Definition
class GetRateBasedRuleManagedKeysRequestRequestTypeDef(TypedDict):
    RuleId: str,
    NextMarker: NotRequired[str],

GetRateBasedRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRateBasedRuleRequestRequestTypeDef

def get_value() -> GetRateBasedRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
Definition
class GetRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

GetRegexMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRegexMatchSetRequestRequestTypeDef

def get_value() -> GetRegexMatchSetRequestRequestTypeDef:
    return {
        "RegexMatchSetId": ...,
    }
Definition
class GetRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,

GetRegexPatternSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRegexPatternSetRequestRequestTypeDef

def get_value() -> GetRegexPatternSetRequestRequestTypeDef:
    return {
        "RegexPatternSetId": ...,
    }
Definition
class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,

GetRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRuleGroupRequestRequestTypeDef

def get_value() -> GetRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
    }
Definition
class GetRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,

GetRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRuleRequestRequestTypeDef

def get_value() -> GetRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
Definition
class GetRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

TimeWindowTypeDef

Usage Example
from mypy_boto3_waf.type_defs import TimeWindowTypeDef

def get_value() -> TimeWindowTypeDef:
    return {
        "StartTime": ...,
        "EndTime": ...,
    }
Definition
class TimeWindowTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],

GetSizeConstraintSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetSizeConstraintSetRequestRequestTypeDef

def get_value() -> GetSizeConstraintSetRequestRequestTypeDef:
    return {
        "SizeConstraintSetId": ...,
    }
Definition
class GetSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,

GetSqlInjectionMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> GetSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
    }
Definition
class GetSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,

GetWebACLRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetWebACLRequestRequestTypeDef

def get_value() -> GetWebACLRequestRequestTypeDef:
    return {
        "WebACLId": ...,
    }
Definition
class GetWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,

GetXssMatchSetRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetXssMatchSetRequestRequestTypeDef

def get_value() -> GetXssMatchSetRequestRequestTypeDef:
    return {
        "XssMatchSetId": ...,
    }
Definition
class GetXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,

HTTPHeaderTypeDef

Usage Example
from mypy_boto3_waf.type_defs import HTTPHeaderTypeDef

def get_value() -> HTTPHeaderTypeDef:
    return {
        "Name": ...,
    }
Definition
class HTTPHeaderTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[str],

IPSetDescriptorTypeDef

Usage Example
from mypy_boto3_waf.type_defs import IPSetDescriptorTypeDef

def get_value() -> IPSetDescriptorTypeDef:
    return {
        "Type": ...,
        "Value": ...,
    }
Definition
class IPSetDescriptorTypeDef(TypedDict):
    Type: IPSetDescriptorTypeType,  # (1)
    Value: str,
  1. See IPSetDescriptorTypeType

IPSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import IPSetSummaryTypeDef

def get_value() -> IPSetSummaryTypeDef:
    return {
        "IPSetId": ...,
        "Name": ...,
    }
Definition
class IPSetSummaryTypeDef(TypedDict):
    IPSetId: str,
    Name: str,

ListActivatedRulesInRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListActivatedRulesInRuleGroupRequestRequestTypeDef

def get_value() -> ListActivatedRulesInRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
    }
Definition
class ListActivatedRulesInRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: NotRequired[str],
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListByteMatchSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListByteMatchSetsRequestRequestTypeDef

def get_value() -> ListByteMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListByteMatchSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListGeoMatchSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListGeoMatchSetsRequestRequestTypeDef

def get_value() -> ListGeoMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListGeoMatchSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListIPSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListIPSetsRequestRequestTypeDef

def get_value() -> ListIPSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListIPSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListLoggingConfigurationsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListLoggingConfigurationsRequestRequestTypeDef

def get_value() -> ListLoggingConfigurationsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListLoggingConfigurationsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListRateBasedRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListRateBasedRulesRequestRequestTypeDef

def get_value() -> ListRateBasedRulesRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListRateBasedRulesRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

RuleSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RuleSummaryTypeDef

def get_value() -> RuleSummaryTypeDef:
    return {
        "RuleId": ...,
        "Name": ...,
    }
Definition
class RuleSummaryTypeDef(TypedDict):
    RuleId: str,
    Name: str,

ListRegexMatchSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListRegexMatchSetsRequestRequestTypeDef

def get_value() -> ListRegexMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListRegexMatchSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

RegexMatchSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RegexMatchSetSummaryTypeDef

def get_value() -> RegexMatchSetSummaryTypeDef:
    return {
        "RegexMatchSetId": ...,
        "Name": ...,
    }
Definition
class RegexMatchSetSummaryTypeDef(TypedDict):
    RegexMatchSetId: str,
    Name: str,

ListRegexPatternSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListRegexPatternSetsRequestRequestTypeDef

def get_value() -> ListRegexPatternSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListRegexPatternSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

RegexPatternSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RegexPatternSetSummaryTypeDef

def get_value() -> RegexPatternSetSummaryTypeDef:
    return {
        "RegexPatternSetId": ...,
        "Name": ...,
    }
Definition
class RegexPatternSetSummaryTypeDef(TypedDict):
    RegexPatternSetId: str,
    Name: str,

ListRuleGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListRuleGroupsRequestRequestTypeDef

def get_value() -> ListRuleGroupsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListRuleGroupsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

RuleGroupSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RuleGroupSummaryTypeDef

def get_value() -> RuleGroupSummaryTypeDef:
    return {
        "RuleGroupId": ...,
        "Name": ...,
    }
Definition
class RuleGroupSummaryTypeDef(TypedDict):
    RuleGroupId: str,
    Name: str,

ListRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListRulesRequestRequestTypeDef

def get_value() -> ListRulesRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListRulesRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListSizeConstraintSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListSizeConstraintSetsRequestRequestTypeDef

def get_value() -> ListSizeConstraintSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListSizeConstraintSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

SizeConstraintSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import SizeConstraintSetSummaryTypeDef

def get_value() -> SizeConstraintSetSummaryTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "Name": ...,
    }
Definition
class SizeConstraintSetSummaryTypeDef(TypedDict):
    SizeConstraintSetId: str,
    Name: str,

ListSqlInjectionMatchSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListSqlInjectionMatchSetsRequestRequestTypeDef

def get_value() -> ListSqlInjectionMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListSqlInjectionMatchSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

SqlInjectionMatchSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import SqlInjectionMatchSetSummaryTypeDef

def get_value() -> SqlInjectionMatchSetSummaryTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "Name": ...,
    }
Definition
class SqlInjectionMatchSetSummaryTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    Name: str,

ListSubscribedRuleGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListSubscribedRuleGroupsRequestRequestTypeDef

def get_value() -> ListSubscribedRuleGroupsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListSubscribedRuleGroupsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

SubscribedRuleGroupSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import SubscribedRuleGroupSummaryTypeDef

def get_value() -> SubscribedRuleGroupSummaryTypeDef:
    return {
        "RuleGroupId": ...,
        "Name": ...,
        "MetricName": ...,
    }
Definition
class SubscribedRuleGroupSummaryTypeDef(TypedDict):
    RuleGroupId: str,
    Name: str,
    MetricName: str,

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListWebACLsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListWebACLsRequestRequestTypeDef

def get_value() -> ListWebACLsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListWebACLsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

WebACLSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import WebACLSummaryTypeDef

def get_value() -> WebACLSummaryTypeDef:
    return {
        "WebACLId": ...,
        "Name": ...,
    }
Definition
class WebACLSummaryTypeDef(TypedDict):
    WebACLId: str,
    Name: str,

ListXssMatchSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListXssMatchSetsRequestRequestTypeDef

def get_value() -> ListXssMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
Definition
class ListXssMatchSetsRequestRequestTypeDef(TypedDict):
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

XssMatchSetSummaryTypeDef

Usage Example
from mypy_boto3_waf.type_defs import XssMatchSetSummaryTypeDef

def get_value() -> XssMatchSetSummaryTypeDef:
    return {
        "XssMatchSetId": ...,
        "Name": ...,
    }
Definition
class XssMatchSetSummaryTypeDef(TypedDict):
    XssMatchSetId: str,
    Name: str,

PredicateTypeDef

Usage Example
from mypy_boto3_waf.type_defs import PredicateTypeDef

def get_value() -> PredicateTypeDef:
    return {
        "Negated": ...,
        "Type": ...,
        "DataId": ...,
    }
Definition
class PredicateTypeDef(TypedDict):
    Negated: bool,
    Type: PredicateTypeType,  # (1)
    DataId: str,
  1. See PredicateTypeType

PutPermissionPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import PutPermissionPolicyRequestRequestTypeDef

def get_value() -> PutPermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Policy": ...,
    }
Definition
class PutPermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,

RegexPatternSetUpdateTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RegexPatternSetUpdateTypeDef

def get_value() -> RegexPatternSetUpdateTypeDef:
    return {
        "Action": ...,
        "RegexPatternString": ...,
    }
Definition
class RegexPatternSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    RegexPatternString: str,
  1. See ChangeActionType

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

ActivatedRuleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ActivatedRuleTypeDef

def get_value() -> ActivatedRuleTypeDef:
    return {
        "Priority": ...,
        "RuleId": ...,
    }
Definition
class ActivatedRuleTypeDef(TypedDict):
    Priority: int,
    RuleId: str,
    Action: NotRequired[WafActionTypeDef],  # (1)
    OverrideAction: NotRequired[WafOverrideActionTypeDef],  # (2)
    Type: NotRequired[WafRuleTypeType],  # (3)
    ExcludedRules: NotRequired[List[ExcludedRuleTypeDef]],  # (4)
  1. See WafActionTypeDef
  2. See WafOverrideActionTypeDef
  3. See WafRuleTypeType
  4. See ExcludedRuleTypeDef

ByteMatchTupleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ByteMatchTupleTypeDef

def get_value() -> ByteMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TargetString": ...,
        "TextTransformation": ...,
        "PositionalConstraint": ...,
    }
Definition
class ByteMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TargetString: bytes,
    TextTransformation: TextTransformationType,  # (2)
    PositionalConstraint: PositionalConstraintType,  # (3)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType
  3. See PositionalConstraintType

LoggingConfigurationTypeDef

Usage Example
from mypy_boto3_waf.type_defs import LoggingConfigurationTypeDef

def get_value() -> LoggingConfigurationTypeDef:
    return {
        "ResourceArn": ...,
        "LogDestinationConfigs": ...,
    }
Definition
class LoggingConfigurationTypeDef(TypedDict):
    ResourceArn: str,
    LogDestinationConfigs: List[str],
    RedactedFields: NotRequired[List[FieldToMatchTypeDef]],  # (1)
  1. See FieldToMatchTypeDef

RegexMatchTupleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import RegexMatchTupleTypeDef

def get_value() -> RegexMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
        "RegexPatternSetId": ...,
    }
Definition
class RegexMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
    RegexPatternSetId: str,
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

SizeConstraintTypeDef

Usage Example
from mypy_boto3_waf.type_defs import SizeConstraintTypeDef

def get_value() -> SizeConstraintTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
        "ComparisonOperator": ...,
        "Size": ...,
    }
Definition
class SizeConstraintTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
    ComparisonOperator: ComparisonOperatorType,  # (3)
    Size: int,
  1. See FieldToMatchTypeDef
  2. See TextTransformationType
  3. See ComparisonOperatorType

SqlInjectionMatchTupleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import SqlInjectionMatchTupleTypeDef

def get_value() -> SqlInjectionMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
    }
Definition
class SqlInjectionMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

XssMatchTupleTypeDef

Usage Example
from mypy_boto3_waf.type_defs import XssMatchTupleTypeDef

def get_value() -> XssMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
    }
Definition
class XssMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

CreateWebACLMigrationStackResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateWebACLMigrationStackResponseTypeDef

def get_value() -> CreateWebACLMigrationStackResponseTypeDef:
    return {
        "S3ObjectUrl": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateWebACLMigrationStackResponseTypeDef(TypedDict):
    S3ObjectUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteByteMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteByteMatchSetResponseTypeDef

def get_value() -> DeleteByteMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteByteMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteGeoMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteGeoMatchSetResponseTypeDef

def get_value() -> DeleteGeoMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteGeoMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteIPSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteIPSetResponseTypeDef

def get_value() -> DeleteIPSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteIPSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRateBasedRuleResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRateBasedRuleResponseTypeDef

def get_value() -> DeleteRateBasedRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRateBasedRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRegexMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRegexMatchSetResponseTypeDef

def get_value() -> DeleteRegexMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRegexMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRegexPatternSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRegexPatternSetResponseTypeDef

def get_value() -> DeleteRegexPatternSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRegexPatternSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRuleGroupResponseTypeDef

def get_value() -> DeleteRuleGroupResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRuleGroupResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRuleResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteRuleResponseTypeDef

def get_value() -> DeleteRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteSizeConstraintSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteSizeConstraintSetResponseTypeDef

def get_value() -> DeleteSizeConstraintSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteSizeConstraintSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteSqlInjectionMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteSqlInjectionMatchSetResponseTypeDef

def get_value() -> DeleteSqlInjectionMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteSqlInjectionMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteWebACLResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteWebACLResponseTypeDef

def get_value() -> DeleteWebACLResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteWebACLResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteXssMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import DeleteXssMatchSetResponseTypeDef

def get_value() -> DeleteXssMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteXssMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetChangeTokenResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetChangeTokenResponseTypeDef

def get_value() -> GetChangeTokenResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetChangeTokenResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetChangeTokenStatusResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetChangeTokenStatusResponseTypeDef

def get_value() -> GetChangeTokenStatusResponseTypeDef:
    return {
        "ChangeTokenStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetChangeTokenStatusResponseTypeDef(TypedDict):
    ChangeTokenStatus: ChangeTokenStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChangeTokenStatusType
  2. See ResponseMetadataTypeDef

GetPermissionPolicyResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetPermissionPolicyResponseTypeDef

def get_value() -> GetPermissionPolicyResponseTypeDef:
    return {
        "Policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPermissionPolicyResponseTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetRateBasedRuleManagedKeysResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRateBasedRuleManagedKeysResponseTypeDef

def get_value() -> GetRateBasedRuleManagedKeysResponseTypeDef:
    return {
        "ManagedKeys": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRateBasedRuleManagedKeysResponseTypeDef(TypedDict):
    ManagedKeys: List[str],
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListByteMatchSetsResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import ListByteMatchSetsResponseTypeDef

def get_value() -> ListByteMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "ByteMatchSets": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListByteMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    ByteMatchSets: List[ByteMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByteMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

UpdateByteMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateByteMatchSetResponseTypeDef

def get_value() -> UpdateByteMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateByteMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateGeoMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateGeoMatchSetResponseTypeDef

def get_value() -> UpdateGeoMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateGeoMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateIPSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateIPSetResponseTypeDef

def get_value() -> UpdateIPSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateIPSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRateBasedRuleResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateRateBasedRuleResponseTypeDef

def get_value() -> UpdateRateBasedRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRateBasedRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRegexMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateRegexMatchSetResponseTypeDef

def get_value() -> UpdateRegexMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRegexMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRegexPatternSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateRegexPatternSetResponseTypeDef

def get_value() -> UpdateRegexPatternSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRegexPatternSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateRuleGroupResponseTypeDef

def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRuleGroupResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRuleResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateRuleResponseTypeDef

def get_value() -> UpdateRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSizeConstraintSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateSizeConstraintSetResponseTypeDef

def get_value() -> UpdateSizeConstraintSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSizeConstraintSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSqlInjectionMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateSqlInjectionMatchSetResponseTypeDef

def get_value() -> UpdateSqlInjectionMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSqlInjectionMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateWebACLResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateWebACLResponseTypeDef

def get_value() -> UpdateWebACLResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateWebACLResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateXssMatchSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import UpdateXssMatchSetResponseTypeDef

def get_value() -> UpdateXssMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateXssMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateRateBasedRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRateBasedRuleRequestRequestTypeDef

def get_value() -> CreateRateBasedRuleRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "RateKey": ...,
        "RateLimit": ...,
        "ChangeToken": ...,
    }
Definition
class CreateRateBasedRuleRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    RateKey: RateKeyType,  # (1)
    RateLimit: int,
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See RateKeyType
  2. See TagTypeDef

CreateRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRuleGroupRequestRequestTypeDef

def get_value() -> CreateRuleGroupRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "ChangeToken": ...,
    }
Definition
class CreateRuleGroupRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRuleRequestRequestTypeDef

def get_value() -> CreateRuleRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "ChangeToken": ...,
    }
Definition
class CreateRuleRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateWebACLRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateWebACLRequestRequestTypeDef

def get_value() -> CreateWebACLRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "DefaultAction": ...,
        "ChangeToken": ...,
    }
Definition
class CreateWebACLRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    DefaultAction: WafActionTypeDef,  # (1)
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See WafActionTypeDef
  2. See TagTypeDef

TagInfoForResourceTypeDef

Usage Example
from mypy_boto3_waf.type_defs import TagInfoForResourceTypeDef

def get_value() -> TagInfoForResourceTypeDef:
    return {
        "ResourceARN": ...,
    }
Definition
class TagInfoForResourceTypeDef(TypedDict):
    ResourceARN: NotRequired[str],
    TagList: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_waf.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateRegexPatternSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRegexPatternSetResponseTypeDef

def get_value() -> CreateRegexPatternSetResponseTypeDef:
    return {
        "RegexPatternSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRegexPatternSetResponseTypeDef(TypedDict):
    RegexPatternSet: RegexPatternSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexPatternSetTypeDef
  2. See ResponseMetadataTypeDef

GetRegexPatternSetResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRegexPatternSetResponseTypeDef

def get_value() -> GetRegexPatternSetResponseTypeDef:
    return {
        "RegexPatternSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRegexPatternSetResponseTypeDef(TypedDict):
    RegexPatternSet: RegexPatternSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexPatternSetTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import CreateRuleGroupResponseTypeDef

def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "RuleGroup": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRuleGroupResponseTypeDef(TypedDict):
    RuleGroup: RuleGroupTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupTypeDef
  2. See ResponseMetadataTypeDef

GetRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GetRuleGroupResponseTypeDef

def get_value() -> GetRuleGroupResponseTypeDef:
    return {
        "RuleGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRuleGroupResponseTypeDef(TypedDict):
    RuleGroup: RuleGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupTypeDef
  2. See ResponseMetadataTypeDef

GeoMatchSetTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GeoMatchSetTypeDef

def get_value() -> GeoMatchSetTypeDef:
    return {
        "GeoMatchSetId": ...,
        "GeoMatchConstraints": ...,
    }
Definition
class GeoMatchSetTypeDef(TypedDict):
    GeoMatchSetId: str,
    GeoMatchConstraints: List[GeoMatchConstraintTypeDef],  # (1)
    Name: NotRequired[str],
  1. See GeoMatchConstraintTypeDef

GeoMatchSetUpdateTypeDef

Usage Example
from mypy_boto3_waf.type_defs import GeoMatchSetUpdateTypeDef

def get_value() -> GeoMatchSetUpdateTypeDef: