Skip to content

Typed dictionaries#

Index > WAF > Typed dictionaries

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

ExcludedRuleTypeDef#

# ExcludedRuleTypeDef usage example

from mypy_boto3_waf.type_defs import ExcludedRuleTypeDef

def get_value() -> ExcludedRuleTypeDef:
    return {
        "RuleId": ...,
    }
# ExcludedRuleTypeDef definition

class ExcludedRuleTypeDef(TypedDict):
    RuleId: str,

WafActionTypeDef#

# WafActionTypeDef usage example

from mypy_boto3_waf.type_defs import WafActionTypeDef

def get_value() -> WafActionTypeDef:
    return {
        "Type": ...,
    }
# WafActionTypeDef definition

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

WafOverrideActionTypeDef#

# WafOverrideActionTypeDef usage example

from mypy_boto3_waf.type_defs import WafOverrideActionTypeDef

def get_value() -> WafOverrideActionTypeDef:
    return {
        "Type": ...,
    }
# WafOverrideActionTypeDef definition

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

ByteMatchSetSummaryTypeDef#

# ByteMatchSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import ByteMatchSetSummaryTypeDef

def get_value() -> ByteMatchSetSummaryTypeDef:
    return {
        "ByteMatchSetId": ...,
        "Name": ...,
    }
# ByteMatchSetSummaryTypeDef definition

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

FieldToMatchTypeDef#

# FieldToMatchTypeDef usage example

from mypy_boto3_waf.type_defs import FieldToMatchTypeDef

def get_value() -> FieldToMatchTypeDef:
    return {
        "Type": ...,
    }
# FieldToMatchTypeDef definition

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

CreateByteMatchSetRequestRequestTypeDef#

# CreateByteMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateByteMatchSetRequestRequestTypeDef

def get_value() -> CreateByteMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateByteMatchSetRequestRequestTypeDef definition

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

CreateGeoMatchSetRequestRequestTypeDef#

# CreateGeoMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateGeoMatchSetRequestRequestTypeDef

def get_value() -> CreateGeoMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateGeoMatchSetRequestRequestTypeDef definition

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

CreateIPSetRequestRequestTypeDef#

# CreateIPSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateIPSetRequestRequestTypeDef

def get_value() -> CreateIPSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateIPSetRequestRequestTypeDef definition

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

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_waf.type_defs import TagTypeDef

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

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

CreateRegexMatchSetRequestRequestTypeDef#

# CreateRegexMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRegexMatchSetRequestRequestTypeDef

def get_value() -> CreateRegexMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateRegexMatchSetRequestRequestTypeDef definition

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

CreateRegexPatternSetRequestRequestTypeDef#

# CreateRegexPatternSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRegexPatternSetRequestRequestTypeDef

def get_value() -> CreateRegexPatternSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateRegexPatternSetRequestRequestTypeDef definition

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

RegexPatternSetTypeDef#

# RegexPatternSetTypeDef usage example

from mypy_boto3_waf.type_defs import RegexPatternSetTypeDef

def get_value() -> RegexPatternSetTypeDef:
    return {
        "RegexPatternSetId": ...,
        "RegexPatternStrings": ...,
    }
# RegexPatternSetTypeDef definition

class RegexPatternSetTypeDef(TypedDict):
    RegexPatternSetId: str,
    RegexPatternStrings: List[str],
    Name: NotRequired[str],

RuleGroupTypeDef#

# RuleGroupTypeDef usage example

from mypy_boto3_waf.type_defs import RuleGroupTypeDef

def get_value() -> RuleGroupTypeDef:
    return {
        "RuleGroupId": ...,
    }
# RuleGroupTypeDef definition

class RuleGroupTypeDef(TypedDict):
    RuleGroupId: str,
    Name: NotRequired[str],
    MetricName: NotRequired[str],

CreateSizeConstraintSetRequestRequestTypeDef#

# CreateSizeConstraintSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateSizeConstraintSetRequestRequestTypeDef

def get_value() -> CreateSizeConstraintSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateSizeConstraintSetRequestRequestTypeDef definition

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

CreateSqlInjectionMatchSetRequestRequestTypeDef#

# CreateSqlInjectionMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> CreateSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateSqlInjectionMatchSetRequestRequestTypeDef definition

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

CreateWebACLMigrationStackRequestRequestTypeDef#

# CreateWebACLMigrationStackRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateWebACLMigrationStackRequestRequestTypeDef

def get_value() -> CreateWebACLMigrationStackRequestRequestTypeDef:
    return {
        "WebACLId": ...,
        "S3BucketName": ...,
        "IgnoreUnsupportedType": ...,
    }
# CreateWebACLMigrationStackRequestRequestTypeDef definition

class CreateWebACLMigrationStackRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    S3BucketName: str,
    IgnoreUnsupportedType: bool,

CreateWebACLMigrationStackResponseTypeDef#

# CreateWebACLMigrationStackResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateWebACLMigrationStackResponseTypeDef

def get_value() -> CreateWebACLMigrationStackResponseTypeDef:
    return {
        "S3ObjectUrl": ...,
        "ResponseMetadata": ...,
    }
# CreateWebACLMigrationStackResponseTypeDef definition

class CreateWebACLMigrationStackResponseTypeDef(TypedDict):
    S3ObjectUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateXssMatchSetRequestRequestTypeDef#

# CreateXssMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateXssMatchSetRequestRequestTypeDef

def get_value() -> CreateXssMatchSetRequestRequestTypeDef:
    return {
        "Name": ...,
        "ChangeToken": ...,
    }
# CreateXssMatchSetRequestRequestTypeDef definition

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

DeleteByteMatchSetRequestRequestTypeDef#

# DeleteByteMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteByteMatchSetRequestRequestTypeDef

def get_value() -> DeleteByteMatchSetRequestRequestTypeDef:
    return {
        "ByteMatchSetId": ...,
        "ChangeToken": ...,
    }
# DeleteByteMatchSetRequestRequestTypeDef definition

class DeleteByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,
    ChangeToken: str,

DeleteByteMatchSetResponseTypeDef#

# DeleteByteMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteByteMatchSetResponseTypeDef

def get_value() -> DeleteByteMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteByteMatchSetResponseTypeDef definition

class DeleteByteMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteGeoMatchSetRequestRequestTypeDef#

# DeleteGeoMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteGeoMatchSetRequestRequestTypeDef

def get_value() -> DeleteGeoMatchSetRequestRequestTypeDef:
    return {
        "GeoMatchSetId": ...,
        "ChangeToken": ...,
    }
# DeleteGeoMatchSetRequestRequestTypeDef definition

class DeleteGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,
    ChangeToken: str,

DeleteGeoMatchSetResponseTypeDef#

# DeleteGeoMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteGeoMatchSetResponseTypeDef

def get_value() -> DeleteGeoMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteGeoMatchSetResponseTypeDef definition

class DeleteGeoMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteIPSetRequestRequestTypeDef#

# DeleteIPSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteIPSetRequestRequestTypeDef

def get_value() -> DeleteIPSetRequestRequestTypeDef:
    return {
        "IPSetId": ...,
        "ChangeToken": ...,
    }
# DeleteIPSetRequestRequestTypeDef definition

class DeleteIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,
    ChangeToken: str,

DeleteIPSetResponseTypeDef#

# DeleteIPSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteIPSetResponseTypeDef

def get_value() -> DeleteIPSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteIPSetResponseTypeDef definition

class DeleteIPSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteLoggingConfigurationRequestRequestTypeDef#

# DeleteLoggingConfigurationRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteLoggingConfigurationRequestRequestTypeDef

def get_value() -> DeleteLoggingConfigurationRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# DeleteLoggingConfigurationRequestRequestTypeDef definition

class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeletePermissionPolicyRequestRequestTypeDef#

# DeletePermissionPolicyRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeletePermissionPolicyRequestRequestTypeDef

def get_value() -> DeletePermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# DeletePermissionPolicyRequestRequestTypeDef definition

class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRateBasedRuleRequestRequestTypeDef#

# DeleteRateBasedRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRateBasedRuleRequestRequestTypeDef

def get_value() -> DeleteRateBasedRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
    }
# DeleteRateBasedRuleRequestRequestTypeDef definition

class DeleteRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,

DeleteRateBasedRuleResponseTypeDef#

# DeleteRateBasedRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRateBasedRuleResponseTypeDef

def get_value() -> DeleteRateBasedRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteRateBasedRuleResponseTypeDef definition

class DeleteRateBasedRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRegexMatchSetRequestRequestTypeDef#

# DeleteRegexMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRegexMatchSetRequestRequestTypeDef

def get_value() -> DeleteRegexMatchSetRequestRequestTypeDef:
    return {
        "RegexMatchSetId": ...,
        "ChangeToken": ...,
    }
# DeleteRegexMatchSetRequestRequestTypeDef definition

class DeleteRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,
    ChangeToken: str,

DeleteRegexMatchSetResponseTypeDef#

# DeleteRegexMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRegexMatchSetResponseTypeDef

def get_value() -> DeleteRegexMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteRegexMatchSetResponseTypeDef definition

class DeleteRegexMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRegexPatternSetRequestRequestTypeDef#

# DeleteRegexPatternSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRegexPatternSetRequestRequestTypeDef

def get_value() -> DeleteRegexPatternSetRequestRequestTypeDef:
    return {
        "RegexPatternSetId": ...,
        "ChangeToken": ...,
    }
# DeleteRegexPatternSetRequestRequestTypeDef definition

class DeleteRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,
    ChangeToken: str,

DeleteRegexPatternSetResponseTypeDef#

# DeleteRegexPatternSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRegexPatternSetResponseTypeDef

def get_value() -> DeleteRegexPatternSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteRegexPatternSetResponseTypeDef definition

class DeleteRegexPatternSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRuleGroupRequestRequestTypeDef#

# DeleteRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRuleGroupRequestRequestTypeDef

def get_value() -> DeleteRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
        "ChangeToken": ...,
    }
# DeleteRuleGroupRequestRequestTypeDef definition

class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,
    ChangeToken: str,

DeleteRuleGroupResponseTypeDef#

# DeleteRuleGroupResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRuleGroupResponseTypeDef

def get_value() -> DeleteRuleGroupResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteRuleGroupResponseTypeDef definition

class DeleteRuleGroupResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRuleRequestRequestTypeDef#

# DeleteRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRuleRequestRequestTypeDef

def get_value() -> DeleteRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
    }
# DeleteRuleRequestRequestTypeDef definition

class DeleteRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,

DeleteRuleResponseTypeDef#

# DeleteRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteRuleResponseTypeDef

def get_value() -> DeleteRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteRuleResponseTypeDef definition

class DeleteRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteSizeConstraintSetRequestRequestTypeDef#

# DeleteSizeConstraintSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteSizeConstraintSetRequestRequestTypeDef

def get_value() -> DeleteSizeConstraintSetRequestRequestTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "ChangeToken": ...,
    }
# DeleteSizeConstraintSetRequestRequestTypeDef definition

class DeleteSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,
    ChangeToken: str,

DeleteSizeConstraintSetResponseTypeDef#

# DeleteSizeConstraintSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteSizeConstraintSetResponseTypeDef

def get_value() -> DeleteSizeConstraintSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteSizeConstraintSetResponseTypeDef definition

class DeleteSizeConstraintSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteSqlInjectionMatchSetRequestRequestTypeDef#

# DeleteSqlInjectionMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> DeleteSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "ChangeToken": ...,
    }
# DeleteSqlInjectionMatchSetRequestRequestTypeDef definition

class DeleteSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    ChangeToken: str,

DeleteSqlInjectionMatchSetResponseTypeDef#

# DeleteSqlInjectionMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteSqlInjectionMatchSetResponseTypeDef

def get_value() -> DeleteSqlInjectionMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteSqlInjectionMatchSetResponseTypeDef definition

class DeleteSqlInjectionMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteWebACLRequestRequestTypeDef#

# DeleteWebACLRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteWebACLRequestRequestTypeDef

def get_value() -> DeleteWebACLRequestRequestTypeDef:
    return {
        "WebACLId": ...,
        "ChangeToken": ...,
    }
# DeleteWebACLRequestRequestTypeDef definition

class DeleteWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    ChangeToken: str,

DeleteWebACLResponseTypeDef#

# DeleteWebACLResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteWebACLResponseTypeDef

def get_value() -> DeleteWebACLResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteWebACLResponseTypeDef definition

class DeleteWebACLResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteXssMatchSetRequestRequestTypeDef#

# DeleteXssMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteXssMatchSetRequestRequestTypeDef

def get_value() -> DeleteXssMatchSetRequestRequestTypeDef:
    return {
        "XssMatchSetId": ...,
        "ChangeToken": ...,
    }
# DeleteXssMatchSetRequestRequestTypeDef definition

class DeleteXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,
    ChangeToken: str,

DeleteXssMatchSetResponseTypeDef#

# DeleteXssMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import DeleteXssMatchSetResponseTypeDef

def get_value() -> DeleteXssMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# DeleteXssMatchSetResponseTypeDef definition

class DeleteXssMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GeoMatchConstraintTypeDef#

# GeoMatchConstraintTypeDef usage example

from mypy_boto3_waf.type_defs import GeoMatchConstraintTypeDef

def get_value() -> GeoMatchConstraintTypeDef:
    return {
        "Type": ...,
        "Value": ...,
    }
# GeoMatchConstraintTypeDef definition

class GeoMatchConstraintTypeDef(TypedDict):
    Type: GeoMatchConstraintTypeType,  # (1)
    Value: GeoMatchConstraintValueType,  # (2)
  1. See GeoMatchConstraintTypeType
  2. See GeoMatchConstraintValueType

GeoMatchSetSummaryTypeDef#

# GeoMatchSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import GeoMatchSetSummaryTypeDef

def get_value() -> GeoMatchSetSummaryTypeDef:
    return {
        "GeoMatchSetId": ...,
        "Name": ...,
    }
# GeoMatchSetSummaryTypeDef definition

class GeoMatchSetSummaryTypeDef(TypedDict):
    GeoMatchSetId: str,
    Name: str,

GetByteMatchSetRequestRequestTypeDef#

# GetByteMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetByteMatchSetRequestRequestTypeDef

def get_value() -> GetByteMatchSetRequestRequestTypeDef:
    return {
        "ByteMatchSetId": ...,
    }
# GetByteMatchSetRequestRequestTypeDef definition

class GetByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,

GetChangeTokenResponseTypeDef#

# GetChangeTokenResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetChangeTokenResponseTypeDef

def get_value() -> GetChangeTokenResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# GetChangeTokenResponseTypeDef definition

class GetChangeTokenResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetChangeTokenStatusRequestRequestTypeDef#

# GetChangeTokenStatusRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetChangeTokenStatusRequestRequestTypeDef

def get_value() -> GetChangeTokenStatusRequestRequestTypeDef:
    return {
        "ChangeToken": ...,
    }
# GetChangeTokenStatusRequestRequestTypeDef definition

class GetChangeTokenStatusRequestRequestTypeDef(TypedDict):
    ChangeToken: str,

GetChangeTokenStatusResponseTypeDef#

# GetChangeTokenStatusResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetChangeTokenStatusResponseTypeDef

def get_value() -> GetChangeTokenStatusResponseTypeDef:
    return {
        "ChangeTokenStatus": ...,
        "ResponseMetadata": ...,
    }
# GetChangeTokenStatusResponseTypeDef definition

class GetChangeTokenStatusResponseTypeDef(TypedDict):
    ChangeTokenStatus: ChangeTokenStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChangeTokenStatusType
  2. See ResponseMetadataTypeDef

GetGeoMatchSetRequestRequestTypeDef#

# GetGeoMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetGeoMatchSetRequestRequestTypeDef

def get_value() -> GetGeoMatchSetRequestRequestTypeDef:
    return {
        "GeoMatchSetId": ...,
    }
# GetGeoMatchSetRequestRequestTypeDef definition

class GetGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,

GetIPSetRequestRequestTypeDef#

# GetIPSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetIPSetRequestRequestTypeDef

def get_value() -> GetIPSetRequestRequestTypeDef:
    return {
        "IPSetId": ...,
    }
# GetIPSetRequestRequestTypeDef definition

class GetIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,

GetLoggingConfigurationRequestRequestTypeDef#

# GetLoggingConfigurationRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetLoggingConfigurationRequestRequestTypeDef

def get_value() -> GetLoggingConfigurationRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# GetLoggingConfigurationRequestRequestTypeDef definition

class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetPermissionPolicyRequestRequestTypeDef#

# GetPermissionPolicyRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetPermissionPolicyRequestRequestTypeDef

def get_value() -> GetPermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# GetPermissionPolicyRequestRequestTypeDef definition

class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetPermissionPolicyResponseTypeDef#

# GetPermissionPolicyResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetPermissionPolicyResponseTypeDef

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

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

GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef#

# GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef

def get_value() -> GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef:
    return {
        "RuleId": ...,
    }
# GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef definition

class GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef(TypedDict):
    RuleId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetRateBasedRuleManagedKeysRequestRequestTypeDef#

# GetRateBasedRuleManagedKeysRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRateBasedRuleManagedKeysRequestRequestTypeDef

def get_value() -> GetRateBasedRuleManagedKeysRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
# GetRateBasedRuleManagedKeysRequestRequestTypeDef definition

class GetRateBasedRuleManagedKeysRequestRequestTypeDef(TypedDict):
    RuleId: str,
    NextMarker: NotRequired[str],

GetRateBasedRuleManagedKeysResponseTypeDef#

# GetRateBasedRuleManagedKeysResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRateBasedRuleManagedKeysResponseTypeDef

