{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Lambda.Types
(
defaultService,
_CodeSigningConfigNotFoundException,
_CodeStorageExceededException,
_CodeVerificationFailedException,
_EC2AccessDeniedException,
_EC2ThrottledException,
_EC2UnexpectedException,
_EFSIOException,
_EFSMountConnectivityException,
_EFSMountFailureException,
_EFSMountTimeoutException,
_ENILimitReachedException,
_InvalidCodeSignatureException,
_InvalidParameterValueException,
_InvalidRequestContentException,
_InvalidRuntimeException,
_InvalidSecurityGroupIDException,
_InvalidSubnetIDException,
_InvalidZipFileException,
_KMSAccessDeniedException,
_KMSDisabledException,
_KMSInvalidStateException,
_KMSNotFoundException,
_PolicyLengthExceededException,
_PreconditionFailedException,
_ProvisionedConcurrencyConfigNotFoundException,
_RequestTooLargeException,
_ResourceConflictException,
_ResourceInUseException,
_ResourceNotFoundException,
_ResourceNotReadyException,
_ServiceException,
_SnapStartException,
_SnapStartNotReadyException,
_SnapStartTimeoutException,
_SubnetIPAddressLimitReachedException,
_TooManyRequestsException,
_UnsupportedMediaTypeException,
Architecture (..),
CodeSigningPolicy (..),
EndPointType (..),
EventSourcePosition (..),
FunctionResponseType (..),
FunctionUrlAuthType (..),
FunctionVersion (..),
InvocationType (..),
LastUpdateStatus (..),
LastUpdateStatusReasonCode (..),
LogType (..),
PackageType (..),
ProvisionedConcurrencyStatusEnum (..),
Runtime (..),
SnapStartApplyOn (..),
SnapStartOptimizationStatus (..),
SourceAccessType (..),
State (..),
StateReasonCode (..),
TracingMode (..),
AccountLimit (..),
newAccountLimit,
accountLimit_codeSizeUnzipped,
accountLimit_codeSizeZipped,
accountLimit_concurrentExecutions,
accountLimit_totalCodeSize,
accountLimit_unreservedConcurrentExecutions,
AccountUsage (..),
newAccountUsage,
accountUsage_functionCount,
accountUsage_totalCodeSize,
AliasConfiguration (..),
newAliasConfiguration,
aliasConfiguration_aliasArn,
aliasConfiguration_description,
aliasConfiguration_functionVersion,
aliasConfiguration_name,
aliasConfiguration_revisionId,
aliasConfiguration_routingConfig,
AliasRoutingConfiguration (..),
newAliasRoutingConfiguration,
aliasRoutingConfiguration_additionalVersionWeights,
AllowedPublishers (..),
newAllowedPublishers,
allowedPublishers_signingProfileVersionArns,
AmazonManagedKafkaEventSourceConfig (..),
newAmazonManagedKafkaEventSourceConfig,
amazonManagedKafkaEventSourceConfig_consumerGroupId,
CodeSigningConfig (..),
newCodeSigningConfig,
codeSigningConfig_description,
codeSigningConfig_codeSigningConfigId,
codeSigningConfig_codeSigningConfigArn,
codeSigningConfig_allowedPublishers,
codeSigningConfig_codeSigningPolicies,
codeSigningConfig_lastModified,
CodeSigningPolicies (..),
newCodeSigningPolicies,
codeSigningPolicies_untrustedArtifactOnDeployment,
Concurrency (..),
newConcurrency,
concurrency_reservedConcurrentExecutions,
Cors (..),
newCors,
cors_allowCredentials,
cors_allowHeaders,
cors_allowMethods,
cors_allowOrigins,
cors_exposeHeaders,
cors_maxAge,
DeadLetterConfig (..),
newDeadLetterConfig,
deadLetterConfig_targetArn,
DestinationConfig (..),
newDestinationConfig,
destinationConfig_onFailure,
destinationConfig_onSuccess,
Environment (..),
newEnvironment,
environment_variables,
EnvironmentError (..),
newEnvironmentError,
environmentError_errorCode,
environmentError_message,
EnvironmentResponse (..),
newEnvironmentResponse,
environmentResponse_error,
environmentResponse_variables,
EphemeralStorage (..),
newEphemeralStorage,
ephemeralStorage_size,
EventSourceMappingConfiguration (..),
newEventSourceMappingConfiguration,
eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig,
eventSourceMappingConfiguration_batchSize,
eventSourceMappingConfiguration_bisectBatchOnFunctionError,
eventSourceMappingConfiguration_destinationConfig,
eventSourceMappingConfiguration_eventSourceArn,
eventSourceMappingConfiguration_filterCriteria,
eventSourceMappingConfiguration_functionArn,
eventSourceMappingConfiguration_functionResponseTypes,
eventSourceMappingConfiguration_lastModified,
eventSourceMappingConfiguration_lastProcessingResult,
eventSourceMappingConfiguration_maximumBatchingWindowInSeconds,
eventSourceMappingConfiguration_maximumRecordAgeInSeconds,
eventSourceMappingConfiguration_maximumRetryAttempts,
eventSourceMappingConfiguration_parallelizationFactor,
eventSourceMappingConfiguration_queues,
eventSourceMappingConfiguration_selfManagedEventSource,
eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig,
eventSourceMappingConfiguration_sourceAccessConfigurations,
eventSourceMappingConfiguration_startingPosition,
eventSourceMappingConfiguration_startingPositionTimestamp,
eventSourceMappingConfiguration_state,
eventSourceMappingConfiguration_stateTransitionReason,
eventSourceMappingConfiguration_topics,
eventSourceMappingConfiguration_tumblingWindowInSeconds,
eventSourceMappingConfiguration_uuid,
FileSystemConfig (..),
newFileSystemConfig,
fileSystemConfig_arn,
fileSystemConfig_localMountPath,
Filter (..),
newFilter,
filter_pattern,
FilterCriteria (..),
newFilterCriteria,
filterCriteria_filters,
FunctionCode (..),
newFunctionCode,
functionCode_imageUri,
functionCode_s3Bucket,
functionCode_s3Key,
functionCode_s3ObjectVersion,
functionCode_zipFile,
FunctionCodeLocation (..),
newFunctionCodeLocation,
functionCodeLocation_imageUri,
functionCodeLocation_location,
functionCodeLocation_repositoryType,
functionCodeLocation_resolvedImageUri,
FunctionConfiguration (..),
newFunctionConfiguration,
functionConfiguration_architectures,
functionConfiguration_codeSha256,
functionConfiguration_codeSize,
functionConfiguration_deadLetterConfig,
functionConfiguration_description,
functionConfiguration_environment,
functionConfiguration_ephemeralStorage,
functionConfiguration_fileSystemConfigs,
functionConfiguration_functionArn,
functionConfiguration_functionName,
functionConfiguration_handler,
functionConfiguration_imageConfigResponse,
functionConfiguration_kmsKeyArn,
functionConfiguration_lastModified,
functionConfiguration_lastUpdateStatus,
functionConfiguration_lastUpdateStatusReason,
functionConfiguration_lastUpdateStatusReasonCode,
functionConfiguration_layers,
functionConfiguration_masterArn,
functionConfiguration_memorySize,
functionConfiguration_packageType,
functionConfiguration_revisionId,
functionConfiguration_role,
functionConfiguration_runtime,
functionConfiguration_signingJobArn,
functionConfiguration_signingProfileVersionArn,
functionConfiguration_snapStart,
functionConfiguration_state,
functionConfiguration_stateReason,
functionConfiguration_stateReasonCode,
functionConfiguration_timeout,
functionConfiguration_tracingConfig,
functionConfiguration_version,
functionConfiguration_vpcConfig,
FunctionEventInvokeConfig (..),
newFunctionEventInvokeConfig,
functionEventInvokeConfig_destinationConfig,
functionEventInvokeConfig_functionArn,
functionEventInvokeConfig_lastModified,
functionEventInvokeConfig_maximumEventAgeInSeconds,
functionEventInvokeConfig_maximumRetryAttempts,
FunctionUrlConfig (..),
newFunctionUrlConfig,
functionUrlConfig_cors,
functionUrlConfig_functionUrl,
functionUrlConfig_functionArn,
functionUrlConfig_creationTime,
functionUrlConfig_lastModifiedTime,
functionUrlConfig_authType,
GetLayerVersionResponse (..),
newGetLayerVersionResponse,
getLayerVersionResponse_compatibleArchitectures,
getLayerVersionResponse_compatibleRuntimes,
getLayerVersionResponse_content,
getLayerVersionResponse_createdDate,
getLayerVersionResponse_description,
getLayerVersionResponse_layerArn,
getLayerVersionResponse_layerVersionArn,
getLayerVersionResponse_licenseInfo,
getLayerVersionResponse_version,
ImageConfig (..),
newImageConfig,
imageConfig_command,
imageConfig_entryPoint,
imageConfig_workingDirectory,
ImageConfigError (..),
newImageConfigError,
imageConfigError_errorCode,
imageConfigError_message,
ImageConfigResponse (..),
newImageConfigResponse,
imageConfigResponse_error,
imageConfigResponse_imageConfig,
Layer (..),
newLayer,
layer_arn,
layer_codeSize,
layer_signingJobArn,
layer_signingProfileVersionArn,
LayerVersionContentInput (..),
newLayerVersionContentInput,
layerVersionContentInput_s3Bucket,
layerVersionContentInput_s3Key,
layerVersionContentInput_s3ObjectVersion,
layerVersionContentInput_zipFile,
LayerVersionContentOutput (..),
newLayerVersionContentOutput,
layerVersionContentOutput_codeSha256,
layerVersionContentOutput_codeSize,
layerVersionContentOutput_location,
layerVersionContentOutput_signingJobArn,
layerVersionContentOutput_signingProfileVersionArn,
LayerVersionsListItem (..),
newLayerVersionsListItem,
layerVersionsListItem_compatibleArchitectures,
layerVersionsListItem_compatibleRuntimes,
layerVersionsListItem_createdDate,
layerVersionsListItem_description,
layerVersionsListItem_layerVersionArn,
layerVersionsListItem_licenseInfo,
layerVersionsListItem_version,
LayersListItem (..),
newLayersListItem,
layersListItem_latestMatchingVersion,
layersListItem_layerArn,
layersListItem_layerName,
OnFailure (..),
newOnFailure,
onFailure_destination,
OnSuccess (..),
newOnSuccess,
onSuccess_destination,
ProvisionedConcurrencyConfigListItem (..),
newProvisionedConcurrencyConfigListItem,
provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions,
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions,
provisionedConcurrencyConfigListItem_functionArn,
provisionedConcurrencyConfigListItem_lastModified,
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions,
provisionedConcurrencyConfigListItem_status,
provisionedConcurrencyConfigListItem_statusReason,
SelfManagedEventSource (..),
newSelfManagedEventSource,
selfManagedEventSource_endpoints,
SelfManagedKafkaEventSourceConfig (..),
newSelfManagedKafkaEventSourceConfig,
selfManagedKafkaEventSourceConfig_consumerGroupId,
SnapStart (..),
newSnapStart,
snapStart_applyOn,
SnapStartResponse (..),
newSnapStartResponse,
snapStartResponse_applyOn,
snapStartResponse_optimizationStatus,
SourceAccessConfiguration (..),
newSourceAccessConfiguration,
sourceAccessConfiguration_type,
sourceAccessConfiguration_uri,
TracingConfig (..),
newTracingConfig,
tracingConfig_mode,
TracingConfigResponse (..),
newTracingConfigResponse,
tracingConfigResponse_mode,
VpcConfig (..),
newVpcConfig,
vpcConfig_securityGroupIds,
vpcConfig_subnetIds,
VpcConfigResponse (..),
newVpcConfigResponse,
vpcConfigResponse_securityGroupIds,
vpcConfigResponse_subnetIds,
vpcConfigResponse_vpcId,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.Lambda.Types.AccountLimit
import Amazonka.Lambda.Types.AccountUsage
import Amazonka.Lambda.Types.AliasConfiguration
import Amazonka.Lambda.Types.AliasRoutingConfiguration
import Amazonka.Lambda.Types.AllowedPublishers
import Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig
import Amazonka.Lambda.Types.Architecture
import Amazonka.Lambda.Types.CodeSigningConfig
import Amazonka.Lambda.Types.CodeSigningPolicies
import Amazonka.Lambda.Types.CodeSigningPolicy
import Amazonka.Lambda.Types.Concurrency
import Amazonka.Lambda.Types.Cors
import Amazonka.Lambda.Types.DeadLetterConfig
import Amazonka.Lambda.Types.DestinationConfig
import Amazonka.Lambda.Types.EndPointType
import Amazonka.Lambda.Types.Environment
import Amazonka.Lambda.Types.EnvironmentError
import Amazonka.Lambda.Types.EnvironmentResponse
import Amazonka.Lambda.Types.EphemeralStorage
import Amazonka.Lambda.Types.EventSourceMappingConfiguration
import Amazonka.Lambda.Types.EventSourcePosition
import Amazonka.Lambda.Types.FileSystemConfig
import Amazonka.Lambda.Types.Filter
import Amazonka.Lambda.Types.FilterCriteria
import Amazonka.Lambda.Types.FunctionCode
import Amazonka.Lambda.Types.FunctionCodeLocation
import Amazonka.Lambda.Types.FunctionConfiguration
import Amazonka.Lambda.Types.FunctionEventInvokeConfig
import Amazonka.Lambda.Types.FunctionResponseType
import Amazonka.Lambda.Types.FunctionUrlAuthType
import Amazonka.Lambda.Types.FunctionUrlConfig
import Amazonka.Lambda.Types.FunctionVersion
import Amazonka.Lambda.Types.GetLayerVersionResponse
import Amazonka.Lambda.Types.ImageConfig
import Amazonka.Lambda.Types.ImageConfigError
import Amazonka.Lambda.Types.ImageConfigResponse
import Amazonka.Lambda.Types.InvocationType
import Amazonka.Lambda.Types.LastUpdateStatus
import Amazonka.Lambda.Types.LastUpdateStatusReasonCode
import Amazonka.Lambda.Types.Layer
import Amazonka.Lambda.Types.LayerVersionContentInput
import Amazonka.Lambda.Types.LayerVersionContentOutput
import Amazonka.Lambda.Types.LayerVersionsListItem
import Amazonka.Lambda.Types.LayersListItem
import Amazonka.Lambda.Types.LogType
import Amazonka.Lambda.Types.OnFailure
import Amazonka.Lambda.Types.OnSuccess
import Amazonka.Lambda.Types.PackageType
import Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem
import Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum
import Amazonka.Lambda.Types.Runtime
import Amazonka.Lambda.Types.SelfManagedEventSource
import Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig
import Amazonka.Lambda.Types.SnapStart
import Amazonka.Lambda.Types.SnapStartApplyOn
import Amazonka.Lambda.Types.SnapStartOptimizationStatus
import Amazonka.Lambda.Types.SnapStartResponse
import Amazonka.Lambda.Types.SourceAccessConfiguration
import Amazonka.Lambda.Types.SourceAccessType
import Amazonka.Lambda.Types.State
import Amazonka.Lambda.Types.StateReasonCode
import Amazonka.Lambda.Types.TracingConfig
import Amazonka.Lambda.Types.TracingConfigResponse
import Amazonka.Lambda.Types.TracingMode
import Amazonka.Lambda.Types.VpcConfig
import Amazonka.Lambda.Types.VpcConfigResponse
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
"Lambda",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"lambda",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"lambda",
$sel:version:Service :: ByteString
Core.version = ByteString
"2015-03-31",
$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
"Lambda",
$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
_CodeSigningConfigNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CodeSigningConfigNotFoundException :: forall a. AsError a => Fold a ServiceError
_CodeSigningConfigNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CodeSigningConfigNotFoundException"
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
_CodeStorageExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CodeStorageExceededException :: forall a. AsError a => Fold a ServiceError
_CodeStorageExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CodeStorageExceededException"
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
_CodeVerificationFailedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CodeVerificationFailedException :: forall a. AsError a => Fold a ServiceError
_CodeVerificationFailedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CodeVerificationFailedException"
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
_EC2AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EC2AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_EC2AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EC2AccessDeniedException"
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
502
_EC2ThrottledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EC2ThrottledException :: forall a. AsError a => Fold a ServiceError
_EC2ThrottledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EC2ThrottledException"
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
502
_EC2UnexpectedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EC2UnexpectedException :: forall a. AsError a => Fold a ServiceError
_EC2UnexpectedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EC2UnexpectedException"
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
502
_EFSIOException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EFSIOException :: forall a. AsError a => Fold a ServiceError
_EFSIOException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EFSIOException"
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
410
_EFSMountConnectivityException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EFSMountConnectivityException :: forall a. AsError a => Fold a ServiceError
_EFSMountConnectivityException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EFSMountConnectivityException"
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
408
_EFSMountFailureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EFSMountFailureException :: forall a. AsError a => Fold a ServiceError
_EFSMountFailureException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EFSMountFailureException"
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
403
_EFSMountTimeoutException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EFSMountTimeoutException :: forall a. AsError a => Fold a ServiceError
_EFSMountTimeoutException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EFSMountTimeoutException"
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
408
_ENILimitReachedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ENILimitReachedException :: forall a. AsError a => Fold a ServiceError
_ENILimitReachedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ENILimitReachedException"
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
502
_InvalidCodeSignatureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidCodeSignatureException :: forall a. AsError a => Fold a ServiceError
_InvalidCodeSignatureException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidCodeSignatureException"
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
_InvalidParameterValueException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterValueException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterValueException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterValueException"
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
_InvalidRequestContentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRequestContentException :: forall a. AsError a => Fold a ServiceError
_InvalidRequestContentException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidRequestContentException"
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
_InvalidRuntimeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRuntimeException :: forall a. AsError a => Fold a ServiceError
_InvalidRuntimeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidRuntimeException"
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
502
_InvalidSecurityGroupIDException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidSecurityGroupIDException :: forall a. AsError a => Fold a ServiceError
_InvalidSecurityGroupIDException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidSecurityGroupIDException"
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
502
_InvalidSubnetIDException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidSubnetIDException :: forall a. AsError a => Fold a ServiceError
_InvalidSubnetIDException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidSubnetIDException"
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
502
_InvalidZipFileException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidZipFileException :: forall a. AsError a => Fold a ServiceError
_InvalidZipFileException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidZipFileException"
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
502
_KMSAccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSAccessDeniedException :: forall a. AsError a => Fold a ServiceError
_KMSAccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSAccessDeniedException"
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
502
_KMSDisabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSDisabledException :: forall a. AsError a => Fold a ServiceError
_KMSDisabledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSDisabledException"
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
502
_KMSInvalidStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSInvalidStateException :: forall a. AsError a => Fold a ServiceError
_KMSInvalidStateException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSInvalidStateException"
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
502
_KMSNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSNotFoundException :: forall a. AsError a => Fold a ServiceError
_KMSNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSNotFoundException"
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
502
_PolicyLengthExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyLengthExceededException :: forall a. AsError a => Fold a ServiceError
_PolicyLengthExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyLengthExceededException"
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
_PreconditionFailedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PreconditionFailedException :: forall a. AsError a => Fold a ServiceError
_PreconditionFailedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PreconditionFailedException"
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
412
_ProvisionedConcurrencyConfigNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ProvisionedConcurrencyConfigNotFoundException :: forall a. AsError a => Fold a ServiceError
_ProvisionedConcurrencyConfigNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ProvisionedConcurrencyConfigNotFoundException"
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
_RequestTooLargeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RequestTooLargeException :: forall a. AsError a => Fold a ServiceError
_RequestTooLargeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RequestTooLargeException"
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
413
_ResourceConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceConflictException :: forall a. AsError a => Fold a ServiceError
_ResourceConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceConflictException"
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
409
_ResourceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceInUseException :: forall a. AsError a => Fold a ServiceError
_ResourceInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceInUseException"
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
_ResourceNotReadyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotReadyException :: forall a. AsError a => Fold a ServiceError
_ResourceNotReadyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotReadyException"
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
502
_ServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceException :: forall a. AsError a => Fold a ServiceError
_ServiceException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceException"
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
500
_SnapStartException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SnapStartException :: forall a. AsError a => Fold a ServiceError
_SnapStartException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SnapStartException"
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
_SnapStartNotReadyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SnapStartNotReadyException :: forall a. AsError a => Fold a ServiceError
_SnapStartNotReadyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SnapStartNotReadyException"
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
409
_SnapStartTimeoutException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SnapStartTimeoutException :: forall a. AsError a => Fold a ServiceError
_SnapStartTimeoutException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SnapStartTimeoutException"
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
408
_SubnetIPAddressLimitReachedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SubnetIPAddressLimitReachedException :: forall a. AsError a => Fold a ServiceError
_SubnetIPAddressLimitReachedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SubnetIPAddressLimitReachedException"
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
502
_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyRequestsException :: forall a. AsError a => Fold a ServiceError
_TooManyRequestsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyRequestsException"
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
_UnsupportedMediaTypeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnsupportedMediaTypeException :: forall a. AsError a => Fold a ServiceError
_UnsupportedMediaTypeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedMediaTypeException"
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
415