Skip to content

Type definitions#

Index > WAF > Type definitions

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

BlobTypeDef#

# BlobTypeDef definition

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ActivatedRuleUnionTypeDef#

# ActivatedRuleUnionTypeDef definition

ActivatedRuleUnionTypeDef = Union[
    ActivatedRuleTypeDef,  # (1)
    ActivatedRuleOutputTypeDef,  # (2)
]
  1. See ActivatedRuleTypeDef
  2. See ActivatedRuleOutputTypeDef

ByteMatchTupleUnionTypeDef#

# ByteMatchTupleUnionTypeDef definition

ByteMatchTupleUnionTypeDef = Union[
    ByteMatchTupleTypeDef,  # (1)
    ByteMatchTupleOutputTypeDef,  # (2)
]
  1. See ByteMatchTupleTypeDef
  2. See ByteMatchTupleOutputTypeDef

ExcludedRuleTypeDef#

# ExcludedRuleTypeDef definition

class ExcludedRuleTypeDef(TypedDict):
    RuleId: str,

WafActionTypeDef#

# WafActionTypeDef definition

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

WafOverrideActionTypeDef#

# WafOverrideActionTypeDef definition

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

ByteMatchSetSummaryTypeDef#

# ByteMatchSetSummaryTypeDef definition

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

FieldToMatchTypeDef#

# FieldToMatchTypeDef definition

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

CreateByteMatchSetRequestRequestTypeDef#

# CreateByteMatchSetRequestRequestTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateGeoMatchSetRequestRequestTypeDef#

# CreateGeoMatchSetRequestRequestTypeDef definition

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

CreateIPSetRequestRequestTypeDef#

# CreateIPSetRequestRequestTypeDef definition

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

TagTypeDef#

# TagTypeDef definition

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

CreateRegexMatchSetRequestRequestTypeDef#

# CreateRegexMatchSetRequestRequestTypeDef definition

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

CreateRegexPatternSetRequestRequestTypeDef#

# CreateRegexPatternSetRequestRequestTypeDef definition

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

RegexPatternSetTypeDef#

# RegexPatternSetTypeDef definition

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

RuleGroupTypeDef#

# RuleGroupTypeDef definition

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

CreateSizeConstraintSetRequestRequestTypeDef#

# CreateSizeConstraintSetRequestRequestTypeDef definition

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

CreateSqlInjectionMatchSetRequestRequestTypeDef#

# CreateSqlInjectionMatchSetRequestRequestTypeDef definition

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

CreateWebACLMigrationStackRequestRequestTypeDef#

# CreateWebACLMigrationStackRequestRequestTypeDef definition

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

CreateXssMatchSetRequestRequestTypeDef#

# CreateXssMatchSetRequestRequestTypeDef definition

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

DeleteByteMatchSetRequestRequestTypeDef#

# DeleteByteMatchSetRequestRequestTypeDef definition

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

DeleteGeoMatchSetRequestRequestTypeDef#

# DeleteGeoMatchSetRequestRequestTypeDef definition

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

DeleteIPSetRequestRequestTypeDef#

# DeleteIPSetRequestRequestTypeDef definition

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

DeleteLoggingConfigurationRequestRequestTypeDef#

# DeleteLoggingConfigurationRequestRequestTypeDef definition

class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeletePermissionPolicyRequestRequestTypeDef#

# DeletePermissionPolicyRequestRequestTypeDef definition

class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRateBasedRuleRequestRequestTypeDef#

# DeleteRateBasedRuleRequestRequestTypeDef definition

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

DeleteRegexMatchSetRequestRequestTypeDef#

# DeleteRegexMatchSetRequestRequestTypeDef definition

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

DeleteRegexPatternSetRequestRequestTypeDef#

# DeleteRegexPatternSetRequestRequestTypeDef definition

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

DeleteRuleGroupRequestRequestTypeDef#

