Skip to content

Type definitions#

Index > WAFV2 > Type definitions

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

BlobTypeDef#

# BlobTypeDef definition

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AndStatementUnionTypeDef#

# AndStatementUnionTypeDef definition

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

CookieMatchPatternUnionTypeDef#

# CookieMatchPatternUnionTypeDef definition

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

HeaderMatchPatternUnionTypeDef#

# HeaderMatchPatternUnionTypeDef definition

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

JsonMatchPatternUnionTypeDef#

# JsonMatchPatternUnionTypeDef definition

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

NotStatementUnionTypeDef#

# NotStatementUnionTypeDef definition

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

OrStatementUnionTypeDef#

# OrStatementUnionTypeDef definition

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

ResponseInspectionBodyContainsUnionTypeDef#

# ResponseInspectionBodyContainsUnionTypeDef definition

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

ResponseInspectionHeaderUnionTypeDef#

# ResponseInspectionHeaderUnionTypeDef definition

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

ResponseInspectionJsonUnionTypeDef#

# ResponseInspectionJsonUnionTypeDef definition

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

ResponseInspectionStatusCodeUnionTypeDef#

# ResponseInspectionStatusCodeUnionTypeDef definition

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

RateLimitCookieUnionTypeDef#

# RateLimitCookieUnionTypeDef definition

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

RateLimitHeaderUnionTypeDef#

# RateLimitHeaderUnionTypeDef definition

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

RateLimitQueryArgumentUnionTypeDef#

# RateLimitQueryArgumentUnionTypeDef definition

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

RateLimitQueryStringUnionTypeDef#

# RateLimitQueryStringUnionTypeDef definition

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

RateLimitUriPathUnionTypeDef#

# RateLimitUriPathUnionTypeDef definition

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

CustomRequestHandlingUnionTypeDef#

# CustomRequestHandlingUnionTypeDef definition

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

CustomResponseUnionTypeDef#

# CustomResponseUnionTypeDef definition

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

GeoMatchStatementUnionTypeDef#

# GeoMatchStatementUnionTypeDef definition

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

RequestInspectionACFPUnionTypeDef#

# RequestInspectionACFPUnionTypeDef definition

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

FilterUnionTypeDef#

# FilterUnionTypeDef definition

FilterUnionTypeDef = Union[
    FilterTypeDef,  # (1)
    FilterOutputTypeDef,  # (2)
]
  1. See FilterTypeDef
  2. See FilterOutputTypeDef

CookiesUnionTypeDef#

# CookiesUnionTypeDef definition

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

HeadersUnionTypeDef#

# HeadersUnionTypeDef definition

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

JsonBodyUnionTypeDef#

# JsonBodyUnionTypeDef definition

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

ResponseInspectionUnionTypeDef#

# ResponseInspectionUnionTypeDef definition

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

RateBasedStatementCustomKeyUnionTypeDef#

# RateBasedStatementCustomKeyUnionTypeDef definition

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

AllowActionUnionTypeDef#

# AllowActionUnionTypeDef definition

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

CaptchaActionUnionTypeDef#

# CaptchaActionUnionTypeDef definition

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

ChallengeActionUnionTypeDef#

# ChallengeActionUnionTypeDef definition

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

CountActionUnionTypeDef#

# CountActionUnionTypeDef definition

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

BlockActionUnionTypeDef#

# BlockActionUnionTypeDef definition

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

LoggingFilterUnionTypeDef#

# LoggingFilterUnionTypeDef definition

LoggingFilterUnionTypeDef = Union[
    LoggingFilterTypeDef,  # (1)
    LoggingFilterOutputTypeDef,  # (2)
]
  1. See LoggingFilterTypeDef
  2. See LoggingFilterOutputTypeDef

FieldToMatchUnionTypeDef#

# FieldToMatchUnionTypeDef definition

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

AWSManagedRulesACFPRuleSetUnionTypeDef#

# AWSManagedRulesACFPRuleSetUnionTypeDef definition

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

AWSManagedRulesATPRuleSetUnionTypeDef#

# AWSManagedRulesATPRuleSetUnionTypeDef definition

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

RateBasedStatementUnionTypeDef#

# RateBasedStatementUnionTypeDef definition

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

OverrideActionUnionTypeDef#

# OverrideActionUnionTypeDef definition

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

RuleActionUnionTypeDef#

# RuleActionUnionTypeDef definition

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

ByteMatchStatementUnionTypeDef#

