{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.KMS.Types
(
defaultService,
_AlreadyExistsException,
_CloudHsmClusterInUseException,
_CloudHsmClusterInvalidConfigurationException,
_CloudHsmClusterNotActiveException,
_CloudHsmClusterNotFoundException,
_CloudHsmClusterNotRelatedException,
_CustomKeyStoreHasCMKsException,
_CustomKeyStoreInvalidStateException,
_CustomKeyStoreNameInUseException,
_CustomKeyStoreNotFoundException,
_DependencyTimeoutException,
_DisabledException,
_ExpiredImportTokenException,
_IncorrectKeyException,
_IncorrectKeyMaterialException,
_IncorrectTrustAnchorException,
_InvalidAliasNameException,
_InvalidArnException,
_InvalidCiphertextException,
_InvalidGrantIdException,
_InvalidGrantTokenException,
_InvalidImportTokenException,
_InvalidKeyUsageException,
_InvalidMarkerException,
_KMSInternalException,
_KMSInvalidMacException,
_KMSInvalidSignatureException,
_KMSInvalidStateException,
_KeyUnavailableException,
_LimitExceededException,
_MalformedPolicyDocumentException,
_NotFoundException,
_TagException,
_UnsupportedOperationException,
_XksKeyAlreadyInUseException,
_XksKeyInvalidConfigurationException,
_XksKeyNotFoundException,
_XksProxyIncorrectAuthenticationCredentialException,
_XksProxyInvalidConfigurationException,
_XksProxyInvalidResponseException,
_XksProxyUriEndpointInUseException,
_XksProxyUriInUseException,
_XksProxyUriUnreachableException,
_XksProxyVpcEndpointServiceInUseException,
_XksProxyVpcEndpointServiceInvalidConfigurationException,
_XksProxyVpcEndpointServiceNotFoundException,
AlgorithmSpec (..),
ConnectionErrorCodeType (..),
ConnectionStateType (..),
CustomKeyStoreType (..),
CustomerMasterKeySpec (..),
DataKeyPairSpec (..),
DataKeySpec (..),
EncryptionAlgorithmSpec (..),
ExpirationModelType (..),
GrantOperation (..),
KeyManagerType (..),
KeySpec (..),
KeyState (..),
KeyUsageType (..),
MacAlgorithmSpec (..),
MessageType (..),
MultiRegionKeyType (..),
OriginType (..),
SigningAlgorithmSpec (..),
WrappingKeySpec (..),
XksProxyConnectivityType (..),
AliasListEntry (..),
newAliasListEntry,
aliasListEntry_aliasArn,
aliasListEntry_aliasName,
aliasListEntry_creationDate,
aliasListEntry_lastUpdatedDate,
aliasListEntry_targetKeyId,
CustomKeyStoresListEntry (..),
newCustomKeyStoresListEntry,
customKeyStoresListEntry_cloudHsmClusterId,
customKeyStoresListEntry_connectionErrorCode,
customKeyStoresListEntry_connectionState,
customKeyStoresListEntry_creationDate,
customKeyStoresListEntry_customKeyStoreId,
customKeyStoresListEntry_customKeyStoreName,
customKeyStoresListEntry_customKeyStoreType,
customKeyStoresListEntry_trustAnchorCertificate,
customKeyStoresListEntry_xksProxyConfiguration,
GrantConstraints (..),
newGrantConstraints,
grantConstraints_encryptionContextEquals,
grantConstraints_encryptionContextSubset,
GrantListEntry (..),
newGrantListEntry,
grantListEntry_constraints,
grantListEntry_creationDate,
grantListEntry_grantId,
grantListEntry_granteePrincipal,
grantListEntry_issuingAccount,
grantListEntry_keyId,
grantListEntry_name,
grantListEntry_operations,
grantListEntry_retiringPrincipal,
KeyListEntry (..),
newKeyListEntry,
keyListEntry_keyArn,
keyListEntry_keyId,
KeyMetadata (..),
newKeyMetadata,
keyMetadata_aWSAccountId,
keyMetadata_arn,
keyMetadata_cloudHsmClusterId,
keyMetadata_creationDate,
keyMetadata_customKeyStoreId,
keyMetadata_customerMasterKeySpec,
keyMetadata_deletionDate,
keyMetadata_description,
keyMetadata_enabled,
keyMetadata_encryptionAlgorithms,
keyMetadata_expirationModel,
keyMetadata_keyManager,
keyMetadata_keySpec,
keyMetadata_keyState,
keyMetadata_keyUsage,
keyMetadata_macAlgorithms,
keyMetadata_multiRegion,
keyMetadata_multiRegionConfiguration,
keyMetadata_origin,
keyMetadata_pendingDeletionWindowInDays,
keyMetadata_signingAlgorithms,
keyMetadata_validTo,
keyMetadata_xksKeyConfiguration,
keyMetadata_keyId,
ListGrantsResponse (..),
newListGrantsResponse,
listGrantsResponse_grants,
listGrantsResponse_nextMarker,
listGrantsResponse_truncated,
MultiRegionConfiguration (..),
newMultiRegionConfiguration,
multiRegionConfiguration_multiRegionKeyType,
multiRegionConfiguration_primaryKey,
multiRegionConfiguration_replicaKeys,
MultiRegionKey (..),
newMultiRegionKey,
multiRegionKey_arn,
multiRegionKey_region,
Tag (..),
newTag,
tag_tagKey,
tag_tagValue,
XksKeyConfigurationType (..),
newXksKeyConfigurationType,
xksKeyConfigurationType_id,
XksProxyAuthenticationCredentialType (..),
newXksProxyAuthenticationCredentialType,
xksProxyAuthenticationCredentialType_accessKeyId,
xksProxyAuthenticationCredentialType_rawSecretAccessKey,
XksProxyConfigurationType (..),
newXksProxyConfigurationType,
xksProxyConfigurationType_accessKeyId,
xksProxyConfigurationType_connectivity,
xksProxyConfigurationType_uriEndpoint,
xksProxyConfigurationType_uriPath,
xksProxyConfigurationType_vpcEndpointServiceName,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.KMS.Types.AlgorithmSpec
import Amazonka.KMS.Types.AliasListEntry
import Amazonka.KMS.Types.ConnectionErrorCodeType
import Amazonka.KMS.Types.ConnectionStateType
import Amazonka.KMS.Types.CustomKeyStoreType
import Amazonka.KMS.Types.CustomKeyStoresListEntry
import Amazonka.KMS.Types.CustomerMasterKeySpec
import Amazonka.KMS.Types.DataKeyPairSpec
import Amazonka.KMS.Types.DataKeySpec
import Amazonka.KMS.Types.EncryptionAlgorithmSpec
import Amazonka.KMS.Types.ExpirationModelType
import Amazonka.KMS.Types.GrantConstraints
import Amazonka.KMS.Types.GrantListEntry
import Amazonka.KMS.Types.GrantOperation
import Amazonka.KMS.Types.KeyListEntry
import Amazonka.KMS.Types.KeyManagerType
import Amazonka.KMS.Types.KeyMetadata
import Amazonka.KMS.Types.KeySpec
import Amazonka.KMS.Types.KeyState
import Amazonka.KMS.Types.KeyUsageType
import Amazonka.KMS.Types.ListGrantsResponse
import Amazonka.KMS.Types.MacAlgorithmSpec
import Amazonka.KMS.Types.MessageType
import Amazonka.KMS.Types.MultiRegionConfiguration
import Amazonka.KMS.Types.MultiRegionKey
import Amazonka.KMS.Types.MultiRegionKeyType
import Amazonka.KMS.Types.OriginType
import Amazonka.KMS.Types.SigningAlgorithmSpec
import Amazonka.KMS.Types.Tag
import Amazonka.KMS.Types.WrappingKeySpec
import Amazonka.KMS.Types.XksKeyConfigurationType
import Amazonka.KMS.Types.XksProxyAuthenticationCredentialType
import Amazonka.KMS.Types.XksProxyConfigurationType
import Amazonka.KMS.Types.XksProxyConnectivityType
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
"KMS",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"kms",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"kms",
$sel:version:Service :: ByteString
Core.version = ByteString
"2014-11-01",
$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
"KMS",
$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
_AlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_AlreadyExistsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AlreadyExistsException"
_CloudHsmClusterInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CloudHsmClusterInUseException :: forall a. AsError a => Fold a ServiceError
_CloudHsmClusterInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CloudHsmClusterInUseException"
_CloudHsmClusterInvalidConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CloudHsmClusterInvalidConfigurationException :: forall a. AsError a => Fold a ServiceError
_CloudHsmClusterInvalidConfigurationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CloudHsmClusterInvalidConfigurationException"
_CloudHsmClusterNotActiveException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CloudHsmClusterNotActiveException :: forall a. AsError a => Fold a ServiceError
_CloudHsmClusterNotActiveException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CloudHsmClusterNotActiveException"
_CloudHsmClusterNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CloudHsmClusterNotFoundException :: forall a. AsError a => Fold a ServiceError
_CloudHsmClusterNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CloudHsmClusterNotFoundException"
_CloudHsmClusterNotRelatedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CloudHsmClusterNotRelatedException :: forall a. AsError a => Fold a ServiceError
_CloudHsmClusterNotRelatedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CloudHsmClusterNotRelatedException"
_CustomKeyStoreHasCMKsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CustomKeyStoreHasCMKsException :: forall a. AsError a => Fold a ServiceError
_CustomKeyStoreHasCMKsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CustomKeyStoreHasCMKsException"
_CustomKeyStoreInvalidStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CustomKeyStoreInvalidStateException :: forall a. AsError a => Fold a ServiceError
_CustomKeyStoreInvalidStateException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CustomKeyStoreInvalidStateException"
_CustomKeyStoreNameInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CustomKeyStoreNameInUseException :: forall a. AsError a => Fold a ServiceError
_CustomKeyStoreNameInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CustomKeyStoreNameInUseException"
_CustomKeyStoreNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CustomKeyStoreNotFoundException :: forall a. AsError a => Fold a ServiceError
_CustomKeyStoreNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CustomKeyStoreNotFoundException"
_DependencyTimeoutException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DependencyTimeoutException :: forall a. AsError a => Fold a ServiceError
_DependencyTimeoutException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DependencyTimeoutException"
_DisabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DisabledException :: forall a. AsError a => Fold a ServiceError
_DisabledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DisabledException"
_ExpiredImportTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ExpiredImportTokenException :: forall a. AsError a => Fold a ServiceError
_ExpiredImportTokenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExpiredImportTokenException"
_IncorrectKeyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IncorrectKeyException :: forall a. AsError a => Fold a ServiceError
_IncorrectKeyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IncorrectKeyException"
_IncorrectKeyMaterialException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IncorrectKeyMaterialException :: forall a. AsError a => Fold a ServiceError
_IncorrectKeyMaterialException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IncorrectKeyMaterialException"
_IncorrectTrustAnchorException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IncorrectTrustAnchorException :: forall a. AsError a => Fold a ServiceError
_IncorrectTrustAnchorException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IncorrectTrustAnchorException"
_InvalidAliasNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidAliasNameException :: forall a. AsError a => Fold a ServiceError
_InvalidAliasNameException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidAliasNameException"
_InvalidArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidArnException :: forall a. AsError a => Fold a ServiceError
_InvalidArnException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidArnException"
_InvalidCiphertextException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidCiphertextException :: forall a. AsError a => Fold a ServiceError
_InvalidCiphertextException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidCiphertextException"
_InvalidGrantIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidGrantIdException :: forall a. AsError a => Fold a ServiceError
_InvalidGrantIdException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidGrantIdException"
_InvalidGrantTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidGrantTokenException :: forall a. AsError a => Fold a ServiceError
_InvalidGrantTokenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidGrantTokenException"
_InvalidImportTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidImportTokenException :: forall a. AsError a => Fold a ServiceError
_InvalidImportTokenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidImportTokenException"
_InvalidKeyUsageException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidKeyUsageException :: forall a. AsError a => Fold a ServiceError
_InvalidKeyUsageException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidKeyUsageException"
_InvalidMarkerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidMarkerException :: forall a. AsError a => Fold a ServiceError
_InvalidMarkerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidMarkerException"
_KMSInternalException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSInternalException :: forall a. AsError a => Fold a ServiceError
_KMSInternalException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSInternalException"
_KMSInvalidMacException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSInvalidMacException :: forall a. AsError a => Fold a ServiceError
_KMSInvalidMacException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSInvalidMacException"
_KMSInvalidSignatureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KMSInvalidSignatureException :: forall a. AsError a => Fold a ServiceError
_KMSInvalidSignatureException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KMSInvalidSignatureException"
_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"
_KeyUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_KeyUnavailableException :: forall a. AsError a => Fold a ServiceError
_KeyUnavailableException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"KeyUnavailableException"
_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"
_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"
_NotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NotFoundException :: forall a. AsError a => Fold a ServiceError
_NotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotFoundException"
_TagException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TagException :: forall a. AsError a => Fold a ServiceError
_TagException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TagException"
_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"
_XksKeyAlreadyInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksKeyAlreadyInUseException :: forall a. AsError a => Fold a ServiceError
_XksKeyAlreadyInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksKeyAlreadyInUseException"
_XksKeyInvalidConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksKeyInvalidConfigurationException :: forall a. AsError a => Fold a ServiceError
_XksKeyInvalidConfigurationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksKeyInvalidConfigurationException"
_XksKeyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksKeyNotFoundException :: forall a. AsError a => Fold a ServiceError
_XksKeyNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksKeyNotFoundException"
_XksProxyIncorrectAuthenticationCredentialException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyIncorrectAuthenticationCredentialException :: forall a. AsError a => Fold a ServiceError
_XksProxyIncorrectAuthenticationCredentialException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyIncorrectAuthenticationCredentialException"
_XksProxyInvalidConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyInvalidConfigurationException :: forall a. AsError a => Fold a ServiceError
_XksProxyInvalidConfigurationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyInvalidConfigurationException"
_XksProxyInvalidResponseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyInvalidResponseException :: forall a. AsError a => Fold a ServiceError
_XksProxyInvalidResponseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyInvalidResponseException"
_XksProxyUriEndpointInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyUriEndpointInUseException :: forall a. AsError a => Fold a ServiceError
_XksProxyUriEndpointInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyUriEndpointInUseException"
_XksProxyUriInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyUriInUseException :: forall a. AsError a => Fold a ServiceError
_XksProxyUriInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyUriInUseException"
_XksProxyUriUnreachableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyUriUnreachableException :: forall a. AsError a => Fold a ServiceError
_XksProxyUriUnreachableException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyUriUnreachableException"
_XksProxyVpcEndpointServiceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyVpcEndpointServiceInUseException :: forall a. AsError a => Fold a ServiceError
_XksProxyVpcEndpointServiceInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyVpcEndpointServiceInUseException"
_XksProxyVpcEndpointServiceInvalidConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyVpcEndpointServiceInvalidConfigurationException :: forall a. AsError a => Fold a ServiceError
_XksProxyVpcEndpointServiceInvalidConfigurationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyVpcEndpointServiceInvalidConfigurationException"
_XksProxyVpcEndpointServiceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_XksProxyVpcEndpointServiceNotFoundException :: forall a. AsError a => Fold a ServiceError
_XksProxyVpcEndpointServiceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"XksProxyVpcEndpointServiceNotFoundException"