# DeleteRuleGroupRequestRequestTypeDef definition

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

DeleteRuleRequestRequestTypeDef#

# DeleteRuleRequestRequestTypeDef definition

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

DeleteSizeConstraintSetRequestRequestTypeDef#

# DeleteSizeConstraintSetRequestRequestTypeDef definition

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

DeleteSqlInjectionMatchSetRequestRequestTypeDef#

# DeleteSqlInjectionMatchSetRequestRequestTypeDef definition

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

DeleteWebACLRequestRequestTypeDef#

# DeleteWebACLRequestRequestTypeDef definition

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

DeleteXssMatchSetRequestRequestTypeDef#

# DeleteXssMatchSetRequestRequestTypeDef definition

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

GeoMatchConstraintTypeDef#

# GeoMatchConstraintTypeDef definition

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

GeoMatchSetSummaryTypeDef#

# GeoMatchSetSummaryTypeDef definition

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

GetByteMatchSetRequestRequestTypeDef#

# GetByteMatchSetRequestRequestTypeDef definition

class GetByteMatchSetRequestRequestTypeDef(TypedDict):
    ByteMatchSetId: str,

GetChangeTokenStatusRequestRequestTypeDef#

# GetChangeTokenStatusRequestRequestTypeDef definition

class GetChangeTokenStatusRequestRequestTypeDef(TypedDict):
    ChangeToken: str,

GetGeoMatchSetRequestRequestTypeDef#

# GetGeoMatchSetRequestRequestTypeDef definition

class GetGeoMatchSetRequestRequestTypeDef(TypedDict):
    GeoMatchSetId: str,

GetIPSetRequestRequestTypeDef#

# GetIPSetRequestRequestTypeDef definition

class GetIPSetRequestRequestTypeDef(TypedDict):
    IPSetId: str,

GetLoggingConfigurationRequestRequestTypeDef#

# GetLoggingConfigurationRequestRequestTypeDef definition

class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetPermissionPolicyRequestRequestTypeDef#

# GetPermissionPolicyRequestRequestTypeDef definition

class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

GetRateBasedRuleManagedKeysRequestRequestTypeDef#

# GetRateBasedRuleManagedKeysRequestRequestTypeDef definition

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

GetRateBasedRuleRequestRequestTypeDef#

# GetRateBasedRuleRequestRequestTypeDef definition

class GetRateBasedRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

GetRegexMatchSetRequestRequestTypeDef#

# GetRegexMatchSetRequestRequestTypeDef definition

class GetRegexMatchSetRequestRequestTypeDef(TypedDict):
    RegexMatchSetId: str,

GetRegexPatternSetRequestRequestTypeDef#

# GetRegexPatternSetRequestRequestTypeDef definition

class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
    RegexPatternSetId: str,

GetRuleGroupRequestRequestTypeDef#

# GetRuleGroupRequestRequestTypeDef definition

class GetRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupId: str,

GetRuleRequestRequestTypeDef#

# GetRuleRequestRequestTypeDef definition

class GetRuleRequestRequestTypeDef(TypedDict):
    RuleId: str,

TimeWindowOutputTypeDef#

# TimeWindowOutputTypeDef definition

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

GetSizeConstraintSetRequestRequestTypeDef#

# GetSizeConstraintSetRequestRequestTypeDef definition

class GetSizeConstraintSetRequestRequestTypeDef(TypedDict):
    SizeConstraintSetId: str,

GetSqlInjectionMatchSetRequestRequestTypeDef#

# GetSqlInjectionMatchSetRequestRequestTypeDef definition

class GetSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
    SqlInjectionMatchSetId: str,

GetWebACLRequestRequestTypeDef#

# GetWebACLRequestRequestTypeDef definition

class GetWebACLRequestRequestTypeDef(TypedDict):
    WebACLId: str,

GetXssMatchSetRequestRequestTypeDef#

# GetXssMatchSetRequestRequestTypeDef definition