# ByteMatchStatementUnionTypeDef definition

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

RegexMatchStatementUnionTypeDef#

# RegexMatchStatementUnionTypeDef definition

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

RegexPatternSetReferenceStatementUnionTypeDef#

# RegexPatternSetReferenceStatementUnionTypeDef definition

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

SizeConstraintStatementUnionTypeDef#

# SizeConstraintStatementUnionTypeDef definition

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

SqliMatchStatementUnionTypeDef#

# SqliMatchStatementUnionTypeDef definition

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

XssMatchStatementUnionTypeDef#

# XssMatchStatementUnionTypeDef definition

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

ManagedRuleGroupConfigUnionTypeDef#

# ManagedRuleGroupConfigUnionTypeDef definition

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

RuleActionOverrideUnionTypeDef#

# RuleActionOverrideUnionTypeDef definition

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

RuleGroupReferenceStatementUnionTypeDef#

# RuleGroupReferenceStatementUnionTypeDef definition

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

ManagedRuleGroupStatementUnionTypeDef#

# ManagedRuleGroupStatementUnionTypeDef definition

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

StatementUnionTypeDef#

# StatementUnionTypeDef definition

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

RuleUnionTypeDef#

# RuleUnionTypeDef definition

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

APIKeySummaryTypeDef#

# APIKeySummaryTypeDef definition

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

AWSManagedRulesBotControlRuleSetTypeDef#

# AWSManagedRulesBotControlRuleSetTypeDef definition

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

ActionConditionTypeDef#

# ActionConditionTypeDef definition

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

AddressFieldTypeDef#

# AddressFieldTypeDef definition

class AddressFieldTypeDef(TypedDict):
    Identifier: str,

AndStatementOutputTypeDef#

# AndStatementOutputTypeDef definition

class AndStatementOutputTypeDef(TypedDict):
    Statements: list[dict[str, Any]],

AndStatementTypeDef#

# AndStatementTypeDef definition

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

AssociateWebACLRequestRequestTypeDef#

# AssociateWebACLRequestRequestTypeDef definition

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

RequestBodyAssociatedResourceTypeConfigTypeDef#

# RequestBodyAssociatedResourceTypeConfigTypeDef definition

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

BodyTypeDef#

# BodyTypeDef definition

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

TextTransformationTypeDef#

# TextTransformationTypeDef definition

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

ImmunityTimePropertyTypeDef#

# ImmunityTimePropertyTypeDef definition

class ImmunityTimePropertyTypeDef(TypedDict):
    ImmunityTime: int,

CaptchaResponseTypeDef#

# CaptchaResponseTypeDef definition

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

ChallengeResponseTypeDef#

# ChallengeResponseTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

LabelNameConditionTypeDef#

# LabelNameConditionTypeDef definition

class LabelNameConditionTypeDef(TypedDict):
    LabelName: str,

CookieMatchPatternOutputTypeDef#

# CookieMatchPatternOutputTypeDef definition

class CookieMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[dict[str, Any]],
    IncludedCookies: NotRequired[list[str]],
    ExcludedCookies: NotRequired[list[str]],

CookieMatchPatternTypeDef#

# CookieMatchPatternTypeDef definition

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

CreateAPIKeyRequestRequestTypeDef#

# CreateAPIKeyRequestRequestTypeDef definition

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

TagTypeDef#

# TagTypeDef definition

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

IPSetSummaryTypeDef#

# IPSetSummaryTypeDef definition

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

RegexTypeDef#

# RegexTypeDef definition

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

RegexPatternSetSummaryTypeDef#

# RegexPatternSetSummaryTypeDef definition

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

CustomResponseBodyTypeDef#

# CustomResponseBodyTypeDef definition

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

VisibilityConfigTypeDef#

# VisibilityConfigTypeDef definition

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

RuleGroupSummaryTypeDef#

# RuleGroupSummaryTypeDef definition

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

WebACLSummaryTypeDef#

# WebACLSummaryTypeDef definition

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

CustomHTTPHeaderTypeDef#

# CustomHTTPHeaderTypeDef definition

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

DeleteAPIKeyRequestRequestTypeDef#

# DeleteAPIKeyRequestRequestTypeDef definition

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

DeleteFirewallManagerRuleGroupsRequestRequestTypeDef#

# DeleteFirewallManagerRuleGroupsRequestRequestTypeDef definition

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

DeleteIPSetRequestRequestTypeDef#