def get_value() -> GetRateBasedRuleManagedKeysResponseTypeDef:
    return {
        "ManagedKeys": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# GetRateBasedRuleManagedKeysResponseTypeDef definition

class GetRateBasedRuleManagedKeysResponseTypeDef(TypedDict):
    ManagedKeys: List[str],
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetRateBasedRuleRequestRequestTypeDef#

# GetRateBasedRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRateBasedRuleRequestRequestTypeDef

def get_value() -> GetRateBasedRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
# GetRateBasedRuleRequestRequestTypeDef definition

class GetRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

GetRegexMatchSetRequestRequestTypeDef#

# GetRegexMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRegexMatchSetRequestRequestTypeDef

def get_value() -> GetRegexMatchSetRequestRequestTypeDef:
    return {
        "RegexMatchSetId": ...,
    }
# GetRegexMatchSetRequestRequestTypeDef definition

class GetRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,

GetRegexPatternSetRequestRequestTypeDef#

# GetRegexPatternSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRegexPatternSetRequestRequestTypeDef

def get_value() -> GetRegexPatternSetRequestRequestTypeDef:
    return {
        "RegexPatternSetId": ...,
    }
# GetRegexPatternSetRequestRequestTypeDef definition

class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,

GetRuleGroupRequestRequestTypeDef#

# GetRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRuleGroupRequestRequestTypeDef

def get_value() -> GetRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
    }
# GetRuleGroupRequestRequestTypeDef definition

class GetRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,

GetRuleRequestRequestTypeDef#

# GetRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetRuleRequestRequestTypeDef

def get_value() -> GetRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
    }
# GetRuleRequestRequestTypeDef definition

class GetRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

TimeWindowTypeDef#

# TimeWindowTypeDef usage example

from mypy_boto3_waf.type_defs import TimeWindowTypeDef

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

class TimeWindowTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],

GetSizeConstraintSetRequestRequestTypeDef#

# GetSizeConstraintSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetSizeConstraintSetRequestRequestTypeDef

def get_value() -> GetSizeConstraintSetRequestRequestTypeDef:
    return {
        "SizeConstraintSetId": ...,
    }
# GetSizeConstraintSetRequestRequestTypeDef definition

class GetSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,

GetSqlInjectionMatchSetRequestRequestTypeDef#

# GetSqlInjectionMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> GetSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
    }
# GetSqlInjectionMatchSetRequestRequestTypeDef definition

class GetSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,

GetWebACLRequestRequestTypeDef#

# GetWebACLRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetWebACLRequestRequestTypeDef

def get_value() -> GetWebACLRequestRequestTypeDef:
    return {
        "WebACLId": ...,
    }
# GetWebACLRequestRequestTypeDef definition

class GetWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,

GetXssMatchSetRequestRequestTypeDef#

# GetXssMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetXssMatchSetRequestRequestTypeDef

def get_value() -> GetXssMatchSetRequestRequestTypeDef:
    return {
        "XssMatchSetId": ...,
    }
# GetXssMatchSetRequestRequestTypeDef definition

class GetXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,

HTTPHeaderTypeDef#

# HTTPHeaderTypeDef usage example

from mypy_boto3_waf.type_defs import HTTPHeaderTypeDef

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

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

IPSetDescriptorTypeDef#

# IPSetDescriptorTypeDef usage example

from mypy_boto3_waf.type_defs import IPSetDescriptorTypeDef

def get_value() -> IPSetDescriptorTypeDef:
    return {
        "Type": ...,
        "Value": ...,
    }
# IPSetDescriptorTypeDef definition

class IPSetDescriptorTypeDef(TypedDict):
    Type: IPSetDescriptorTypeType,  # (1)
    Value: str,
  1. See IPSetDescriptorTypeType

IPSetSummaryTypeDef#

# IPSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import IPSetSummaryTypeDef

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

class IPSetSummaryTypeDef(TypedDict):
    IPSetId: str,
    Name: str,

ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef#

# ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef

def get_value() -> ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef:
    return {
        "RuleGroupId": ...,
    }
# ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef definition

class ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef(TypedDict):
    RuleGroupId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListActivatedRulesInRuleGroupRequestRequestTypeDef#

# ListActivatedRulesInRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListActivatedRulesInRuleGroupRequestRequestTypeDef

def get_value() -> ListActivatedRulesInRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
    }
# ListActivatedRulesInRuleGroupRequestRequestTypeDef definition

class ListActivatedRulesInRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: NotRequired[str],
    NextMarker: NotRequired[str],
    Limit: NotRequired[int],

ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef#

# ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef

def get_value() -> ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef definition

class ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListByteMatchSetsRequestRequestTypeDef#

# ListByteMatchSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListByteMatchSetsRequestRequestTypeDef

def get_value() -> ListByteMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListByteMatchSetsRequestRequestTypeDef definition

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

ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef#

# ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef

def get_value() -> ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef definition

class ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListGeoMatchSetsRequestRequestTypeDef#

# ListGeoMatchSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListGeoMatchSetsRequestRequestTypeDef

def get_value() -> ListGeoMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListGeoMatchSetsRequestRequestTypeDef definition

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

ListIPSetsRequestListIPSetsPaginateTypeDef#

# ListIPSetsRequestListIPSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListIPSetsRequestListIPSetsPaginateTypeDef

def get_value() -> ListIPSetsRequestListIPSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListIPSetsRequestListIPSetsPaginateTypeDef definition

class ListIPSetsRequestListIPSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListIPSetsRequestRequestTypeDef#

# ListIPSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListIPSetsRequestRequestTypeDef

def get_value() -> ListIPSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListIPSetsRequestRequestTypeDef definition

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

ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef#

# ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef

def get_value() -> ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef definition

class ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListLoggingConfigurationsRequestRequestTypeDef#

# ListLoggingConfigurationsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListLoggingConfigurationsRequestRequestTypeDef

def get_value() -> ListLoggingConfigurationsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListLoggingConfigurationsRequestRequestTypeDef definition

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

ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef#

# ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef

def get_value() -> ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef definition

class ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRateBasedRulesRequestRequestTypeDef#

# ListRateBasedRulesRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListRateBasedRulesRequestRequestTypeDef

def get_value() -> ListRateBasedRulesRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListRateBasedRulesRequestRequestTypeDef definition

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

RuleSummaryTypeDef#

# RuleSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import RuleSummaryTypeDef

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

class RuleSummaryTypeDef(TypedDict):
    RuleId: str,
    Name: str,

ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef#

# ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef

def get_value() -> ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef definition

class ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRegexMatchSetsRequestRequestTypeDef#

# ListRegexMatchSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexMatchSetsRequestRequestTypeDef

def get_value() -> ListRegexMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListRegexMatchSetsRequestRequestTypeDef definition

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

RegexMatchSetSummaryTypeDef#

# RegexMatchSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import RegexMatchSetSummaryTypeDef

def get_value() -> RegexMatchSetSummaryTypeDef:
    return {
        "RegexMatchSetId": ...,
        "Name": ...,
    }
# RegexMatchSetSummaryTypeDef definition

class RegexMatchSetSummaryTypeDef(TypedDict):
    RegexMatchSetId: str,
    Name: str,

ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef#

# ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef

def get_value() -> ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef definition

class ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRegexPatternSetsRequestRequestTypeDef#

# ListRegexPatternSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexPatternSetsRequestRequestTypeDef

def get_value() -> ListRegexPatternSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListRegexPatternSetsRequestRequestTypeDef definition

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

RegexPatternSetSummaryTypeDef#

# RegexPatternSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import RegexPatternSetSummaryTypeDef

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

class RegexPatternSetSummaryTypeDef(TypedDict):
    RegexPatternSetId: str,
    Name: str,

ListRuleGroupsRequestListRuleGroupsPaginateTypeDef#

# ListRuleGroupsRequestListRuleGroupsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListRuleGroupsRequestListRuleGroupsPaginateTypeDef

def get_value() -> ListRuleGroupsRequestListRuleGroupsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRuleGroupsRequestListRuleGroupsPaginateTypeDef definition

class ListRuleGroupsRequestListRuleGroupsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRuleGroupsRequestRequestTypeDef#

# ListRuleGroupsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListRuleGroupsRequestRequestTypeDef

def get_value() -> ListRuleGroupsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListRuleGroupsRequestRequestTypeDef definition

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

RuleGroupSummaryTypeDef#

# RuleGroupSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import RuleGroupSummaryTypeDef

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

class RuleGroupSummaryTypeDef(TypedDict):
    RuleGroupId: str,
    Name: str,

ListRulesRequestListRulesPaginateTypeDef#

# ListRulesRequestListRulesPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListRulesRequestListRulesPaginateTypeDef

def get_value() -> ListRulesRequestListRulesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRulesRequestListRulesPaginateTypeDef definition

class ListRulesRequestListRulesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRulesRequestRequestTypeDef#

# ListRulesRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListRulesRequestRequestTypeDef

def get_value() -> ListRulesRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListRulesRequestRequestTypeDef definition

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

ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef#

# ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef

def get_value() -> ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef definition

class ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSizeConstraintSetsRequestRequestTypeDef#

# ListSizeConstraintSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListSizeConstraintSetsRequestRequestTypeDef

def get_value() -> ListSizeConstraintSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListSizeConstraintSetsRequestRequestTypeDef definition

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

SizeConstraintSetSummaryTypeDef#

# SizeConstraintSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import SizeConstraintSetSummaryTypeDef

def get_value() -> SizeConstraintSetSummaryTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "Name": ...,
    }
