Literals
Auto-generated documentation for WAFV2 type annotations stubs module mypy-boto3-wafv2.
ActionValueType
Usage Example
from mypy_boto3_wafv2.literals import ActionValueType
def get_value() -> ActionValueType:
return "ALLOW"
Definition
ActionValueType = Literal[
"ALLOW",
"BLOCK",
"CAPTCHA",
"CHALLENGE",
"COUNT",
"EXCLUDED_AS_COUNT",
]
BodyParsingFallbackBehaviorType
Usage Example
from mypy_boto3_wafv2.literals import BodyParsingFallbackBehaviorType
def get_value() -> BodyParsingFallbackBehaviorType:
return "EVALUATE_AS_STRING"
ComparisonOperatorType
Usage Example
from mypy_boto3_wafv2.literals import ComparisonOperatorType
def get_value() -> ComparisonOperatorType:
return "EQ"
CountryCodeType
Usage Example
from mypy_boto3_wafv2.literals import CountryCodeType
def get_value() -> CountryCodeType:
return "AD"
Definition
CountryCodeType = Literal[
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BR",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CU",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IM",
"IN",
"IO",
"IQ",
"IR",
"IS",
"IT",
"JE",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SD",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"WS",
"XK",
"YE",
"YT",
"ZA",
"ZM",
"ZW",
]
FailureReasonType
Usage Example
from mypy_boto3_wafv2.literals import FailureReasonType
def get_value() -> FailureReasonType:
return "TOKEN_DOMAIN_MISMATCH"
Definition
FailureReasonType = Literal[
"TOKEN_DOMAIN_MISMATCH",
"TOKEN_EXPIRED",
"TOKEN_INVALID",
"TOKEN_MISSING",
]
FallbackBehaviorType
Usage Example
from mypy_boto3_wafv2.literals import FallbackBehaviorType
def get_value() -> FallbackBehaviorType:
return "MATCH"
FilterBehaviorType
Usage Example
from mypy_boto3_wafv2.literals import FilterBehaviorType
def get_value() -> FilterBehaviorType:
return "DROP"
FilterRequirementType
Usage Example
from mypy_boto3_wafv2.literals import FilterRequirementType
def get_value() -> FilterRequirementType:
return "MEETS_ALL"
ForwardedIPPositionType
Usage Example
from mypy_boto3_wafv2.literals import ForwardedIPPositionType
def get_value() -> ForwardedIPPositionType:
return "ANY"
IPAddressVersionType
Usage Example
from mypy_boto3_wafv2.literals import IPAddressVersionType
def get_value() -> IPAddressVersionType:
return "IPV4"
InspectionLevelType
Usage Example
from mypy_boto3_wafv2.literals import InspectionLevelType
def get_value() -> InspectionLevelType:
return "COMMON"
JsonMatchScopeType
Usage Example
from mypy_boto3_wafv2.literals import JsonMatchScopeType
def get_value() -> JsonMatchScopeType:
return "ALL"
LabelMatchScopeType
Usage Example
from mypy_boto3_wafv2.literals import LabelMatchScopeType
def get_value() -> LabelMatchScopeType:
return "LABEL"
MapMatchScopeType
Usage Example
from mypy_boto3_wafv2.literals import MapMatchScopeType
def get_value() -> MapMatchScopeType:
return "ALL"
OversizeHandlingType
Usage Example
from mypy_boto3_wafv2.literals import OversizeHandlingType
def get_value() -> OversizeHandlingType:
return "CONTINUE"
PayloadTypeType
Usage Example
from mypy_boto3_wafv2.literals import PayloadTypeType
def get_value() -> PayloadTypeType:
return "FORM_ENCODED"
PlatformType
Usage Example
from mypy_boto3_wafv2.literals import PlatformType
def get_value() -> PlatformType:
return "ANDROID"
PositionalConstraintType
Usage Example
from mypy_boto3_wafv2.literals import PositionalConstraintType
def get_value() -> PositionalConstraintType:
return "CONTAINS"
Definition
PositionalConstraintType = Literal[
"CONTAINS",
"CONTAINS_WORD",
"ENDS_WITH",
"EXACTLY",
"STARTS_WITH",
]
RateBasedStatementAggregateKeyTypeType
Usage Example
from mypy_boto3_wafv2.literals import RateBasedStatementAggregateKeyTypeType
def get_value() -> RateBasedStatementAggregateKeyTypeType:
return "FORWARDED_IP"
ResourceTypeType
Usage Example
from mypy_boto3_wafv2.literals import ResourceTypeType
def get_value() -> ResourceTypeType:
return "API_GATEWAY"
Definition
ResourceTypeType = Literal[
"API_GATEWAY",
"APP_RUNNER_SERVICE",
"APPLICATION_LOAD_BALANCER",
"APPSYNC",
"COGNITO_USER_POOL",
]
ResponseContentTypeType
Usage Example
from mypy_boto3_wafv2.literals import ResponseContentTypeType
def get_value() -> ResponseContentTypeType:
return "APPLICATION_JSON"
ScopeType
Usage Example
from mypy_boto3_wafv2.literals import ScopeType
def get_value() -> ScopeType:
return "CLOUDFRONT"
SensitivityLevelType
Usage Example
from mypy_boto3_wafv2.literals import SensitivityLevelType
def get_value() -> SensitivityLevelType:
return "HIGH"
TextTransformationTypeType
Usage Example
from mypy_boto3_wafv2.literals import TextTransformationTypeType
def get_value() -> TextTransformationTypeType:
return "BASE64_DECODE"
Definition
TextTransformationTypeType = Literal[
"BASE64_DECODE",
"BASE64_DECODE_EXT",
"CMD_LINE",
"COMPRESS_WHITE_SPACE",
"CSS_DECODE",
"ESCAPE_SEQ_DECODE",
"HEX_DECODE",
"HTML_ENTITY_DECODE",
"JS_DECODE",
"LOWERCASE",
"MD5",
"NONE",
"NORMALIZE_PATH",
"NORMALIZE_PATH_WIN",
"REMOVE_NULLS",
"REPLACE_COMMENTS",
"REPLACE_NULLS",
"SQL_HEX_DECODE",
"URL_DECODE",
"URL_DECODE_UNI",
"UTF8_TO_UNICODE",
]
WAFV2ServiceName
Usage Example
from mypy_boto3_wafv2.literals import WAFV2ServiceName
def get_value() -> WAFV2ServiceName:
return "wafv2"
ServiceName
Usage Example
from mypy_boto3_wafv2.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
Definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"alexaforbusiness",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"arc-zonal-shift",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"backup",
"backup-gateway",
"backupstorage",
"batch",
"billingconductor",
"braket",
"budgets",
"ce",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codedeploy",
"codeguru-reviewer",
"codeguruprofiler",
"codepipeline",
"codestar",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcases",
"connectparticipant",
"controltower",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"dax",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"fsx",
"gamelift",
"gamesparks",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"honeycode",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot-roborunner",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"ivschat",
"kafka",
"kafkaconnect",
"kendra",
"kendra-ranking",
"keyspaces",
"kinesis",
"kinesis-video-archived-media",
"kinesis-video-media",
"kinesis-video-signaling",
"kinesis-video-webrtc-storage",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"lex-models",
"lex-runtime",
"lexv2-models",
"lexv2-runtime",
"license-manager",
"license-manager-linux-subscriptions",
"license-manager-user-subscriptions",
"lightsail",
"location",
"logs",
"lookoutequipment",
"lookoutmetrics",
"lookoutvision",
"m2",
"machinelearning",
"macie",
"macie2",
"managedblockchain",
"marketplace-catalog",
"marketplace-entitlement",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediastore",
"mediastore-data",
"mediatailor",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mobile",
"mq",
"mturk",
"mwaa",
"neptune",
"network-firewall",
"networkmanager",
"nimble",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"outposts",
"panorama",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"route53resolver",
"rum",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"sagemaker-a2i-runtime",
"sagemaker-edge",
"sagemaker-featurestore-runtime",
"sagemaker-geospatial",
"sagemaker-metrics",
"sagemaker-runtime",
"savingsplans",
"scheduler",
"schemas",
"sdb",
"secretsmanager",
"securityhub",
"securitylake",
"serverlessrepo",
"service-quotas",
"servicecatalog",
"servicecatalog-appregistry",
"servicediscovery",
"ses",
"sesv2",
"shield",
"signer",
"simspaceweaver",
"sms",
"sms-voice",
"snow-device-management",
"snowball",
"sns",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"support",
"support-app",
"swf",
"synthetics",
"textract",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"voice-id",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"worklink",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-web",
"xray",
]
ResourceServiceName
Usage Example
from mypy_boto3_wafv2.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
Definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]
RegionName
Usage Example
from mypy_boto3_wafv2.literals import RegionName
def get_value() -> RegionName:
return "af-south-1"
Definition
RegionName = Literal[
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-south-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
]