# DeleteIPSetRequestRequestTypeDef definition

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

DeleteLoggingConfigurationRequestRequestTypeDef#

# DeleteLoggingConfigurationRequestRequestTypeDef definition

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

DeletePermissionPolicyRequestRequestTypeDef#

# DeletePermissionPolicyRequestRequestTypeDef definition

class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRegexPatternSetRequestRequestTypeDef#

# DeleteRegexPatternSetRequestRequestTypeDef definition

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

DeleteRuleGroupRequestRequestTypeDef#

# DeleteRuleGroupRequestRequestTypeDef definition

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

DeleteWebACLRequestRequestTypeDef#

# DeleteWebACLRequestRequestTypeDef definition

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

DescribeAllManagedProductsRequestRequestTypeDef#

# DescribeAllManagedProductsRequestRequestTypeDef definition

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

ManagedProductDescriptorTypeDef#

# ManagedProductDescriptorTypeDef definition

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

DescribeManagedProductsByVendorRequestRequestTypeDef#

# DescribeManagedProductsByVendorRequestRequestTypeDef definition

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

DescribeManagedRuleGroupRequestRequestTypeDef#

# DescribeManagedRuleGroupRequestRequestTypeDef definition

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

LabelSummaryTypeDef#

# LabelSummaryTypeDef definition

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

DisassociateWebACLRequestRequestTypeDef#

# DisassociateWebACLRequestRequestTypeDef definition

class DisassociateWebACLRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

EmailFieldTypeDef#

# EmailFieldTypeDef definition

class EmailFieldTypeDef(TypedDict):
    Identifier: str,

ExcludedRuleTypeDef#

# ExcludedRuleTypeDef definition

class ExcludedRuleTypeDef(TypedDict):
    Name: str,

HeaderOrderTypeDef#

# HeaderOrderTypeDef definition

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

JA3FingerprintTypeDef#

# JA3FingerprintTypeDef definition

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

SingleHeaderTypeDef#

# SingleHeaderTypeDef definition

class SingleHeaderTypeDef(TypedDict):
    Name: str,

SingleQueryArgumentTypeDef#

# SingleQueryArgumentTypeDef definition

class SingleQueryArgumentTypeDef(TypedDict):
    Name: str,

ForwardedIPConfigTypeDef#

# ForwardedIPConfigTypeDef definition

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

GenerateMobileSdkReleaseUrlRequestRequestTypeDef#

# GenerateMobileSdkReleaseUrlRequestRequestTypeDef definition

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

GetDecryptedAPIKeyRequestRequestTypeDef#

# GetDecryptedAPIKeyRequestRequestTypeDef definition

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

GetIPSetRequestRequestTypeDef#

# GetIPSetRequestRequestTypeDef definition

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

IPSetTypeDef#

# IPSetTypeDef definition

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

GetLoggingConfigurationRequestRequestTypeDef#

# GetLoggingConfigurationRequestRequestTypeDef definition

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

GetManagedRuleSetRequestRequestTypeDef#

# GetManagedRuleSetRequestRequestTypeDef definition

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

GetMobileSdkReleaseRequestRequestTypeDef#

# GetMobileSdkReleaseRequestRequestTypeDef definition

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

GetPermissionPolicyRequestRequestTypeDef#

# GetPermissionPolicyRequestRequestTypeDef definition

class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetRateBasedStatementManagedKeysRequestRequestTypeDef#

# GetRateBasedStatementManagedKeysRequestRequestTypeDef definition

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

RateBasedStatementManagedKeysIPSetTypeDef#

# RateBasedStatementManagedKeysIPSetTypeDef definition

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

GetRegexPatternSetRequestRequestTypeDef#

# GetRegexPatternSetRequestRequestTypeDef definition

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

GetRuleGroupRequestRequestTypeDef#

# GetRuleGroupRequestRequestTypeDef definition

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

TimeWindowOutputTypeDef#

# TimeWindowOutputTypeDef definition

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

GetWebACLForResourceRequestRequestTypeDef#

# GetWebACLForResourceRequestRequestTypeDef definition

class GetWebACLForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetWebACLRequestRequestTypeDef#

# GetWebACLRequestRequestTypeDef definition

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

HTTPHeaderTypeDef#

# HTTPHeaderTypeDef definition

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

HeaderMatchPatternOutputTypeDef#

# HeaderMatchPatternOutputTypeDef definition

class HeaderMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[dict[str, Any]],
    IncludedHeaders: NotRequired[list[str]],
    ExcludedHeaders: NotRequired[list[str]],

HeaderMatchPatternTypeDef#

# HeaderMatchPatternTypeDef definition

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

IPSetForwardedIPConfigTypeDef#

# IPSetForwardedIPConfigTypeDef definition

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

JsonMatchPatternOutputTypeDef#

# JsonMatchPatternOutputTypeDef definition

class JsonMatchPatternOutputTypeDef(TypedDict):
    All: NotRequired[dict[str, Any]],
    IncludedPaths: NotRequired[list[str]],

JsonMatchPatternTypeDef#

# JsonMatchPatternTypeDef definition

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

LabelMatchStatementTypeDef#

# LabelMatchStatementTypeDef definition

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

LabelTypeDef#

# LabelTypeDef definition

class LabelTypeDef(TypedDict):
    Name: str,

ListAPIKeysRequestRequestTypeDef#

# ListAPIKeysRequestRequestTypeDef definition

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

ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef#

# ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef definition

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

ManagedRuleGroupVersionTypeDef#

# ManagedRuleGroupVersionTypeDef definition

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

ListAvailableManagedRuleGroupsRequestRequestTypeDef#

# ListAvailableManagedRuleGroupsRequestRequestTypeDef definition

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

ManagedRuleGroupSummaryTypeDef#

# ManagedRuleGroupSummaryTypeDef definition

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

ListIPSetsRequestRequestTypeDef#

# ListIPSetsRequestRequestTypeDef definition

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

ListLoggingConfigurationsRequestRequestTypeDef#

# ListLoggingConfigurationsRequestRequestTypeDef definition

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

ListManagedRuleSetsRequestRequestTypeDef#

# ListManagedRuleSetsRequestRequestTypeDef definition

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

ManagedRuleSetSummaryTypeDef#

# ManagedRuleSetSummaryTypeDef definition

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

ListMobileSdkReleasesRequestRequestTypeDef#

# ListMobileSdkReleasesRequestRequestTypeDef definition

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

ReleaseSummaryTypeDef#

# ReleaseSummaryTypeDef definition

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

ListRegexPatternSetsRequestRequestTypeDef#

# ListRegexPatternSetsRequestRequestTypeDef definition

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

ListResourcesForWebACLRequestRequestTypeDef#

# ListResourcesForWebACLRequestRequestTypeDef definition

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

ListRuleGroupsRequestRequestTypeDef#

# ListRuleGroupsRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

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

ListWebACLsRequestRequestTypeDef#

# ListWebACLsRequestRequestTypeDef definition

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

PasswordFieldTypeDef#

# PasswordFieldTypeDef definition

class PasswordFieldTypeDef(TypedDict):
    Identifier: str,

UsernameFieldTypeDef#

# UsernameFieldTypeDef definition

class UsernameFieldTypeDef(TypedDict):
    Identifier: str,

ManagedRuleSetVersionTypeDef#

# ManagedRuleSetVersionTypeDef definition

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

NotStatementOutputTypeDef#

# NotStatementOutputTypeDef definition

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

NotStatementTypeDef#

# NotStatementTypeDef definition

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

OrStatementOutputTypeDef#

# OrStatementOutputTypeDef definition

class OrStatementOutputTypeDef(TypedDict):
    Statements: list[dict[str, Any]],

OrStatementTypeDef#

# OrStatementTypeDef definition

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

PhoneNumberFieldTypeDef#

# PhoneNumberFieldTypeDef definition

class PhoneNumberFieldTypeDef(TypedDict):
    Identifier: str,

VersionToPublishTypeDef#

# VersionToPublishTypeDef definition

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

PutPermissionPolicyRequestRequestTypeDef#

# PutPermissionPolicyRequestRequestTypeDef definition

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

RateLimitLabelNamespaceTypeDef#

# RateLimitLabelNamespaceTypeDef definition

class RateLimitLabelNamespaceTypeDef(TypedDict):
    Namespace: str,

ResponseInspectionBodyContainsOutputTypeDef#

# ResponseInspectionBodyContainsOutputTypeDef definition

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

ResponseInspectionBodyContainsTypeDef#

# ResponseInspectionBodyContainsTypeDef definition

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

ResponseInspectionHeaderOutputTypeDef#

# ResponseInspectionHeaderOutputTypeDef definition

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

ResponseInspectionHeaderTypeDef#