# SizeConstraintSetSummaryTypeDef definition

class SizeConstraintSetSummaryTypeDef(TypedDict):
    SizeConstraintSetId: str,
    Name: str,

ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef#

# ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef

def get_value() -> ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef definition

class ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSqlInjectionMatchSetsRequestRequestTypeDef#

# ListSqlInjectionMatchSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListSqlInjectionMatchSetsRequestRequestTypeDef

def get_value() -> ListSqlInjectionMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListSqlInjectionMatchSetsRequestRequestTypeDef definition

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

SqlInjectionMatchSetSummaryTypeDef#

# SqlInjectionMatchSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import SqlInjectionMatchSetSummaryTypeDef

def get_value() -> SqlInjectionMatchSetSummaryTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "Name": ...,
    }
# SqlInjectionMatchSetSummaryTypeDef definition

class SqlInjectionMatchSetSummaryTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    Name: str,

ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef#

# ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef

def get_value() -> ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef definition

class ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSubscribedRuleGroupsRequestRequestTypeDef#

# ListSubscribedRuleGroupsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListSubscribedRuleGroupsRequestRequestTypeDef

def get_value() -> ListSubscribedRuleGroupsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListSubscribedRuleGroupsRequestRequestTypeDef definition

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

SubscribedRuleGroupSummaryTypeDef#

# SubscribedRuleGroupSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import SubscribedRuleGroupSummaryTypeDef

def get_value() -> SubscribedRuleGroupSummaryTypeDef:
    return {
        "RuleGroupId": ...,
        "Name": ...,
        "MetricName": ...,
    }
# SubscribedRuleGroupSummaryTypeDef definition

class SubscribedRuleGroupSummaryTypeDef(TypedDict):
    RuleGroupId: str,
    Name: str,
    MetricName: str,

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

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

ListWebACLsRequestListWebACLsPaginateTypeDef#

# ListWebACLsRequestListWebACLsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListWebACLsRequestListWebACLsPaginateTypeDef

def get_value() -> ListWebACLsRequestListWebACLsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListWebACLsRequestListWebACLsPaginateTypeDef definition

class ListWebACLsRequestListWebACLsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListWebACLsRequestRequestTypeDef#

# ListWebACLsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListWebACLsRequestRequestTypeDef

def get_value() -> ListWebACLsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListWebACLsRequestRequestTypeDef definition

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

WebACLSummaryTypeDef#

# WebACLSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import WebACLSummaryTypeDef

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

class WebACLSummaryTypeDef(TypedDict):
    WebACLId: str,
    Name: str,

ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef#

# ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef usage example

from mypy_boto3_waf.type_defs import ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef

def get_value() -> ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef definition

class ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListXssMatchSetsRequestRequestTypeDef#

# ListXssMatchSetsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import ListXssMatchSetsRequestRequestTypeDef

def get_value() -> ListXssMatchSetsRequestRequestTypeDef:
    return {
        "NextMarker": ...,
    }
# ListXssMatchSetsRequestRequestTypeDef definition

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

XssMatchSetSummaryTypeDef#

# XssMatchSetSummaryTypeDef usage example

from mypy_boto3_waf.type_defs import XssMatchSetSummaryTypeDef

def get_value() -> XssMatchSetSummaryTypeDef:
    return {
        "XssMatchSetId": ...,
        "Name": ...,
    }
# XssMatchSetSummaryTypeDef definition

class XssMatchSetSummaryTypeDef(TypedDict):
    XssMatchSetId: str,
    Name: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_waf.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

PredicateTypeDef#

# PredicateTypeDef usage example

from mypy_boto3_waf.type_defs import PredicateTypeDef

def get_value() -> PredicateTypeDef:
    return {
        "Negated": ...,
        "Type": ...,
        "DataId": ...,
    }
# PredicateTypeDef definition

class PredicateTypeDef(TypedDict):
    Negated: bool,
    Type: PredicateTypeType,  # (1)
    DataId: str,
  1. See PredicateTypeType

PutPermissionPolicyRequestRequestTypeDef#

# PutPermissionPolicyRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import PutPermissionPolicyRequestRequestTypeDef

def get_value() -> PutPermissionPolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Policy": ...,
    }
# PutPermissionPolicyRequestRequestTypeDef definition

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

RegexPatternSetUpdateTypeDef#

# RegexPatternSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import RegexPatternSetUpdateTypeDef

def get_value() -> RegexPatternSetUpdateTypeDef:
    return {
        "Action": ...,
        "RegexPatternString": ...,
    }
# RegexPatternSetUpdateTypeDef definition

class RegexPatternSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    RegexPatternString: str,
  1. See ChangeActionType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_waf.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "TagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

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

UpdateByteMatchSetResponseTypeDef#

# UpdateByteMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateByteMatchSetResponseTypeDef

def get_value() -> UpdateByteMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateByteMatchSetResponseTypeDef definition

class UpdateByteMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateGeoMatchSetResponseTypeDef#

# UpdateGeoMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateGeoMatchSetResponseTypeDef

def get_value() -> UpdateGeoMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateGeoMatchSetResponseTypeDef definition

class UpdateGeoMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateIPSetResponseTypeDef#

# UpdateIPSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateIPSetResponseTypeDef

def get_value() -> UpdateIPSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateIPSetResponseTypeDef definition

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

UpdateRateBasedRuleResponseTypeDef#

# UpdateRateBasedRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRateBasedRuleResponseTypeDef

def get_value() -> UpdateRateBasedRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateRateBasedRuleResponseTypeDef definition

class UpdateRateBasedRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRegexMatchSetResponseTypeDef#

# UpdateRegexMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRegexMatchSetResponseTypeDef

def get_value() -> UpdateRegexMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateRegexMatchSetResponseTypeDef definition

class UpdateRegexMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRegexPatternSetResponseTypeDef#

# UpdateRegexPatternSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRegexPatternSetResponseTypeDef

def get_value() -> UpdateRegexPatternSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateRegexPatternSetResponseTypeDef definition

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

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRuleGroupResponseTypeDef

def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateRuleGroupResponseTypeDef definition

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

UpdateRuleResponseTypeDef#

# UpdateRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRuleResponseTypeDef

def get_value() -> UpdateRuleResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateRuleResponseTypeDef definition

class UpdateRuleResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSizeConstraintSetResponseTypeDef#

# UpdateSizeConstraintSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateSizeConstraintSetResponseTypeDef

def get_value() -> UpdateSizeConstraintSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateSizeConstraintSetResponseTypeDef definition

class UpdateSizeConstraintSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSqlInjectionMatchSetResponseTypeDef#

# UpdateSqlInjectionMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateSqlInjectionMatchSetResponseTypeDef

def get_value() -> UpdateSqlInjectionMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateSqlInjectionMatchSetResponseTypeDef definition

class UpdateSqlInjectionMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateWebACLResponseTypeDef#

# UpdateWebACLResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateWebACLResponseTypeDef

def get_value() -> UpdateWebACLResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateWebACLResponseTypeDef definition

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

UpdateXssMatchSetResponseTypeDef#

# UpdateXssMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateXssMatchSetResponseTypeDef

def get_value() -> UpdateXssMatchSetResponseTypeDef:
    return {
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateXssMatchSetResponseTypeDef definition

class UpdateXssMatchSetResponseTypeDef(TypedDict):
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ActivatedRuleTypeDef#

# ActivatedRuleTypeDef usage example

from mypy_boto3_waf.type_defs import ActivatedRuleTypeDef

def get_value() -> ActivatedRuleTypeDef:
    return {
        "Priority": ...,
        "RuleId": ...,
    }
# ActivatedRuleTypeDef 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

ListByteMatchSetsResponseTypeDef#

# ListByteMatchSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListByteMatchSetsResponseTypeDef

def get_value() -> ListByteMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "ByteMatchSets": ...,
        "ResponseMetadata": ...,
    }
# ListByteMatchSetsResponseTypeDef definition

class ListByteMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    ByteMatchSets: List[ByteMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByteMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ByteMatchTupleTypeDef#

# ByteMatchTupleTypeDef usage example

from mypy_boto3_waf.type_defs import ByteMatchTupleTypeDef

def get_value() -> ByteMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TargetString": ...,
        "TextTransformation": ...,
        "PositionalConstraint": ...,
    }
# ByteMatchTupleTypeDef 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#

# LoggingConfigurationTypeDef usage example

from mypy_boto3_waf.type_defs import LoggingConfigurationTypeDef

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

class LoggingConfigurationTypeDef(TypedDict):
    ResourceArn: str,
    LogDestinationConfigs: List[str],
    RedactedFields: NotRequired[List[FieldToMatchTypeDef]],  # (1)
  1. See FieldToMatchTypeDef

RegexMatchTupleTypeDef#

# RegexMatchTupleTypeDef usage example

from mypy_boto3_waf.type_defs import RegexMatchTupleTypeDef

def get_value() -> RegexMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
        "RegexPatternSetId": ...,
    }
# RegexMatchTupleTypeDef definition

class RegexMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
    RegexPatternSetId: str,
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

SizeConstraintTypeDef#

# SizeConstraintTypeDef usage example

from mypy_boto3_waf.type_defs import SizeConstraintTypeDef

def get_value() -> SizeConstraintTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
        "ComparisonOperator": ...,
        "Size": ...,
    }
# SizeConstraintTypeDef 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#

# SqlInjectionMatchTupleTypeDef usage example

from mypy_boto3_waf.type_defs import SqlInjectionMatchTupleTypeDef

def get_value() -> SqlInjectionMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
    }
# SqlInjectionMatchTupleTypeDef definition

class SqlInjectionMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

XssMatchTupleTypeDef#

# XssMatchTupleTypeDef usage example

from mypy_boto3_waf.type_defs import XssMatchTupleTypeDef

def get_value() -> XssMatchTupleTypeDef:
    return {
        "FieldToMatch": ...,
        "TextTransformation": ...,
    }
# XssMatchTupleTypeDef definition

class XssMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TextTransformation: TextTransformationType,  # (2)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType

CreateRateBasedRuleRequestRequestTypeDef#

# CreateRateBasedRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRateBasedRuleRequestRequestTypeDef

def get_value() -> CreateRateBasedRuleRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "RateKey": ...,
        "RateLimit": ...,
        "ChangeToken": ...,
    }
# CreateRateBasedRuleRequestRequestTypeDef 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#

# CreateRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRuleGroupRequestRequestTypeDef

def get_value() -> CreateRuleGroupRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "ChangeToken": ...,
    }
# CreateRuleGroupRequestRequestTypeDef definition

class CreateRuleGroupRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateRuleRequestRequestTypeDef#

# CreateRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRuleRequestRequestTypeDef

def get_value() -> CreateRuleRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "ChangeToken": ...,
    }
# CreateRuleRequestRequestTypeDef definition

class CreateRuleRequestRequestTypeDef(TypedDict):
    Name: str,
    MetricName: str,
    ChangeToken: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateWebACLRequestRequestTypeDef#

# CreateWebACLRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import CreateWebACLRequestRequestTypeDef

def get_value() -> CreateWebACLRequestRequestTypeDef:
    return {
        "Name": ...,
        "MetricName": ...,
        "DefaultAction": ...,
        "ChangeToken": ...,
    }
# CreateWebACLRequestRequestTypeDef 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#

# TagInfoForResourceTypeDef usage example

from mypy_boto3_waf.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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "Tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

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

CreateRegexPatternSetResponseTypeDef#

# CreateRegexPatternSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRegexPatternSetResponseTypeDef

def get_value() -> CreateRegexPatternSetResponseTypeDef:
    return {
        "RegexPatternSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateRegexPatternSetResponseTypeDef definition

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

GetRegexPatternSetResponseTypeDef#

# GetRegexPatternSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRegexPatternSetResponseTypeDef

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

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

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRuleGroupResponseTypeDef

def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "RuleGroup": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateRuleGroupResponseTypeDef definition

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

GetRuleGroupResponseTypeDef#

# GetRuleGroupResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRuleGroupResponseTypeDef

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

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

GeoMatchSetTypeDef#

# GeoMatchSetTypeDef usage example

from mypy_boto3_waf.type_defs import GeoMatchSetTypeDef

def get_value() -> GeoMatchSetTypeDef:
    return {
        "GeoMatchSetId": ...,
        "GeoMatchConstraints": ...,
    }
# GeoMatchSetTypeDef definition

class GeoMatchSetTypeDef(TypedDict):
    GeoMatchSetId: str,
    GeoMatchConstraints: List[GeoMatchConstraintTypeDef],  # (1)
    Name: NotRequired[str],
  1. See GeoMatchConstraintTypeDef

GeoMatchSetUpdateTypeDef#

# GeoMatchSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import GeoMatchSetUpdateTypeDef

def get_value() -> GeoMatchSetUpdateTypeDef:
    return {
        "Action": ...,
        "GeoMatchConstraint": ...,
    }
# GeoMatchSetUpdateTypeDef definition

class GeoMatchSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    GeoMatchConstraint: GeoMatchConstraintTypeDef,  # (2)
  1. See ChangeActionType
  2. See GeoMatchConstraintTypeDef

ListGeoMatchSetsResponseTypeDef#

# ListGeoMatchSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListGeoMatchSetsResponseTypeDef

def get_value() -> ListGeoMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "GeoMatchSets": ...,
        "ResponseMetadata": ...,
    }
# ListGeoMatchSetsResponseTypeDef definition

class ListGeoMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    GeoMatchSets: List[GeoMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GeoMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetSampledRequestsRequestRequestTypeDef#

# GetSampledRequestsRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import GetSampledRequestsRequestRequestTypeDef

def get_value() -> GetSampledRequestsRequestRequestTypeDef:
    return {
        "WebAclId": ...,
        "RuleId": ...,
        "TimeWindow": ...,
        "MaxItems": ...,
    }
# GetSampledRequestsRequestRequestTypeDef definition

class GetSampledRequestsRequestRequestTypeDef(TypedDict):
    WebAclId: str,
    RuleId: str,
    TimeWindow: TimeWindowTypeDef,  # (1)
    MaxItems: int,
  1. See TimeWindowTypeDef

HTTPRequestTypeDef#

# HTTPRequestTypeDef usage example

from mypy_boto3_waf.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

IPSetTypeDef#

# IPSetTypeDef usage example

from mypy_boto3_waf.type_defs import IPSetTypeDef

def get_value() -> IPSetTypeDef:
    return {
        "IPSetId": ...,
        "IPSetDescriptors": ...,
    }
# IPSetTypeDef definition

class IPSetTypeDef(TypedDict):
    IPSetId: str,
    IPSetDescriptors: List[IPSetDescriptorTypeDef],  # (1)
    Name: NotRequired[str],
  1. See IPSetDescriptorTypeDef

IPSetUpdateTypeDef#

# IPSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import IPSetUpdateTypeDef

def get_value() -> IPSetUpdateTypeDef:
    return {
        "Action": ...,
        "IPSetDescriptor": ...,
    }
# IPSetUpdateTypeDef definition

class IPSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    IPSetDescriptor: IPSetDescriptorTypeDef,  # (2)
  1. See ChangeActionType
  2. See IPSetDescriptorTypeDef

ListIPSetsResponseTypeDef#

# ListIPSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListIPSetsResponseTypeDef

def get_value() -> ListIPSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "IPSets": ...,
        "ResponseMetadata": ...,
    }
# ListIPSetsResponseTypeDef definition

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

ListRateBasedRulesResponseTypeDef#

# ListRateBasedRulesResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListRateBasedRulesResponseTypeDef

def get_value() -> ListRateBasedRulesResponseTypeDef:
    return {
        "NextMarker": ...,
        "Rules": ...,
        "ResponseMetadata": ...,
    }
# ListRateBasedRulesResponseTypeDef definition

class ListRateBasedRulesResponseTypeDef(TypedDict):
    NextMarker: str,
    Rules: List[RuleSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRulesResponseTypeDef#

# ListRulesResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListRulesResponseTypeDef

def get_value() -> ListRulesResponseTypeDef:
    return {
        "NextMarker": ...,
        "Rules": ...,
        "ResponseMetadata": ...,
    }
# ListRulesResponseTypeDef definition

class ListRulesResponseTypeDef(TypedDict):
    NextMarker: str,
    Rules: List[RuleSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRegexMatchSetsResponseTypeDef#

# ListRegexMatchSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexMatchSetsResponseTypeDef

def get_value() -> ListRegexMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "RegexMatchSets": ...,
        "ResponseMetadata": ...,
    }
# ListRegexMatchSetsResponseTypeDef definition

class ListRegexMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    RegexMatchSets: List[RegexMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRegexPatternSetsResponseTypeDef#

# ListRegexPatternSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListRegexPatternSetsResponseTypeDef

def get_value() -> ListRegexPatternSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "RegexPatternSets": ...,
        "ResponseMetadata": ...,
    }
# ListRegexPatternSetsResponseTypeDef definition

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

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListRuleGroupsResponseTypeDef

def get_value() -> ListRuleGroupsResponseTypeDef:
    return {
        "NextMarker": ...,
        "RuleGroups": ...,
        "ResponseMetadata": ...,
    }
# ListRuleGroupsResponseTypeDef definition

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

ListSizeConstraintSetsResponseTypeDef#

# ListSizeConstraintSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListSizeConstraintSetsResponseTypeDef

def get_value() -> ListSizeConstraintSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "SizeConstraintSets": ...,
        "ResponseMetadata": ...,
    }
# ListSizeConstraintSetsResponseTypeDef definition

class ListSizeConstraintSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    SizeConstraintSets: List[SizeConstraintSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SizeConstraintSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSqlInjectionMatchSetsResponseTypeDef#

# ListSqlInjectionMatchSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListSqlInjectionMatchSetsResponseTypeDef

def get_value() -> ListSqlInjectionMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "SqlInjectionMatchSets": ...,
        "ResponseMetadata": ...,
    }
# ListSqlInjectionMatchSetsResponseTypeDef definition

class ListSqlInjectionMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    SqlInjectionMatchSets: List[SqlInjectionMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SqlInjectionMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSubscribedRuleGroupsResponseTypeDef#

# ListSubscribedRuleGroupsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListSubscribedRuleGroupsResponseTypeDef

def get_value() -> ListSubscribedRuleGroupsResponseTypeDef:
    return {
        "NextMarker": ...,
        "RuleGroups": ...,
        "ResponseMetadata": ...,
    }
# ListSubscribedRuleGroupsResponseTypeDef definition

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

ListWebACLsResponseTypeDef#

# ListWebACLsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListWebACLsResponseTypeDef

def get_value() -> ListWebACLsResponseTypeDef:
    return {
        "NextMarker": ...,
        "WebACLs": ...,
        "ResponseMetadata": ...,
    }
# ListWebACLsResponseTypeDef definition

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

ListXssMatchSetsResponseTypeDef#

# ListXssMatchSetsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListXssMatchSetsResponseTypeDef

def get_value() -> ListXssMatchSetsResponseTypeDef:
    return {
        "NextMarker": ...,
        "XssMatchSets": ...,
        "ResponseMetadata": ...,
    }
# ListXssMatchSetsResponseTypeDef definition

class ListXssMatchSetsResponseTypeDef(TypedDict):
    NextMarker: str,
    XssMatchSets: List[XssMatchSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See XssMatchSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

RateBasedRuleTypeDef#

# RateBasedRuleTypeDef usage example

from mypy_boto3_waf.type_defs import RateBasedRuleTypeDef

def get_value() -> RateBasedRuleTypeDef:
    return {
        "RuleId": ...,
        "MatchPredicates": ...,
        "RateKey": ...,
        "RateLimit": ...,
    }
# RateBasedRuleTypeDef definition

class RateBasedRuleTypeDef(TypedDict):
    RuleId: str,
    MatchPredicates: List[PredicateTypeDef],  # (1)
    RateKey: RateKeyType,  # (2)
    RateLimit: int,
    Name: NotRequired[str],
    MetricName: NotRequired[str],
  1. See PredicateTypeDef
  2. See RateKeyType

RuleTypeDef#

# RuleTypeDef usage example

from mypy_boto3_waf.type_defs import RuleTypeDef

def get_value() -> RuleTypeDef:
    return {
        "RuleId": ...,
        "Predicates": ...,
    }
# RuleTypeDef definition

class RuleTypeDef(TypedDict):
    RuleId: str,
    Predicates: List[PredicateTypeDef],  # (1)
    Name: NotRequired[str],
    MetricName: NotRequired[str],
  1. See PredicateTypeDef

RuleUpdateTypeDef#

# RuleUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import RuleUpdateTypeDef

def get_value() -> RuleUpdateTypeDef:
    return {
        "Action": ...,
        "Predicate": ...,
    }
# RuleUpdateTypeDef definition

class RuleUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    Predicate: PredicateTypeDef,  # (2)
  1. See ChangeActionType
  2. See PredicateTypeDef

UpdateRegexPatternSetRequestRequestTypeDef#

# UpdateRegexPatternSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRegexPatternSetRequestRequestTypeDef

def get_value() -> UpdateRegexPatternSetRequestRequestTypeDef:
    return {
        "RegexPatternSetId": ...,
        "Updates": ...,
        "ChangeToken": ...,
    }
# UpdateRegexPatternSetRequestRequestTypeDef definition

class UpdateRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,
    Updates: Sequence[RegexPatternSetUpdateTypeDef],  # (1)
    ChangeToken: str,
  1. See RegexPatternSetUpdateTypeDef

ListActivatedRulesInRuleGroupResponseTypeDef#

# ListActivatedRulesInRuleGroupResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListActivatedRulesInRuleGroupResponseTypeDef

def get_value() -> ListActivatedRulesInRuleGroupResponseTypeDef:
    return {
        "NextMarker": ...,
        "ActivatedRules": ...,
        "ResponseMetadata": ...,
    }
# ListActivatedRulesInRuleGroupResponseTypeDef definition

class ListActivatedRulesInRuleGroupResponseTypeDef(TypedDict):
    NextMarker: str,
    ActivatedRules: List[ActivatedRuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivatedRuleTypeDef
  2. See ResponseMetadataTypeDef

RuleGroupUpdateTypeDef#

# RuleGroupUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import RuleGroupUpdateTypeDef

def get_value() -> RuleGroupUpdateTypeDef:
    return {
        "Action": ...,
        "ActivatedRule": ...,
    }
# RuleGroupUpdateTypeDef definition

class RuleGroupUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    ActivatedRule: ActivatedRuleTypeDef,  # (2)
  1. See ChangeActionType
  2. See ActivatedRuleTypeDef

WebACLTypeDef#

# WebACLTypeDef usage example

from mypy_boto3_waf.type_defs import WebACLTypeDef

def get_value() -> WebACLTypeDef:
    return {
        "WebACLId": ...,
        "DefaultAction": ...,
        "Rules": ...,
    }
# WebACLTypeDef definition

class WebACLTypeDef(TypedDict):
    WebACLId: str,
    DefaultAction: WafActionTypeDef,  # (1)
    Rules: List[ActivatedRuleTypeDef],  # (2)
    Name: NotRequired[str],
    MetricName: NotRequired[str],
    WebACLArn: NotRequired[str],
  1. See WafActionTypeDef
  2. See ActivatedRuleTypeDef

WebACLUpdateTypeDef#

# WebACLUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import WebACLUpdateTypeDef

def get_value() -> WebACLUpdateTypeDef:
    return {
        "Action": ...,
        "ActivatedRule": ...,
    }
# WebACLUpdateTypeDef definition

class WebACLUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    ActivatedRule: ActivatedRuleTypeDef,  # (2)
  1. See ChangeActionType
  2. See ActivatedRuleTypeDef

ByteMatchSetTypeDef#

# ByteMatchSetTypeDef usage example

from mypy_boto3_waf.type_defs import ByteMatchSetTypeDef

def get_value() -> ByteMatchSetTypeDef:
    return {
        "ByteMatchSetId": ...,
        "ByteMatchTuples": ...,
    }
# ByteMatchSetTypeDef definition

class ByteMatchSetTypeDef(TypedDict):
    ByteMatchSetId: str,
    ByteMatchTuples: List[ByteMatchTupleTypeDef],  # (1)
    Name: NotRequired[str],
  1. See ByteMatchTupleTypeDef

ByteMatchSetUpdateTypeDef#

# ByteMatchSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import ByteMatchSetUpdateTypeDef

def get_value() -> ByteMatchSetUpdateTypeDef:
    return {
        "Action": ...,
        "ByteMatchTuple": ...,
    }
# ByteMatchSetUpdateTypeDef definition

class ByteMatchSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    ByteMatchTuple: ByteMatchTupleTypeDef,  # (2)
  1. See ChangeActionType
  2. See ByteMatchTupleTypeDef

GetLoggingConfigurationResponseTypeDef#

# GetLoggingConfigurationResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetLoggingConfigurationResponseTypeDef

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

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

ListLoggingConfigurationsResponseTypeDef#

# ListLoggingConfigurationsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListLoggingConfigurationsResponseTypeDef

def get_value() -> ListLoggingConfigurationsResponseTypeDef:
    return {
        "LoggingConfigurations": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# ListLoggingConfigurationsResponseTypeDef definition

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

PutLoggingConfigurationRequestRequestTypeDef#

# PutLoggingConfigurationRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import PutLoggingConfigurationRequestRequestTypeDef

def get_value() -> PutLoggingConfigurationRequestRequestTypeDef:
    return {
        "LoggingConfiguration": ...,
    }
# PutLoggingConfigurationRequestRequestTypeDef definition

class PutLoggingConfigurationRequestRequestTypeDef(TypedDict):
    LoggingConfiguration: LoggingConfigurationTypeDef,  # (1)
  1. See LoggingConfigurationTypeDef

PutLoggingConfigurationResponseTypeDef#

# PutLoggingConfigurationResponseTypeDef usage example

from mypy_boto3_waf.type_defs import PutLoggingConfigurationResponseTypeDef

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

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

RegexMatchSetTypeDef#

# RegexMatchSetTypeDef usage example

from mypy_boto3_waf.type_defs import RegexMatchSetTypeDef

def get_value() -> RegexMatchSetTypeDef:
    return {
        "RegexMatchSetId": ...,
    }
# RegexMatchSetTypeDef definition

class RegexMatchSetTypeDef(TypedDict):
    RegexMatchSetId: NotRequired[str],
    Name: NotRequired[str],
    RegexMatchTuples: NotRequired[List[RegexMatchTupleTypeDef]],  # (1)
  1. See RegexMatchTupleTypeDef

RegexMatchSetUpdateTypeDef#

# RegexMatchSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import RegexMatchSetUpdateTypeDef

def get_value() -> RegexMatchSetUpdateTypeDef:
    return {
        "Action": ...,
        "RegexMatchTuple": ...,
    }
# RegexMatchSetUpdateTypeDef definition

class RegexMatchSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    RegexMatchTuple: RegexMatchTupleTypeDef,  # (2)
  1. See ChangeActionType
  2. See RegexMatchTupleTypeDef

SizeConstraintSetTypeDef#

# SizeConstraintSetTypeDef usage example

from mypy_boto3_waf.type_defs import SizeConstraintSetTypeDef

def get_value() -> SizeConstraintSetTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "SizeConstraints": ...,
    }
# SizeConstraintSetTypeDef definition

class SizeConstraintSetTypeDef(TypedDict):
    SizeConstraintSetId: str,
    SizeConstraints: List[SizeConstraintTypeDef],  # (1)
    Name: NotRequired[str],
  1. See SizeConstraintTypeDef

SizeConstraintSetUpdateTypeDef#

# SizeConstraintSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import SizeConstraintSetUpdateTypeDef

def get_value() -> SizeConstraintSetUpdateTypeDef:
    return {
        "Action": ...,
        "SizeConstraint": ...,
    }
# SizeConstraintSetUpdateTypeDef definition

class SizeConstraintSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    SizeConstraint: SizeConstraintTypeDef,  # (2)
  1. See ChangeActionType
  2. See SizeConstraintTypeDef

SqlInjectionMatchSetTypeDef#

# SqlInjectionMatchSetTypeDef usage example

from mypy_boto3_waf.type_defs import SqlInjectionMatchSetTypeDef

def get_value() -> SqlInjectionMatchSetTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "SqlInjectionMatchTuples": ...,
    }
# SqlInjectionMatchSetTypeDef definition

class SqlInjectionMatchSetTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    SqlInjectionMatchTuples: List[SqlInjectionMatchTupleTypeDef],  # (1)
    Name: NotRequired[str],
  1. See SqlInjectionMatchTupleTypeDef

SqlInjectionMatchSetUpdateTypeDef#

# SqlInjectionMatchSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import SqlInjectionMatchSetUpdateTypeDef

def get_value() -> SqlInjectionMatchSetUpdateTypeDef:
    return {
        "Action": ...,
        "SqlInjectionMatchTuple": ...,
    }
# SqlInjectionMatchSetUpdateTypeDef definition

class SqlInjectionMatchSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    SqlInjectionMatchTuple: SqlInjectionMatchTupleTypeDef,  # (2)
  1. See ChangeActionType
  2. See SqlInjectionMatchTupleTypeDef

XssMatchSetTypeDef#

# XssMatchSetTypeDef usage example

from mypy_boto3_waf.type_defs import XssMatchSetTypeDef

def get_value() -> XssMatchSetTypeDef:
    return {
        "XssMatchSetId": ...,
        "XssMatchTuples": ...,
    }
# XssMatchSetTypeDef definition

class XssMatchSetTypeDef(TypedDict):
    XssMatchSetId: str,
    XssMatchTuples: List[XssMatchTupleTypeDef],  # (1)
    Name: NotRequired[str],
  1. See XssMatchTupleTypeDef

XssMatchSetUpdateTypeDef#

# XssMatchSetUpdateTypeDef usage example

from mypy_boto3_waf.type_defs import XssMatchSetUpdateTypeDef

def get_value() -> XssMatchSetUpdateTypeDef:
    return {
        "Action": ...,
        "XssMatchTuple": ...,
    }
# XssMatchSetUpdateTypeDef definition

class XssMatchSetUpdateTypeDef(TypedDict):
    Action: ChangeActionType,  # (1)
    XssMatchTuple: XssMatchTupleTypeDef,  # (2)
  1. See ChangeActionType
  2. See XssMatchTupleTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_waf.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "NextMarker": ...,
        "TagInfoForResource": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

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

CreateGeoMatchSetResponseTypeDef#

# CreateGeoMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateGeoMatchSetResponseTypeDef

def get_value() -> CreateGeoMatchSetResponseTypeDef:
    return {
        "GeoMatchSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateGeoMatchSetResponseTypeDef definition

class CreateGeoMatchSetResponseTypeDef(TypedDict):
    GeoMatchSet: GeoMatchSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GeoMatchSetTypeDef
  2. See ResponseMetadataTypeDef

GetGeoMatchSetResponseTypeDef#

# GetGeoMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetGeoMatchSetResponseTypeDef

def get_value() -> GetGeoMatchSetResponseTypeDef:
    return {
        "GeoMatchSet": ...,
        "ResponseMetadata": ...,
    }
# GetGeoMatchSetResponseTypeDef definition

class GetGeoMatchSetResponseTypeDef(TypedDict):
    GeoMatchSet: GeoMatchSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GeoMatchSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateGeoMatchSetRequestRequestTypeDef#

# UpdateGeoMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateGeoMatchSetRequestRequestTypeDef

def get_value() -> UpdateGeoMatchSetRequestRequestTypeDef:
    return {
        "GeoMatchSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateGeoMatchSetRequestRequestTypeDef definition

class UpdateGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,
    ChangeToken: str,
    Updates: Sequence[GeoMatchSetUpdateTypeDef],  # (1)
  1. See GeoMatchSetUpdateTypeDef

SampledHTTPRequestTypeDef#

# SampledHTTPRequestTypeDef usage example

from mypy_boto3_waf.type_defs import SampledHTTPRequestTypeDef

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

class SampledHTTPRequestTypeDef(TypedDict):
    Request: HTTPRequestTypeDef,  # (1)
    Weight: int,
    Timestamp: NotRequired[datetime],
    Action: NotRequired[str],
    RuleWithinRuleGroup: NotRequired[str],
  1. See HTTPRequestTypeDef

CreateIPSetResponseTypeDef#

# CreateIPSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateIPSetResponseTypeDef

def get_value() -> CreateIPSetResponseTypeDef:
    return {
        "IPSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateIPSetResponseTypeDef definition

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

GetIPSetResponseTypeDef#

# GetIPSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetIPSetResponseTypeDef

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

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

UpdateIPSetRequestRequestTypeDef#

# UpdateIPSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateIPSetRequestRequestTypeDef

def get_value() -> UpdateIPSetRequestRequestTypeDef:
    return {
        "IPSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateIPSetRequestRequestTypeDef definition

class UpdateIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,
    ChangeToken: str,
    Updates: Sequence[IPSetUpdateTypeDef],  # (1)
  1. See IPSetUpdateTypeDef

CreateRateBasedRuleResponseTypeDef#

# CreateRateBasedRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRateBasedRuleResponseTypeDef

def get_value() -> CreateRateBasedRuleResponseTypeDef:
    return {
        "Rule": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateRateBasedRuleResponseTypeDef definition

class CreateRateBasedRuleResponseTypeDef(TypedDict):
    Rule: RateBasedRuleTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RateBasedRuleTypeDef
  2. See ResponseMetadataTypeDef

GetRateBasedRuleResponseTypeDef#

# GetRateBasedRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRateBasedRuleResponseTypeDef

def get_value() -> GetRateBasedRuleResponseTypeDef:
    return {
        "Rule": ...,
        "ResponseMetadata": ...,
    }
# GetRateBasedRuleResponseTypeDef definition

class GetRateBasedRuleResponseTypeDef(TypedDict):
    Rule: RateBasedRuleTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RateBasedRuleTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleResponseTypeDef#

# CreateRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRuleResponseTypeDef

def get_value() -> CreateRuleResponseTypeDef:
    return {
        "Rule": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateRuleResponseTypeDef definition

class CreateRuleResponseTypeDef(TypedDict):
    Rule: RuleTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef

GetRuleResponseTypeDef#

# GetRuleResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRuleResponseTypeDef

def get_value() -> GetRuleResponseTypeDef:
    return {
        "Rule": ...,
        "ResponseMetadata": ...,
    }
# GetRuleResponseTypeDef definition

class GetRuleResponseTypeDef(TypedDict):
    Rule: RuleTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef

UpdateRateBasedRuleRequestRequestTypeDef#

# UpdateRateBasedRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRateBasedRuleRequestRequestTypeDef

def get_value() -> UpdateRateBasedRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
        "Updates": ...,
        "RateLimit": ...,
    }
# UpdateRateBasedRuleRequestRequestTypeDef definition

class UpdateRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,
    Updates: Sequence[RuleUpdateTypeDef],  # (1)
    RateLimit: int,
  1. See RuleUpdateTypeDef

UpdateRuleRequestRequestTypeDef#

# UpdateRuleRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRuleRequestRequestTypeDef

def get_value() -> UpdateRuleRequestRequestTypeDef:
    return {
        "RuleId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateRuleRequestRequestTypeDef definition

class UpdateRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,
    ChangeToken: str,
    Updates: Sequence[RuleUpdateTypeDef],  # (1)
  1. See RuleUpdateTypeDef

UpdateRuleGroupRequestRequestTypeDef#

# UpdateRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRuleGroupRequestRequestTypeDef

def get_value() -> UpdateRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupId": ...,
        "Updates": ...,
        "ChangeToken": ...,
    }
# UpdateRuleGroupRequestRequestTypeDef definition

class UpdateRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,
    Updates: Sequence[RuleGroupUpdateTypeDef],  # (1)
    ChangeToken: str,
  1. See RuleGroupUpdateTypeDef

CreateWebACLResponseTypeDef#

# CreateWebACLResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateWebACLResponseTypeDef

def get_value() -> CreateWebACLResponseTypeDef:
    return {
        "WebACL": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateWebACLResponseTypeDef definition

class CreateWebACLResponseTypeDef(TypedDict):
    WebACL: WebACLTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WebACLTypeDef
  2. See ResponseMetadataTypeDef

GetWebACLResponseTypeDef#

# GetWebACLResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetWebACLResponseTypeDef

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

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

UpdateWebACLRequestRequestTypeDef#

# UpdateWebACLRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateWebACLRequestRequestTypeDef

def get_value() -> UpdateWebACLRequestRequestTypeDef:
    return {
        "WebACLId": ...,
        "ChangeToken": ...,
    }
# UpdateWebACLRequestRequestTypeDef definition

class UpdateWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    ChangeToken: str,
    Updates: NotRequired[Sequence[WebACLUpdateTypeDef]],  # (1)
    DefaultAction: NotRequired[WafActionTypeDef],  # (2)
  1. See WebACLUpdateTypeDef
  2. See WafActionTypeDef

CreateByteMatchSetResponseTypeDef#

# CreateByteMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateByteMatchSetResponseTypeDef

def get_value() -> CreateByteMatchSetResponseTypeDef:
    return {
        "ByteMatchSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateByteMatchSetResponseTypeDef definition

class CreateByteMatchSetResponseTypeDef(TypedDict):
    ByteMatchSet: ByteMatchSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByteMatchSetTypeDef
  2. See ResponseMetadataTypeDef

GetByteMatchSetResponseTypeDef#

# GetByteMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetByteMatchSetResponseTypeDef

def get_value() -> GetByteMatchSetResponseTypeDef:
    return {
        "ByteMatchSet": ...,
        "ResponseMetadata": ...,
    }
# GetByteMatchSetResponseTypeDef definition

class GetByteMatchSetResponseTypeDef(TypedDict):
    ByteMatchSet: ByteMatchSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByteMatchSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateByteMatchSetRequestRequestTypeDef#

# UpdateByteMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateByteMatchSetRequestRequestTypeDef

def get_value() -> UpdateByteMatchSetRequestRequestTypeDef:
    return {
        "ByteMatchSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateByteMatchSetRequestRequestTypeDef definition

class UpdateByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,
    ChangeToken: str,
    Updates: Sequence[ByteMatchSetUpdateTypeDef],  # (1)
  1. See ByteMatchSetUpdateTypeDef

CreateRegexMatchSetResponseTypeDef#

# CreateRegexMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateRegexMatchSetResponseTypeDef

def get_value() -> CreateRegexMatchSetResponseTypeDef:
    return {
        "RegexMatchSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateRegexMatchSetResponseTypeDef definition

class CreateRegexMatchSetResponseTypeDef(TypedDict):
    RegexMatchSet: RegexMatchSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexMatchSetTypeDef
  2. See ResponseMetadataTypeDef

GetRegexMatchSetResponseTypeDef#

# GetRegexMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetRegexMatchSetResponseTypeDef

def get_value() -> GetRegexMatchSetResponseTypeDef:
    return {
        "RegexMatchSet": ...,
        "ResponseMetadata": ...,
    }
# GetRegexMatchSetResponseTypeDef definition

class GetRegexMatchSetResponseTypeDef(TypedDict):
    RegexMatchSet: RegexMatchSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegexMatchSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateRegexMatchSetRequestRequestTypeDef#

# UpdateRegexMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateRegexMatchSetRequestRequestTypeDef

def get_value() -> UpdateRegexMatchSetRequestRequestTypeDef:
    return {
        "RegexMatchSetId": ...,
        "Updates": ...,
        "ChangeToken": ...,
    }
# UpdateRegexMatchSetRequestRequestTypeDef definition

class UpdateRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,
    Updates: Sequence[RegexMatchSetUpdateTypeDef],  # (1)
    ChangeToken: str,
  1. See RegexMatchSetUpdateTypeDef

CreateSizeConstraintSetResponseTypeDef#

# CreateSizeConstraintSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateSizeConstraintSetResponseTypeDef

def get_value() -> CreateSizeConstraintSetResponseTypeDef:
    return {
        "SizeConstraintSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateSizeConstraintSetResponseTypeDef definition

class CreateSizeConstraintSetResponseTypeDef(TypedDict):
    SizeConstraintSet: SizeConstraintSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SizeConstraintSetTypeDef
  2. See ResponseMetadataTypeDef

GetSizeConstraintSetResponseTypeDef#

# GetSizeConstraintSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetSizeConstraintSetResponseTypeDef

def get_value() -> GetSizeConstraintSetResponseTypeDef:
    return {
        "SizeConstraintSet": ...,
        "ResponseMetadata": ...,
    }
# GetSizeConstraintSetResponseTypeDef definition

class GetSizeConstraintSetResponseTypeDef(TypedDict):
    SizeConstraintSet: SizeConstraintSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SizeConstraintSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateSizeConstraintSetRequestRequestTypeDef#

# UpdateSizeConstraintSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateSizeConstraintSetRequestRequestTypeDef

def get_value() -> UpdateSizeConstraintSetRequestRequestTypeDef:
    return {
        "SizeConstraintSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateSizeConstraintSetRequestRequestTypeDef definition

class UpdateSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,
    ChangeToken: str,
    Updates: Sequence[SizeConstraintSetUpdateTypeDef],  # (1)
  1. See SizeConstraintSetUpdateTypeDef

CreateSqlInjectionMatchSetResponseTypeDef#

# CreateSqlInjectionMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateSqlInjectionMatchSetResponseTypeDef

def get_value() -> CreateSqlInjectionMatchSetResponseTypeDef:
    return {
        "SqlInjectionMatchSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateSqlInjectionMatchSetResponseTypeDef definition

class CreateSqlInjectionMatchSetResponseTypeDef(TypedDict):
    SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SqlInjectionMatchSetTypeDef
  2. See ResponseMetadataTypeDef

GetSqlInjectionMatchSetResponseTypeDef#

# GetSqlInjectionMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetSqlInjectionMatchSetResponseTypeDef

def get_value() -> GetSqlInjectionMatchSetResponseTypeDef:
    return {
        "SqlInjectionMatchSet": ...,
        "ResponseMetadata": ...,
    }
# GetSqlInjectionMatchSetResponseTypeDef definition

class GetSqlInjectionMatchSetResponseTypeDef(TypedDict):
    SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SqlInjectionMatchSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateSqlInjectionMatchSetRequestRequestTypeDef#

# UpdateSqlInjectionMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateSqlInjectionMatchSetRequestRequestTypeDef

def get_value() -> UpdateSqlInjectionMatchSetRequestRequestTypeDef:
    return {
        "SqlInjectionMatchSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateSqlInjectionMatchSetRequestRequestTypeDef definition

class UpdateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,
    ChangeToken: str,
    Updates: Sequence[SqlInjectionMatchSetUpdateTypeDef],  # (1)
  1. See SqlInjectionMatchSetUpdateTypeDef

CreateXssMatchSetResponseTypeDef#

# CreateXssMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import CreateXssMatchSetResponseTypeDef

def get_value() -> CreateXssMatchSetResponseTypeDef:
    return {
        "XssMatchSet": ...,
        "ChangeToken": ...,
        "ResponseMetadata": ...,
    }
# CreateXssMatchSetResponseTypeDef definition

class CreateXssMatchSetResponseTypeDef(TypedDict):
    XssMatchSet: XssMatchSetTypeDef,  # (1)
    ChangeToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See XssMatchSetTypeDef
  2. See ResponseMetadataTypeDef

GetXssMatchSetResponseTypeDef#

# GetXssMatchSetResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetXssMatchSetResponseTypeDef

def get_value() -> GetXssMatchSetResponseTypeDef:
    return {
        "XssMatchSet": ...,
        "ResponseMetadata": ...,
    }
# GetXssMatchSetResponseTypeDef definition

class GetXssMatchSetResponseTypeDef(TypedDict):
    XssMatchSet: XssMatchSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See XssMatchSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateXssMatchSetRequestRequestTypeDef#

# UpdateXssMatchSetRequestRequestTypeDef usage example

from mypy_boto3_waf.type_defs import UpdateXssMatchSetRequestRequestTypeDef

def get_value() -> UpdateXssMatchSetRequestRequestTypeDef:
    return {
        "XssMatchSetId": ...,
        "ChangeToken": ...,
        "Updates": ...,
    }
# UpdateXssMatchSetRequestRequestTypeDef definition

class UpdateXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,
    ChangeToken: str,
    Updates: Sequence[XssMatchSetUpdateTypeDef],  # (1)
  1. See XssMatchSetUpdateTypeDef

GetSampledRequestsResponseTypeDef#

# GetSampledRequestsResponseTypeDef usage example

from mypy_boto3_waf.type_defs import GetSampledRequestsResponseTypeDef

def get_value() -> GetSampledRequestsResponseTypeDef:
    return {
        "SampledRequests": ...,
        "PopulationSize": ...,
        "TimeWindow": ...,
        "ResponseMetadata": ...,
    }
# GetSampledRequestsResponseTypeDef definition

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