{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.XRay.Types
(
defaultService,
_InvalidPolicyRevisionIdException,
_InvalidRequestException,
_LockoutPreventionException,
_MalformedPolicyDocumentException,
_PolicyCountLimitExceededException,
_PolicySizeLimitExceededException,
_ResourceNotFoundException,
_RuleLimitExceededException,
_ThrottledException,
_TooManyTagsException,
EncryptionStatus (..),
EncryptionType (..),
InsightCategory (..),
InsightState (..),
SamplingStrategyName (..),
TimeRangeType (..),
Alias (..),
newAlias,
alias_name,
alias_names,
alias_type,
AnnotationValue (..),
newAnnotationValue,
annotationValue_booleanValue,
annotationValue_numberValue,
annotationValue_stringValue,
AnomalousService (..),
newAnomalousService,
anomalousService_serviceId,
AvailabilityZoneDetail (..),
newAvailabilityZoneDetail,
availabilityZoneDetail_name,
BackendConnectionErrors (..),
newBackendConnectionErrors,
backendConnectionErrors_connectionRefusedCount,
backendConnectionErrors_hTTPCode4XXCount,
backendConnectionErrors_hTTPCode5XXCount,
backendConnectionErrors_otherCount,
backendConnectionErrors_timeoutCount,
backendConnectionErrors_unknownHostCount,
Edge (..),
newEdge,
edge_aliases,
edge_edgeType,
edge_endTime,
edge_receivedEventAgeHistogram,
edge_referenceId,
edge_responseTimeHistogram,
edge_startTime,
edge_summaryStatistics,
EdgeStatistics (..),
newEdgeStatistics,
edgeStatistics_errorStatistics,
edgeStatistics_faultStatistics,
edgeStatistics_okCount,
edgeStatistics_totalCount,
edgeStatistics_totalResponseTime,
EncryptionConfig (..),
newEncryptionConfig,
encryptionConfig_keyId,
encryptionConfig_status,
encryptionConfig_type,
ErrorRootCause (..),
newErrorRootCause,
errorRootCause_clientImpacting,
errorRootCause_services,
ErrorRootCauseEntity (..),
newErrorRootCauseEntity,
errorRootCauseEntity_exceptions,
errorRootCauseEntity_name,
errorRootCauseEntity_remote,
ErrorRootCauseService (..),
newErrorRootCauseService,
errorRootCauseService_accountId,
errorRootCauseService_entityPath,
errorRootCauseService_inferred,
errorRootCauseService_name,
errorRootCauseService_names,
errorRootCauseService_type,
ErrorStatistics (..),
newErrorStatistics,
errorStatistics_otherCount,
errorStatistics_throttleCount,
errorStatistics_totalCount,
FaultRootCause (..),
newFaultRootCause,
faultRootCause_clientImpacting,
faultRootCause_services,
FaultRootCauseEntity (..),
newFaultRootCauseEntity,
faultRootCauseEntity_exceptions,
faultRootCauseEntity_name,
faultRootCauseEntity_remote,
FaultRootCauseService (..),
newFaultRootCauseService,
faultRootCauseService_accountId,
faultRootCauseService_entityPath,
faultRootCauseService_inferred,
faultRootCauseService_name,
faultRootCauseService_names,
faultRootCauseService_type,
FaultStatistics (..),
newFaultStatistics,
faultStatistics_otherCount,
faultStatistics_totalCount,
ForecastStatistics (..),
newForecastStatistics,
forecastStatistics_faultCountHigh,
forecastStatistics_faultCountLow,
Group (..),
newGroup,
group_filterExpression,
group_groupARN,
group_groupName,
group_insightsConfiguration,
GroupSummary (..),
newGroupSummary,
groupSummary_filterExpression,
groupSummary_groupARN,
groupSummary_groupName,
groupSummary_insightsConfiguration,
HistogramEntry (..),
newHistogramEntry,
histogramEntry_count,
histogramEntry_value,
Http (..),
newHttp,
http_clientIp,
http_httpMethod,
http_httpStatus,
http_httpURL,
http_userAgent,
Insight (..),
newInsight,
insight_categories,
insight_clientRequestImpactStatistics,
insight_endTime,
insight_groupARN,
insight_groupName,
insight_insightId,
insight_rootCauseServiceId,
insight_rootCauseServiceRequestImpactStatistics,
insight_startTime,
insight_state,
insight_summary,
insight_topAnomalousServices,
InsightEvent (..),
newInsightEvent,
insightEvent_clientRequestImpactStatistics,
insightEvent_eventTime,
insightEvent_rootCauseServiceRequestImpactStatistics,
insightEvent_summary,
insightEvent_topAnomalousServices,
InsightImpactGraphEdge (..),
newInsightImpactGraphEdge,
insightImpactGraphEdge_referenceId,
InsightImpactGraphService (..),
newInsightImpactGraphService,
insightImpactGraphService_accountId,
insightImpactGraphService_edges,
insightImpactGraphService_name,
insightImpactGraphService_names,
insightImpactGraphService_referenceId,
insightImpactGraphService_type,
InsightSummary (..),
newInsightSummary,
insightSummary_categories,
insightSummary_clientRequestImpactStatistics,
insightSummary_endTime,
insightSummary_groupARN,
insightSummary_groupName,
insightSummary_insightId,
insightSummary_lastUpdateTime,
insightSummary_rootCauseServiceId,
insightSummary_rootCauseServiceRequestImpactStatistics,
insightSummary_startTime,
insightSummary_state,
insightSummary_summary,
insightSummary_topAnomalousServices,
InsightsConfiguration (..),
newInsightsConfiguration,
insightsConfiguration_insightsEnabled,
insightsConfiguration_notificationsEnabled,
InstanceIdDetail (..),
newInstanceIdDetail,
instanceIdDetail_id,
RequestImpactStatistics (..),
newRequestImpactStatistics,
requestImpactStatistics_faultCount,
requestImpactStatistics_okCount,
requestImpactStatistics_totalCount,
ResourceARNDetail (..),
newResourceARNDetail,
resourceARNDetail_arn,
ResourcePolicy (..),
newResourcePolicy,
resourcePolicy_lastUpdatedTime,
resourcePolicy_policyDocument,
resourcePolicy_policyName,
resourcePolicy_policyRevisionId,
ResponseTimeRootCause (..),
newResponseTimeRootCause,
responseTimeRootCause_clientImpacting,
responseTimeRootCause_services,
ResponseTimeRootCauseEntity (..),
newResponseTimeRootCauseEntity,
responseTimeRootCauseEntity_coverage,
responseTimeRootCauseEntity_name,
responseTimeRootCauseEntity_remote,
ResponseTimeRootCauseService (..),
newResponseTimeRootCauseService,
responseTimeRootCauseService_accountId,
responseTimeRootCauseService_entityPath,
responseTimeRootCauseService_inferred,
responseTimeRootCauseService_name,
responseTimeRootCauseService_names,
responseTimeRootCauseService_type,
RootCauseException (..),
newRootCauseException,
rootCauseException_message,
rootCauseException_name,
SamplingRule (..),
newSamplingRule,
samplingRule_attributes,
samplingRule_ruleARN,
samplingRule_ruleName,
samplingRule_resourceARN,
samplingRule_priority,
samplingRule_fixedRate,
samplingRule_reservoirSize,
samplingRule_serviceName,
samplingRule_serviceType,
samplingRule_host,
samplingRule_hTTPMethod,
samplingRule_uRLPath,
samplingRule_version,
SamplingRuleRecord (..),
newSamplingRuleRecord,
samplingRuleRecord_createdAt,
samplingRuleRecord_modifiedAt,
samplingRuleRecord_samplingRule,
SamplingRuleUpdate (..),
newSamplingRuleUpdate,
samplingRuleUpdate_attributes,
samplingRuleUpdate_fixedRate,
samplingRuleUpdate_hTTPMethod,
samplingRuleUpdate_host,
samplingRuleUpdate_priority,
samplingRuleUpdate_reservoirSize,
samplingRuleUpdate_resourceARN,
samplingRuleUpdate_ruleARN,
samplingRuleUpdate_ruleName,
samplingRuleUpdate_serviceName,
samplingRuleUpdate_serviceType,
samplingRuleUpdate_uRLPath,
SamplingStatisticSummary (..),
newSamplingStatisticSummary,
samplingStatisticSummary_borrowCount,
samplingStatisticSummary_requestCount,
samplingStatisticSummary_ruleName,
samplingStatisticSummary_sampledCount,
samplingStatisticSummary_timestamp,
SamplingStatisticsDocument (..),
newSamplingStatisticsDocument,
samplingStatisticsDocument_borrowCount,
samplingStatisticsDocument_ruleName,
samplingStatisticsDocument_clientID,
samplingStatisticsDocument_timestamp,
samplingStatisticsDocument_requestCount,
samplingStatisticsDocument_sampledCount,
SamplingStrategy (..),
newSamplingStrategy,
samplingStrategy_name,
samplingStrategy_value,
SamplingTargetDocument (..),
newSamplingTargetDocument,
samplingTargetDocument_fixedRate,
samplingTargetDocument_interval,
samplingTargetDocument_reservoirQuota,
samplingTargetDocument_reservoirQuotaTTL,
samplingTargetDocument_ruleName,
Segment (..),
newSegment,
segment_document,
segment_id,
ServiceId (..),
newServiceId,
serviceId_accountId,
serviceId_name,
serviceId_names,
serviceId_type,
ServiceInfo (..),
newServiceInfo,
serviceInfo_accountId,
serviceInfo_durationHistogram,
serviceInfo_edges,
serviceInfo_endTime,
serviceInfo_name,
serviceInfo_names,
serviceInfo_referenceId,
serviceInfo_responseTimeHistogram,
serviceInfo_root,
serviceInfo_startTime,
serviceInfo_state,
serviceInfo_summaryStatistics,
serviceInfo_type,
ServiceStatistics (..),
newServiceStatistics,
serviceStatistics_errorStatistics,
serviceStatistics_faultStatistics,
serviceStatistics_okCount,
serviceStatistics_totalCount,
serviceStatistics_totalResponseTime,
Tag (..),
newTag,
tag_key,
tag_value,
TelemetryRecord (..),
newTelemetryRecord,
telemetryRecord_backendConnectionErrors,
telemetryRecord_segmentsReceivedCount,
telemetryRecord_segmentsRejectedCount,
telemetryRecord_segmentsSentCount,
telemetryRecord_segmentsSpilloverCount,
telemetryRecord_timestamp,
TimeSeriesServiceStatistics (..),
newTimeSeriesServiceStatistics,
timeSeriesServiceStatistics_edgeSummaryStatistics,
timeSeriesServiceStatistics_responseTimeHistogram,
timeSeriesServiceStatistics_serviceForecastStatistics,
timeSeriesServiceStatistics_serviceSummaryStatistics,
timeSeriesServiceStatistics_timestamp,
Trace (..),
newTrace,
trace_duration,
trace_id,
trace_limitExceeded,
trace_segments,
TraceSummary (..),
newTraceSummary,
traceSummary_annotations,
traceSummary_availabilityZones,
traceSummary_duration,
traceSummary_entryPoint,
traceSummary_errorRootCauses,
traceSummary_faultRootCauses,
traceSummary_hasError,
traceSummary_hasFault,
traceSummary_hasThrottle,
traceSummary_http,
traceSummary_id,
traceSummary_instanceIds,
traceSummary_isPartial,
traceSummary_matchedEventTime,
traceSummary_resourceARNs,
traceSummary_responseTime,
traceSummary_responseTimeRootCauses,
traceSummary_revision,
traceSummary_serviceIds,
traceSummary_users,
TraceUser (..),
newTraceUser,
traceUser_serviceIds,
traceUser_userName,
UnprocessedStatistics (..),
newUnprocessedStatistics,
unprocessedStatistics_errorCode,
unprocessedStatistics_message,
unprocessedStatistics_ruleName,
UnprocessedTraceSegment (..),
newUnprocessedTraceSegment,
unprocessedTraceSegment_errorCode,
unprocessedTraceSegment_id,
unprocessedTraceSegment_message,
ValueWithServiceIds (..),
newValueWithServiceIds,
valueWithServiceIds_annotationValue,
valueWithServiceIds_serviceIds,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
import Amazonka.XRay.Types.Alias
import Amazonka.XRay.Types.AnnotationValue
import Amazonka.XRay.Types.AnomalousService
import Amazonka.XRay.Types.AvailabilityZoneDetail
import Amazonka.XRay.Types.BackendConnectionErrors
import Amazonka.XRay.Types.Edge
import Amazonka.XRay.Types.EdgeStatistics
import Amazonka.XRay.Types.EncryptionConfig
import Amazonka.XRay.Types.EncryptionStatus
import Amazonka.XRay.Types.EncryptionType
import Amazonka.XRay.Types.ErrorRootCause
import Amazonka.XRay.Types.ErrorRootCauseEntity
import Amazonka.XRay.Types.ErrorRootCauseService
import Amazonka.XRay.Types.ErrorStatistics
import Amazonka.XRay.Types.FaultRootCause
import Amazonka.XRay.Types.FaultRootCauseEntity
import Amazonka.XRay.Types.FaultRootCauseService
import Amazonka.XRay.Types.FaultStatistics
import Amazonka.XRay.Types.ForecastStatistics
import Amazonka.XRay.Types.Group
import Amazonka.XRay.Types.GroupSummary
import Amazonka.XRay.Types.HistogramEntry
import Amazonka.XRay.Types.Http
import Amazonka.XRay.Types.Insight
import Amazonka.XRay.Types.InsightCategory
import Amazonka.XRay.Types.InsightEvent
import Amazonka.XRay.Types.InsightImpactGraphEdge
import Amazonka.XRay.Types.InsightImpactGraphService
import Amazonka.XRay.Types.InsightState
import Amazonka.XRay.Types.InsightSummary
import Amazonka.XRay.Types.InsightsConfiguration
import Amazonka.XRay.Types.InstanceIdDetail
import Amazonka.XRay.Types.RequestImpactStatistics
import Amazonka.XRay.Types.ResourceARNDetail
import Amazonka.XRay.Types.ResourcePolicy
import Amazonka.XRay.Types.ResponseTimeRootCause
import Amazonka.XRay.Types.ResponseTimeRootCauseEntity
import Amazonka.XRay.Types.ResponseTimeRootCauseService
import Amazonka.XRay.Types.RootCauseException
import Amazonka.XRay.Types.SamplingRule
import Amazonka.XRay.Types.SamplingRuleRecord
import Amazonka.XRay.Types.SamplingRuleUpdate
import Amazonka.XRay.Types.SamplingStatisticSummary
import Amazonka.XRay.Types.SamplingStatisticsDocument
import Amazonka.XRay.Types.SamplingStrategy
import Amazonka.XRay.Types.SamplingStrategyName
import Amazonka.XRay.Types.SamplingTargetDocument
import Amazonka.XRay.Types.Segment
import Amazonka.XRay.Types.ServiceId
import Amazonka.XRay.Types.ServiceInfo
import Amazonka.XRay.Types.ServiceStatistics
import Amazonka.XRay.Types.Tag
import Amazonka.XRay.Types.TelemetryRecord
import Amazonka.XRay.Types.TimeRangeType
import Amazonka.XRay.Types.TimeSeriesServiceStatistics
import Amazonka.XRay.Types.Trace
import Amazonka.XRay.Types.TraceSummary
import Amazonka.XRay.Types.TraceUser
import Amazonka.XRay.Types.UnprocessedStatistics
import Amazonka.XRay.Types.UnprocessedTraceSegment
import Amazonka.XRay.Types.ValueWithServiceIds
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"XRay",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"xray",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"xray",
$sel:version:Service :: ByteString
Core.version = ByteString
"2016-04-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
"XRay",
$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
_InvalidPolicyRevisionIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPolicyRevisionIdException :: forall a. AsError a => Fold a ServiceError
_InvalidPolicyRevisionIdException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPolicyRevisionIdException"
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
_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"
_LockoutPreventionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_LockoutPreventionException :: forall a. AsError a => Fold a ServiceError
_LockoutPreventionException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LockoutPreventionException"
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
_MalformedPolicyDocumentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MalformedPolicyDocumentException :: forall a. AsError a => Fold a ServiceError
_MalformedPolicyDocumentException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MalformedPolicyDocumentException"
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
_PolicyCountLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyCountLimitExceededException :: forall a. AsError a => Fold a ServiceError
_PolicyCountLimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyCountLimitExceededException"
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
_PolicySizeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicySizeLimitExceededException :: forall a. AsError a => Fold a ServiceError
_PolicySizeLimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicySizeLimitExceededException"
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
_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"
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
404
_RuleLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RuleLimitExceededException :: forall a. AsError a => Fold a ServiceError
_RuleLimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RuleLimitExceededException"
_ThrottledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottledException :: forall a. AsError a => Fold a ServiceError
_ThrottledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
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
429
_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyTagsException :: forall a. AsError a => Fold a ServiceError
_TooManyTagsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTagsException"
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