# ResponseInspectionHeaderTypeDef definition

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

ResponseInspectionJsonOutputTypeDef#

# ResponseInspectionJsonOutputTypeDef definition

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

ResponseInspectionJsonTypeDef#

# ResponseInspectionJsonTypeDef definition

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

ResponseInspectionStatusCodeOutputTypeDef#

# ResponseInspectionStatusCodeOutputTypeDef definition

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

ResponseInspectionStatusCodeTypeDef#

# ResponseInspectionStatusCodeTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

UpdateIPSetRequestRequestTypeDef#

# UpdateIPSetRequestRequestTypeDef definition

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

AssociationConfigOutputTypeDef#

# AssociationConfigOutputTypeDef definition

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

AssociationConfigTypeDef#

# AssociationConfigTypeDef definition

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

RateLimitCookieOutputTypeDef#

# RateLimitCookieOutputTypeDef definition

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

RateLimitCookieTypeDef#

# RateLimitCookieTypeDef definition

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

RateLimitHeaderOutputTypeDef#

# RateLimitHeaderOutputTypeDef definition

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

RateLimitHeaderTypeDef#

# RateLimitHeaderTypeDef definition

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

RateLimitQueryArgumentOutputTypeDef#

# RateLimitQueryArgumentOutputTypeDef definition

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

RateLimitQueryArgumentTypeDef#

# RateLimitQueryArgumentTypeDef definition

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

RateLimitQueryStringOutputTypeDef#

# RateLimitQueryStringOutputTypeDef definition

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

RateLimitQueryStringTypeDef#

# RateLimitQueryStringTypeDef definition

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

RateLimitUriPathOutputTypeDef#

# RateLimitUriPathOutputTypeDef definition

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

RateLimitUriPathTypeDef#

# RateLimitUriPathTypeDef definition

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

CaptchaConfigTypeDef#

# CaptchaConfigTypeDef definition

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

ChallengeConfigTypeDef#

# ChallengeConfigTypeDef definition

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

CheckCapacityResponseTypeDef#

# CheckCapacityResponseTypeDef definition

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

CreateAPIKeyResponseTypeDef#

# CreateAPIKeyResponseTypeDef definition

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

DeleteFirewallManagerRuleGroupsResponseTypeDef#

# DeleteFirewallManagerRuleGroupsResponseTypeDef definition

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

GenerateMobileSdkReleaseUrlResponseTypeDef#

# GenerateMobileSdkReleaseUrlResponseTypeDef definition

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

GetDecryptedAPIKeyResponseTypeDef#

# GetDecryptedAPIKeyResponseTypeDef definition

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

GetPermissionPolicyResponseTypeDef#

# GetPermissionPolicyResponseTypeDef definition

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

ListAPIKeysResponseTypeDef#

# ListAPIKeysResponseTypeDef definition

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

ListResourcesForWebACLResponseTypeDef#

# ListResourcesForWebACLResponseTypeDef definition

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

PutManagedRuleSetVersionsResponseTypeDef#

# PutManagedRuleSetVersionsResponseTypeDef definition

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

UpdateIPSetResponseTypeDef#

# UpdateIPSetResponseTypeDef definition

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

UpdateManagedRuleSetVersionExpiryDateResponseTypeDef#

# UpdateManagedRuleSetVersionExpiryDateResponseTypeDef definition

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

UpdateRegexPatternSetResponseTypeDef#

# UpdateRegexPatternSetResponseTypeDef definition

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

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef definition

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

UpdateWebACLResponseTypeDef#

# UpdateWebACLResponseTypeDef definition

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

ConditionTypeDef#

# ConditionTypeDef definition

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

CookiesOutputTypeDef#

# CookiesOutputTypeDef definition

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

CreateIPSetRequestRequestTypeDef#

# CreateIPSetRequestRequestTypeDef definition

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

MobileSdkReleaseTypeDef#

# MobileSdkReleaseTypeDef definition

class MobileSdkReleaseTypeDef(TypedDict):
    ReleaseVersion: NotRequired[str],
    Timestamp: NotRequired[datetime],
    ReleaseNotes: NotRequired[str],
    Tags: NotRequired[list[TagTypeDef]],  # (1)
  1. 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

CreateIPSetResponseTypeDef#

# CreateIPSetResponseTypeDef definition

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

ListIPSetsResponseTypeDef#

# ListIPSetsResponseTypeDef definition

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

