{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.WAF.Types
(
defaultService,
_WAFInvalidAccountException,
_WAFSubscriptionNotFoundException,
_WAFReferencedItemException,
_WAFTagOperationException,
_WAFEntityMigrationException,
_WAFInvalidRegexPatternException,
_WAFInvalidOperationException,
_WAFBadRequestException,
_WAFNonexistentItemException,
_WAFInvalidParameterException,
_WAFTagOperationInternalErrorException,
_WAFServiceLinkedRoleErrorException,
_WAFLimitsExceededException,
_WAFInvalidPermissionPolicyException,
_WAFStaleDataException,
_WAFInternalErrorException,
_WAFNonexistentContainerException,
_WAFDisallowedNameException,
_WAFNonEmptyEntityException,
ChangeAction (..),
ChangeTokenStatus (..),
ComparisonOperator (..),
GeoMatchConstraintType (..),
GeoMatchConstraintValue (..),
IPSetDescriptorType (..),
MatchFieldType (..),
PositionalConstraint (..),
PredicateType (..),
RateKey (..),
TextTransformation (..),
WafActionType (..),
WafOverrideActionType (..),
WafRuleType (..),
ActivatedRule (..),
newActivatedRule,
activatedRule_overrideAction,
activatedRule_action,
activatedRule_excludedRules,
activatedRule_type,
activatedRule_priority,
activatedRule_ruleId,
ByteMatchSet (..),
newByteMatchSet,
byteMatchSet_name,
byteMatchSet_byteMatchSetId,
byteMatchSet_byteMatchTuples,
ByteMatchSetSummary (..),
newByteMatchSetSummary,
byteMatchSetSummary_byteMatchSetId,
byteMatchSetSummary_name,
ByteMatchSetUpdate (..),
newByteMatchSetUpdate,
byteMatchSetUpdate_action,
byteMatchSetUpdate_byteMatchTuple,
ByteMatchTuple (..),
newByteMatchTuple,
byteMatchTuple_fieldToMatch,
byteMatchTuple_targetString,
byteMatchTuple_textTransformation,
byteMatchTuple_positionalConstraint,
ExcludedRule (..),
newExcludedRule,
excludedRule_ruleId,
FieldToMatch (..),
newFieldToMatch,
fieldToMatch_data,
fieldToMatch_type,
GeoMatchConstraint (..),
newGeoMatchConstraint,
geoMatchConstraint_type,
geoMatchConstraint_value,
GeoMatchSet (..),
newGeoMatchSet,
geoMatchSet_name,
geoMatchSet_geoMatchSetId,
geoMatchSet_geoMatchConstraints,
GeoMatchSetSummary (..),
newGeoMatchSetSummary,
geoMatchSetSummary_geoMatchSetId,
geoMatchSetSummary_name,
GeoMatchSetUpdate (..),
newGeoMatchSetUpdate,
geoMatchSetUpdate_action,
geoMatchSetUpdate_geoMatchConstraint,
HTTPHeader (..),
newHTTPHeader,
hTTPHeader_value,
hTTPHeader_name,
HTTPRequest (..),
newHTTPRequest,
hTTPRequest_hTTPVersion,
hTTPRequest_country,
hTTPRequest_uri,
hTTPRequest_headers,
hTTPRequest_method,
hTTPRequest_clientIP,
IPSet (..),
newIPSet,
iPSet_name,
iPSet_iPSetId,
iPSet_iPSetDescriptors,
IPSetDescriptor (..),
newIPSetDescriptor,
iPSetDescriptor_type,
iPSetDescriptor_value,
IPSetSummary (..),
newIPSetSummary,
iPSetSummary_iPSetId,
iPSetSummary_name,
IPSetUpdate (..),
newIPSetUpdate,
iPSetUpdate_action,
iPSetUpdate_iPSetDescriptor,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_redactedFields,
loggingConfiguration_resourceArn,
loggingConfiguration_logDestinationConfigs,
Predicate (..),
newPredicate,
predicate_negated,
predicate_type,
predicate_dataId,
RateBasedRule (..),
newRateBasedRule,
rateBasedRule_metricName,
rateBasedRule_name,
rateBasedRule_ruleId,
rateBasedRule_matchPredicates,
rateBasedRule_rateKey,
rateBasedRule_rateLimit,
RegexMatchSet (..),
newRegexMatchSet,
regexMatchSet_name,
regexMatchSet_regexMatchTuples,
regexMatchSet_regexMatchSetId,
RegexMatchSetSummary (..),
newRegexMatchSetSummary,
regexMatchSetSummary_regexMatchSetId,
regexMatchSetSummary_name,
RegexMatchSetUpdate (..),
newRegexMatchSetUpdate,
regexMatchSetUpdate_action,
regexMatchSetUpdate_regexMatchTuple,
RegexMatchTuple (..),
newRegexMatchTuple,
regexMatchTuple_fieldToMatch,
regexMatchTuple_textTransformation,
regexMatchTuple_regexPatternSetId,
RegexPatternSet (..),
newRegexPatternSet,
regexPatternSet_name,
regexPatternSet_regexPatternSetId,
regexPatternSet_regexPatternStrings,
RegexPatternSetSummary (..),
newRegexPatternSetSummary,
regexPatternSetSummary_regexPatternSetId,
regexPatternSetSummary_name,
RegexPatternSetUpdate (..),
newRegexPatternSetUpdate,
regexPatternSetUpdate_action,
regexPatternSetUpdate_regexPatternString,
Rule (..),
newRule,
rule_metricName,
rule_name,
rule_ruleId,
rule_predicates,
RuleGroup (..),
newRuleGroup,
ruleGroup_metricName,
ruleGroup_name,
ruleGroup_ruleGroupId,
RuleGroupSummary (..),
newRuleGroupSummary,
ruleGroupSummary_ruleGroupId,
ruleGroupSummary_name,
RuleGroupUpdate (..),
newRuleGroupUpdate,
ruleGroupUpdate_action,
ruleGroupUpdate_activatedRule,
RuleSummary (..),
newRuleSummary,
ruleSummary_ruleId,
ruleSummary_name,
RuleUpdate (..),
newRuleUpdate,
ruleUpdate_action,
ruleUpdate_predicate,
SampledHTTPRequest (..),
newSampledHTTPRequest,
sampledHTTPRequest_ruleWithinRuleGroup,
sampledHTTPRequest_action,
sampledHTTPRequest_timestamp,
sampledHTTPRequest_request,
sampledHTTPRequest_weight,
SizeConstraint (..),
newSizeConstraint,
sizeConstraint_fieldToMatch,
sizeConstraint_textTransformation,
sizeConstraint_comparisonOperator,
sizeConstraint_size,
SizeConstraintSet (..),
newSizeConstraintSet,
sizeConstraintSet_name,
sizeConstraintSet_sizeConstraintSetId,
sizeConstraintSet_sizeConstraints,
SizeConstraintSetSummary (..),
newSizeConstraintSetSummary,
sizeConstraintSetSummary_sizeConstraintSetId,
sizeConstraintSetSummary_name,
SizeConstraintSetUpdate (..),
newSizeConstraintSetUpdate,
sizeConstraintSetUpdate_action,
sizeConstraintSetUpdate_sizeConstraint,
SqlInjectionMatchSet (..),
newSqlInjectionMatchSet,
sqlInjectionMatchSet_name,
sqlInjectionMatchSet_sqlInjectionMatchSetId,
sqlInjectionMatchSet_sqlInjectionMatchTuples,
SqlInjectionMatchSetSummary (..),
newSqlInjectionMatchSetSummary,
sqlInjectionMatchSetSummary_sqlInjectionMatchSetId,
sqlInjectionMatchSetSummary_name,
SqlInjectionMatchSetUpdate (..),
newSqlInjectionMatchSetUpdate,
sqlInjectionMatchSetUpdate_action,
sqlInjectionMatchSetUpdate_sqlInjectionMatchTuple,
SqlInjectionMatchTuple (..),
newSqlInjectionMatchTuple,
sqlInjectionMatchTuple_fieldToMatch,
sqlInjectionMatchTuple_textTransformation,
SubscribedRuleGroupSummary (..),
newSubscribedRuleGroupSummary,
subscribedRuleGroupSummary_ruleGroupId,
subscribedRuleGroupSummary_name,
subscribedRuleGroupSummary_metricName,
Tag (..),
newTag,
tag_key,
tag_value,
TagInfoForResource (..),
newTagInfoForResource,
tagInfoForResource_tagList,
tagInfoForResource_resourceARN,
TimeWindow (..),
newTimeWindow,
timeWindow_startTime,
timeWindow_endTime,
WafAction (..),
newWafAction,
wafAction_type,
WafOverrideAction (..),
newWafOverrideAction,
wafOverrideAction_type,
WebACL (..),
newWebACL,
webACL_metricName,
webACL_name,
webACL_webACLArn,
webACL_webACLId,
webACL_defaultAction,
webACL_rules,
WebACLSummary (..),
newWebACLSummary,
webACLSummary_webACLId,
webACLSummary_name,
WebACLUpdate (..),
newWebACLUpdate,
webACLUpdate_action,
webACLUpdate_activatedRule,
XssMatchSet (..),
newXssMatchSet,
xssMatchSet_name,
xssMatchSet_xssMatchSetId,
xssMatchSet_xssMatchTuples,
XssMatchSetSummary (..),
newXssMatchSetSummary,
xssMatchSetSummary_xssMatchSetId,
xssMatchSetSummary_name,
XssMatchSetUpdate (..),
newXssMatchSetUpdate,
xssMatchSetUpdate_action,
xssMatchSetUpdate_xssMatchTuple,
XssMatchTuple (..),
newXssMatchTuple,
xssMatchTuple_fieldToMatch,
xssMatchTuple_textTransformation,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
import Amazonka.WAF.Types.ActivatedRule
import Amazonka.WAF.Types.ByteMatchSet
import Amazonka.WAF.Types.ByteMatchSetSummary
import Amazonka.WAF.Types.ByteMatchSetUpdate
import Amazonka.WAF.Types.ByteMatchTuple
import Amazonka.WAF.Types.ChangeAction
import Amazonka.WAF.Types.ChangeTokenStatus
import Amazonka.WAF.Types.ComparisonOperator
import Amazonka.WAF.Types.ExcludedRule
import Amazonka.WAF.Types.FieldToMatch
import Amazonka.WAF.Types.GeoMatchConstraint
import Amazonka.WAF.Types.GeoMatchConstraintType
import Amazonka.WAF.Types.GeoMatchConstraintValue
import Amazonka.WAF.Types.GeoMatchSet
import Amazonka.WAF.Types.GeoMatchSetSummary
import Amazonka.WAF.Types.GeoMatchSetUpdate
import Amazonka.WAF.Types.HTTPHeader
import Amazonka.WAF.Types.HTTPRequest
import Amazonka.WAF.Types.IPSet
import Amazonka.WAF.Types.IPSetDescriptor
import Amazonka.WAF.Types.IPSetDescriptorType
import Amazonka.WAF.Types.IPSetSummary
import Amazonka.WAF.Types.IPSetUpdate
import Amazonka.WAF.Types.LoggingConfiguration
import Amazonka.WAF.Types.MatchFieldType
import Amazonka.WAF.Types.PositionalConstraint
import Amazonka.WAF.Types.Predicate
import Amazonka.WAF.Types.PredicateType
import Amazonka.WAF.Types.RateBasedRule
import Amazonka.WAF.Types.RateKey
import Amazonka.WAF.Types.RegexMatchSet
import Amazonka.WAF.Types.RegexMatchSetSummary
import Amazonka.WAF.Types.RegexMatchSetUpdate
import Amazonka.WAF.Types.RegexMatchTuple
import Amazonka.WAF.Types.RegexPatternSet
import Amazonka.WAF.Types.RegexPatternSetSummary
import Amazonka.WAF.Types.RegexPatternSetUpdate
import Amazonka.WAF.Types.Rule
import Amazonka.WAF.Types.RuleGroup
import Amazonka.WAF.Types.RuleGroupSummary
import Amazonka.WAF.Types.RuleGroupUpdate
import Amazonka.WAF.Types.RuleSummary
import Amazonka.WAF.Types.RuleUpdate
import Amazonka.WAF.Types.SampledHTTPRequest
import Amazonka.WAF.Types.SizeConstraint
import Amazonka.WAF.Types.SizeConstraintSet
import Amazonka.WAF.Types.SizeConstraintSetSummary
import Amazonka.WAF.Types.SizeConstraintSetUpdate
import Amazonka.WAF.Types.SqlInjectionMatchSet
import Amazonka.WAF.Types.SqlInjectionMatchSetSummary
import Amazonka.WAF.Types.SqlInjectionMatchSetUpdate
import Amazonka.WAF.Types.SqlInjectionMatchTuple
import Amazonka.WAF.Types.SubscribedRuleGroupSummary
import Amazonka.WAF.Types.Tag
import Amazonka.WAF.Types.TagInfoForResource
import Amazonka.WAF.Types.TextTransformation
import Amazonka.WAF.Types.TimeWindow
import Amazonka.WAF.Types.WafAction
import Amazonka.WAF.Types.WafActionType
import Amazonka.WAF.Types.WafOverrideAction
import Amazonka.WAF.Types.WafOverrideActionType
import Amazonka.WAF.Types.WafRuleType
import Amazonka.WAF.Types.WebACL
import Amazonka.WAF.Types.WebACLSummary
import Amazonka.WAF.Types.WebACLUpdate
import Amazonka.WAF.Types.XssMatchSet
import Amazonka.WAF.Types.XssMatchSetSummary
import Amazonka.WAF.Types.XssMatchSetUpdate
import Amazonka.WAF.Types.XssMatchTuple
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev = Abbrev
"WAF",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"waf",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"waf",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2015-08-24",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"WAF",
$sel:_serviceRetry:Service :: Retry
Core._serviceRetry = Retry
retry
}
where
retry :: Retry
retry =
Exponential :: Double -> Int -> Int -> (ServiceError -> Maybe Text) -> Retry
Core.Exponential
{ $sel:_retryBase:Exponential :: Double
Core._retryBase = Double
5.0e-2,
$sel:_retryGrowth:Exponential :: Int
Core._retryGrowth = Int
2,
$sel:_retryAttempts:Exponential :: Int
Core._retryAttempts = Int
5,
$sel:_retryCheck:Exponential :: ServiceError -> Maybe Text
Core._retryCheck = ServiceError -> Maybe Text
forall a. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| Bool
Prelude.otherwise = Maybe a
forall a. Maybe a
Prelude.Nothing
_WAFInvalidAccountException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInvalidAccountException :: Getting (First ServiceError) a ServiceError
_WAFInvalidAccountException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInvalidAccountException"
_WAFSubscriptionNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFSubscriptionNotFoundException :: Getting (First ServiceError) a ServiceError
_WAFSubscriptionNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFSubscriptionNotFoundException"
_WAFReferencedItemException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFReferencedItemException :: Getting (First ServiceError) a ServiceError
_WAFReferencedItemException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFReferencedItemException"
_WAFTagOperationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFTagOperationException :: Getting (First ServiceError) a ServiceError
_WAFTagOperationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFTagOperationException"
_WAFEntityMigrationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFEntityMigrationException :: Getting (First ServiceError) a ServiceError
_WAFEntityMigrationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFEntityMigrationException"
_WAFInvalidRegexPatternException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInvalidRegexPatternException :: Getting (First ServiceError) a ServiceError
_WAFInvalidRegexPatternException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInvalidRegexPatternException"
_WAFInvalidOperationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInvalidOperationException :: Getting (First ServiceError) a ServiceError
_WAFInvalidOperationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInvalidOperationException"
_WAFBadRequestException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFBadRequestException :: Getting (First ServiceError) a ServiceError
_WAFBadRequestException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFBadRequestException"
_WAFNonexistentItemException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFNonexistentItemException :: Getting (First ServiceError) a ServiceError
_WAFNonexistentItemException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFNonexistentItemException"
_WAFInvalidParameterException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInvalidParameterException :: Getting (First ServiceError) a ServiceError
_WAFInvalidParameterException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInvalidParameterException"
_WAFTagOperationInternalErrorException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFTagOperationInternalErrorException :: Getting (First ServiceError) a ServiceError
_WAFTagOperationInternalErrorException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFTagOperationInternalErrorException"
_WAFServiceLinkedRoleErrorException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFServiceLinkedRoleErrorException :: Getting (First ServiceError) a ServiceError
_WAFServiceLinkedRoleErrorException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFServiceLinkedRoleErrorException"
_WAFLimitsExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFLimitsExceededException :: Getting (First ServiceError) a ServiceError
_WAFLimitsExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFLimitsExceededException"
_WAFInvalidPermissionPolicyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInvalidPermissionPolicyException :: Getting (First ServiceError) a ServiceError
_WAFInvalidPermissionPolicyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInvalidPermissionPolicyException"
_WAFStaleDataException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFStaleDataException :: Getting (First ServiceError) a ServiceError
_WAFStaleDataException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFStaleDataException"
_WAFInternalErrorException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFInternalErrorException :: Getting (First ServiceError) a ServiceError
_WAFInternalErrorException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFInternalErrorException"
_WAFNonexistentContainerException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFNonexistentContainerException :: Getting (First ServiceError) a ServiceError
_WAFNonexistentContainerException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFNonexistentContainerException"
_WAFDisallowedNameException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFDisallowedNameException :: Getting (First ServiceError) a ServiceError
_WAFDisallowedNameException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFDisallowedNameException"
_WAFNonEmptyEntityException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WAFNonEmptyEntityException :: Getting (First ServiceError) a ServiceError
_WAFNonEmptyEntityException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WAFNonEmptyEntityException"