class GetXssMatchSetRequestRequestTypeDef(TypedDict):
    XssMatchSetId: str,

HTTPHeaderTypeDef#

# HTTPHeaderTypeDef definition

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

IPSetDescriptorTypeDef#

# IPSetDescriptorTypeDef definition

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

IPSetSummaryTypeDef#

# IPSetSummaryTypeDef definition

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

ListActivatedRulesInRuleGroupRequestRequestTypeDef#

# ListActivatedRulesInRuleGroupRequestRequestTypeDef definition

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

ListByteMatchSetsRequestRequestTypeDef#

# ListByteMatchSetsRequestRequestTypeDef definition

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

ListGeoMatchSetsRequestRequestTypeDef#

# ListGeoMatchSetsRequestRequestTypeDef definition

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

ListIPSetsRequestRequestTypeDef#

# ListIPSetsRequestRequestTypeDef definition

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

ListLoggingConfigurationsRequestRequestTypeDef#

# ListLoggingConfigurationsRequestRequestTypeDef definition

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

ListRateBasedRulesRequestRequestTypeDef#

# ListRateBasedRulesRequestRequestTypeDef definition

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

RuleSummaryTypeDef#

# RuleSummaryTypeDef definition

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

ListRegexMatchSetsRequestRequestTypeDef#

# ListRegexMatchSetsRequestRequestTypeDef definition

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

RegexMatchSetSummaryTypeDef#

# RegexMatchSetSummaryTypeDef definition

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

ListRegexPatternSetsRequestRequestTypeDef#

# ListRegexPatternSetsRequestRequestTypeDef definition

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

RegexPatternSetSummaryTypeDef#

# RegexPatternSetSummaryTypeDef definition

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

ListRuleGroupsRequestRequestTypeDef#

# ListRuleGroupsRequestRequestTypeDef definition

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

RuleGroupSummaryTypeDef#

# RuleGroupSummaryTypeDef definition

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

ListRulesRequestRequestTypeDef#

# ListRulesRequestRequestTypeDef definition

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

ListSizeConstraintSetsRequestRequestTypeDef#

# ListSizeConstraintSetsRequestRequestTypeDef definition

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

SizeConstraintSetSummaryTypeDef#

# SizeConstraintSetSummaryTypeDef definition

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

ListSqlInjectionMatchSetsRequestRequestTypeDef#

# ListSqlInjectionMatchSetsRequestRequestTypeDef definition

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

SqlInjectionMatchSetSummaryTypeDef#

# SqlInjectionMatchSetSummaryTypeDef definition

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

ListSubscribedRuleGroupsRequestRequestTypeDef#

# ListSubscribedRuleGroupsRequestRequestTypeDef definition

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

SubscribedRuleGroupSummaryTypeDef#

# SubscribedRuleGroupSummaryTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

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

ListWebACLsRequestRequestTypeDef#

# ListWebACLsRequestRequestTypeDef definition

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

WebACLSummaryTypeDef#

# WebACLSummaryTypeDef definition

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

ListXssMatchSetsRequestRequestTypeDef#

# ListXssMatchSetsRequestRequestTypeDef definition

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

XssMatchSetSummaryTypeDef#

# XssMatchSetSummaryTypeDef definition

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

PredicateTypeDef#

# PredicateTypeDef definition

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

PutPermissionPolicyRequestRequestTypeDef#

# PutPermissionPolicyRequestRequestTypeDef definition

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

RegexPatternSetUpdateTypeDef#

# RegexPatternSetUpdateTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

ActivatedRuleOutputTypeDef#

# ActivatedRuleOutputTypeDef definition

class ActivatedRuleOutputTypeDef(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

ActivatedRuleTypeDef#

# ActivatedRuleTypeDef definition

class ActivatedRuleTypeDef(TypedDict):
    Priority: int,
    RuleId: str,
    Action: NotRequired[WafActionTypeDef],  # (1)
    OverrideAction: NotRequired[WafOverrideActionTypeDef],  # (2)
    Type: NotRequired[WafRuleTypeType],  # (3)
    ExcludedRules: NotRequired[Sequence[ExcludedRuleTypeDef]],  # (4)
  1. See WafActionTypeDef
  2. See WafOverrideActionTypeDef
  3. See WafRuleTypeType
  4. See ExcludedRuleTypeDef

ByteMatchTupleOutputTypeDef#

# ByteMatchTupleOutputTypeDef definition

class ByteMatchTupleOutputTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TargetString: bytes,
    TextTransformation: TextTransformationType,  # (2)
    PositionalConstraint: PositionalConstraintType,  # (3)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType
  3. See PositionalConstraintType

ByteMatchTupleTypeDef#

# ByteMatchTupleTypeDef definition

class ByteMatchTupleTypeDef(TypedDict):
    FieldToMatch: FieldToMatchTypeDef,  # (1)
    TargetString: BlobTypeDef,
    TextTransformation: TextTransformationType,  # (2)
    PositionalConstraint: PositionalConstraintType,  # (3)
  1. See FieldToMatchTypeDef
  2. See TextTransformationType
  3. See PositionalConstraintType

LoggingConfigurationOutputTypeDef#

# LoggingConfigurationOutputTypeDef definition

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

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef definition

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

RegexMatchTupleTypeDef#

# RegexMatchTupleTypeDef definition

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

SizeConstraintTypeDef#

# 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 definition

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

XssMatchTupleTypeDef#

# XssMatchTupleTypeDef definition

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

CreateWebACLMigrationStackResponseTypeDef#

# CreateWebACLMigrationStackResponseTypeDef definition

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

DeleteByteMatchSetResponseTypeDef#

# DeleteByteMatchSetResponseTypeDef definition

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

DeleteGeoMatchSetResponseTypeDef#

# DeleteGeoMatchSetResponseTypeDef definition

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

DeleteIPSetResponseTypeDef#

# DeleteIPSetResponseTypeDef definition

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

DeleteRateBasedRuleResponseTypeDef#

# DeleteRateBasedRuleResponseTypeDef definition

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

DeleteRegexMatchSetResponseTypeDef#

# DeleteRegexMatchSetResponseTypeDef definition

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

DeleteRegexPatternSetResponseTypeDef#

# DeleteRegexPatternSetResponseTypeDef definition

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

DeleteRuleGroupResponseTypeDef#

# DeleteRuleGroupResponseTypeDef definition

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

DeleteRuleResponseTypeDef#

# DeleteRuleResponseTypeDef definition

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

DeleteSizeConstraintSetResponseTypeDef#

# DeleteSizeConstraintSetResponseTypeDef definition

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

DeleteSqlInjectionMatchSetResponseTypeDef#

# DeleteSqlInjectionMatchSetResponseTypeDef definition

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

DeleteWebACLResponseTypeDef#

# DeleteWebACLResponseTypeDef definition

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

DeleteXssMatchSetResponseTypeDef#

# DeleteXssMatchSetResponseTypeDef definition

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

GetChangeTokenResponseTypeDef#

# GetChangeTokenResponseTypeDef definition

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

GetChangeTokenStatusResponseTypeDef#

# GetChangeTokenStatusResponseTypeDef definition

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

GetPermissionPolicyResponseTypeDef#

# GetPermissionPolicyResponseTypeDef definition

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

GetRateBasedRuleManagedKeysResponseTypeDef#

# GetRateBasedRuleManagedKeysResponseTypeDef definition

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

ListByteMatchSetsResponseTypeDef#

# ListByteMatchSetsResponseTypeDef definition

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

UpdateByteMatchSetResponseTypeDef#

# UpdateByteMatchSetResponseTypeDef definition

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

UpdateGeoMatchSetResponseTypeDef#

# UpdateGeoMatchSetResponseTypeDef definition

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

UpdateIPSetResponseTypeDef#

# UpdateIPSetResponseTypeDef definition

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

UpdateRateBasedRuleResponseTypeDef#

# UpdateRateBasedRuleResponseTypeDef definition

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

UpdateRegexMatchSetResponseTypeDef#

# UpdateRegexMatchSetResponseTypeDef definition

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

UpdateRegexPatternSetResponseTypeDef#

# UpdateRegexPatternSetResponseTypeDef definition

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

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef definition

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

UpdateRuleResponseTypeDef#

# UpdateRuleResponseTypeDef definition

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

UpdateSizeConstraintSetResponseTypeDef#

# UpdateSizeConstraintSetResponseTypeDef definition

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

UpdateSqlInjectionMatchSetResponseTypeDef#

# UpdateSqlInjectionMatchSetResponseTypeDef definition

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

UpdateWebACLResponseTypeDef#

# UpdateWebACLResponseTypeDef definition

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

UpdateXssMatchSetResponseTypeDef#

# UpdateXssMatchSetResponseTypeDef definition

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

CreateRateBasedRuleRequestRequestTypeDef#

# 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 definition

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

CreateRuleRequestRequestTypeDef#

# CreateRuleRequestRequestTypeDef definition

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

CreateWebACLRequestRequestTypeDef#

# 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 definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

CreateRegexPatternSetResponseTypeDef#

# CreateRegexPatternSetResponseTypeDef definition

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

GetRegexPatternSetResponseTypeDef#

# GetRegexPatternSetResponseTypeDef definition

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

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef definition

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

GetRuleGroupResponseTypeDef#

# GetRuleGroupResponseTypeDef definition

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

GeoMatchSetTypeDef#

# GeoMatchSetTypeDef definition

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

GeoMatchSetUpdateTypeDef#

# GeoMatchSetUpdateTypeDef definition

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

ListGeoMatchSetsResponseTypeDef#

# ListGeoMatchSetsResponseTypeDef definition

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

GetRateBasedRuleManagedKeysRequestPaginateTypeDef#

# GetRateBasedRuleManagedKeysRequestPaginateTypeDef definition

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

ListActivatedRulesInRuleGroupRequestPaginateTypeDef#

# ListActivatedRulesInRuleGroupRequestPaginateTypeDef definition

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

ListByteMatchSetsRequestPaginateTypeDef#

# ListByteMatchSetsRequestPaginateTypeDef definition

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

ListGeoMatchSetsRequestPaginateTypeDef#

# ListGeoMatchSetsRequestPaginateTypeDef definition

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

ListIPSetsRequestPaginateTypeDef#

# ListIPSetsRequestPaginateTypeDef definition

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

ListLoggingConfigurationsRequestPaginateTypeDef#

# ListLoggingConfigurationsRequestPaginateTypeDef definition

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

ListRateBasedRulesRequestPaginateTypeDef#

# ListRateBasedRulesRequestPaginateTypeDef definition

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

ListRegexMatchSetsRequestPaginateTypeDef#

# ListRegexMatchSetsRequestPaginateTypeDef definition

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

ListRegexPatternSetsRequestPaginateTypeDef#

# ListRegexPatternSetsRequestPaginateTypeDef definition

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

ListRuleGroupsRequestPaginateTypeDef#

# ListRuleGroupsRequestPaginateTypeDef definition

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

ListRulesRequestPaginateTypeDef#

# ListRulesRequestPaginateTypeDef definition

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

ListSizeConstraintSetsRequestPaginateTypeDef#

# ListSizeConstraintSetsRequestPaginateTypeDef definition

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

ListSqlInjectionMatchSetsRequestPaginateTypeDef#

# ListSqlInjectionMatchSetsRequestPaginateTypeDef definition

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

ListSubscribedRuleGroupsRequestPaginateTypeDef#

# ListSubscribedRuleGroupsRequestPaginateTypeDef definition

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

ListWebACLsRequestPaginateTypeDef#

# ListWebACLsRequestPaginateTypeDef definition

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

ListXssMatchSetsRequestPaginateTypeDef#

# ListXssMatchSetsRequestPaginateTypeDef definition

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

HTTPRequestTypeDef#

# 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 definition

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

IPSetUpdateTypeDef#

# IPSetUpdateTypeDef definition

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

ListIPSetsResponseTypeDef#

# ListIPSetsResponseTypeDef definition

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

ListRateBasedRulesResponseTypeDef#

# ListRateBasedRulesResponseTypeDef definition

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

ListRulesResponseTypeDef#

# ListRulesResponseTypeDef definition

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

ListRegexMatchSetsResponseTypeDef#

# ListRegexMatchSetsResponseTypeDef definition

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

ListRegexPatternSetsResponseTypeDef#

# ListRegexPatternSetsResponseTypeDef definition

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

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef definition

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

ListSizeConstraintSetsResponseTypeDef#

# ListSizeConstraintSetsResponseTypeDef definition

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

ListSqlInjectionMatchSetsResponseTypeDef#

# ListSqlInjectionMatchSetsResponseTypeDef definition

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

ListSubscribedRuleGroupsResponseTypeDef#

# ListSubscribedRuleGroupsResponseTypeDef definition

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

ListWebACLsResponseTypeDef#

# ListWebACLsResponseTypeDef definition

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

ListXssMatchSetsResponseTypeDef#

# ListXssMatchSetsResponseTypeDef definition

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

RateBasedRuleTypeDef#

# 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 definition

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

RuleUpdateTypeDef#

# RuleUpdateTypeDef definition

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

UpdateRegexPatternSetRequestRequestTypeDef#

# UpdateRegexPatternSetRequestRequestTypeDef definition

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

TimeWindowTypeDef#

# TimeWindowTypeDef definition

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

ListActivatedRulesInRuleGroupResponseTypeDef#

# ListActivatedRulesInRuleGroupResponseTypeDef definition

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

WebACLTypeDef#

# WebACLTypeDef definition

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

ByteMatchSetTypeDef#

# ByteMatchSetTypeDef definition

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

GetLoggingConfigurationResponseTypeDef#

# GetLoggingConfigurationResponseTypeDef definition

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

ListLoggingConfigurationsResponseTypeDef#

# ListLoggingConfigurationsResponseTypeDef definition

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

PutLoggingConfigurationResponseTypeDef#

# PutLoggingConfigurationResponseTypeDef definition

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

PutLoggingConfigurationRequestRequestTypeDef#

# PutLoggingConfigurationRequestRequestTypeDef definition

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

RegexMatchSetTypeDef#

# RegexMatchSetTypeDef definition

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

RegexMatchSetUpdateTypeDef#

# RegexMatchSetUpdateTypeDef definition

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

SizeConstraintSetTypeDef#

# SizeConstraintSetTypeDef definition

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

SizeConstraintSetUpdateTypeDef#

# SizeConstraintSetUpdateTypeDef definition

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

SqlInjectionMatchSetTypeDef#

# SqlInjectionMatchSetTypeDef definition

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

SqlInjectionMatchSetUpdateTypeDef#

# SqlInjectionMatchSetUpdateTypeDef definition

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

XssMatchSetTypeDef#

# XssMatchSetTypeDef definition

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

XssMatchSetUpdateTypeDef#

# XssMatchSetUpdateTypeDef definition

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

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

CreateGeoMatchSetResponseTypeDef#

# CreateGeoMatchSetResponseTypeDef definition

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

GetGeoMatchSetResponseTypeDef#

# GetGeoMatchSetResponseTypeDef definition

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

UpdateGeoMatchSetRequestRequestTypeDef#

# UpdateGeoMatchSetRequestRequestTypeDef definition

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

SampledHTTPRequestTypeDef#

# SampledHTTPRequestTypeDef definition

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

CreateIPSetResponseTypeDef#

# CreateIPSetResponseTypeDef definition

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

GetIPSetResponseTypeDef#

# GetIPSetResponseTypeDef definition

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

UpdateIPSetRequestRequestTypeDef#

# UpdateIPSetRequestRequestTypeDef definition

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

CreateRateBasedRuleResponseTypeDef#

# CreateRateBasedRuleResponseTypeDef definition

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

GetRateBasedRuleResponseTypeDef#

# GetRateBasedRuleResponseTypeDef definition

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

CreateRuleResponseTypeDef#

# CreateRuleResponseTypeDef definition

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

GetRuleResponseTypeDef#

# GetRuleResponseTypeDef definition

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

UpdateRateBasedRuleRequestRequestTypeDef#

# UpdateRateBasedRuleRequestRequestTypeDef definition

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

UpdateRuleRequestRequestTypeDef#

# UpdateRuleRequestRequestTypeDef definition

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

GetSampledRequestsRequestRequestTypeDef#

# GetSampledRequestsRequestRequestTypeDef definition

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

CreateWebACLResponseTypeDef#

# CreateWebACLResponseTypeDef definition

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

GetWebACLResponseTypeDef#

# GetWebACLResponseTypeDef definition

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

RuleGroupUpdateTypeDef#

# RuleGroupUpdateTypeDef definition

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

WebACLUpdateTypeDef#

# WebACLUpdateTypeDef definition

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

CreateByteMatchSetResponseTypeDef#

# CreateByteMatchSetResponseTypeDef definition

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

GetByteMatchSetResponseTypeDef#

# GetByteMatchSetResponseTypeDef definition

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

ByteMatchSetUpdateTypeDef#

# ByteMatchSetUpdateTypeDef definition

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

CreateRegexMatchSetResponseTypeDef#

# CreateRegexMatchSetResponseTypeDef definition

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

GetRegexMatchSetResponseTypeDef#

# GetRegexMatchSetResponseTypeDef definition

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

UpdateRegexMatchSetRequestRequestTypeDef#

# UpdateRegexMatchSetRequestRequestTypeDef definition

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

CreateSizeConstraintSetResponseTypeDef#

# CreateSizeConstraintSetResponseTypeDef definition

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

GetSizeConstraintSetResponseTypeDef#

# GetSizeConstraintSetResponseTypeDef definition

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

UpdateSizeConstraintSetRequestRequestTypeDef#

# UpdateSizeConstraintSetRequestRequestTypeDef definition

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

CreateSqlInjectionMatchSetResponseTypeDef#

# CreateSqlInjectionMatchSetResponseTypeDef definition

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

GetSqlInjectionMatchSetResponseTypeDef#

# GetSqlInjectionMatchSetResponseTypeDef definition

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

UpdateSqlInjectionMatchSetRequestRequestTypeDef#

# UpdateSqlInjectionMatchSetRequestRequestTypeDef definition

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

CreateXssMatchSetResponseTypeDef#

# CreateXssMatchSetResponseTypeDef definition

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

GetXssMatchSetResponseTypeDef#

# GetXssMatchSetResponseTypeDef definition

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

UpdateXssMatchSetRequestRequestTypeDef#

# UpdateXssMatchSetRequestRequestTypeDef definition

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

GetSampledRequestsResponseTypeDef#

# GetSampledRequestsResponseTypeDef definition

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

UpdateRuleGroupRequestRequestTypeDef#

# UpdateRuleGroupRequestRequestTypeDef definition

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

UpdateWebACLRequestRequestTypeDef#

# UpdateWebACLRequestRequestTypeDef definition

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

UpdateByteMatchSetRequestRequestTypeDef#

# UpdateByteMatchSetRequestRequestTypeDef definition

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