CreateRegexPatternSetRequestRequestTypeDef#

# CreateRegexPatternSetRequestRequestTypeDef definition

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

RegexPatternSetTypeDef#

# RegexPatternSetTypeDef definition

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

UpdateRegexPatternSetRequestRequestTypeDef#

# UpdateRegexPatternSetRequestRequestTypeDef definition

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

CreateRegexPatternSetResponseTypeDef#

# CreateRegexPatternSetResponseTypeDef definition

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

ListRegexPatternSetsResponseTypeDef#

# ListRegexPatternSetsResponseTypeDef definition

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

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef definition

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

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef definition

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

CreateWebACLResponseTypeDef#

# CreateWebACLResponseTypeDef definition

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

ListWebACLsResponseTypeDef#

# ListWebACLsResponseTypeDef definition

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

CustomRequestHandlingOutputTypeDef#

# CustomRequestHandlingOutputTypeDef definition

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

CustomRequestHandlingTypeDef#

# CustomRequestHandlingTypeDef definition

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

CustomResponseOutputTypeDef#

# CustomResponseOutputTypeDef definition

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

CustomResponseTypeDef#

# CustomResponseTypeDef definition

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

DescribeAllManagedProductsResponseTypeDef#

# DescribeAllManagedProductsResponseTypeDef definition

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

DescribeManagedProductsByVendorResponseTypeDef#

# DescribeManagedProductsByVendorResponseTypeDef definition

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

GeoMatchStatementOutputTypeDef#

# GeoMatchStatementOutputTypeDef definition

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

GeoMatchStatementTypeDef#

# GeoMatchStatementTypeDef definition

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

GetIPSetResponseTypeDef#

# GetIPSetResponseTypeDef definition

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

GetRateBasedStatementManagedKeysResponseTypeDef#

# GetRateBasedStatementManagedKeysResponseTypeDef definition

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

HTTPRequestTypeDef#

# HTTPRequestTypeDef definition

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

HeadersOutputTypeDef#

# HeadersOutputTypeDef definition

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

IPSetReferenceStatementTypeDef#

# IPSetReferenceStatementTypeDef definition

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

JsonBodyOutputTypeDef#

# JsonBodyOutputTypeDef definition

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

ListAvailableManagedRuleGroupVersionsResponseTypeDef#

# ListAvailableManagedRuleGroupVersionsResponseTypeDef definition

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

ListAvailableManagedRuleGroupsResponseTypeDef#

# ListAvailableManagedRuleGroupsResponseTypeDef definition

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

ListManagedRuleSetsResponseTypeDef#

# ListManagedRuleSetsResponseTypeDef definition

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

ListMobileSdkReleasesResponseTypeDef#

# ListMobileSdkReleasesResponseTypeDef definition

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

RequestInspectionTypeDef#

# RequestInspectionTypeDef definition

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

ManagedRuleSetTypeDef#

# ManagedRuleSetTypeDef definition

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

RequestInspectionACFPOutputTypeDef#

# RequestInspectionACFPOutputTypeDef definition

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

RequestInspectionACFPTypeDef#

# RequestInspectionACFPTypeDef definition

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

PutManagedRuleSetVersionsRequestRequestTypeDef#

# PutManagedRuleSetVersionsRequestRequestTypeDef definition

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

ResponseInspectionOutputTypeDef#

# ResponseInspectionOutputTypeDef definition

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

TimeWindowTypeDef#

# TimeWindowTypeDef definition

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

UpdateManagedRuleSetVersionExpiryDateRequestRequestTypeDef#

# UpdateManagedRuleSetVersionExpiryDateRequestRequestTypeDef definition

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

RateBasedStatementCustomKeyOutputTypeDef#

# RateBasedStatementCustomKeyOutputTypeDef definition

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

FilterOutputTypeDef#

# FilterOutputTypeDef definition

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

FilterTypeDef#

# FilterTypeDef definition

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

CookiesTypeDef#

# CookiesTypeDef definition

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

GetMobileSdkReleaseResponseTypeDef#

# GetMobileSdkReleaseResponseTypeDef definition

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

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

GetRegexPatternSetResponseTypeDef#

# GetRegexPatternSetResponseTypeDef definition

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

AllowActionOutputTypeDef#

# AllowActionOutputTypeDef definition

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

CaptchaActionOutputTypeDef#

# CaptchaActionOutputTypeDef definition

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

ChallengeActionOutputTypeDef#

