Type definitions#
Auto-generated documentation for WAF type annotations stubs module mypy-boto3-waf.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
ActivatedRuleUnionTypeDef#
# ActivatedRuleUnionTypeDef definition
ActivatedRuleUnionTypeDef = Union[
ActivatedRuleTypeDef, # (1)
ActivatedRuleOutputTypeDef, # (2)
]
ByteMatchTupleUnionTypeDef#
# ByteMatchTupleUnionTypeDef definition
ByteMatchTupleUnionTypeDef = Union[
ByteMatchTupleTypeDef, # (1)
ByteMatchTupleOutputTypeDef, # (2)
]
ExcludedRuleTypeDef#
# ExcludedRuleTypeDef definition
class ExcludedRuleTypeDef(TypedDict):
RuleId: str,
WafActionTypeDef#
# WafActionTypeDef definition
class WafActionTypeDef(TypedDict):
Type: WafActionTypeType, # (1)
WafOverrideActionTypeDef#
# WafOverrideActionTypeDef definition
class WafOverrideActionTypeDef(TypedDict):
Type: WafOverrideActionTypeType, # (1)
ByteMatchSetSummaryTypeDef#
# ByteMatchSetSummaryTypeDef definition
class ByteMatchSetSummaryTypeDef(TypedDict):
ByteMatchSetId: str,
Name: str,
FieldToMatchTypeDef#
# FieldToMatchTypeDef definition
class FieldToMatchTypeDef(TypedDict):
Type: MatchFieldTypeType, # (1)
Data: NotRequired[str],
CreateByteMatchSetRequestRequestTypeDef#
# CreateByteMatchSetRequestRequestTypeDef definition
class CreateByteMatchSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
CreateGeoMatchSetRequestRequestTypeDef#
# CreateGeoMatchSetRequestRequestTypeDef definition
class CreateGeoMatchSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
CreateIPSetRequestRequestTypeDef#
# CreateIPSetRequestRequestTypeDef definition
class CreateIPSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
CreateRegexMatchSetRequestRequestTypeDef#
# CreateRegexMatchSetRequestRequestTypeDef definition
class CreateRegexMatchSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
CreateRegexPatternSetRequestRequestTypeDef#
# CreateRegexPatternSetRequestRequestTypeDef definition
class CreateRegexPatternSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
RegexPatternSetTypeDef#
# RegexPatternSetTypeDef definition
class RegexPatternSetTypeDef(TypedDict):
RegexPatternSetId: str,
RegexPatternStrings: List[str],
Name: NotRequired[str],
RuleGroupTypeDef#
# RuleGroupTypeDef definition
class RuleGroupTypeDef(TypedDict):
RuleGroupId: str,
Name: NotRequired[str],
MetricName: NotRequired[str],
CreateSizeConstraintSetRequestRequestTypeDef#
# CreateSizeConstraintSetRequestRequestTypeDef definition
class CreateSizeConstraintSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
CreateSqlInjectionMatchSetRequestRequestTypeDef#
# CreateSqlInjectionMatchSetRequestRequestTypeDef definition
class CreateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
CreateWebACLMigrationStackRequestRequestTypeDef#
# CreateWebACLMigrationStackRequestRequestTypeDef definition
class CreateWebACLMigrationStackRequestRequestTypeDef(TypedDict):
WebACLId: str,
S3BucketName: str,
IgnoreUnsupportedType: bool,
CreateXssMatchSetRequestRequestTypeDef#
# CreateXssMatchSetRequestRequestTypeDef definition
class CreateXssMatchSetRequestRequestTypeDef(TypedDict):
Name: str,
ChangeToken: str,
DeleteByteMatchSetRequestRequestTypeDef#
# DeleteByteMatchSetRequestRequestTypeDef definition
class DeleteByteMatchSetRequestRequestTypeDef(TypedDict):
ByteMatchSetId: str,
ChangeToken: str,
DeleteGeoMatchSetRequestRequestTypeDef#
# DeleteGeoMatchSetRequestRequestTypeDef definition
class DeleteGeoMatchSetRequestRequestTypeDef(TypedDict):
GeoMatchSetId: str,
ChangeToken: str,
DeleteIPSetRequestRequestTypeDef#
# DeleteIPSetRequestRequestTypeDef definition
class DeleteIPSetRequestRequestTypeDef(TypedDict):
IPSetId: str,
ChangeToken: str,
DeleteLoggingConfigurationRequestRequestTypeDef#
# DeleteLoggingConfigurationRequestRequestTypeDef definition
class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
ResourceArn: str,
DeletePermissionPolicyRequestRequestTypeDef#
# DeletePermissionPolicyRequestRequestTypeDef definition
class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
ResourceArn: str,
DeleteRateBasedRuleRequestRequestTypeDef#
# DeleteRateBasedRuleRequestRequestTypeDef definition
class DeleteRateBasedRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
ChangeToken: str,
DeleteRegexMatchSetRequestRequestTypeDef#
# DeleteRegexMatchSetRequestRequestTypeDef definition
class DeleteRegexMatchSetRequestRequestTypeDef(TypedDict):
RegexMatchSetId: str,
ChangeToken: str,
DeleteRegexPatternSetRequestRequestTypeDef#
# DeleteRegexPatternSetRequestRequestTypeDef definition
class DeleteRegexPatternSetRequestRequestTypeDef(TypedDict):
RegexPatternSetId: str,
ChangeToken: str,
DeleteRuleGroupRequestRequestTypeDef#
# DeleteRuleGroupRequestRequestTypeDef definition
class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
RuleGroupId: str,
ChangeToken: str,
DeleteRuleRequestRequestTypeDef#
# DeleteRuleRequestRequestTypeDef definition
class DeleteRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
ChangeToken: str,
DeleteSizeConstraintSetRequestRequestTypeDef#
# DeleteSizeConstraintSetRequestRequestTypeDef definition
class DeleteSizeConstraintSetRequestRequestTypeDef(TypedDict):
SizeConstraintSetId: str,
ChangeToken: str,
DeleteSqlInjectionMatchSetRequestRequestTypeDef#
# DeleteSqlInjectionMatchSetRequestRequestTypeDef definition
class DeleteSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
SqlInjectionMatchSetId: str,
ChangeToken: str,
DeleteWebACLRequestRequestTypeDef#
# DeleteWebACLRequestRequestTypeDef definition
class DeleteWebACLRequestRequestTypeDef(TypedDict):
WebACLId: str,
ChangeToken: str,
DeleteXssMatchSetRequestRequestTypeDef#
# DeleteXssMatchSetRequestRequestTypeDef definition
class DeleteXssMatchSetRequestRequestTypeDef(TypedDict):
XssMatchSetId: str,
ChangeToken: str,
GeoMatchConstraintTypeDef#
# GeoMatchConstraintTypeDef definition
class GeoMatchConstraintTypeDef(TypedDict):
Type: GeoMatchConstraintTypeType, # (1)
Value: GeoMatchConstraintValueType, # (2)
GeoMatchSetSummaryTypeDef#
# GeoMatchSetSummaryTypeDef definition
class GeoMatchSetSummaryTypeDef(TypedDict):
GeoMatchSetId: str,
Name: str,
GetByteMatchSetRequestRequestTypeDef#
# GetByteMatchSetRequestRequestTypeDef definition
class GetByteMatchSetRequestRequestTypeDef(TypedDict):
ByteMatchSetId: str,
GetChangeTokenStatusRequestRequestTypeDef#
# GetChangeTokenStatusRequestRequestTypeDef definition
class GetChangeTokenStatusRequestRequestTypeDef(TypedDict):
ChangeToken: str,
GetGeoMatchSetRequestRequestTypeDef#
# GetGeoMatchSetRequestRequestTypeDef definition
class GetGeoMatchSetRequestRequestTypeDef(TypedDict):
GeoMatchSetId: str,
GetIPSetRequestRequestTypeDef#
# GetIPSetRequestRequestTypeDef definition
class GetIPSetRequestRequestTypeDef(TypedDict):
IPSetId: str,
GetLoggingConfigurationRequestRequestTypeDef#
# GetLoggingConfigurationRequestRequestTypeDef definition
class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
ResourceArn: str,
GetPermissionPolicyRequestRequestTypeDef#
# GetPermissionPolicyRequestRequestTypeDef definition
class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
ResourceArn: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
GetRateBasedRuleManagedKeysRequestRequestTypeDef#
# GetRateBasedRuleManagedKeysRequestRequestTypeDef definition
class GetRateBasedRuleManagedKeysRequestRequestTypeDef(TypedDict):
RuleId: str,
NextMarker: NotRequired[str],
GetRateBasedRuleRequestRequestTypeDef#
# GetRateBasedRuleRequestRequestTypeDef definition
class GetRateBasedRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
GetRegexMatchSetRequestRequestTypeDef#
# GetRegexMatchSetRequestRequestTypeDef definition
class GetRegexMatchSetRequestRequestTypeDef(TypedDict):
RegexMatchSetId: str,
GetRegexPatternSetRequestRequestTypeDef#
# GetRegexPatternSetRequestRequestTypeDef definition
class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
RegexPatternSetId: str,
GetRuleGroupRequestRequestTypeDef#
# GetRuleGroupRequestRequestTypeDef definition
class GetRuleGroupRequestRequestTypeDef(TypedDict):
RuleGroupId: str,
GetRuleRequestRequestTypeDef#
# GetRuleRequestRequestTypeDef definition
class GetRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
TimeWindowOutputTypeDef#
# TimeWindowOutputTypeDef definition
class TimeWindowOutputTypeDef(TypedDict):
StartTime: datetime,
EndTime: datetime,
GetSizeConstraintSetRequestRequestTypeDef#
# GetSizeConstraintSetRequestRequestTypeDef definition
class GetSizeConstraintSetRequestRequestTypeDef(TypedDict):
SizeConstraintSetId: str,
GetSqlInjectionMatchSetRequestRequestTypeDef#
# GetSqlInjectionMatchSetRequestRequestTypeDef definition
class GetSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
SqlInjectionMatchSetId: str,
GetWebACLRequestRequestTypeDef#
# GetWebACLRequestRequestTypeDef definition
class GetWebACLRequestRequestTypeDef(TypedDict):
WebACLId: str,
GetXssMatchSetRequestRequestTypeDef#
# GetXssMatchSetRequestRequestTypeDef definition
class GetXssMatchSetRequestRequestTypeDef(TypedDict):
XssMatchSetId: str,
HTTPHeaderTypeDef#
# HTTPHeaderTypeDef definition
class HTTPHeaderTypeDef(TypedDict):
Name: NotRequired[str],
Value: NotRequired[str],
IPSetDescriptorTypeDef#
# IPSetDescriptorTypeDef definition
class IPSetDescriptorTypeDef(TypedDict):
Type: IPSetDescriptorTypeType, # (1)
Value: str,
IPSetSummaryTypeDef#
# IPSetSummaryTypeDef definition
class IPSetSummaryTypeDef(TypedDict):
IPSetId: str,
Name: str,
ListActivatedRulesInRuleGroupRequestRequestTypeDef#
# ListActivatedRulesInRuleGroupRequestRequestTypeDef definition
class ListActivatedRulesInRuleGroupRequestRequestTypeDef(TypedDict):
RuleGroupId: NotRequired[str],
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListByteMatchSetsRequestRequestTypeDef#
# ListByteMatchSetsRequestRequestTypeDef definition
class ListByteMatchSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListGeoMatchSetsRequestRequestTypeDef#
# ListGeoMatchSetsRequestRequestTypeDef definition
class ListGeoMatchSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListIPSetsRequestRequestTypeDef#
# ListIPSetsRequestRequestTypeDef definition
class ListIPSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListLoggingConfigurationsRequestRequestTypeDef#
# ListLoggingConfigurationsRequestRequestTypeDef definition
class ListLoggingConfigurationsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListRateBasedRulesRequestRequestTypeDef#
# ListRateBasedRulesRequestRequestTypeDef definition
class ListRateBasedRulesRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
RuleSummaryTypeDef#
# RuleSummaryTypeDef definition
class RuleSummaryTypeDef(TypedDict):
RuleId: str,
Name: str,
ListRegexMatchSetsRequestRequestTypeDef#
# ListRegexMatchSetsRequestRequestTypeDef definition
class ListRegexMatchSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
RegexMatchSetSummaryTypeDef#
# RegexMatchSetSummaryTypeDef definition
class RegexMatchSetSummaryTypeDef(TypedDict):
RegexMatchSetId: str,
Name: str,
ListRegexPatternSetsRequestRequestTypeDef#
# ListRegexPatternSetsRequestRequestTypeDef definition
class ListRegexPatternSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
RegexPatternSetSummaryTypeDef#
# RegexPatternSetSummaryTypeDef definition
class RegexPatternSetSummaryTypeDef(TypedDict):
RegexPatternSetId: str,
Name: str,
ListRuleGroupsRequestRequestTypeDef#
# ListRuleGroupsRequestRequestTypeDef definition
class ListRuleGroupsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
RuleGroupSummaryTypeDef#
# RuleGroupSummaryTypeDef definition
class RuleGroupSummaryTypeDef(TypedDict):
RuleGroupId: str,
Name: str,
ListRulesRequestRequestTypeDef#
# ListRulesRequestRequestTypeDef definition
class ListRulesRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListSizeConstraintSetsRequestRequestTypeDef#
# ListSizeConstraintSetsRequestRequestTypeDef definition
class ListSizeConstraintSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
SizeConstraintSetSummaryTypeDef#
# SizeConstraintSetSummaryTypeDef definition
class SizeConstraintSetSummaryTypeDef(TypedDict):
SizeConstraintSetId: str,
Name: str,
ListSqlInjectionMatchSetsRequestRequestTypeDef#
# ListSqlInjectionMatchSetsRequestRequestTypeDef definition
class ListSqlInjectionMatchSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
SqlInjectionMatchSetSummaryTypeDef#
# SqlInjectionMatchSetSummaryTypeDef definition
class SqlInjectionMatchSetSummaryTypeDef(TypedDict):
SqlInjectionMatchSetId: str,
Name: str,
ListSubscribedRuleGroupsRequestRequestTypeDef#
# ListSubscribedRuleGroupsRequestRequestTypeDef definition
class ListSubscribedRuleGroupsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
SubscribedRuleGroupSummaryTypeDef#
# SubscribedRuleGroupSummaryTypeDef definition
class SubscribedRuleGroupSummaryTypeDef(TypedDict):
RuleGroupId: str,
Name: str,
MetricName: str,
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
NextMarker: NotRequired[str],
Limit: NotRequired[int],
ListWebACLsRequestRequestTypeDef#
# ListWebACLsRequestRequestTypeDef definition
class ListWebACLsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
WebACLSummaryTypeDef#
# WebACLSummaryTypeDef definition
class WebACLSummaryTypeDef(TypedDict):
WebACLId: str,
Name: str,
ListXssMatchSetsRequestRequestTypeDef#
# ListXssMatchSetsRequestRequestTypeDef definition
class ListXssMatchSetsRequestRequestTypeDef(TypedDict):
NextMarker: NotRequired[str],
Limit: NotRequired[int],
XssMatchSetSummaryTypeDef#
# XssMatchSetSummaryTypeDef definition
class XssMatchSetSummaryTypeDef(TypedDict):
XssMatchSetId: str,
Name: str,
PredicateTypeDef#
# PredicateTypeDef definition
class PredicateTypeDef(TypedDict):
Negated: bool,
Type: PredicateTypeType, # (1)
DataId: str,
PutPermissionPolicyRequestRequestTypeDef#
# PutPermissionPolicyRequestRequestTypeDef definition
class PutPermissionPolicyRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Policy: str,
RegexPatternSetUpdateTypeDef#
# RegexPatternSetUpdateTypeDef definition
class RegexPatternSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
RegexPatternString: str,
- See ChangeActionType
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
ActivatedRuleOutputTypeDef#
# ActivatedRuleOutputTypeDef definition
class ActivatedRuleOutputTypeDef(TypedDict):
Priority: int,
RuleId: str,
Action: NotRequired[WafActionTypeDef], # (1)
OverrideAction: NotRequired[WafOverrideActionTypeDef], # (2)
Type: NotRequired[WafRuleTypeType], # (3)
ExcludedRules: NotRequired[List[ExcludedRuleTypeDef]], # (4)
- See WafActionTypeDef
- See WafOverrideActionTypeDef
- See WafRuleTypeType
- See ExcludedRuleTypeDef
ActivatedRuleTypeDef#
# ActivatedRuleTypeDef definition
class ActivatedRuleTypeDef(TypedDict):
Priority: int,
RuleId: str,
Action: NotRequired[WafActionTypeDef], # (1)
OverrideAction: NotRequired[WafOverrideActionTypeDef], # (2)
Type: NotRequired[WafRuleTypeType], # (3)
ExcludedRules: NotRequired[Sequence[ExcludedRuleTypeDef]], # (4)
- See WafActionTypeDef
- See WafOverrideActionTypeDef
- See WafRuleTypeType
- See ExcludedRuleTypeDef
ByteMatchTupleOutputTypeDef#
# ByteMatchTupleOutputTypeDef definition
class ByteMatchTupleOutputTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TargetString: bytes,
TextTransformation: TextTransformationType, # (2)
PositionalConstraint: PositionalConstraintType, # (3)
ByteMatchTupleTypeDef#
# ByteMatchTupleTypeDef definition
class ByteMatchTupleTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TargetString: BlobTypeDef,
TextTransformation: TextTransformationType, # (2)
PositionalConstraint: PositionalConstraintType, # (3)
LoggingConfigurationOutputTypeDef#
# LoggingConfigurationOutputTypeDef definition
class LoggingConfigurationOutputTypeDef(TypedDict):
ResourceArn: str,
LogDestinationConfigs: List[str],
RedactedFields: NotRequired[List[FieldToMatchTypeDef]], # (1)
LoggingConfigurationTypeDef#
# LoggingConfigurationTypeDef definition
class LoggingConfigurationTypeDef(TypedDict):
ResourceArn: str,
LogDestinationConfigs: Sequence[str],
RedactedFields: NotRequired[Sequence[FieldToMatchTypeDef]], # (1)
RegexMatchTupleTypeDef#
# RegexMatchTupleTypeDef definition
class RegexMatchTupleTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TextTransformation: TextTransformationType, # (2)
RegexPatternSetId: str,
SizeConstraintTypeDef#
# SizeConstraintTypeDef definition
class SizeConstraintTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TextTransformation: TextTransformationType, # (2)
ComparisonOperator: ComparisonOperatorType, # (3)
Size: int,
SqlInjectionMatchTupleTypeDef#
# SqlInjectionMatchTupleTypeDef definition
class SqlInjectionMatchTupleTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TextTransformation: TextTransformationType, # (2)
XssMatchTupleTypeDef#
# XssMatchTupleTypeDef definition
class XssMatchTupleTypeDef(TypedDict):
FieldToMatch: FieldToMatchTypeDef, # (1)
TextTransformation: TextTransformationType, # (2)
CreateWebACLMigrationStackResponseTypeDef#
# CreateWebACLMigrationStackResponseTypeDef definition
class CreateWebACLMigrationStackResponseTypeDef(TypedDict):
S3ObjectUrl: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteByteMatchSetResponseTypeDef#
# DeleteByteMatchSetResponseTypeDef definition
class DeleteByteMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteGeoMatchSetResponseTypeDef#
# DeleteGeoMatchSetResponseTypeDef definition
class DeleteGeoMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteIPSetResponseTypeDef#
# DeleteIPSetResponseTypeDef definition
class DeleteIPSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRateBasedRuleResponseTypeDef#
# DeleteRateBasedRuleResponseTypeDef definition
class DeleteRateBasedRuleResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRegexMatchSetResponseTypeDef#
# DeleteRegexMatchSetResponseTypeDef definition
class DeleteRegexMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRegexPatternSetResponseTypeDef#
# DeleteRegexPatternSetResponseTypeDef definition
class DeleteRegexPatternSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRuleGroupResponseTypeDef#
# DeleteRuleGroupResponseTypeDef definition
class DeleteRuleGroupResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRuleResponseTypeDef#
# DeleteRuleResponseTypeDef definition
class DeleteRuleResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteSizeConstraintSetResponseTypeDef#
# DeleteSizeConstraintSetResponseTypeDef definition
class DeleteSizeConstraintSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteSqlInjectionMatchSetResponseTypeDef#
# DeleteSqlInjectionMatchSetResponseTypeDef definition
class DeleteSqlInjectionMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteWebACLResponseTypeDef#
# DeleteWebACLResponseTypeDef definition
class DeleteWebACLResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteXssMatchSetResponseTypeDef#
# DeleteXssMatchSetResponseTypeDef definition
class DeleteXssMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChangeTokenResponseTypeDef#
# GetChangeTokenResponseTypeDef definition
class GetChangeTokenResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChangeTokenStatusResponseTypeDef#
# GetChangeTokenStatusResponseTypeDef definition
class GetChangeTokenStatusResponseTypeDef(TypedDict):
ChangeTokenStatus: ChangeTokenStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetPermissionPolicyResponseTypeDef#
# GetPermissionPolicyResponseTypeDef definition
class GetPermissionPolicyResponseTypeDef(TypedDict):
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetRateBasedRuleManagedKeysResponseTypeDef#
# GetRateBasedRuleManagedKeysResponseTypeDef definition
class GetRateBasedRuleManagedKeysResponseTypeDef(TypedDict):
ManagedKeys: List[str],
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListByteMatchSetsResponseTypeDef#
# ListByteMatchSetsResponseTypeDef definition
class ListByteMatchSetsResponseTypeDef(TypedDict):
NextMarker: str,
ByteMatchSets: List[ByteMatchSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateByteMatchSetResponseTypeDef#
# UpdateByteMatchSetResponseTypeDef definition
class UpdateByteMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateGeoMatchSetResponseTypeDef#
# UpdateGeoMatchSetResponseTypeDef definition
class UpdateGeoMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateIPSetResponseTypeDef#
# UpdateIPSetResponseTypeDef definition
class UpdateIPSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRateBasedRuleResponseTypeDef#
# UpdateRateBasedRuleResponseTypeDef definition
class UpdateRateBasedRuleResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRegexMatchSetResponseTypeDef#
# UpdateRegexMatchSetResponseTypeDef definition
class UpdateRegexMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRegexPatternSetResponseTypeDef#
# UpdateRegexPatternSetResponseTypeDef definition
class UpdateRegexPatternSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRuleGroupResponseTypeDef#
# UpdateRuleGroupResponseTypeDef definition
class UpdateRuleGroupResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateRuleResponseTypeDef#
# UpdateRuleResponseTypeDef definition
class UpdateRuleResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateSizeConstraintSetResponseTypeDef#
# UpdateSizeConstraintSetResponseTypeDef definition
class UpdateSizeConstraintSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateSqlInjectionMatchSetResponseTypeDef#
# UpdateSqlInjectionMatchSetResponseTypeDef definition
class UpdateSqlInjectionMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateWebACLResponseTypeDef#
# UpdateWebACLResponseTypeDef definition
class UpdateWebACLResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateXssMatchSetResponseTypeDef#
# UpdateXssMatchSetResponseTypeDef definition
class UpdateXssMatchSetResponseTypeDef(TypedDict):
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateRateBasedRuleRequestRequestTypeDef#
# CreateRateBasedRuleRequestRequestTypeDef definition
class CreateRateBasedRuleRequestRequestTypeDef(TypedDict):
Name: str,
MetricName: str,
RateKey: RateKeyType, # (1)
RateLimit: int,
ChangeToken: str,
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See RateKeyType
- See TagTypeDef
CreateRuleGroupRequestRequestTypeDef#
# CreateRuleGroupRequestRequestTypeDef definition
class CreateRuleGroupRequestRequestTypeDef(TypedDict):
Name: str,
MetricName: str,
ChangeToken: str,
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
CreateRuleRequestRequestTypeDef#
# CreateRuleRequestRequestTypeDef definition
class CreateRuleRequestRequestTypeDef(TypedDict):
Name: str,
MetricName: str,
ChangeToken: str,
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
CreateWebACLRequestRequestTypeDef#
# CreateWebACLRequestRequestTypeDef definition
class CreateWebACLRequestRequestTypeDef(TypedDict):
Name: str,
MetricName: str,
DefaultAction: WafActionTypeDef, # (1)
ChangeToken: str,
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See WafActionTypeDef
- 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
CreateRegexPatternSetResponseTypeDef#
# CreateRegexPatternSetResponseTypeDef definition
class CreateRegexPatternSetResponseTypeDef(TypedDict):
RegexPatternSet: RegexPatternSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRegexPatternSetResponseTypeDef#
# GetRegexPatternSetResponseTypeDef definition
class GetRegexPatternSetResponseTypeDef(TypedDict):
RegexPatternSet: RegexPatternSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRuleGroupResponseTypeDef#
# CreateRuleGroupResponseTypeDef definition
class CreateRuleGroupResponseTypeDef(TypedDict):
RuleGroup: RuleGroupTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRuleGroupResponseTypeDef#
# GetRuleGroupResponseTypeDef definition
class GetRuleGroupResponseTypeDef(TypedDict):
RuleGroup: RuleGroupTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GeoMatchSetTypeDef#
# GeoMatchSetTypeDef definition
class GeoMatchSetTypeDef(TypedDict):
GeoMatchSetId: str,
GeoMatchConstraints: List[GeoMatchConstraintTypeDef], # (1)
Name: NotRequired[str],
GeoMatchSetUpdateTypeDef#
# GeoMatchSetUpdateTypeDef definition
class GeoMatchSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
GeoMatchConstraint: GeoMatchConstraintTypeDef, # (2)
ListGeoMatchSetsResponseTypeDef#
# ListGeoMatchSetsResponseTypeDef definition
class ListGeoMatchSetsResponseTypeDef(TypedDict):
NextMarker: str,
GeoMatchSets: List[GeoMatchSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef#
# GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef definition
class GetRateBasedRuleManagedKeysRequestGetRateBasedRuleManagedKeysPaginateTypeDef(TypedDict):
RuleId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef#
# ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef definition
class ListActivatedRulesInRuleGroupRequestListActivatedRulesInRuleGroupPaginateTypeDef(TypedDict):
RuleGroupId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef#
# ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef definition
class ListByteMatchSetsRequestListByteMatchSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef#
# ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef definition
class ListGeoMatchSetsRequestListGeoMatchSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListIPSetsRequestListIPSetsPaginateTypeDef#
# ListIPSetsRequestListIPSetsPaginateTypeDef definition
class ListIPSetsRequestListIPSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef#
# ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef definition
class ListLoggingConfigurationsRequestListLoggingConfigurationsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef#
# ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef definition
class ListRateBasedRulesRequestListRateBasedRulesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef#
# ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef definition
class ListRegexMatchSetsRequestListRegexMatchSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef#
# ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef definition
class ListRegexPatternSetsRequestListRegexPatternSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRuleGroupsRequestListRuleGroupsPaginateTypeDef#
# ListRuleGroupsRequestListRuleGroupsPaginateTypeDef definition
class ListRuleGroupsRequestListRuleGroupsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRulesRequestListRulesPaginateTypeDef#
# ListRulesRequestListRulesPaginateTypeDef definition
class ListRulesRequestListRulesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef#
# ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef definition
class ListSizeConstraintSetsRequestListSizeConstraintSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef#
# ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef definition
class ListSqlInjectionMatchSetsRequestListSqlInjectionMatchSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef#
# ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef definition
class ListSubscribedRuleGroupsRequestListSubscribedRuleGroupsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListWebACLsRequestListWebACLsPaginateTypeDef#
# ListWebACLsRequestListWebACLsPaginateTypeDef definition
class ListWebACLsRequestListWebACLsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef#
# ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef definition
class ListXssMatchSetsRequestListXssMatchSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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)
IPSetTypeDef#
# IPSetTypeDef definition
class IPSetTypeDef(TypedDict):
IPSetId: str,
IPSetDescriptors: List[IPSetDescriptorTypeDef], # (1)
Name: NotRequired[str],
IPSetUpdateTypeDef#
# IPSetUpdateTypeDef definition
class IPSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
IPSetDescriptor: IPSetDescriptorTypeDef, # (2)
ListIPSetsResponseTypeDef#
# ListIPSetsResponseTypeDef definition
class ListIPSetsResponseTypeDef(TypedDict):
NextMarker: str,
IPSets: List[IPSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRateBasedRulesResponseTypeDef#
# ListRateBasedRulesResponseTypeDef definition
class ListRateBasedRulesResponseTypeDef(TypedDict):
NextMarker: str,
Rules: List[RuleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRulesResponseTypeDef#
# ListRulesResponseTypeDef definition
class ListRulesResponseTypeDef(TypedDict):
NextMarker: str,
Rules: List[RuleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRegexMatchSetsResponseTypeDef#
# ListRegexMatchSetsResponseTypeDef definition
class ListRegexMatchSetsResponseTypeDef(TypedDict):
NextMarker: str,
RegexMatchSets: List[RegexMatchSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRegexPatternSetsResponseTypeDef#
# ListRegexPatternSetsResponseTypeDef definition
class ListRegexPatternSetsResponseTypeDef(TypedDict):
NextMarker: str,
RegexPatternSets: List[RegexPatternSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRuleGroupsResponseTypeDef#
# ListRuleGroupsResponseTypeDef definition
class ListRuleGroupsResponseTypeDef(TypedDict):
NextMarker: str,
RuleGroups: List[RuleGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSizeConstraintSetsResponseTypeDef#
# ListSizeConstraintSetsResponseTypeDef definition
class ListSizeConstraintSetsResponseTypeDef(TypedDict):
NextMarker: str,
SizeConstraintSets: List[SizeConstraintSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSqlInjectionMatchSetsResponseTypeDef#
# ListSqlInjectionMatchSetsResponseTypeDef definition
class ListSqlInjectionMatchSetsResponseTypeDef(TypedDict):
NextMarker: str,
SqlInjectionMatchSets: List[SqlInjectionMatchSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSubscribedRuleGroupsResponseTypeDef#
# ListSubscribedRuleGroupsResponseTypeDef definition
class ListSubscribedRuleGroupsResponseTypeDef(TypedDict):
NextMarker: str,
RuleGroups: List[SubscribedRuleGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListWebACLsResponseTypeDef#
# ListWebACLsResponseTypeDef definition
class ListWebACLsResponseTypeDef(TypedDict):
NextMarker: str,
WebACLs: List[WebACLSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListXssMatchSetsResponseTypeDef#
# ListXssMatchSetsResponseTypeDef definition
class ListXssMatchSetsResponseTypeDef(TypedDict):
NextMarker: str,
XssMatchSets: List[XssMatchSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RateBasedRuleTypeDef#
# RateBasedRuleTypeDef definition
class RateBasedRuleTypeDef(TypedDict):
RuleId: str,
MatchPredicates: List[PredicateTypeDef], # (1)
RateKey: RateKeyType, # (2)
RateLimit: int,
Name: NotRequired[str],
MetricName: NotRequired[str],
- See PredicateTypeDef
- See RateKeyType
RuleTypeDef#
# RuleTypeDef definition
class RuleTypeDef(TypedDict):
RuleId: str,
Predicates: List[PredicateTypeDef], # (1)
Name: NotRequired[str],
MetricName: NotRequired[str],
- See PredicateTypeDef
RuleUpdateTypeDef#
# RuleUpdateTypeDef definition
class RuleUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
Predicate: PredicateTypeDef, # (2)
- See ChangeActionType
- See PredicateTypeDef
UpdateRegexPatternSetRequestRequestTypeDef#
# UpdateRegexPatternSetRequestRequestTypeDef definition
class UpdateRegexPatternSetRequestRequestTypeDef(TypedDict):
RegexPatternSetId: str,
Updates: Sequence[RegexPatternSetUpdateTypeDef], # (1)
ChangeToken: str,
TimeWindowTypeDef#
# TimeWindowTypeDef definition
class TimeWindowTypeDef(TypedDict):
StartTime: TimestampTypeDef,
EndTime: TimestampTypeDef,
ListActivatedRulesInRuleGroupResponseTypeDef#
# ListActivatedRulesInRuleGroupResponseTypeDef definition
class ListActivatedRulesInRuleGroupResponseTypeDef(TypedDict):
NextMarker: str,
ActivatedRules: List[ActivatedRuleOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
WebACLTypeDef#
# WebACLTypeDef definition
class WebACLTypeDef(TypedDict):
WebACLId: str,
DefaultAction: WafActionTypeDef, # (1)
Rules: List[ActivatedRuleOutputTypeDef], # (2)
Name: NotRequired[str],
MetricName: NotRequired[str],
WebACLArn: NotRequired[str],
ByteMatchSetTypeDef#
# ByteMatchSetTypeDef definition
class ByteMatchSetTypeDef(TypedDict):
ByteMatchSetId: str,
ByteMatchTuples: List[ByteMatchTupleOutputTypeDef], # (1)
Name: NotRequired[str],
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)
PutLoggingConfigurationRequestRequestTypeDef#
# PutLoggingConfigurationRequestRequestTypeDef definition
class PutLoggingConfigurationRequestRequestTypeDef(TypedDict):
LoggingConfiguration: LoggingConfigurationTypeDef, # (1)
RegexMatchSetTypeDef#
# RegexMatchSetTypeDef definition
class RegexMatchSetTypeDef(TypedDict):
RegexMatchSetId: NotRequired[str],
Name: NotRequired[str],
RegexMatchTuples: NotRequired[List[RegexMatchTupleTypeDef]], # (1)
RegexMatchSetUpdateTypeDef#
# RegexMatchSetUpdateTypeDef definition
class RegexMatchSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
RegexMatchTuple: RegexMatchTupleTypeDef, # (2)
SizeConstraintSetTypeDef#
# SizeConstraintSetTypeDef definition
class SizeConstraintSetTypeDef(TypedDict):
SizeConstraintSetId: str,
SizeConstraints: List[SizeConstraintTypeDef], # (1)
Name: NotRequired[str],
SizeConstraintSetUpdateTypeDef#
# SizeConstraintSetUpdateTypeDef definition
class SizeConstraintSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
SizeConstraint: SizeConstraintTypeDef, # (2)
SqlInjectionMatchSetTypeDef#
# SqlInjectionMatchSetTypeDef definition
class SqlInjectionMatchSetTypeDef(TypedDict):
SqlInjectionMatchSetId: str,
SqlInjectionMatchTuples: List[SqlInjectionMatchTupleTypeDef], # (1)
Name: NotRequired[str],
SqlInjectionMatchSetUpdateTypeDef#
# SqlInjectionMatchSetUpdateTypeDef definition
class SqlInjectionMatchSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
SqlInjectionMatchTuple: SqlInjectionMatchTupleTypeDef, # (2)
XssMatchSetTypeDef#
# XssMatchSetTypeDef definition
class XssMatchSetTypeDef(TypedDict):
XssMatchSetId: str,
XssMatchTuples: List[XssMatchTupleTypeDef], # (1)
Name: NotRequired[str],
XssMatchSetUpdateTypeDef#
# XssMatchSetUpdateTypeDef definition
class XssMatchSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
XssMatchTuple: XssMatchTupleTypeDef, # (2)
- See ChangeActionType
- See XssMatchTupleTypeDef
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
NextMarker: str,
TagInfoForResource: TagInfoForResourceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateGeoMatchSetResponseTypeDef#
# CreateGeoMatchSetResponseTypeDef definition
class CreateGeoMatchSetResponseTypeDef(TypedDict):
GeoMatchSet: GeoMatchSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetGeoMatchSetResponseTypeDef#
# GetGeoMatchSetResponseTypeDef definition
class GetGeoMatchSetResponseTypeDef(TypedDict):
GeoMatchSet: GeoMatchSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateGeoMatchSetRequestRequestTypeDef#
# UpdateGeoMatchSetRequestRequestTypeDef definition
class UpdateGeoMatchSetRequestRequestTypeDef(TypedDict):
GeoMatchSetId: str,
ChangeToken: str,
Updates: Sequence[GeoMatchSetUpdateTypeDef], # (1)
SampledHTTPRequestTypeDef#
# SampledHTTPRequestTypeDef definition
class SampledHTTPRequestTypeDef(TypedDict):
Request: HTTPRequestTypeDef, # (1)
Weight: int,
Timestamp: NotRequired[datetime],
Action: NotRequired[str],
RuleWithinRuleGroup: NotRequired[str],
CreateIPSetResponseTypeDef#
# CreateIPSetResponseTypeDef definition
class CreateIPSetResponseTypeDef(TypedDict):
IPSet: IPSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See IPSetTypeDef
- See ResponseMetadataTypeDef
GetIPSetResponseTypeDef#
# GetIPSetResponseTypeDef definition
class GetIPSetResponseTypeDef(TypedDict):
IPSet: IPSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See IPSetTypeDef
- See ResponseMetadataTypeDef
UpdateIPSetRequestRequestTypeDef#
# UpdateIPSetRequestRequestTypeDef definition
class UpdateIPSetRequestRequestTypeDef(TypedDict):
IPSetId: str,
ChangeToken: str,
Updates: Sequence[IPSetUpdateTypeDef], # (1)
CreateRateBasedRuleResponseTypeDef#
# CreateRateBasedRuleResponseTypeDef definition
class CreateRateBasedRuleResponseTypeDef(TypedDict):
Rule: RateBasedRuleTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRateBasedRuleResponseTypeDef#
# GetRateBasedRuleResponseTypeDef definition
class GetRateBasedRuleResponseTypeDef(TypedDict):
Rule: RateBasedRuleTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRuleResponseTypeDef#
# CreateRuleResponseTypeDef definition
class CreateRuleResponseTypeDef(TypedDict):
Rule: RuleTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
GetRuleResponseTypeDef#
# GetRuleResponseTypeDef definition
class GetRuleResponseTypeDef(TypedDict):
Rule: RuleTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
UpdateRateBasedRuleRequestRequestTypeDef#
# UpdateRateBasedRuleRequestRequestTypeDef definition
class UpdateRateBasedRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
ChangeToken: str,
Updates: Sequence[RuleUpdateTypeDef], # (1)
RateLimit: int,
UpdateRuleRequestRequestTypeDef#
# UpdateRuleRequestRequestTypeDef definition
class UpdateRuleRequestRequestTypeDef(TypedDict):
RuleId: str,
ChangeToken: str,
Updates: Sequence[RuleUpdateTypeDef], # (1)
GetSampledRequestsRequestRequestTypeDef#
# GetSampledRequestsRequestRequestTypeDef definition
class GetSampledRequestsRequestRequestTypeDef(TypedDict):
WebAclId: str,
RuleId: str,
TimeWindow: TimeWindowTypeDef, # (1)
MaxItems: int,
CreateWebACLResponseTypeDef#
# CreateWebACLResponseTypeDef definition
class CreateWebACLResponseTypeDef(TypedDict):
WebACL: WebACLTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See WebACLTypeDef
- See ResponseMetadataTypeDef
GetWebACLResponseTypeDef#
# GetWebACLResponseTypeDef definition
class GetWebACLResponseTypeDef(TypedDict):
WebACL: WebACLTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See WebACLTypeDef
- See ResponseMetadataTypeDef
RuleGroupUpdateTypeDef#
# RuleGroupUpdateTypeDef definition
class RuleGroupUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
ActivatedRule: ActivatedRuleUnionTypeDef, # (2)
WebACLUpdateTypeDef#
# WebACLUpdateTypeDef definition
class WebACLUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
ActivatedRule: ActivatedRuleUnionTypeDef, # (2)
CreateByteMatchSetResponseTypeDef#
# CreateByteMatchSetResponseTypeDef definition
class CreateByteMatchSetResponseTypeDef(TypedDict):
ByteMatchSet: ByteMatchSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetByteMatchSetResponseTypeDef#
# GetByteMatchSetResponseTypeDef definition
class GetByteMatchSetResponseTypeDef(TypedDict):
ByteMatchSet: ByteMatchSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ByteMatchSetUpdateTypeDef#
# ByteMatchSetUpdateTypeDef definition
class ByteMatchSetUpdateTypeDef(TypedDict):
Action: ChangeActionType, # (1)
ByteMatchTuple: ByteMatchTupleUnionTypeDef, # (2)
CreateRegexMatchSetResponseTypeDef#
# CreateRegexMatchSetResponseTypeDef definition
class CreateRegexMatchSetResponseTypeDef(TypedDict):
RegexMatchSet: RegexMatchSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRegexMatchSetResponseTypeDef#
# GetRegexMatchSetResponseTypeDef definition
class GetRegexMatchSetResponseTypeDef(TypedDict):
RegexMatchSet: RegexMatchSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateRegexMatchSetRequestRequestTypeDef#
# UpdateRegexMatchSetRequestRequestTypeDef definition
class UpdateRegexMatchSetRequestRequestTypeDef(TypedDict):
RegexMatchSetId: str,
Updates: Sequence[RegexMatchSetUpdateTypeDef], # (1)
ChangeToken: str,
CreateSizeConstraintSetResponseTypeDef#
# CreateSizeConstraintSetResponseTypeDef definition
class CreateSizeConstraintSetResponseTypeDef(TypedDict):
SizeConstraintSet: SizeConstraintSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSizeConstraintSetResponseTypeDef#
# GetSizeConstraintSetResponseTypeDef definition
class GetSizeConstraintSetResponseTypeDef(TypedDict):
SizeConstraintSet: SizeConstraintSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateSizeConstraintSetRequestRequestTypeDef#
# UpdateSizeConstraintSetRequestRequestTypeDef definition
class UpdateSizeConstraintSetRequestRequestTypeDef(TypedDict):
SizeConstraintSetId: str,
ChangeToken: str,
Updates: Sequence[SizeConstraintSetUpdateTypeDef], # (1)
CreateSqlInjectionMatchSetResponseTypeDef#
# CreateSqlInjectionMatchSetResponseTypeDef definition
class CreateSqlInjectionMatchSetResponseTypeDef(TypedDict):
SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSqlInjectionMatchSetResponseTypeDef#
# GetSqlInjectionMatchSetResponseTypeDef definition
class GetSqlInjectionMatchSetResponseTypeDef(TypedDict):
SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateSqlInjectionMatchSetRequestRequestTypeDef#
# UpdateSqlInjectionMatchSetRequestRequestTypeDef definition
class UpdateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
SqlInjectionMatchSetId: str,
ChangeToken: str,
Updates: Sequence[SqlInjectionMatchSetUpdateTypeDef], # (1)
CreateXssMatchSetResponseTypeDef#
# CreateXssMatchSetResponseTypeDef definition
class CreateXssMatchSetResponseTypeDef(TypedDict):
XssMatchSet: XssMatchSetTypeDef, # (1)
ChangeToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetXssMatchSetResponseTypeDef#
# GetXssMatchSetResponseTypeDef definition
class GetXssMatchSetResponseTypeDef(TypedDict):
XssMatchSet: XssMatchSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateXssMatchSetRequestRequestTypeDef#
# UpdateXssMatchSetRequestRequestTypeDef definition
class UpdateXssMatchSetRequestRequestTypeDef(TypedDict):
XssMatchSetId: str,
ChangeToken: str,
Updates: Sequence[XssMatchSetUpdateTypeDef], # (1)
GetSampledRequestsResponseTypeDef#
# GetSampledRequestsResponseTypeDef definition
class GetSampledRequestsResponseTypeDef(TypedDict):
SampledRequests: List[SampledHTTPRequestTypeDef], # (1)
PopulationSize: int,
TimeWindow: TimeWindowOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateRuleGroupRequestRequestTypeDef#
# UpdateRuleGroupRequestRequestTypeDef definition
class UpdateRuleGroupRequestRequestTypeDef(TypedDict):
RuleGroupId: str,
Updates: Sequence[RuleGroupUpdateTypeDef], # (1)
ChangeToken: str,
UpdateWebACLRequestRequestTypeDef#
# UpdateWebACLRequestRequestTypeDef definition
class UpdateWebACLRequestRequestTypeDef(TypedDict):
WebACLId: str,
ChangeToken: str,
Updates: NotRequired[Sequence[WebACLUpdateTypeDef]], # (1)
DefaultAction: NotRequired[WafActionTypeDef], # (2)
- See WebACLUpdateTypeDef
- See WafActionTypeDef
UpdateByteMatchSetRequestRequestTypeDef#
# UpdateByteMatchSetRequestRequestTypeDef definition
class UpdateByteMatchSetRequestRequestTypeDef(TypedDict):
ByteMatchSetId: str,
ChangeToken: str,
Updates: Sequence[ByteMatchSetUpdateTypeDef], # (1)