Type definitions#
Auto-generated documentation for WAFV2 type annotations stubs module mypy-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)
]
CookieMatchPatternUnionTypeDef#
# CookieMatchPatternUnionTypeDef definition
CookieMatchPatternUnionTypeDef = Union[
CookieMatchPatternTypeDef, # (1)
CookieMatchPatternOutputTypeDef, # (2)
]
HeaderMatchPatternUnionTypeDef#
# HeaderMatchPatternUnionTypeDef definition
HeaderMatchPatternUnionTypeDef = Union[
HeaderMatchPatternTypeDef, # (1)
HeaderMatchPatternOutputTypeDef, # (2)
]
JsonMatchPatternUnionTypeDef#
# JsonMatchPatternUnionTypeDef definition
JsonMatchPatternUnionTypeDef = Union[
JsonMatchPatternTypeDef, # (1)
JsonMatchPatternOutputTypeDef, # (2)
]
NotStatementUnionTypeDef#
# NotStatementUnionTypeDef definition
NotStatementUnionTypeDef = Union[
NotStatementTypeDef, # (1)
NotStatementOutputTypeDef, # (2)
]
OrStatementUnionTypeDef#
# OrStatementUnionTypeDef definition
OrStatementUnionTypeDef = Union[
OrStatementTypeDef, # (1)
OrStatementOutputTypeDef, # (2)
]
ResponseInspectionBodyContainsUnionTypeDef#
# ResponseInspectionBodyContainsUnionTypeDef definition
ResponseInspectionBodyContainsUnionTypeDef = Union[
ResponseInspectionBodyContainsTypeDef, # (1)
ResponseInspectionBodyContainsOutputTypeDef, # (2)
]
ResponseInspectionHeaderUnionTypeDef#
# ResponseInspectionHeaderUnionTypeDef definition
ResponseInspectionHeaderUnionTypeDef = Union[
ResponseInspectionHeaderTypeDef, # (1)
ResponseInspectionHeaderOutputTypeDef, # (2)
]
ResponseInspectionJsonUnionTypeDef#
# ResponseInspectionJsonUnionTypeDef definition
ResponseInspectionJsonUnionTypeDef = Union[
ResponseInspectionJsonTypeDef, # (1)
ResponseInspectionJsonOutputTypeDef, # (2)
]
ResponseInspectionStatusCodeUnionTypeDef#
# ResponseInspectionStatusCodeUnionTypeDef definition
ResponseInspectionStatusCodeUnionTypeDef = Union[
ResponseInspectionStatusCodeTypeDef, # (1)
ResponseInspectionStatusCodeOutputTypeDef, # (2)
]
RateLimitCookieUnionTypeDef#
# RateLimitCookieUnionTypeDef definition
RateLimitCookieUnionTypeDef = Union[
RateLimitCookieTypeDef, # (1)
RateLimitCookieOutputTypeDef, # (2)
]
RateLimitHeaderUnionTypeDef#
# RateLimitHeaderUnionTypeDef definition
RateLimitHeaderUnionTypeDef = Union[
RateLimitHeaderTypeDef, # (1)
RateLimitHeaderOutputTypeDef, # (2)
]
RateLimitQueryArgumentUnionTypeDef#
# RateLimitQueryArgumentUnionTypeDef definition
RateLimitQueryArgumentUnionTypeDef = Union[
RateLimitQueryArgumentTypeDef, # (1)
RateLimitQueryArgumentOutputTypeDef, # (2)
]
RateLimitQueryStringUnionTypeDef#
# RateLimitQueryStringUnionTypeDef definition
RateLimitQueryStringUnionTypeDef = Union[
RateLimitQueryStringTypeDef, # (1)
RateLimitQueryStringOutputTypeDef, # (2)
]
RateLimitUriPathUnionTypeDef#
# RateLimitUriPathUnionTypeDef definition
RateLimitUriPathUnionTypeDef = Union[
RateLimitUriPathTypeDef, # (1)
RateLimitUriPathOutputTypeDef, # (2)
]
CustomRequestHandlingUnionTypeDef#
# CustomRequestHandlingUnionTypeDef definition
CustomRequestHandlingUnionTypeDef = Union[
CustomRequestHandlingTypeDef, # (1)
CustomRequestHandlingOutputTypeDef, # (2)
]
CustomResponseUnionTypeDef#
# CustomResponseUnionTypeDef definition
CustomResponseUnionTypeDef = Union[
CustomResponseTypeDef, # (1)
CustomResponseOutputTypeDef, # (2)
]
GeoMatchStatementUnionTypeDef#
# GeoMatchStatementUnionTypeDef definition
GeoMatchStatementUnionTypeDef = Union[
GeoMatchStatementTypeDef, # (1)
GeoMatchStatementOutputTypeDef, # (2)
]
RequestInspectionACFPUnionTypeDef#
# RequestInspectionACFPUnionTypeDef definition
RequestInspectionACFPUnionTypeDef = Union[
RequestInspectionACFPTypeDef, # (1)
RequestInspectionACFPOutputTypeDef, # (2)
]
FilterUnionTypeDef#
# FilterUnionTypeDef definition
FilterUnionTypeDef = Union[
FilterTypeDef, # (1)
FilterOutputTypeDef, # (2)
]
- See FilterTypeDef
- See FilterOutputTypeDef
CookiesUnionTypeDef#
# CookiesUnionTypeDef definition
CookiesUnionTypeDef = Union[
CookiesTypeDef, # (1)
CookiesOutputTypeDef, # (2)
]
- See CookiesTypeDef
- See CookiesOutputTypeDef
HeadersUnionTypeDef#
# HeadersUnionTypeDef definition
HeadersUnionTypeDef = Union[
HeadersTypeDef, # (1)
HeadersOutputTypeDef, # (2)
]
- See HeadersTypeDef
- See HeadersOutputTypeDef
JsonBodyUnionTypeDef#
# JsonBodyUnionTypeDef definition
JsonBodyUnionTypeDef = Union[
JsonBodyTypeDef, # (1)
JsonBodyOutputTypeDef, # (2)
]
- See JsonBodyTypeDef
- See JsonBodyOutputTypeDef
ResponseInspectionUnionTypeDef#
# ResponseInspectionUnionTypeDef definition
ResponseInspectionUnionTypeDef = Union[
ResponseInspectionTypeDef, # (1)
ResponseInspectionOutputTypeDef, # (2)
]
RateBasedStatementCustomKeyUnionTypeDef#
# RateBasedStatementCustomKeyUnionTypeDef definition
RateBasedStatementCustomKeyUnionTypeDef = Union[
RateBasedStatementCustomKeyTypeDef, # (1)
RateBasedStatementCustomKeyOutputTypeDef, # (2)
]
AllowActionUnionTypeDef#
# AllowActionUnionTypeDef definition
AllowActionUnionTypeDef = Union[
AllowActionTypeDef, # (1)
AllowActionOutputTypeDef, # (2)
]
CaptchaActionUnionTypeDef#
# CaptchaActionUnionTypeDef definition
CaptchaActionUnionTypeDef = Union[
CaptchaActionTypeDef, # (1)
CaptchaActionOutputTypeDef, # (2)
]
ChallengeActionUnionTypeDef#
# ChallengeActionUnionTypeDef definition
ChallengeActionUnionTypeDef = Union[
ChallengeActionTypeDef, # (1)
ChallengeActionOutputTypeDef, # (2)
]
CountActionUnionTypeDef#
# CountActionUnionTypeDef definition
CountActionUnionTypeDef = Union[
CountActionTypeDef, # (1)
CountActionOutputTypeDef, # (2)
]
BlockActionUnionTypeDef#
# BlockActionUnionTypeDef definition
BlockActionUnionTypeDef = Union[
BlockActionTypeDef, # (1)
BlockActionOutputTypeDef, # (2)
]
LoggingFilterUnionTypeDef#
# LoggingFilterUnionTypeDef definition
LoggingFilterUnionTypeDef = Union[
LoggingFilterTypeDef, # (1)
LoggingFilterOutputTypeDef, # (2)
]
FieldToMatchUnionTypeDef#
# FieldToMatchUnionTypeDef definition
FieldToMatchUnionTypeDef = Union[
FieldToMatchTypeDef, # (1)
FieldToMatchOutputTypeDef, # (2)
]
AWSManagedRulesACFPRuleSetUnionTypeDef#
# AWSManagedRulesACFPRuleSetUnionTypeDef definition
AWSManagedRulesACFPRuleSetUnionTypeDef = Union[
AWSManagedRulesACFPRuleSetTypeDef, # (1)
AWSManagedRulesACFPRuleSetOutputTypeDef, # (2)
]
AWSManagedRulesATPRuleSetUnionTypeDef#
# AWSManagedRulesATPRuleSetUnionTypeDef definition
AWSManagedRulesATPRuleSetUnionTypeDef = Union[
AWSManagedRulesATPRuleSetTypeDef, # (1)
AWSManagedRulesATPRuleSetOutputTypeDef, # (2)
]
RateBasedStatementUnionTypeDef#
# RateBasedStatementUnionTypeDef definition
RateBasedStatementUnionTypeDef = Union[
RateBasedStatementTypeDef, # (1)
RateBasedStatementOutputTypeDef, # (2)
]
OverrideActionUnionTypeDef#
# OverrideActionUnionTypeDef definition
OverrideActionUnionTypeDef = Union[
OverrideActionTypeDef, # (1)
OverrideActionOutputTypeDef, # (2)
]
RuleActionUnionTypeDef#
# RuleActionUnionTypeDef definition
RuleActionUnionTypeDef = Union[
RuleActionTypeDef, # (1)
RuleActionOutputTypeDef, # (2)
]
ByteMatchStatementUnionTypeDef#
# ByteMatchStatementUnionTypeDef definition
ByteMatchStatementUnionTypeDef = Union[
ByteMatchStatementTypeDef, # (1)
ByteMatchStatementOutputTypeDef, # (2)
]
RegexMatchStatementUnionTypeDef#
# RegexMatchStatementUnionTypeDef definition
RegexMatchStatementUnionTypeDef = Union[
RegexMatchStatementTypeDef, # (1)
RegexMatchStatementOutputTypeDef, # (2)
]
RegexPatternSetReferenceStatementUnionTypeDef#
# RegexPatternSetReferenceStatementUnionTypeDef definition
RegexPatternSetReferenceStatementUnionTypeDef = Union[
RegexPatternSetReferenceStatementTypeDef, # (1)
RegexPatternSetReferenceStatementOutputTypeDef, # (2)
]
SizeConstraintStatementUnionTypeDef#
# SizeConstraintStatementUnionTypeDef definition
SizeConstraintStatementUnionTypeDef = Union[
SizeConstraintStatementTypeDef, # (1)
SizeConstraintStatementOutputTypeDef, # (2)
]
SqliMatchStatementUnionTypeDef#
# SqliMatchStatementUnionTypeDef definition
SqliMatchStatementUnionTypeDef = Union[
SqliMatchStatementTypeDef, # (1)
SqliMatchStatementOutputTypeDef, # (2)
]
XssMatchStatementUnionTypeDef#
# XssMatchStatementUnionTypeDef definition
XssMatchStatementUnionTypeDef = Union[
XssMatchStatementTypeDef, # (1)
XssMatchStatementOutputTypeDef, # (2)
]
ManagedRuleGroupConfigUnionTypeDef#
# ManagedRuleGroupConfigUnionTypeDef definition
ManagedRuleGroupConfigUnionTypeDef = Union[
ManagedRuleGroupConfigTypeDef, # (1)
ManagedRuleGroupConfigOutputTypeDef, # (2)
]
RuleActionOverrideUnionTypeDef#
# RuleActionOverrideUnionTypeDef definition
RuleActionOverrideUnionTypeDef = Union[
RuleActionOverrideTypeDef, # (1)
RuleActionOverrideOutputTypeDef, # (2)
]
ManagedRuleGroupStatementUnionTypeDef#
# ManagedRuleGroupStatementUnionTypeDef definition
ManagedRuleGroupStatementUnionTypeDef = Union[
ManagedRuleGroupStatementTypeDef, # (1)
ManagedRuleGroupStatementOutputTypeDef, # (2)
]
RuleGroupReferenceStatementUnionTypeDef#
# RuleGroupReferenceStatementUnionTypeDef definition
RuleGroupReferenceStatementUnionTypeDef = Union[
RuleGroupReferenceStatementTypeDef, # (1)
RuleGroupReferenceStatementOutputTypeDef, # (2)
]
StatementUnionTypeDef#
# StatementUnionTypeDef definition
StatementUnionTypeDef = Union[
StatementTypeDef, # (1)
StatementOutputTypeDef, # (2)
]
RuleUnionTypeDef#
# RuleUnionTypeDef definition
RuleUnionTypeDef = Union[
RuleTypeDef, # (1)
RuleOutputTypeDef, # (2)
]
- See RuleTypeDef
- 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],
ActionConditionTypeDef#
# ActionConditionTypeDef definition
class ActionConditionTypeDef(TypedDict):
Action: ActionValueType, # (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)
BodyTypeDef#
# BodyTypeDef definition
class BodyTypeDef(TypedDict):
OversizeHandling: NotRequired[OversizeHandlingType], # (1)
TextTransformationTypeDef#
# TextTransformationTypeDef definition
class TextTransformationTypeDef(TypedDict):
Priority: int,
Type: TextTransformationTypeType, # (1)
ImmunityTimePropertyTypeDef#
# ImmunityTimePropertyTypeDef definition
class ImmunityTimePropertyTypeDef(TypedDict):
ImmunityTime: int,
CaptchaResponseTypeDef#
# CaptchaResponseTypeDef definition
class CaptchaResponseTypeDef(TypedDict):
ResponseCode: NotRequired[int],
SolveTimestamp: NotRequired[int],
FailureReason: NotRequired[FailureReasonType], # (1)
ChallengeResponseTypeDef#
# ChallengeResponseTypeDef definition
class ChallengeResponseTypeDef(TypedDict):
ResponseCode: NotRequired[int],
SolveTimestamp: NotRequired[int],
FailureReason: NotRequired[FailureReasonType], # (1)
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],
- 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,
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,
- 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,
- See ScopeType
DeleteLoggingConfigurationRequestRequestTypeDef#
# DeleteLoggingConfigurationRequestRequestTypeDef definition
class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
ResourceArn: str,
LogType: NotRequired[LogTypeType], # (1)
LogScope: NotRequired[LogScopeType], # (2)
- See LogTypeType
- 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,
- See ScopeType
DeleteRuleGroupRequestRequestTypeDef#
# DeleteRuleGroupRequestRequestTypeDef definition
class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
LockToken: str,
- See ScopeType
DeleteWebACLRequestRequestTypeDef#
# DeleteWebACLRequestRequestTypeDef definition
class DeleteWebACLRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
LockToken: str,
- See ScopeType
DescribeAllManagedProductsRequestRequestTypeDef#
# DescribeAllManagedProductsRequestRequestTypeDef definition
class DescribeAllManagedProductsRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (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)
- See ScopeType
DescribeManagedRuleGroupRequestRequestTypeDef#
# DescribeManagedRuleGroupRequestRequestTypeDef definition
class DescribeManagedRuleGroupRequestRequestTypeDef(TypedDict):
VendorName: str,
Name: str,
Scope: ScopeType, # (1)
VersionName: NotRequired[str],
- 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)
JA3FingerprintTypeDef#
# JA3FingerprintTypeDef definition
class JA3FingerprintTypeDef(TypedDict):
FallbackBehavior: FallbackBehaviorType, # (1)
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)
GenerateMobileSdkReleaseUrlRequestRequestTypeDef#
# GenerateMobileSdkReleaseUrlRequestRequestTypeDef definition
class GenerateMobileSdkReleaseUrlRequestRequestTypeDef(TypedDict):
Platform: PlatformType, # (1)
ReleaseVersion: str,
- See PlatformType
GetDecryptedAPIKeyRequestRequestTypeDef#
# GetDecryptedAPIKeyRequestRequestTypeDef definition
class GetDecryptedAPIKeyRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
APIKey: str,
- See ScopeType
GetIPSetRequestRequestTypeDef#
# GetIPSetRequestRequestTypeDef definition
class GetIPSetRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
- See ScopeType
IPSetTypeDef#
# IPSetTypeDef definition
class IPSetTypeDef(TypedDict):
Name: str,
Id: str,
ARN: str,
IPAddressVersion: IPAddressVersionType, # (1)
Addresses: List[str],
Description: NotRequired[str],
GetLoggingConfigurationRequestRequestTypeDef#
# GetLoggingConfigurationRequestRequestTypeDef definition
class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
ResourceArn: str,
LogType: NotRequired[LogTypeType], # (1)
LogScope: NotRequired[LogScopeType], # (2)
- See LogTypeType
- See LogScopeType
GetManagedRuleSetRequestRequestTypeDef#
# GetManagedRuleSetRequestRequestTypeDef definition
class GetManagedRuleSetRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
- See ScopeType
GetMobileSdkReleaseRequestRequestTypeDef#
# GetMobileSdkReleaseRequestRequestTypeDef definition
class GetMobileSdkReleaseRequestRequestTypeDef(TypedDict):
Platform: PlatformType, # (1)
ReleaseVersion: str,
- 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],
- See ScopeType
RateBasedStatementManagedKeysIPSetTypeDef#
# RateBasedStatementManagedKeysIPSetTypeDef definition
class RateBasedStatementManagedKeysIPSetTypeDef(TypedDict):
IPAddressVersion: NotRequired[IPAddressVersionType], # (1)
Addresses: NotRequired[List[str]],
GetRegexPatternSetRequestRequestTypeDef#
# GetRegexPatternSetRequestRequestTypeDef definition
class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
- See ScopeType
GetRuleGroupRequestRequestTypeDef#
# GetRuleGroupRequestRequestTypeDef definition
class GetRuleGroupRequestRequestTypeDef(TypedDict):
Name: NotRequired[str],
Scope: NotRequired[ScopeType], # (1)
Id: NotRequired[str],
ARN: NotRequired[str],
- 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,
- 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)
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,
LabelTypeDef#
# LabelTypeDef definition
class LabelTypeDef(TypedDict):
Name: str,
ListAPIKeysRequestRequestTypeDef#
# ListAPIKeysRequestRequestTypeDef definition
class ListAPIKeysRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
NextMarker: NotRequired[str],
Limit: NotRequired[int],
- See ScopeType
ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef#
# ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef definition
class ListAvailableManagedRuleGroupVersionsRequestRequestTypeDef(TypedDict):
VendorName: str,
Name: str,
Scope: ScopeType, # (1)
NextMarker: NotRequired[str],
Limit: NotRequired[int],
- 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],
- 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],
- See ScopeType
ListLoggingConfigurationsRequestRequestTypeDef#
# ListLoggingConfigurationsRequestRequestTypeDef definition
class ListLoggingConfigurationsRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
NextMarker: NotRequired[str],
Limit: NotRequired[int],
LogScope: NotRequired[LogScopeType], # (2)
- See ScopeType
- See LogScopeType
ListManagedRuleSetsRequestRequestTypeDef#
# ListManagedRuleSetsRequestRequestTypeDef definition
class ListManagedRuleSetsRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
NextMarker: NotRequired[str],
Limit: NotRequired[int],
- 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],
- 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],
- See ScopeType
ListResourcesForWebACLRequestRequestTypeDef#
# ListResourcesForWebACLRequestRequestTypeDef definition
class ListResourcesForWebACLRequestRequestTypeDef(TypedDict):
WebACLArn: str,
ResourceType: NotRequired[ResourceTypeType], # (1)
- See ResourceTypeType
ListRuleGroupsRequestRequestTypeDef#
# ListRuleGroupsRequestRequestTypeDef definition
class ListRuleGroupsRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
NextMarker: NotRequired[str],
Limit: NotRequired[int],
- 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],
- 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],
- See ScopeType
AssociationConfigOutputTypeDef#
# AssociationConfigOutputTypeDef definition
class AssociationConfigOutputTypeDef(TypedDict):
RequestBody: NotRequired[Dict[AssociatedResourceTypeType, RequestBodyAssociatedResourceTypeConfigTypeDef]], # (1)
AssociationConfigTypeDef#
# AssociationConfigTypeDef definition
class AssociationConfigTypeDef(TypedDict):
RequestBody: NotRequired[Mapping[AssociatedResourceTypeType, RequestBodyAssociatedResourceTypeConfigTypeDef]], # (1)
RateLimitCookieOutputTypeDef#
# RateLimitCookieOutputTypeDef definition
class RateLimitCookieOutputTypeDef(TypedDict):
Name: str,
TextTransformations: List[TextTransformationTypeDef], # (1)
RateLimitCookieTypeDef#
# RateLimitCookieTypeDef definition
class RateLimitCookieTypeDef(TypedDict):
Name: str,
TextTransformations: Sequence[TextTransformationTypeDef], # (1)
RateLimitHeaderOutputTypeDef#
# RateLimitHeaderOutputTypeDef definition
class RateLimitHeaderOutputTypeDef(TypedDict):
Name: str,
TextTransformations: List[TextTransformationTypeDef], # (1)
RateLimitHeaderTypeDef#
# RateLimitHeaderTypeDef definition
class RateLimitHeaderTypeDef(TypedDict):
Name: str,
TextTransformations: Sequence[TextTransformationTypeDef], # (1)
RateLimitQueryArgumentOutputTypeDef#
# RateLimitQueryArgumentOutputTypeDef definition
class RateLimitQueryArgumentOutputTypeDef(TypedDict):
Name: str,
TextTransformations: List[TextTransformationTypeDef], # (1)
RateLimitQueryArgumentTypeDef#
# RateLimitQueryArgumentTypeDef definition
class RateLimitQueryArgumentTypeDef(TypedDict):
Name: str,
TextTransformations: Sequence[TextTransformationTypeDef], # (1)
RateLimitQueryStringOutputTypeDef#
# RateLimitQueryStringOutputTypeDef definition
class RateLimitQueryStringOutputTypeDef(TypedDict):
TextTransformations: List[TextTransformationTypeDef], # (1)
RateLimitQueryStringTypeDef#
# RateLimitQueryStringTypeDef definition
class RateLimitQueryStringTypeDef(TypedDict):
TextTransformations: Sequence[TextTransformationTypeDef], # (1)
RateLimitUriPathOutputTypeDef#
# RateLimitUriPathOutputTypeDef definition
class RateLimitUriPathOutputTypeDef(TypedDict):
TextTransformations: List[TextTransformationTypeDef], # (1)
RateLimitUriPathTypeDef#
# RateLimitUriPathTypeDef definition
class RateLimitUriPathTypeDef(TypedDict):
TextTransformations: Sequence[TextTransformationTypeDef], # (1)
CaptchaConfigTypeDef#
# CaptchaConfigTypeDef definition
class CaptchaConfigTypeDef(TypedDict):
ImmunityTimeProperty: NotRequired[ImmunityTimePropertyTypeDef], # (1)
ChallengeConfigTypeDef#
# ChallengeConfigTypeDef definition
class ChallengeConfigTypeDef(TypedDict):
ImmunityTimeProperty: NotRequired[ImmunityTimePropertyTypeDef], # (1)
CheckCapacityResponseTypeDef#
# CheckCapacityResponseTypeDef definition
class CheckCapacityResponseTypeDef(TypedDict):
Capacity: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateAPIKeyResponseTypeDef#
# CreateAPIKeyResponseTypeDef definition
class CreateAPIKeyResponseTypeDef(TypedDict):
APIKey: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteFirewallManagerRuleGroupsResponseTypeDef#
# DeleteFirewallManagerRuleGroupsResponseTypeDef definition
class DeleteFirewallManagerRuleGroupsResponseTypeDef(TypedDict):
NextWebACLLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GenerateMobileSdkReleaseUrlResponseTypeDef#
# GenerateMobileSdkReleaseUrlResponseTypeDef definition
class GenerateMobileSdkReleaseUrlResponseTypeDef(TypedDict):
Url: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetDecryptedAPIKeyResponseTypeDef#
# GetDecryptedAPIKeyResponseTypeDef definition
class GetDecryptedAPIKeyResponseTypeDef(TypedDict):
TokenDomains: List[str],
CreationTimestamp: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetPermissionPolicyResponseTypeDef#
# GetPermissionPolicyResponseTypeDef definition
class GetPermissionPolicyResponseTypeDef(TypedDict):
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAPIKeysResponseTypeDef#
# ListAPIKeysResponseTypeDef definition
class ListAPIKeysResponseTypeDef(TypedDict):
NextMarker: str,
APIKeySummaries: List[APIKeySummaryTypeDef], # (1)
ApplicationIntegrationURL: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListResourcesForWebACLResponseTypeDef#
# ListResourcesForWebACLResponseTypeDef definition
class ListResourcesForWebACLResponseTypeDef(TypedDict):
ResourceArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutManagedRuleSetVersionsResponseTypeDef#
# PutManagedRuleSetVersionsResponseTypeDef definition
class PutManagedRuleSetVersionsResponseTypeDef(TypedDict):
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateIPSetResponseTypeDef#
# UpdateIPSetResponseTypeDef definition
class UpdateIPSetResponseTypeDef(TypedDict):
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateManagedRuleSetVersionExpiryDateResponseTypeDef#
# UpdateManagedRuleSetVersionExpiryDateResponseTypeDef definition
class UpdateManagedRuleSetVersionExpiryDateResponseTypeDef(TypedDict):
ExpiringVersion: str,
ExpiryTimestamp: datetime,
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRegexPatternSetResponseTypeDef#
# UpdateRegexPatternSetResponseTypeDef definition
class UpdateRegexPatternSetResponseTypeDef(TypedDict):
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRuleGroupResponseTypeDef#
# UpdateRuleGroupResponseTypeDef definition
class UpdateRuleGroupResponseTypeDef(TypedDict):
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateWebACLResponseTypeDef#
# UpdateWebACLResponseTypeDef definition
class UpdateWebACLResponseTypeDef(TypedDict):
NextLockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ConditionTypeDef#
# ConditionTypeDef definition
class ConditionTypeDef(TypedDict):
ActionCondition: NotRequired[ActionConditionTypeDef], # (1)
LabelNameCondition: NotRequired[LabelNameConditionTypeDef], # (2)
CookiesOutputTypeDef#
# CookiesOutputTypeDef definition
class CookiesOutputTypeDef(TypedDict):
MatchPattern: CookieMatchPatternOutputTypeDef, # (1)
MatchScope: MapMatchScopeType, # (2)
OversizeHandling: OversizeHandlingType, # (3)
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)
- See ScopeType
- See IPAddressVersionType
- See TagTypeDef
MobileSdkReleaseTypeDef#
# MobileSdkReleaseTypeDef definition
class MobileSdkReleaseTypeDef(TypedDict):
ReleaseVersion: NotRequired[str],
Timestamp: NotRequired[datetime],
ReleaseNotes: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
TagInfoForResourceTypeDef#
# TagInfoForResourceTypeDef definition
class TagInfoForResourceTypeDef(TypedDict):
ResourceARN: NotRequired[str],
TagList: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateIPSetResponseTypeDef#
# CreateIPSetResponseTypeDef definition
class CreateIPSetResponseTypeDef(TypedDict):
Summary: IPSetSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListIPSetsResponseTypeDef#
# ListIPSetsResponseTypeDef definition
class ListIPSetsResponseTypeDef(TypedDict):
NextMarker: str,
IPSets: List[IPSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRegexPatternSetRequestRequestTypeDef#
# CreateRegexPatternSetRequestRequestTypeDef definition
class CreateRegexPatternSetRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
RegularExpressionList: Sequence[RegexTypeDef], # (2)
Description: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
- See ScopeType
- See RegexTypeDef
- 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)
- See RegexTypeDef
UpdateRegexPatternSetRequestRequestTypeDef#
# UpdateRegexPatternSetRequestRequestTypeDef definition
class UpdateRegexPatternSetRequestRequestTypeDef(TypedDict):
Name: str,
Scope: ScopeType, # (1)
Id: str,
RegularExpressionList: Sequence[RegexTypeDef], # (2)
LockToken: str,
Description: NotRequired[str],
- See ScopeType
- See RegexTypeDef
CreateRegexPatternSetResponseTypeDef#
# CreateRegexPatternSetResponseTypeDef definition
class CreateRegexPatternSetResponseTypeDef(TypedDict):
Summary: RegexPatternSetSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRegexPatternSetsResponseTypeDef#
# ListRegexPatternSetsResponseTypeDef definition
class ListRegexPatternSetsResponseTypeDef(TypedDict):
NextMarker: str,
RegexPatternSets: List[RegexPatternSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRuleGroupResponseTypeDef#
# CreateRuleGroupResponseTypeDef definition
class CreateRuleGroupResponseTypeDef(TypedDict):
Summary: RuleGroupSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRuleGroupsResponseTypeDef#
# ListRuleGroupsResponseTypeDef definition
class ListRuleGroupsResponseTypeDef(TypedDict):
NextMarker: str,
RuleGroups: List[RuleGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateWebACLResponseTypeDef#
# CreateWebACLResponseTypeDef definition
class CreateWebACLResponseTypeDef(TypedDict):
Summary: WebACLSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListWebACLsResponseTypeDef#
# ListWebACLsResponseTypeDef definition
class ListWebACLsResponseTypeDef(TypedDict):
NextMarker: str,
WebACLs: List[WebACLSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CustomRequestHandlingOutputTypeDef#
# CustomRequestHandlingOutputTypeDef definition
class CustomRequestHandlingOutputTypeDef(TypedDict):
InsertHeaders: List[CustomHTTPHeaderTypeDef], # (1)
CustomRequestHandlingTypeDef#
# CustomRequestHandlingTypeDef definition
class CustomRequestHandlingTypeDef(TypedDict):
InsertHeaders: Sequence[CustomHTTPHeaderTypeDef], # (1)
CustomResponseOutputTypeDef#
# CustomResponseOutputTypeDef definition
class CustomResponseOutputTypeDef(TypedDict):
ResponseCode: int,
CustomResponseBodyKey: NotRequired[str],
ResponseHeaders: NotRequired[List[CustomHTTPHeaderTypeDef]], # (1)
CustomResponseTypeDef#
# CustomResponseTypeDef definition
class CustomResponseTypeDef(TypedDict):
ResponseCode: int,
CustomResponseBodyKey: NotRequired[str],
ResponseHeaders: NotRequired[Sequence[CustomHTTPHeaderTypeDef]], # (1)
DescribeAllManagedProductsResponseTypeDef#
# DescribeAllManagedProductsResponseTypeDef definition
class DescribeAllManagedProductsResponseTypeDef(TypedDict):
ManagedProducts: List[ManagedProductDescriptorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeManagedProductsByVendorResponseTypeDef#
# DescribeManagedProductsByVendorResponseTypeDef definition
class DescribeManagedProductsByVendorResponseTypeDef(TypedDict):
ManagedProducts: List[ManagedProductDescriptorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GeoMatchStatementOutputTypeDef#
# GeoMatchStatementOutputTypeDef definition
class GeoMatchStatementOutputTypeDef(TypedDict):
CountryCodes: NotRequired[List[CountryCodeType]], # (1)
ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef], # (2)
GeoMatchStatementTypeDef#
# GeoMatchStatementTypeDef definition
class GeoMatchStatementTypeDef(TypedDict):
CountryCodes: NotRequired[Sequence[CountryCodeType]], # (1)
ForwardedIPConfig: NotRequired[ForwardedIPConfigTypeDef], # (2)
GetIPSetResponseTypeDef#
# GetIPSetResponseTypeDef definition
class GetIPSetResponseTypeDef(TypedDict):
IPSet: IPSetTypeDef, # (1)
LockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See IPSetTypeDef
- See ResponseMetadataTypeDef
GetRateBasedStatementManagedKeysResponseTypeDef#
# GetRateBasedStatementManagedKeysResponseTypeDef definition
class GetRateBasedStatementManagedKeysResponseTypeDef(TypedDict):
ManagedKeysIPV4: RateBasedStatementManagedKeysIPSetTypeDef, # (1)
ManagedKeysIPV6: RateBasedStatementManagedKeysIPSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See RateBasedStatementManagedKeysIPSetTypeDef
- See RateBasedStatementManagedKeysIPSetTypeDef
- 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)
HeadersOutputTypeDef#
# HeadersOutputTypeDef definition
class HeadersOutputTypeDef(TypedDict):
MatchPattern: HeaderMatchPatternOutputTypeDef, # (1)
MatchScope: MapMatchScopeType, # (2)
OversizeHandling: OversizeHandlingType, # (3)
IPSetReferenceStatementTypeDef#
# IPSetReferenceStatementTypeDef definition
class IPSetReferenceStatementTypeDef(TypedDict):
ARN: str,
IPSetForwardedIPConfig: NotRequired[IPSetForwardedIPConfigTypeDef], # (1)
JsonBodyOutputTypeDef#
# JsonBodyOutputTypeDef definition
class JsonBodyOutputTypeDef(TypedDict):
MatchPattern: JsonMatchPatternOutputTypeDef, # (1)
MatchScope: JsonMatchScopeType, # (2)
InvalidFallbackBehavior: NotRequired[BodyParsingFallbackBehaviorType], # (3)
OversizeHandling: NotRequired[OversizeHandlingType], # (4)
- See JsonMatchPatternOutputTypeDef
- See JsonMatchScopeType
- See BodyParsingFallbackBehaviorType
- See OversizeHandlingType
ListAvailableManagedRuleGroupVersionsResponseTypeDef#
# ListAvailableManagedRuleGroupVersionsResponseTypeDef definition
class ListAvailableManagedRuleGroupVersionsResponseTypeDef(TypedDict):
NextMarker: str,
Versions: List[ManagedRuleGroupVersionTypeDef], # (1)
CurrentDefaultVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAvailableManagedRuleGroupsResponseTypeDef#
# ListAvailableManagedRuleGroupsResponseTypeDef definition
class ListAvailableManagedRuleGroupsResponseTypeDef(TypedDict):
NextMarker: str,
ManagedRuleGroups: List[ManagedRuleGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListManagedRuleSetsResponseTypeDef#
# ListManagedRuleSetsResponseTypeDef definition
class ListManagedRuleSetsResponseTypeDef(TypedDict):
NextMarker: str,
ManagedRuleSets: List[ManagedRuleSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListMobileSdkReleasesResponseTypeDef#
# ListMobileSdkReleasesResponseTypeDef definition
class ListMobileSdkReleasesResponseTypeDef(TypedDict):
ReleaseSummaries: List[ReleaseSummaryTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RequestInspectionTypeDef#
# RequestInspectionTypeDef definition
class RequestInspectionTypeDef(TypedDict):
PayloadType: PayloadTypeType, # (1)
UsernameField: UsernameFieldTypeDef, # (2)
PasswordField: PasswordFieldTypeDef, # (3)
- See PayloadTypeType
- See UsernameFieldTypeDef
- 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],
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)
- See PayloadTypeType
- See UsernameFieldTypeDef
- See PasswordFieldTypeDef
- See EmailFieldTypeDef
- See PhoneNumberFieldTypeDef
- 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)
- See PayloadTypeType
- See UsernameFieldTypeDef
- See PasswordFieldTypeDef
- See EmailFieldTypeDef
- See PhoneNumberFieldTypeDef
- 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)
- See ScopeType
- See VersionToPublishTypeDef
ResponseInspectionOutputTypeDef#
# ResponseInspectionOutputTypeDef definition
class ResponseInspectionOutputTypeDef(TypedDict):
StatusCode: NotRequired[ResponseInspectionStatusCodeOutputTypeDef], # (1)
Header: NotRequired[ResponseInspectionHeaderOutputTypeDef], # (2)
BodyContains: NotRequired[ResponseInspectionBodyContainsOutputTypeDef], # (3)
Json: NotRequired[ResponseInspectionJsonOutputTypeDef], # (4)
- See ResponseInspectionStatusCodeOutputTypeDef
- See ResponseInspectionHeaderOutputTypeDef
- See ResponseInspectionBodyContainsOutputTypeDef
- 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,
- 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)
- See RateLimitHeaderOutputTypeDef
- See RateLimitCookieOutputTypeDef
- See RateLimitQueryArgumentOutputTypeDef
- See RateLimitQueryStringOutputTypeDef
- See RateLimitLabelNamespaceTypeDef
- See RateLimitUriPathOutputTypeDef
FilterOutputTypeDef#
# FilterOutputTypeDef definition
class FilterOutputTypeDef(TypedDict):
Behavior: FilterBehaviorType, # (1)
Requirement: FilterRequirementType, # (2)
Conditions: List[ConditionTypeDef], # (3)
- See FilterBehaviorType
- See FilterRequirementType
- See ConditionTypeDef
FilterTypeDef#
# FilterTypeDef definition
class FilterTypeDef(TypedDict):
Behavior: FilterBehaviorType, # (1)
Requirement: FilterRequirementType, # (2)
Conditions: Sequence[ConditionTypeDef], # (3)
- See FilterBehaviorType
- See FilterRequirementType
- See ConditionTypeDef
CookiesTypeDef#
# CookiesTypeDef definition
class CookiesTypeDef(TypedDict):
MatchPattern: CookieMatchPatternUnionTypeDef, # (1)
MatchScope: MapMatchScopeType, # (2)
OversizeHandling: OversizeHandlingType, # (3)
- See CookieMatchPatternTypeDef CookieMatchPatternOutputTypeDef
- See MapMatchScopeType
- See OversizeHandlingType
GetMobileSdkReleaseResponseTypeDef#
# GetMobileSdkReleaseResponseTypeDef definition
class GetMobileSdkReleaseResponseTypeDef(TypedDict):
MobileSdkRelease: MobileSdkReleaseTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
NextMarker: str,
TagInfoForResource: TagInfoForResourceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRegexPatternSetResponseTypeDef#
# GetRegexPatternSetResponseTypeDef definition
class GetRegexPatternSetResponseTypeDef(TypedDict):
RegexPatternSet: RegexPatternSetTypeDef, # (1)
LockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AllowActionOutputTypeDef#
# AllowActionOutputTypeDef definition
class AllowActionOutputTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef], # (1)
CaptchaActionOutputTypeDef#
# CaptchaActionOutputTypeDef definition
class CaptchaActionOutputTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef], # (1)
ChallengeActionOutputTypeDef#
# ChallengeActionOutputTypeDef definition
class ChallengeActionOutputTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef], # (1)
CountActionOutputTypeDef#
# CountActionOutputTypeDef definition
class CountActionOutputTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingOutputTypeDef], # (1)
BlockActionOutputTypeDef#
# BlockActionOutputTypeDef definition
class BlockActionOutputTypeDef(TypedDict):
CustomResponse: NotRequired[CustomResponseOutputTypeDef], # (1)
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],
- See HTTPRequestTypeDef
- See HTTPHeaderTypeDef
- See LabelTypeDef
- See CaptchaResponseTypeDef
- See ChallengeResponseTypeDef
HeadersTypeDef#
# HeadersTypeDef definition
class HeadersTypeDef(TypedDict):
MatchPattern: HeaderMatchPatternUnionTypeDef, # (1)
MatchScope: MapMatchScopeType, # (2)
OversizeHandling: OversizeHandlingType, # (3)
- See HeaderMatchPatternTypeDef HeaderMatchPatternOutputTypeDef
- See MapMatchScopeType
- 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)
- See SingleHeaderTypeDef
- See SingleQueryArgumentTypeDef
- See BodyTypeDef
- See JsonBodyOutputTypeDef
- See HeadersOutputTypeDef
- See CookiesOutputTypeDef
- See HeaderOrderTypeDef
- See JA3FingerprintTypeDef
JsonBodyTypeDef#
# JsonBodyTypeDef definition
class JsonBodyTypeDef(TypedDict):
MatchPattern: JsonMatchPatternUnionTypeDef, # (1)
MatchScope: JsonMatchScopeType, # (2)
InvalidFallbackBehavior: NotRequired[BodyParsingFallbackBehaviorType], # (3)
OversizeHandling: NotRequired[OversizeHandlingType], # (4)
- See JsonMatchPatternTypeDef JsonMatchPatternOutputTypeDef
- See JsonMatchScopeType
- See BodyParsingFallbackBehaviorType
- See OversizeHandlingType
GetManagedRuleSetResponseTypeDef#
# GetManagedRuleSetResponseTypeDef definition
class GetManagedRuleSetResponseTypeDef(TypedDict):
ManagedRuleSet: ManagedRuleSetTypeDef, # (1)
LockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AWSManagedRulesACFPRuleSetOutputTypeDef#
# AWSManagedRulesACFPRuleSetOutputTypeDef definition
class AWSManagedRulesACFPRuleSetOutputTypeDef(TypedDict):
CreationPath: str,
RegistrationPagePath: str,
RequestInspection: RequestInspectionACFPOutputTypeDef, # (1)
ResponseInspection: NotRequired[ResponseInspectionOutputTypeDef], # (2)
EnableRegexInPath: NotRequired[bool],
AWSManagedRulesATPRuleSetOutputTypeDef#
# AWSManagedRulesATPRuleSetOutputTypeDef definition
class AWSManagedRulesATPRuleSetOutputTypeDef(TypedDict):
LoginPath: str,
RequestInspection: NotRequired[RequestInspectionTypeDef], # (1)
ResponseInspection: NotRequired[ResponseInspectionOutputTypeDef], # (2)
EnableRegexInPath: NotRequired[bool],
ResponseInspectionTypeDef#
# ResponseInspectionTypeDef definition
class ResponseInspectionTypeDef(TypedDict):
StatusCode: NotRequired[ResponseInspectionStatusCodeUnionTypeDef], # (1)
Header: NotRequired[ResponseInspectionHeaderUnionTypeDef], # (2)
BodyContains: NotRequired[ResponseInspectionBodyContainsUnionTypeDef], # (3)
Json: NotRequired[ResponseInspectionJsonUnionTypeDef], # (4)
- See ResponseInspectionStatusCodeTypeDef ResponseInspectionStatusCodeOutputTypeDef
- See ResponseInspectionHeaderTypeDef ResponseInspectionHeaderOutputTypeDef
- See ResponseInspectionBodyContainsTypeDef ResponseInspectionBodyContainsOutputTypeDef
- See ResponseInspectionJsonTypeDef ResponseInspectionJsonOutputTypeDef
GetSampledRequestsRequestRequestTypeDef#
# GetSampledRequestsRequestRequestTypeDef definition
class GetSampledRequestsRequestRequestTypeDef(TypedDict):
WebAclArn: str,
RuleMetricName: str,
Scope: ScopeType, # (1)
TimeWindow: TimeWindowTypeDef, # (2)
MaxItems: int,
- See ScopeType
- 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)
- See RateBasedStatementAggregateKeyTypeType
- See ForwardedIPConfigTypeDef
- 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)
- See RateLimitHeaderTypeDef RateLimitHeaderOutputTypeDef
- See RateLimitCookieTypeDef RateLimitCookieOutputTypeDef
- See RateLimitQueryArgumentTypeDef RateLimitQueryArgumentOutputTypeDef
- See RateLimitQueryStringTypeDef RateLimitQueryStringOutputTypeDef
- See RateLimitLabelNamespaceTypeDef
- See RateLimitUriPathTypeDef RateLimitUriPathOutputTypeDef
LoggingFilterOutputTypeDef#
# LoggingFilterOutputTypeDef definition
class LoggingFilterOutputTypeDef(TypedDict):
Filters: List[FilterOutputTypeDef], # (1)
DefaultBehavior: FilterBehaviorType, # (2)
OverrideActionOutputTypeDef#
# OverrideActionOutputTypeDef definition
class OverrideActionOutputTypeDef(TypedDict):
Count: NotRequired[CountActionOutputTypeDef], # (1)
None: NotRequired[Dict[str, Any]],
AllowActionTypeDef#
# AllowActionTypeDef definition
class AllowActionTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef], # (1)
CaptchaActionTypeDef#
# CaptchaActionTypeDef definition
class CaptchaActionTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef], # (1)
ChallengeActionTypeDef#
# ChallengeActionTypeDef definition
class ChallengeActionTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef], # (1)
CountActionTypeDef#
# CountActionTypeDef definition
class CountActionTypeDef(TypedDict):
CustomRequestHandling: NotRequired[CustomRequestHandlingUnionTypeDef], # (1)
DefaultActionOutputTypeDef#
# DefaultActionOutputTypeDef definition
class DefaultActionOutputTypeDef(TypedDict):
Block: NotRequired[BlockActionOutputTypeDef], # (1)
Allow: NotRequired[AllowActionOutputTypeDef], # (2)
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)
- See BlockActionOutputTypeDef
- See AllowActionOutputTypeDef
- See CountActionOutputTypeDef
- See CaptchaActionOutputTypeDef
- See ChallengeActionOutputTypeDef
BlockActionTypeDef#
# BlockActionTypeDef definition
class BlockActionTypeDef(TypedDict):
CustomResponse: NotRequired[CustomResponseUnionTypeDef], # (1)
GetSampledRequestsResponseTypeDef#
# GetSampledRequestsResponseTypeDef definition
class GetSampledRequestsResponseTypeDef(TypedDict):
SampledRequests: List[SampledHTTPRequestTypeDef], # (1)
PopulationSize: int,
TimeWindow: TimeWindowOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ByteMatchStatementOutputTypeDef#
# ByteMatchStatementOutputTypeDef definition
class ByteMatchStatementOutputTypeDef(TypedDict):
SearchString: bytes,
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
TextTransformations: List[TextTransformationTypeDef], # (2)
PositionalConstraint: PositionalConstraintType, # (3)
RegexMatchStatementOutputTypeDef#
# RegexMatchStatementOutputTypeDef definition
class RegexMatchStatementOutputTypeDef(TypedDict):
RegexString: str,
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
TextTransformations: List[TextTransformationTypeDef], # (2)
RegexPatternSetReferenceStatementOutputTypeDef#
# RegexPatternSetReferenceStatementOutputTypeDef definition
class RegexPatternSetReferenceStatementOutputTypeDef(TypedDict):
ARN: str,
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
TextTransformations: List[TextTransformationTypeDef], # (2)
SizeConstraintStatementOutputTypeDef#
# SizeConstraintStatementOutputTypeDef definition
class SizeConstraintStatementOutputTypeDef(TypedDict):
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
ComparisonOperator: ComparisonOperatorType, # (2)
Size: int,
TextTransformations: List[TextTransformationTypeDef], # (3)
SqliMatchStatementOutputTypeDef#
# SqliMatchStatementOutputTypeDef definition
class SqliMatchStatementOutputTypeDef(TypedDict):
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
TextTransformations: List[TextTransformationTypeDef], # (2)
SensitivityLevel: NotRequired[SensitivityLevelType], # (3)
XssMatchStatementOutputTypeDef#
# XssMatchStatementOutputTypeDef definition
class XssMatchStatementOutputTypeDef(TypedDict):
FieldToMatch: FieldToMatchOutputTypeDef, # (1)
TextTransformations: List[TextTransformationTypeDef], # (2)
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)
- See PayloadTypeType
- See UsernameFieldTypeDef
- See PasswordFieldTypeDef
- See AWSManagedRulesBotControlRuleSetTypeDef
- See AWSManagedRulesATPRuleSetOutputTypeDef
- 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)
- See FieldToMatchOutputTypeDef
- See LoggingFilterOutputTypeDef
- See LogTypeType
- See LogScopeType
LoggingFilterTypeDef#
# LoggingFilterTypeDef definition
class LoggingFilterTypeDef(TypedDict):
Filters: Sequence[FilterUnionTypeDef], # (1)
DefaultBehavior: FilterBehaviorType, # (2)
RuleActionOverrideOutputTypeDef#
# RuleActionOverrideOutputTypeDef definition
class RuleActionOverrideOutputTypeDef(TypedDict):
Name: str,
ActionToUse: RuleActionOutputTypeDef, # (1)
RuleSummaryTypeDef#
# RuleSummaryTypeDef definition
class RuleSummaryTypeDef(TypedDict):
Name: NotRequired[str],
Action: NotRequired[RuleActionOutputTypeDef], # (1)
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)
- See SingleHeaderTypeDef
- See SingleQueryArgumentTypeDef
- See BodyTypeDef
- See JsonBodyTypeDef JsonBodyOutputTypeDef
- See HeadersTypeDef HeadersOutputTypeDef
- See CookiesTypeDef CookiesOutputTypeDef
- See HeaderOrderTypeDef
- See JA3FingerprintTypeDef
AWSManagedRulesACFPRuleSetTypeDef#
# AWSManagedRulesACFPRuleSetTypeDef definition
class AWSManagedRulesACFPRuleSetTypeDef(TypedDict):
CreationPath: str,
RegistrationPagePath: str,
RequestInspection: RequestInspectionACFPUnionTypeDef, # (1)
ResponseInspection: NotRequired[ResponseInspectionUnionTypeDef], # (2)
EnableRegexInPath: NotRequired[bool],
- See RequestInspectionACFPTypeDef RequestInspectionACFPOutputTypeDef
- See ResponseInspectionTypeDef ResponseInspectionOutputTypeDef
AWSManagedRulesATPRuleSetTypeDef#
# AWSManagedRulesATPRuleSetTypeDef definition
class AWSManagedRulesATPRuleSetTypeDef(TypedDict):
LoginPath: str,
RequestInspection: NotRequired[RequestInspectionTypeDef], # (1)
ResponseInspection: NotRequired[ResponseInspectionUnionTypeDef], # (2)
EnableRegexInPath: NotRequired[bool],
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)
- See RateBasedStatementAggregateKeyTypeType
- See ForwardedIPConfigTypeDef
- See RateBasedStatementCustomKeyTypeDef RateBasedStatementCustomKeyOutputTypeDef
GetLoggingConfigurationResponseTypeDef#
# GetLoggingConfigurationResponseTypeDef definition
class GetLoggingConfigurationResponseTypeDef(TypedDict):
LoggingConfiguration: LoggingConfigurationOutputTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListLoggingConfigurationsResponseTypeDef#
# ListLoggingConfigurationsResponseTypeDef definition
class ListLoggingConfigurationsResponseTypeDef(TypedDict):
LoggingConfigurations: List[LoggingConfigurationOutputTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutLoggingConfigurationResponseTypeDef#
# PutLoggingConfigurationResponseTypeDef definition
class PutLoggingConfigurationResponseTypeDef(TypedDict):
LoggingConfiguration: LoggingConfigurationOutputTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
OverrideActionTypeDef#
# OverrideActionTypeDef definition
class OverrideActionTypeDef(TypedDict):
Count: NotRequired[CountActionUnionTypeDef], # (1)
None: NotRequired[Mapping[str, Any]],
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)
RuleGroupReferenceStatementOutputTypeDef#
# RuleGroupReferenceStatementOutputTypeDef definition
class RuleGroupReferenceStatementOutputTypeDef(TypedDict):
ARN: str,
ExcludedRules: NotRequired[List[ExcludedRuleTypeDef]], # (1)
RuleActionOverrides: NotRequired[List[RuleActionOverrideOutputTypeDef]], # (2)
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)
DefaultActionTypeDef#
# DefaultActionTypeDef definition
class DefaultActionTypeDef(TypedDict):
Block: NotRequired[BlockActionUnionTypeDef], # (1)
Allow: NotRequired[AllowActionUnionTypeDef], # (2)
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)
- See BlockActionTypeDef BlockActionOutputTypeDef
- See AllowActionTypeDef AllowActionOutputTypeDef
- See CountActionTypeDef CountActionOutputTypeDef
- See CaptchaActionTypeDef CaptchaActionOutputTypeDef
- See ChallengeActionTypeDef ChallengeActionOutputTypeDef
FirewallManagerStatementTypeDef#
# FirewallManagerStatementTypeDef definition
class FirewallManagerStatementTypeDef(TypedDict):
ManagedRuleGroupStatement: NotRequired[ManagedRuleGroupStatementOutputTypeDef], # (1)
RuleGroupReferenceStatement: NotRequired[RuleGroupReferenceStatementOutputTypeDef], # (2)
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)
- See ByteMatchStatementOutputTypeDef
- See SqliMatchStatementOutputTypeDef
- See XssMatchStatementOutputTypeDef
- See SizeConstraintStatementOutputTypeDef
- See GeoMatchStatementOutputTypeDef
- See RuleGroupReferenceStatementOutputTypeDef
- See IPSetReferenceStatementTypeDef
- See RegexPatternSetReferenceStatementOutputTypeDef
- See RateBasedStatementOutputTypeDef
- See AndStatementOutputTypeDef
- See OrStatementOutputTypeDef
- See NotStatementOutputTypeDef
- See ManagedRuleGroupStatementOutputTypeDef
- See LabelMatchStatementTypeDef
- See RegexMatchStatementOutputTypeDef
ByteMatchStatementTypeDef#
# ByteMatchStatementTypeDef definition
class ByteMatchStatementTypeDef(TypedDict):
SearchString: BlobTypeDef,
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
TextTransformations: Sequence[TextTransformationTypeDef], # (2)
PositionalConstraint: PositionalConstraintType, # (3)
- See FieldToMatchTypeDef FieldToMatchOutputTypeDef
- See TextTransformationTypeDef
- 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)
- See FieldToMatchTypeDef FieldToMatchOutputTypeDef
- See LoggingFilterTypeDef LoggingFilterOutputTypeDef
- See LogTypeType
- See LogScopeType
RegexMatchStatementTypeDef#
# RegexMatchStatementTypeDef definition
class RegexMatchStatementTypeDef(TypedDict):
RegexString: str,
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
TextTransformations: Sequence[TextTransformationTypeDef], # (2)
RegexPatternSetReferenceStatementTypeDef#
# RegexPatternSetReferenceStatementTypeDef definition
class RegexPatternSetReferenceStatementTypeDef(TypedDict):
ARN: str,
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
TextTransformations: Sequence[TextTransformationTypeDef], # (2)
SizeConstraintStatementTypeDef#
# SizeConstraintStatementTypeDef definition
class SizeConstraintStatementTypeDef(TypedDict):
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
ComparisonOperator: ComparisonOperatorType, # (2)
Size: int,
TextTransformations: Sequence[TextTransformationTypeDef], # (3)
- See FieldToMatchTypeDef FieldToMatchOutputTypeDef
- See ComparisonOperatorType
- See TextTransformationTypeDef
SqliMatchStatementTypeDef#
# SqliMatchStatementTypeDef definition
class SqliMatchStatementTypeDef(TypedDict):
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
TextTransformations: Sequence[TextTransformationTypeDef], # (2)
SensitivityLevel: NotRequired[SensitivityLevelType], # (3)
- See FieldToMatchTypeDef FieldToMatchOutputTypeDef
- See TextTransformationTypeDef
- See SensitivityLevelType
XssMatchStatementTypeDef#
# XssMatchStatementTypeDef definition
class XssMatchStatementTypeDef(TypedDict):
FieldToMatch: FieldToMatchUnionTypeDef, # (1)
TextTransformations: Sequence[TextTransformationTypeDef], # (2)
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)
- See PayloadTypeType
- See UsernameFieldTypeDef
- See PasswordFieldTypeDef
- See AWSManagedRulesBotControlRuleSetTypeDef
- See AWSManagedRulesATPRuleSetTypeDef AWSManagedRulesATPRuleSetOutputTypeDef
- See AWSManagedRulesACFPRuleSetTypeDef AWSManagedRulesACFPRuleSetOutputTypeDef
FirewallManagerRuleGroupTypeDef#
# FirewallManagerRuleGroupTypeDef definition
class FirewallManagerRuleGroupTypeDef(TypedDict):
Name: str,
Priority: int,
FirewallManagerStatement: FirewallManagerStatementTypeDef, # (1)
OverrideAction: OverrideActionOutputTypeDef, # (2)
VisibilityConfig: VisibilityConfigTypeDef, # (3)
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)
- See StatementOutputTypeDef
- See RuleActionOutputTypeDef
- See OverrideActionOutputTypeDef
- See LabelTypeDef
- See VisibilityConfigTypeDef
- See CaptchaConfigTypeDef
- See ChallengeConfigTypeDef
RuleActionOverrideTypeDef#
# RuleActionOverrideTypeDef definition
class RuleActionOverrideTypeDef(TypedDict):
Name: str,
ActionToUse: RuleActionUnionTypeDef, # (1)
PutLoggingConfigurationRequestRequestTypeDef#
# PutLoggingConfigurationRequestRequestTypeDef definition
class PutLoggingConfigurationRequestRequestTypeDef(TypedDict):
LoggingConfiguration: LoggingConfigurationTypeDef, # (1)
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)
- See RuleOutputTypeDef
- See VisibilityConfigTypeDef
- See CustomResponseBodyTypeDef
- See LabelSummaryTypeDef
- 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],
- See DefaultActionOutputTypeDef
- See RuleOutputTypeDef
- See VisibilityConfigTypeDef
- See FirewallManagerRuleGroupTypeDef
- See FirewallManagerRuleGroupTypeDef
- See CustomResponseBodyTypeDef
- See CaptchaConfigTypeDef
- See ChallengeConfigTypeDef
- See AssociationConfigOutputTypeDef
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[RuleActionOverrideTypeDef]], # (3)
- See ExcludedRuleTypeDef
- See ManagedRuleGroupConfigTypeDef ManagedRuleGroupConfigOutputTypeDef
- See RuleActionOverrideTypeDef
GetRuleGroupResponseTypeDef#
# GetRuleGroupResponseTypeDef definition
class GetRuleGroupResponseTypeDef(TypedDict):
RuleGroup: RuleGroupTypeDef, # (1)
LockToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetWebACLForResourceResponseTypeDef#
# GetWebACLForResourceResponseTypeDef definition
class GetWebACLForResourceResponseTypeDef(TypedDict):
WebACL: WebACLTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See WebACLTypeDef
- See ResponseMetadataTypeDef
GetWebACLResponseTypeDef#
# GetWebACLResponseTypeDef definition
class GetWebACLResponseTypeDef(TypedDict):
WebACL: WebACLTypeDef, # (1)
LockToken: str,
ApplicationIntegrationURL: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See WebACLTypeDef
- See ResponseMetadataTypeDef
RuleGroupReferenceStatementTypeDef#
# RuleGroupReferenceStatementTypeDef definition
class RuleGroupReferenceStatementTypeDef(TypedDict):
ARN: str,
ExcludedRules: NotRequired[Sequence[ExcludedRuleTypeDef]], # (1)
RuleActionOverrides: NotRequired[Sequence[RuleActionOverrideUnionTypeDef]], # (2)
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)
- See ByteMatchStatementTypeDef ByteMatchStatementOutputTypeDef
- See SqliMatchStatementTypeDef SqliMatchStatementOutputTypeDef
- See XssMatchStatementTypeDef XssMatchStatementOutputTypeDef
- See SizeConstraintStatementTypeDef SizeConstraintStatementOutputTypeDef
- See GeoMatchStatementTypeDef GeoMatchStatementOutputTypeDef
- See RuleGroupReferenceStatementTypeDef RuleGroupReferenceStatementOutputTypeDef
- See IPSetReferenceStatementTypeDef
- See RegexPatternSetReferenceStatementTypeDef RegexPatternSetReferenceStatementOutputTypeDef
- See RateBasedStatementTypeDef RateBasedStatementOutputTypeDef
- See AndStatementTypeDef AndStatementOutputTypeDef
- See OrStatementTypeDef OrStatementOutputTypeDef
- See NotStatementTypeDef NotStatementOutputTypeDef
- See ManagedRuleGroupStatementTypeDef ManagedRuleGroupStatementOutputTypeDef
- See LabelMatchStatementTypeDef
- 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)
- See StatementTypeDef StatementOutputTypeDef
- See RuleActionTypeDef RuleActionOutputTypeDef
- See OverrideActionTypeDef OverrideActionOutputTypeDef
- See LabelTypeDef
- See VisibilityConfigTypeDef
- See CaptchaConfigTypeDef
- 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)
- See ScopeType
- See VisibilityConfigTypeDef
- See RuleTypeDef
- See TagTypeDef
- 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)
- See ScopeType
- See DefaultActionTypeDef
- See VisibilityConfigTypeDef
- See RuleTypeDef
- See TagTypeDef
- See CustomResponseBodyTypeDef
- See CaptchaConfigTypeDef
- See ChallengeConfigTypeDef
- 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)
- See ScopeType
- See VisibilityConfigTypeDef
- See RuleTypeDef
- 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)
- See ScopeType
- See DefaultActionTypeDef
- See VisibilityConfigTypeDef
- See RuleTypeDef
- See CustomResponseBodyTypeDef
- See CaptchaConfigTypeDef
- See ChallengeConfigTypeDef
- See AssociationConfigTypeDef
CheckCapacityRequestRequestTypeDef#
# CheckCapacityRequestRequestTypeDef definition
class CheckCapacityRequestRequestTypeDef(TypedDict):
Scope: ScopeType, # (1)
Rules: Sequence[RuleUnionTypeDef], # (2)
- See ScopeType
- See RuleTypeDef RuleOutputTypeDef