# ChallengeActionOutputTypeDef definition

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

CountActionOutputTypeDef#

# CountActionOutputTypeDef definition

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

BlockActionOutputTypeDef#

# BlockActionOutputTypeDef definition

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

SampledHTTPRequestTypeDef#

# SampledHTTPRequestTypeDef definition

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

HeadersTypeDef#

# HeadersTypeDef definition

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

FieldToMatchOutputTypeDef#

# FieldToMatchOutputTypeDef definition

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

JsonBodyTypeDef#

# JsonBodyTypeDef definition

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

GetManagedRuleSetResponseTypeDef#

# GetManagedRuleSetResponseTypeDef definition

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

AWSManagedRulesACFPRuleSetOutputTypeDef#

# AWSManagedRulesACFPRuleSetOutputTypeDef definition

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

AWSManagedRulesATPRuleSetOutputTypeDef#

# AWSManagedRulesATPRuleSetOutputTypeDef definition

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

ResponseInspectionTypeDef#

# ResponseInspectionTypeDef definition

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

GetSampledRequestsRequestRequestTypeDef#

# GetSampledRequestsRequestRequestTypeDef definition

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

RateBasedStatementOutputTypeDef#

# RateBasedStatementOutputTypeDef definition

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

RateBasedStatementCustomKeyTypeDef#

# RateBasedStatementCustomKeyTypeDef definition

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

LoggingFilterOutputTypeDef#

# LoggingFilterOutputTypeDef definition

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

OverrideActionOutputTypeDef#

# OverrideActionOutputTypeDef definition

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

AllowActionTypeDef#

# AllowActionTypeDef definition

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

CaptchaActionTypeDef#

# CaptchaActionTypeDef definition

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

ChallengeActionTypeDef#

# ChallengeActionTypeDef definition

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

CountActionTypeDef#

# CountActionTypeDef definition

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

DefaultActionOutputTypeDef#

# DefaultActionOutputTypeDef definition

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

RuleActionOutputTypeDef#

# RuleActionOutputTypeDef definition

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

BlockActionTypeDef#

# BlockActionTypeDef definition

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

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

ByteMatchStatementOutputTypeDef#

# ByteMatchStatementOutputTypeDef definition

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

RegexMatchStatementOutputTypeDef#

# RegexMatchStatementOutputTypeDef definition

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

RegexPatternSetReferenceStatementOutputTypeDef#

# RegexPatternSetReferenceStatementOutputTypeDef definition

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

SizeConstraintStatementOutputTypeDef#

# SizeConstraintStatementOutputTypeDef definition

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

SqliMatchStatementOutputTypeDef#

# SqliMatchStatementOutputTypeDef definition

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

XssMatchStatementOutputTypeDef#

# XssMatchStatementOutputTypeDef definition

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

ManagedRuleGroupConfigOutputTypeDef#

# ManagedRuleGroupConfigOutputTypeDef definition

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

LoggingConfigurationOutputTypeDef#

# LoggingConfigurationOutputTypeDef definition

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

LoggingFilterTypeDef#

# LoggingFilterTypeDef definition

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

RuleActionOverrideOutputTypeDef#

# RuleActionOverrideOutputTypeDef definition

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

RuleSummaryTypeDef#

# RuleSummaryTypeDef definition

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

FieldToMatchTypeDef#

# FieldToMatchTypeDef definition

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

AWSManagedRulesACFPRuleSetTypeDef#

# AWSManagedRulesACFPRuleSetTypeDef definition

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

AWSManagedRulesATPRuleSetTypeDef#

# AWSManagedRulesATPRuleSetTypeDef definition

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

RateBasedStatementTypeDef#

# RateBasedStatementTypeDef definition

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

GetLoggingConfigurationResponseTypeDef#

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

OverrideActionTypeDef#

# OverrideActionTypeDef definition

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

ManagedRuleGroupStatementOutputTypeDef#

# ManagedRuleGroupStatementOutputTypeDef definition

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

RuleGroupReferenceStatementOutputTypeDef#

# RuleGroupReferenceStatementOutputTypeDef definition

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

DescribeManagedRuleGroupResponseTypeDef#

# DescribeManagedRuleGroupResponseTypeDef definition

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

DefaultActionTypeDef#

# DefaultActionTypeDef definition

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

RuleActionTypeDef#

# RuleActionTypeDef definition

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

FirewallManagerStatementTypeDef#

