{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.NetworkFirewall.Types
(
defaultService,
_InsufficientCapacityException,
_InternalServerError,
_InvalidOperationException,
_InvalidRequestException,
_InvalidResourcePolicyException,
_InvalidTokenException,
_LimitExceededException,
_LogDestinationPermissionException,
_ResourceNotFoundException,
_ResourceOwnerCheckException,
_ThrottlingException,
_UnsupportedOperationException,
AttachmentStatus (..),
ConfigurationSyncState (..),
EncryptionType (..),
FirewallStatusValue (..),
GeneratedRulesType (..),
LogDestinationType (..),
LogType (..),
OverrideAction (..),
PerObjectSyncStatus (..),
ResourceManagedStatus (..),
ResourceManagedType (..),
ResourceStatus (..),
RuleGroupType (..),
RuleOrder (..),
StatefulAction (..),
StatefulRuleDirection (..),
StatefulRuleProtocol (..),
StreamExceptionPolicy (..),
TCPFlag (..),
TargetType (..),
ActionDefinition (..),
newActionDefinition,
actionDefinition_publishMetricAction,
Address (..),
newAddress,
address_addressDefinition,
Attachment (..),
newAttachment,
attachment_endpointId,
attachment_status,
attachment_statusMessage,
attachment_subnetId,
CIDRSummary (..),
newCIDRSummary,
cIDRSummary_availableCIDRCount,
cIDRSummary_iPSetReferences,
cIDRSummary_utilizedCIDRCount,
CapacityUsageSummary (..),
newCapacityUsageSummary,
capacityUsageSummary_cIDRs,
CustomAction (..),
newCustomAction,
customAction_actionName,
customAction_actionDefinition,
Dimension (..),
newDimension,
dimension_value,
EncryptionConfiguration (..),
newEncryptionConfiguration,
encryptionConfiguration_keyId,
encryptionConfiguration_type,
Firewall (..),
newFirewall,
firewall_deleteProtection,
firewall_description,
firewall_encryptionConfiguration,
firewall_firewallArn,
firewall_firewallName,
firewall_firewallPolicyChangeProtection,
firewall_subnetChangeProtection,
firewall_tags,
firewall_firewallPolicyArn,
firewall_vpcId,
firewall_subnetMappings,
firewall_firewallId,
FirewallMetadata (..),
newFirewallMetadata,
firewallMetadata_firewallArn,
firewallMetadata_firewallName,
FirewallPolicy (..),
newFirewallPolicy,
firewallPolicy_statefulDefaultActions,
firewallPolicy_statefulEngineOptions,
firewallPolicy_statefulRuleGroupReferences,
firewallPolicy_statelessCustomActions,
firewallPolicy_statelessRuleGroupReferences,
firewallPolicy_statelessDefaultActions,
firewallPolicy_statelessFragmentDefaultActions,
FirewallPolicyMetadata (..),
newFirewallPolicyMetadata,
firewallPolicyMetadata_arn,
firewallPolicyMetadata_name,
FirewallPolicyResponse (..),
newFirewallPolicyResponse,
firewallPolicyResponse_consumedStatefulRuleCapacity,
firewallPolicyResponse_consumedStatelessRuleCapacity,
firewallPolicyResponse_description,
firewallPolicyResponse_encryptionConfiguration,
firewallPolicyResponse_firewallPolicyStatus,
firewallPolicyResponse_lastModifiedTime,
firewallPolicyResponse_numberOfAssociations,
firewallPolicyResponse_tags,
firewallPolicyResponse_firewallPolicyName,
firewallPolicyResponse_firewallPolicyArn,
firewallPolicyResponse_firewallPolicyId,
FirewallStatus (..),
newFirewallStatus,
firewallStatus_capacityUsageSummary,
firewallStatus_syncStates,
firewallStatus_status,
firewallStatus_configurationSyncStateSummary,
Header (..),
newHeader,
header_protocol,
header_source,
header_sourcePort,
header_direction,
header_destination,
header_destinationPort,
IPSet (..),
newIPSet,
iPSet_definition,
IPSetMetadata (..),
newIPSetMetadata,
iPSetMetadata_resolvedCIDRCount,
IPSetReference (..),
newIPSetReference,
iPSetReference_referenceArn,
LogDestinationConfig (..),
newLogDestinationConfig,
logDestinationConfig_logType,
logDestinationConfig_logDestinationType,
logDestinationConfig_logDestination,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_logDestinationConfigs,
MatchAttributes (..),
newMatchAttributes,
matchAttributes_destinationPorts,
matchAttributes_destinations,
matchAttributes_protocols,
matchAttributes_sourcePorts,
matchAttributes_sources,
matchAttributes_tCPFlags,
PerObjectStatus (..),
newPerObjectStatus,
perObjectStatus_syncStatus,
perObjectStatus_updateToken,
PortRange (..),
newPortRange,
portRange_fromPort,
portRange_toPort,
PortSet (..),
newPortSet,
portSet_definition,
PublishMetricAction (..),
newPublishMetricAction,
publishMetricAction_dimensions,
ReferenceSets (..),
newReferenceSets,
referenceSets_iPSetReferences,
RuleDefinition (..),
newRuleDefinition,
ruleDefinition_matchAttributes,
ruleDefinition_actions,
RuleGroup (..),
newRuleGroup,
ruleGroup_referenceSets,
ruleGroup_ruleVariables,
ruleGroup_statefulRuleOptions,
ruleGroup_rulesSource,
RuleGroupMetadata (..),
newRuleGroupMetadata,
ruleGroupMetadata_arn,
ruleGroupMetadata_name,
RuleGroupResponse (..),
newRuleGroupResponse,
ruleGroupResponse_capacity,
ruleGroupResponse_consumedCapacity,
ruleGroupResponse_description,
ruleGroupResponse_encryptionConfiguration,
ruleGroupResponse_lastModifiedTime,
ruleGroupResponse_numberOfAssociations,
ruleGroupResponse_ruleGroupStatus,
ruleGroupResponse_snsTopic,
ruleGroupResponse_sourceMetadata,
ruleGroupResponse_tags,
ruleGroupResponse_type,
ruleGroupResponse_ruleGroupArn,
ruleGroupResponse_ruleGroupName,
ruleGroupResponse_ruleGroupId,
RuleOption (..),
newRuleOption,
ruleOption_settings,
ruleOption_keyword,
RuleVariables (..),
newRuleVariables,
ruleVariables_iPSets,
ruleVariables_portSets,
RulesSource (..),
newRulesSource,
rulesSource_rulesSourceList,
rulesSource_rulesString,
rulesSource_statefulRules,
rulesSource_statelessRulesAndCustomActions,
RulesSourceList (..),
newRulesSourceList,
rulesSourceList_targets,
rulesSourceList_targetTypes,
rulesSourceList_generatedRulesType,
SourceMetadata (..),
newSourceMetadata,
sourceMetadata_sourceArn,
sourceMetadata_sourceUpdateToken,
StatefulEngineOptions (..),
newStatefulEngineOptions,
statefulEngineOptions_ruleOrder,
statefulEngineOptions_streamExceptionPolicy,
StatefulRule (..),
newStatefulRule,
statefulRule_action,
statefulRule_header,
statefulRule_ruleOptions,
StatefulRuleGroupOverride (..),
newStatefulRuleGroupOverride,
statefulRuleGroupOverride_action,
StatefulRuleGroupReference (..),
newStatefulRuleGroupReference,
statefulRuleGroupReference_override,
statefulRuleGroupReference_priority,
statefulRuleGroupReference_resourceArn,
StatefulRuleOptions (..),
newStatefulRuleOptions,
statefulRuleOptions_ruleOrder,
StatelessRule (..),
newStatelessRule,
statelessRule_ruleDefinition,
statelessRule_priority,
StatelessRuleGroupReference (..),
newStatelessRuleGroupReference,
statelessRuleGroupReference_resourceArn,
statelessRuleGroupReference_priority,
StatelessRulesAndCustomActions (..),
newStatelessRulesAndCustomActions,
statelessRulesAndCustomActions_customActions,
statelessRulesAndCustomActions_statelessRules,
SubnetMapping (..),
newSubnetMapping,
subnetMapping_subnetId,
SyncState (..),
newSyncState,
syncState_attachment,
syncState_config,
TCPFlagField (..),
newTCPFlagField,
tCPFlagField_masks,
tCPFlagField_flags,
Tag (..),
newTag,
tag_key,
tag_value,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.NetworkFirewall.Types.ActionDefinition
import Amazonka.NetworkFirewall.Types.Address
import Amazonka.NetworkFirewall.Types.Attachment
import Amazonka.NetworkFirewall.Types.AttachmentStatus
import Amazonka.NetworkFirewall.Types.CIDRSummary
import Amazonka.NetworkFirewall.Types.CapacityUsageSummary
import Amazonka.NetworkFirewall.Types.ConfigurationSyncState
import Amazonka.NetworkFirewall.Types.CustomAction
import Amazonka.NetworkFirewall.Types.Dimension
import Amazonka.NetworkFirewall.Types.EncryptionConfiguration
import Amazonka.NetworkFirewall.Types.EncryptionType
import Amazonka.NetworkFirewall.Types.Firewall
import Amazonka.NetworkFirewall.Types.FirewallMetadata
import Amazonka.NetworkFirewall.Types.FirewallPolicy
import Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata
import Amazonka.NetworkFirewall.Types.FirewallPolicyResponse
import Amazonka.NetworkFirewall.Types.FirewallStatus
import Amazonka.NetworkFirewall.Types.FirewallStatusValue
import Amazonka.NetworkFirewall.Types.GeneratedRulesType
import Amazonka.NetworkFirewall.Types.Header
import Amazonka.NetworkFirewall.Types.IPSet
import Amazonka.NetworkFirewall.Types.IPSetMetadata
import Amazonka.NetworkFirewall.Types.IPSetReference
import Amazonka.NetworkFirewall.Types.LogDestinationConfig
import Amazonka.NetworkFirewall.Types.LogDestinationType
import Amazonka.NetworkFirewall.Types.LogType
import Amazonka.NetworkFirewall.Types.LoggingConfiguration
import Amazonka.NetworkFirewall.Types.MatchAttributes
import Amazonka.NetworkFirewall.Types.OverrideAction
import Amazonka.NetworkFirewall.Types.PerObjectStatus
import Amazonka.NetworkFirewall.Types.PerObjectSyncStatus
import Amazonka.NetworkFirewall.Types.PortRange
import Amazonka.NetworkFirewall.Types.PortSet
import Amazonka.NetworkFirewall.Types.PublishMetricAction
import Amazonka.NetworkFirewall.Types.ReferenceSets
import Amazonka.NetworkFirewall.Types.ResourceManagedStatus
import Amazonka.NetworkFirewall.Types.ResourceManagedType
import Amazonka.NetworkFirewall.Types.ResourceStatus
import Amazonka.NetworkFirewall.Types.RuleDefinition
import Amazonka.NetworkFirewall.Types.RuleGroup
import Amazonka.NetworkFirewall.Types.RuleGroupMetadata
import Amazonka.NetworkFirewall.Types.RuleGroupResponse
import Amazonka.NetworkFirewall.Types.RuleGroupType
import Amazonka.NetworkFirewall.Types.RuleOption
import Amazonka.NetworkFirewall.Types.RuleOrder
import Amazonka.NetworkFirewall.Types.RuleVariables
import Amazonka.NetworkFirewall.Types.RulesSource
import Amazonka.NetworkFirewall.Types.RulesSourceList
import Amazonka.NetworkFirewall.Types.SourceMetadata
import Amazonka.NetworkFirewall.Types.StatefulAction
import Amazonka.NetworkFirewall.Types.StatefulEngineOptions
import Amazonka.NetworkFirewall.Types.StatefulRule
import Amazonka.NetworkFirewall.Types.StatefulRuleDirection
import Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride
import Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference
import Amazonka.NetworkFirewall.Types.StatefulRuleOptions
import Amazonka.NetworkFirewall.Types.StatefulRuleProtocol
import Amazonka.NetworkFirewall.Types.StatelessRule
import Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference
import Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions
import Amazonka.NetworkFirewall.Types.StreamExceptionPolicy
import Amazonka.NetworkFirewall.Types.SubnetMapping
import Amazonka.NetworkFirewall.Types.SyncState
import Amazonka.NetworkFirewall.Types.TCPFlag
import Amazonka.NetworkFirewall.Types.TCPFlagField
import Amazonka.NetworkFirewall.Types.Tag
import Amazonka.NetworkFirewall.Types.TargetType
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"NetworkFirewall",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"network-firewall",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"network-firewall",
$sel:version:Service :: ByteString
Core.version = ByteString
"2020-11-12",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"NetworkFirewall",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_InsufficientCapacityException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InsufficientCapacityException :: forall a. AsError a => Fold a ServiceError
_InsufficientCapacityException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InsufficientCapacityException"
_InternalServerError :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerError :: forall a. AsError a => Fold a ServiceError
_InternalServerError =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerError"
_InvalidOperationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidOperationException :: forall a. AsError a => Fold a ServiceError
_InvalidOperationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidOperationException"
_InvalidRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRequestException :: forall a. AsError a => Fold a ServiceError
_InvalidRequestException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidRequestException"
_InvalidResourcePolicyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidResourcePolicyException :: forall a. AsError a => Fold a ServiceError
_InvalidResourcePolicyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidResourcePolicyException"
_InvalidTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTokenException :: forall a. AsError a => Fold a ServiceError
_InvalidTokenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidTokenException"
_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_LimitExceededException :: forall a. AsError a => Fold a ServiceError
_LimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"
_LogDestinationPermissionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_LogDestinationPermissionException :: forall a. AsError a => Fold a ServiceError
_LogDestinationPermissionException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LogDestinationPermissionException"
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_ResourceOwnerCheckException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceOwnerCheckException :: forall a. AsError a => Fold a ServiceError
_ResourceOwnerCheckException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceOwnerCheckException"
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
_UnsupportedOperationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnsupportedOperationException :: forall a. AsError a => Fold a ServiceError
_UnsupportedOperationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedOperationException"