{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.ComputeOptimizer.Types
(
defaultService,
_AccessDeniedException,
_OptInRequiredException,
_InvalidParameterValueException,
_MissingAuthenticationToken,
_ThrottlingException,
_InternalServerException,
_ServiceUnavailableException,
_ResourceNotFoundException,
_LimitExceededException,
CpuVendorArchitecture (..),
EBSFilterName (..),
EBSFinding (..),
EBSMetricName (..),
EnrollmentFilterName (..),
ExportableAutoScalingGroupField (..),
ExportableInstanceField (..),
ExportableLambdaFunctionField (..),
ExportableVolumeField (..),
FileFormat (..),
FilterName (..),
Finding (..),
FindingReasonCode (..),
InstanceRecommendationFindingReasonCode (..),
JobFilterName (..),
JobStatus (..),
LambdaFunctionMemoryMetricName (..),
LambdaFunctionMemoryMetricStatistic (..),
LambdaFunctionMetricName (..),
LambdaFunctionMetricStatistic (..),
LambdaFunctionRecommendationFilterName (..),
LambdaFunctionRecommendationFinding (..),
LambdaFunctionRecommendationFindingReasonCode (..),
MetricName (..),
MetricStatistic (..),
PlatformDifference (..),
RecommendationSourceType (..),
ResourceType (..),
Status (..),
AccountEnrollmentStatus (..),
newAccountEnrollmentStatus,
accountEnrollmentStatus_status,
accountEnrollmentStatus_accountId,
accountEnrollmentStatus_statusReason,
accountEnrollmentStatus_lastUpdatedTimestamp,
AutoScalingGroupConfiguration (..),
newAutoScalingGroupConfiguration,
autoScalingGroupConfiguration_maxSize,
autoScalingGroupConfiguration_instanceType,
autoScalingGroupConfiguration_desiredCapacity,
autoScalingGroupConfiguration_minSize,
AutoScalingGroupRecommendation (..),
newAutoScalingGroupRecommendation,
autoScalingGroupRecommendation_finding,
autoScalingGroupRecommendation_lastRefreshTimestamp,
autoScalingGroupRecommendation_currentConfiguration,
autoScalingGroupRecommendation_accountId,
autoScalingGroupRecommendation_autoScalingGroupName,
autoScalingGroupRecommendation_utilizationMetrics,
autoScalingGroupRecommendation_autoScalingGroupArn,
autoScalingGroupRecommendation_recommendationOptions,
autoScalingGroupRecommendation_lookBackPeriodInDays,
AutoScalingGroupRecommendationOption (..),
newAutoScalingGroupRecommendationOption,
autoScalingGroupRecommendationOption_performanceRisk,
autoScalingGroupRecommendationOption_projectedUtilizationMetrics,
autoScalingGroupRecommendationOption_configuration,
autoScalingGroupRecommendationOption_rank,
EBSFilter (..),
newEBSFilter,
eBSFilter_values,
eBSFilter_name,
EBSUtilizationMetric (..),
newEBSUtilizationMetric,
eBSUtilizationMetric_value,
eBSUtilizationMetric_name,
eBSUtilizationMetric_statistic,
EnrollmentFilter (..),
newEnrollmentFilter,
enrollmentFilter_values,
enrollmentFilter_name,
ExportDestination (..),
newExportDestination,
exportDestination_s3,
Filter (..),
newFilter,
filter_values,
filter_name,
GetRecommendationError (..),
newGetRecommendationError,
getRecommendationError_identifier,
getRecommendationError_code,
getRecommendationError_message,
InstanceRecommendation (..),
newInstanceRecommendation,
instanceRecommendation_instanceArn,
instanceRecommendation_finding,
instanceRecommendation_currentInstanceType,
instanceRecommendation_lastRefreshTimestamp,
instanceRecommendation_accountId,
instanceRecommendation_findingReasonCodes,
instanceRecommendation_recommendationSources,
instanceRecommendation_utilizationMetrics,
instanceRecommendation_instanceName,
instanceRecommendation_recommendationOptions,
instanceRecommendation_lookBackPeriodInDays,
InstanceRecommendationOption (..),
newInstanceRecommendationOption,
instanceRecommendationOption_platformDifferences,
instanceRecommendationOption_performanceRisk,
instanceRecommendationOption_projectedUtilizationMetrics,
instanceRecommendationOption_instanceType,
instanceRecommendationOption_rank,
JobFilter (..),
newJobFilter,
jobFilter_values,
jobFilter_name,
LambdaFunctionMemoryProjectedMetric (..),
newLambdaFunctionMemoryProjectedMetric,
lambdaFunctionMemoryProjectedMetric_value,
lambdaFunctionMemoryProjectedMetric_name,
lambdaFunctionMemoryProjectedMetric_statistic,
LambdaFunctionMemoryRecommendationOption (..),
newLambdaFunctionMemoryRecommendationOption,
lambdaFunctionMemoryRecommendationOption_memorySize,
lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics,
lambdaFunctionMemoryRecommendationOption_rank,
LambdaFunctionRecommendation (..),
newLambdaFunctionRecommendation,
lambdaFunctionRecommendation_functionArn,
lambdaFunctionRecommendation_finding,
lambdaFunctionRecommendation_currentMemorySize,
lambdaFunctionRecommendation_lastRefreshTimestamp,
lambdaFunctionRecommendation_accountId,
lambdaFunctionRecommendation_findingReasonCodes,
lambdaFunctionRecommendation_utilizationMetrics,
lambdaFunctionRecommendation_memorySizeRecommendationOptions,
lambdaFunctionRecommendation_functionVersion,
lambdaFunctionRecommendation_numberOfInvocations,
lambdaFunctionRecommendation_lookbackPeriodInDays,
LambdaFunctionRecommendationFilter (..),
newLambdaFunctionRecommendationFilter,
lambdaFunctionRecommendationFilter_values,
lambdaFunctionRecommendationFilter_name,
LambdaFunctionUtilizationMetric (..),
newLambdaFunctionUtilizationMetric,
lambdaFunctionUtilizationMetric_value,
lambdaFunctionUtilizationMetric_name,
lambdaFunctionUtilizationMetric_statistic,
ProjectedMetric (..),
newProjectedMetric,
projectedMetric_values,
projectedMetric_name,
projectedMetric_timestamps,
ReasonCodeSummary (..),
newReasonCodeSummary,
reasonCodeSummary_value,
reasonCodeSummary_name,
RecommendationExportJob (..),
newRecommendationExportJob,
recommendationExportJob_failureReason,
recommendationExportJob_destination,
recommendationExportJob_status,
recommendationExportJob_jobId,
recommendationExportJob_resourceType,
recommendationExportJob_creationTimestamp,
recommendationExportJob_lastUpdatedTimestamp,
RecommendationPreferences (..),
newRecommendationPreferences,
recommendationPreferences_cpuVendorArchitectures,
RecommendationSource (..),
newRecommendationSource,
recommendationSource_recommendationSourceArn,
recommendationSource_recommendationSourceType,
RecommendationSummary (..),
newRecommendationSummary,
recommendationSummary_accountId,
recommendationSummary_summaries,
recommendationSummary_recommendationResourceType,
RecommendedOptionProjectedMetric (..),
newRecommendedOptionProjectedMetric,
recommendedOptionProjectedMetric_recommendedInstanceType,
recommendedOptionProjectedMetric_projectedMetrics,
recommendedOptionProjectedMetric_rank,
S3Destination (..),
newS3Destination,
s3Destination_bucket,
s3Destination_key,
s3Destination_metadataKey,
S3DestinationConfig (..),
newS3DestinationConfig,
s3DestinationConfig_bucket,
s3DestinationConfig_keyPrefix,
Summary (..),
newSummary,
summary_reasonCodeSummaries,
summary_value,
summary_name,
UtilizationMetric (..),
newUtilizationMetric,
utilizationMetric_value,
utilizationMetric_name,
utilizationMetric_statistic,
VolumeConfiguration (..),
newVolumeConfiguration,
volumeConfiguration_volumeSize,
volumeConfiguration_volumeBaselineIOPS,
volumeConfiguration_volumeBurstIOPS,
volumeConfiguration_volumeType,
volumeConfiguration_volumeBurstThroughput,
volumeConfiguration_volumeBaselineThroughput,
VolumeRecommendation (..),
newVolumeRecommendation,
volumeRecommendation_finding,
volumeRecommendation_volumeArn,
volumeRecommendation_lastRefreshTimestamp,
volumeRecommendation_currentConfiguration,
volumeRecommendation_accountId,
volumeRecommendation_utilizationMetrics,
volumeRecommendation_volumeRecommendationOptions,
volumeRecommendation_lookBackPeriodInDays,
VolumeRecommendationOption (..),
newVolumeRecommendationOption,
volumeRecommendationOption_performanceRisk,
volumeRecommendationOption_configuration,
volumeRecommendationOption_rank,
)
where
import Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus
import Amazonka.ComputeOptimizer.Types.AutoScalingGroupConfiguration
import Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation
import Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendationOption
import Amazonka.ComputeOptimizer.Types.CpuVendorArchitecture
import Amazonka.ComputeOptimizer.Types.EBSFilter
import Amazonka.ComputeOptimizer.Types.EBSFilterName
import Amazonka.ComputeOptimizer.Types.EBSFinding
import Amazonka.ComputeOptimizer.Types.EBSMetricName
import Amazonka.ComputeOptimizer.Types.EBSUtilizationMetric
import Amazonka.ComputeOptimizer.Types.EnrollmentFilter
import Amazonka.ComputeOptimizer.Types.EnrollmentFilterName
import Amazonka.ComputeOptimizer.Types.ExportDestination
import Amazonka.ComputeOptimizer.Types.ExportableAutoScalingGroupField
import Amazonka.ComputeOptimizer.Types.ExportableInstanceField
import Amazonka.ComputeOptimizer.Types.ExportableLambdaFunctionField
import Amazonka.ComputeOptimizer.Types.ExportableVolumeField
import Amazonka.ComputeOptimizer.Types.FileFormat
import Amazonka.ComputeOptimizer.Types.Filter
import Amazonka.ComputeOptimizer.Types.FilterName
import Amazonka.ComputeOptimizer.Types.Finding
import Amazonka.ComputeOptimizer.Types.FindingReasonCode
import Amazonka.ComputeOptimizer.Types.GetRecommendationError
import Amazonka.ComputeOptimizer.Types.InstanceRecommendation
import Amazonka.ComputeOptimizer.Types.InstanceRecommendationFindingReasonCode
import Amazonka.ComputeOptimizer.Types.InstanceRecommendationOption
import Amazonka.ComputeOptimizer.Types.JobFilter
import Amazonka.ComputeOptimizer.Types.JobFilterName
import Amazonka.ComputeOptimizer.Types.JobStatus
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMemoryMetricName
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMemoryMetricStatistic
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMemoryProjectedMetric
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMemoryRecommendationOption
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMetricName
import Amazonka.ComputeOptimizer.Types.LambdaFunctionMetricStatistic
import Amazonka.ComputeOptimizer.Types.LambdaFunctionRecommendation
import Amazonka.ComputeOptimizer.Types.LambdaFunctionRecommendationFilter
import Amazonka.ComputeOptimizer.Types.LambdaFunctionRecommendationFilterName
import Amazonka.ComputeOptimizer.Types.LambdaFunctionRecommendationFinding
import Amazonka.ComputeOptimizer.Types.LambdaFunctionRecommendationFindingReasonCode
import Amazonka.ComputeOptimizer.Types.LambdaFunctionUtilizationMetric
import Amazonka.ComputeOptimizer.Types.MetricName
import Amazonka.ComputeOptimizer.Types.MetricStatistic
import Amazonka.ComputeOptimizer.Types.PlatformDifference
import Amazonka.ComputeOptimizer.Types.ProjectedMetric
import Amazonka.ComputeOptimizer.Types.ReasonCodeSummary
import Amazonka.ComputeOptimizer.Types.RecommendationExportJob
import Amazonka.ComputeOptimizer.Types.RecommendationPreferences
import Amazonka.ComputeOptimizer.Types.RecommendationSource
import Amazonka.ComputeOptimizer.Types.RecommendationSourceType
import Amazonka.ComputeOptimizer.Types.RecommendationSummary
import Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric
import Amazonka.ComputeOptimizer.Types.ResourceType
import Amazonka.ComputeOptimizer.Types.S3Destination
import Amazonka.ComputeOptimizer.Types.S3DestinationConfig
import Amazonka.ComputeOptimizer.Types.Status
import Amazonka.ComputeOptimizer.Types.Summary
import Amazonka.ComputeOptimizer.Types.UtilizationMetric
import Amazonka.ComputeOptimizer.Types.VolumeConfiguration
import Amazonka.ComputeOptimizer.Types.VolumeRecommendation
import Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption
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
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
"ComputeOptimizer",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"compute-optimizer",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"compute-optimizer",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2019-11-01",
$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
"ComputeOptimizer",
$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
_AccessDeniedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AccessDeniedException :: Getting (First ServiceError) a ServiceError
_AccessDeniedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
_OptInRequiredException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OptInRequiredException :: Getting (First ServiceError) a ServiceError
_OptInRequiredException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OptInRequiredException"
_InvalidParameterValueException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidParameterValueException :: Getting (First ServiceError) a ServiceError
_InvalidParameterValueException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterValueException"
_MissingAuthenticationToken :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_MissingAuthenticationToken :: Getting (First ServiceError) a ServiceError
_MissingAuthenticationToken =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MissingAuthenticationToken"
_ThrottlingException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ThrottlingException :: Getting (First ServiceError) a ServiceError
_ThrottlingException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
_InternalServerException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalServerException :: Getting (First ServiceError) a ServiceError
_InternalServerException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
_ServiceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceUnavailableException :: Getting (First ServiceError) a ServiceError
_ServiceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_LimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_LimitExceededException :: Getting (First ServiceError) a ServiceError
_LimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"