# FirewallManagerStatementTypeDef definition

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

StatementOutputTypeDef#

# StatementOutputTypeDef definition

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

ByteMatchStatementTypeDef#

# ByteMatchStatementTypeDef definition

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

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef definition

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

RegexMatchStatementTypeDef#

# RegexMatchStatementTypeDef definition

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

RegexPatternSetReferenceStatementTypeDef#

# RegexPatternSetReferenceStatementTypeDef definition

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

SizeConstraintStatementTypeDef#

# SizeConstraintStatementTypeDef definition

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

SqliMatchStatementTypeDef#

# SqliMatchStatementTypeDef definition

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

XssMatchStatementTypeDef#

# XssMatchStatementTypeDef definition

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

ManagedRuleGroupConfigTypeDef#

# ManagedRuleGroupConfigTypeDef definition

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

FirewallManagerRuleGroupTypeDef#

# FirewallManagerRuleGroupTypeDef definition

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

RuleOutputTypeDef#

# RuleOutputTypeDef definition

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

RuleActionOverrideTypeDef#

# RuleActionOverrideTypeDef definition

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

PutLoggingConfigurationRequestRequestTypeDef#

# PutLoggingConfigurationRequestRequestTypeDef definition

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

RuleGroupTypeDef#

# RuleGroupTypeDef definition

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

WebACLTypeDef#

# WebACLTypeDef definition

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

RuleGroupReferenceStatementTypeDef#

# RuleGroupReferenceStatementTypeDef definition

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

GetRuleGroupResponseTypeDef#

# GetRuleGroupResponseTypeDef definition

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

GetWebACLForResourceResponseTypeDef#

# GetWebACLForResourceResponseTypeDef definition

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

GetWebACLResponseTypeDef#

# GetWebACLResponseTypeDef definition

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

ManagedRuleGroupStatementTypeDef#

# ManagedRuleGroupStatementTypeDef definition

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

StatementTypeDef#

# StatementTypeDef definition

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

RuleTypeDef#

# RuleTypeDef definition

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

CreateRuleGroupRequestRequestTypeDef#

# CreateRuleGroupRequestRequestTypeDef definition

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

CreateWebACLRequestRequestTypeDef#

# CreateWebACLRequestRequestTypeDef definition

class CreateWebACLRequestRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    DefaultAction: DefaultActionTypeDef,  # (2)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleTypeDef]],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (6)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (7)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (8)
    TokenDomains: NotRequired[Sequence[str]],
    AssociationConfig: NotRequired[AssociationConfigTypeDef],  # (9)
  1. See ScopeType
  2. See DefaultActionTypeDef
  3. See VisibilityConfigTypeDef
  4. See RuleTypeDef
  5. See TagTypeDef
  6. See CustomResponseBodyTypeDef
  7. See CaptchaConfigTypeDef
  8. See ChallengeConfigTypeDef
  9. See AssociationConfigTypeDef

UpdateRuleGroupRequestRequestTypeDef#

# UpdateRuleGroupRequestRequestTypeDef definition

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

UpdateWebACLRequestRequestTypeDef#

# UpdateWebACLRequestRequestTypeDef definition

class UpdateWebACLRequestRequestTypeDef(TypedDict):
    Name: str,
    Scope: ScopeType,  # (1)
    Id: str,
    DefaultAction: DefaultActionTypeDef,  # (2)
    VisibilityConfig: VisibilityConfigTypeDef,  # (3)
    LockToken: str,
    Description: NotRequired[str],
    Rules: NotRequired[Sequence[RuleTypeDef]],  # (4)
    CustomResponseBodies: NotRequired[Mapping[str, CustomResponseBodyTypeDef]],  # (5)
    CaptchaConfig: NotRequired[CaptchaConfigTypeDef],  # (6)
    ChallengeConfig: NotRequired[ChallengeConfigTypeDef],  # (7)
    TokenDomains: NotRequired[Sequence[str]],
    AssociationConfig: NotRequired[AssociationConfigTypeDef],  # (8)
  1. See ScopeType
  2. See DefaultActionTypeDef
  3. See VisibilityConfigTypeDef
  4. See RuleTypeDef
  5. See CustomResponseBodyTypeDef
  6. See CaptchaConfigTypeDef
  7. See ChallengeConfigTypeDef
  8. See AssociationConfigTypeDef

CheckCapacityRequestRequestTypeDef#

# CheckCapacityRequestRequestTypeDef definition

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