All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField.kt Maven / Gradle / Ivy

The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.wafv2.model

import kotlin.collections.List

public sealed class ParameterExceptionField {
    public abstract val value: kotlin.String

    public object AcpRuleSetResponseInspection : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "ACP_RULE_SET_RESPONSE_INSPECTION"
        override fun toString(): kotlin.String = "AcpRuleSetResponseInspection"
    }

    public object AndStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "AND_STATEMENT"
        override fun toString(): kotlin.String = "AndStatement"
    }

    public object AssociableResource : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "ASSOCIABLE_RESOURCE"
        override fun toString(): kotlin.String = "AssociableResource"
    }

    public object AssociatedResourceType : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "ASSOCIATED_RESOURCE_TYPE"
        override fun toString(): kotlin.String = "AssociatedResourceType"
    }

    public object AtpRuleSetResponseInspection : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "ATP_RULE_SET_RESPONSE_INSPECTION"
        override fun toString(): kotlin.String = "AtpRuleSetResponseInspection"
    }

    public object BodyParsingFallbackBehavior : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "BODY_PARSING_FALLBACK_BEHAVIOR"
        override fun toString(): kotlin.String = "BodyParsingFallbackBehavior"
    }

    public object ByteMatchStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "BYTE_MATCH_STATEMENT"
        override fun toString(): kotlin.String = "ByteMatchStatement"
    }

    public object ChallengeConfig : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CHALLENGE_CONFIG"
        override fun toString(): kotlin.String = "ChallengeConfig"
    }

    public object ChangePropagationStatus : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CHANGE_PROPAGATION_STATUS"
        override fun toString(): kotlin.String = "ChangePropagationStatus"
    }

    public object CookieMatchPattern : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "COOKIE_MATCH_PATTERN"
        override fun toString(): kotlin.String = "CookieMatchPattern"
    }

    public object CustomKeys : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CUSTOM_KEYS"
        override fun toString(): kotlin.String = "CustomKeys"
    }

    public object CustomRequestHandling : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CUSTOM_REQUEST_HANDLING"
        override fun toString(): kotlin.String = "CustomRequestHandling"
    }

    public object CustomResponse : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CUSTOM_RESPONSE"
        override fun toString(): kotlin.String = "CustomResponse"
    }

    public object CustomResponseBody : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "CUSTOM_RESPONSE_BODY"
        override fun toString(): kotlin.String = "CustomResponseBody"
    }

    public object DefaultAction : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "DEFAULT_ACTION"
        override fun toString(): kotlin.String = "DefaultAction"
    }

    public object EntityLimit : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "ENTITY_LIMIT"
        override fun toString(): kotlin.String = "EntityLimit"
    }

    public object ExcludedRule : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "EXCLUDED_RULE"
        override fun toString(): kotlin.String = "ExcludedRule"
    }

    public object ExpireTimestamp : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "EXPIRE_TIMESTAMP"
        override fun toString(): kotlin.String = "ExpireTimestamp"
    }

    public object FallbackBehavior : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "FALLBACK_BEHAVIOR"
        override fun toString(): kotlin.String = "FallbackBehavior"
    }

    public object FieldToMatch : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "FIELD_TO_MATCH"
        override fun toString(): kotlin.String = "FieldToMatch"
    }

    public object FilterCondition : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "FILTER_CONDITION"
        override fun toString(): kotlin.String = "FilterCondition"
    }

    public object FirewallManagerStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "FIREWALL_MANAGER_STATEMENT"
        override fun toString(): kotlin.String = "FirewallManagerStatement"
    }

    public object ForwardedIpConfig : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "FORWARDED_IP_CONFIG"
        override fun toString(): kotlin.String = "ForwardedIpConfig"
    }

    public object GeoMatchStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "GEO_MATCH_STATEMENT"
        override fun toString(): kotlin.String = "GeoMatchStatement"
    }

    public object HeaderMatchPattern : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "HEADER_MATCH_PATTERN"
        override fun toString(): kotlin.String = "HeaderMatchPattern"
    }

    public object HeaderName : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "HEADER_NAME"
        override fun toString(): kotlin.String = "HeaderName"
    }

    public object IpAddress : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "IP_ADDRESS"
        override fun toString(): kotlin.String = "IpAddress"
    }

    public object IpAddressVersion : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "IP_ADDRESS_VERSION"
        override fun toString(): kotlin.String = "IpAddressVersion"
    }

    public object IpSet : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "IP_SET"
        override fun toString(): kotlin.String = "IpSet"
    }

    public object IpSetForwardedIpConfig : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "IP_SET_FORWARDED_IP_CONFIG"
        override fun toString(): kotlin.String = "IpSetForwardedIpConfig"
    }

    public object IpSetReferenceStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "IP_SET_REFERENCE_STATEMENT"
        override fun toString(): kotlin.String = "IpSetReferenceStatement"
    }

    public object JsonMatchPattern : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "JSON_MATCH_PATTERN"
        override fun toString(): kotlin.String = "JsonMatchPattern"
    }

    public object JsonMatchScope : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "JSON_MATCH_SCOPE"
        override fun toString(): kotlin.String = "JsonMatchScope"
    }

    public object LabelMatchStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "LABEL_MATCH_STATEMENT"
        override fun toString(): kotlin.String = "LabelMatchStatement"
    }

    public object LoggingFilter : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "LOGGING_FILTER"
        override fun toString(): kotlin.String = "LoggingFilter"
    }

    public object LogDestination : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "LOG_DESTINATION"
        override fun toString(): kotlin.String = "LogDestination"
    }

    public object ManagedRuleGroupConfig : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "MANAGED_RULE_GROUP_CONFIG"
        override fun toString(): kotlin.String = "ManagedRuleGroupConfig"
    }

    public object ManagedRuleSet : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "MANAGED_RULE_SET"
        override fun toString(): kotlin.String = "ManagedRuleSet"
    }

    public object ManagedRuleSetStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "MANAGED_RULE_SET_STATEMENT"
        override fun toString(): kotlin.String = "ManagedRuleSetStatement"
    }

    public object MapMatchScope : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "MAP_MATCH_SCOPE"
        override fun toString(): kotlin.String = "MapMatchScope"
    }

    public object MetricName : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "METRIC_NAME"
        override fun toString(): kotlin.String = "MetricName"
    }

    public object NotStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "NOT_STATEMENT"
        override fun toString(): kotlin.String = "NotStatement"
    }

    public object OrStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "OR_STATEMENT"
        override fun toString(): kotlin.String = "OrStatement"
    }

    public object OverrideAction : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "OVERRIDE_ACTION"
        override fun toString(): kotlin.String = "OverrideAction"
    }

    public object OversizeHandling : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "OVERSIZE_HANDLING"
        override fun toString(): kotlin.String = "OversizeHandling"
    }

    public object PayloadType : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "PAYLOAD_TYPE"
        override fun toString(): kotlin.String = "PayloadType"
    }

    public object Position : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "POSITION"
        override fun toString(): kotlin.String = "Position"
    }

    public object RateBasedStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RATE_BASED_STATEMENT"
        override fun toString(): kotlin.String = "RateBasedStatement"
    }

    public object RegexPatternReferenceStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "REGEX_PATTERN_REFERENCE_STATEMENT"
        override fun toString(): kotlin.String = "RegexPatternReferenceStatement"
    }

    public object RegexPatternSet : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "REGEX_PATTERN_SET"
        override fun toString(): kotlin.String = "RegexPatternSet"
    }

    public object ResourceArn : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RESOURCE_ARN"
        override fun toString(): kotlin.String = "ResourceArn"
    }

    public object ResourceType : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RESOURCE_TYPE"
        override fun toString(): kotlin.String = "ResourceType"
    }

    public object ResponseContentType : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RESPONSE_CONTENT_TYPE"
        override fun toString(): kotlin.String = "ResponseContentType"
    }

    public object Rule : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RULE"
        override fun toString(): kotlin.String = "Rule"
    }

    public object RuleAction : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RULE_ACTION"
        override fun toString(): kotlin.String = "RuleAction"
    }

    public object RuleGroup : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RULE_GROUP"
        override fun toString(): kotlin.String = "RuleGroup"
    }

    public object RuleGroupReferenceStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "RULE_GROUP_REFERENCE_STATEMENT"
        override fun toString(): kotlin.String = "RuleGroupReferenceStatement"
    }

    public object ScopeDown : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SCOPE_DOWN"
        override fun toString(): kotlin.String = "ScopeDown"
    }

    public object ScopeValue : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SCOPE_VALUE"
        override fun toString(): kotlin.String = "ScopeValue"
    }

    public object SingleHeader : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SINGLE_HEADER"
        override fun toString(): kotlin.String = "SingleHeader"
    }

    public object SingleQueryArgument : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SINGLE_QUERY_ARGUMENT"
        override fun toString(): kotlin.String = "SingleQueryArgument"
    }

    public object SizeConstraintStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SIZE_CONSTRAINT_STATEMENT"
        override fun toString(): kotlin.String = "SizeConstraintStatement"
    }

    public object SqliMatchStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "SQLI_MATCH_STATEMENT"
        override fun toString(): kotlin.String = "SqliMatchStatement"
    }

    public object Statement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "STATEMENT"
        override fun toString(): kotlin.String = "Statement"
    }

    public object Tags : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "TAGS"
        override fun toString(): kotlin.String = "Tags"
    }

    public object TagKeys : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "TAG_KEYS"
        override fun toString(): kotlin.String = "TagKeys"
    }

    public object TextTransformation : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "TEXT_TRANSFORMATION"
        override fun toString(): kotlin.String = "TextTransformation"
    }

    public object TokenDomain : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "TOKEN_DOMAIN"
        override fun toString(): kotlin.String = "TokenDomain"
    }

    public object WebAcl : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "WEB_ACL"
        override fun toString(): kotlin.String = "WebAcl"
    }

    public object XssMatchStatement : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override val value: kotlin.String = "XSS_MATCH_STATEMENT"
        override fun toString(): kotlin.String = "XssMatchStatement"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.wafv2.model.ParameterExceptionField = when (value) {
            "ACP_RULE_SET_RESPONSE_INSPECTION" -> AcpRuleSetResponseInspection
            "AND_STATEMENT" -> AndStatement
            "ASSOCIABLE_RESOURCE" -> AssociableResource
            "ASSOCIATED_RESOURCE_TYPE" -> AssociatedResourceType
            "ATP_RULE_SET_RESPONSE_INSPECTION" -> AtpRuleSetResponseInspection
            "BODY_PARSING_FALLBACK_BEHAVIOR" -> BodyParsingFallbackBehavior
            "BYTE_MATCH_STATEMENT" -> ByteMatchStatement
            "CHALLENGE_CONFIG" -> ChallengeConfig
            "CHANGE_PROPAGATION_STATUS" -> ChangePropagationStatus
            "COOKIE_MATCH_PATTERN" -> CookieMatchPattern
            "CUSTOM_KEYS" -> CustomKeys
            "CUSTOM_REQUEST_HANDLING" -> CustomRequestHandling
            "CUSTOM_RESPONSE" -> CustomResponse
            "CUSTOM_RESPONSE_BODY" -> CustomResponseBody
            "DEFAULT_ACTION" -> DefaultAction
            "ENTITY_LIMIT" -> EntityLimit
            "EXCLUDED_RULE" -> ExcludedRule
            "EXPIRE_TIMESTAMP" -> ExpireTimestamp
            "FALLBACK_BEHAVIOR" -> FallbackBehavior
            "FIELD_TO_MATCH" -> FieldToMatch
            "FILTER_CONDITION" -> FilterCondition
            "FIREWALL_MANAGER_STATEMENT" -> FirewallManagerStatement
            "FORWARDED_IP_CONFIG" -> ForwardedIpConfig
            "GEO_MATCH_STATEMENT" -> GeoMatchStatement
            "HEADER_MATCH_PATTERN" -> HeaderMatchPattern
            "HEADER_NAME" -> HeaderName
            "IP_ADDRESS" -> IpAddress
            "IP_ADDRESS_VERSION" -> IpAddressVersion
            "IP_SET" -> IpSet
            "IP_SET_FORWARDED_IP_CONFIG" -> IpSetForwardedIpConfig
            "IP_SET_REFERENCE_STATEMENT" -> IpSetReferenceStatement
            "JSON_MATCH_PATTERN" -> JsonMatchPattern
            "JSON_MATCH_SCOPE" -> JsonMatchScope
            "LABEL_MATCH_STATEMENT" -> LabelMatchStatement
            "LOGGING_FILTER" -> LoggingFilter
            "LOG_DESTINATION" -> LogDestination
            "MANAGED_RULE_GROUP_CONFIG" -> ManagedRuleGroupConfig
            "MANAGED_RULE_SET" -> ManagedRuleSet
            "MANAGED_RULE_SET_STATEMENT" -> ManagedRuleSetStatement
            "MAP_MATCH_SCOPE" -> MapMatchScope
            "METRIC_NAME" -> MetricName
            "NOT_STATEMENT" -> NotStatement
            "OR_STATEMENT" -> OrStatement
            "OVERRIDE_ACTION" -> OverrideAction
            "OVERSIZE_HANDLING" -> OversizeHandling
            "PAYLOAD_TYPE" -> PayloadType
            "POSITION" -> Position
            "RATE_BASED_STATEMENT" -> RateBasedStatement
            "REGEX_PATTERN_REFERENCE_STATEMENT" -> RegexPatternReferenceStatement
            "REGEX_PATTERN_SET" -> RegexPatternSet
            "RESOURCE_ARN" -> ResourceArn
            "RESOURCE_TYPE" -> ResourceType
            "RESPONSE_CONTENT_TYPE" -> ResponseContentType
            "RULE" -> Rule
            "RULE_ACTION" -> RuleAction
            "RULE_GROUP" -> RuleGroup
            "RULE_GROUP_REFERENCE_STATEMENT" -> RuleGroupReferenceStatement
            "SCOPE_DOWN" -> ScopeDown
            "SCOPE_VALUE" -> ScopeValue
            "SINGLE_HEADER" -> SingleHeader
            "SINGLE_QUERY_ARGUMENT" -> SingleQueryArgument
            "SIZE_CONSTRAINT_STATEMENT" -> SizeConstraintStatement
            "SQLI_MATCH_STATEMENT" -> SqliMatchStatement
            "STATEMENT" -> Statement
            "TAGS" -> Tags
            "TAG_KEYS" -> TagKeys
            "TEXT_TRANSFORMATION" -> TextTransformation
            "TOKEN_DOMAIN" -> TokenDomain
            "WEB_ACL" -> WebAcl
            "XSS_MATCH_STATEMENT" -> XssMatchStatement
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            AcpRuleSetResponseInspection,
            AndStatement,
            AssociableResource,
            AssociatedResourceType,
            AtpRuleSetResponseInspection,
            BodyParsingFallbackBehavior,
            ByteMatchStatement,
            ChallengeConfig,
            ChangePropagationStatus,
            CookieMatchPattern,
            CustomKeys,
            CustomRequestHandling,
            CustomResponse,
            CustomResponseBody,
            DefaultAction,
            EntityLimit,
            ExcludedRule,
            ExpireTimestamp,
            FallbackBehavior,
            FieldToMatch,
            FilterCondition,
            FirewallManagerStatement,
            ForwardedIpConfig,
            GeoMatchStatement,
            HeaderMatchPattern,
            HeaderName,
            IpAddress,
            IpAddressVersion,
            IpSet,
            IpSetForwardedIpConfig,
            IpSetReferenceStatement,
            JsonMatchPattern,
            JsonMatchScope,
            LabelMatchStatement,
            LoggingFilter,
            LogDestination,
            ManagedRuleGroupConfig,
            ManagedRuleSet,
            ManagedRuleSetStatement,
            MapMatchScope,
            MetricName,
            NotStatement,
            OrStatement,
            OverrideAction,
            OversizeHandling,
            PayloadType,
            Position,
            RateBasedStatement,
            RegexPatternReferenceStatement,
            RegexPatternSet,
            ResourceArn,
            ResourceType,
            ResponseContentType,
            Rule,
            RuleAction,
            RuleGroup,
            RuleGroupReferenceStatement,
            ScopeDown,
            ScopeValue,
            SingleHeader,
            SingleQueryArgument,
            SizeConstraintStatement,
            SqliMatchStatement,
            Statement,
            Tags,
            TagKeys,
            TextTransformation,
            TokenDomain,
            WebAcl,
            XssMatchStatement,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy