{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.DirectoryService.Types
(
defaultService,
_CertificateLimitExceededException,
_CertificateAlreadyExistsException,
_AccessDeniedException,
_DirectoryUnavailableException,
_AuthenticationFailedException,
_InvalidParameterException,
_UnsupportedOperationException,
_EntityAlreadyExistsException,
_NoAvailableCertificateException,
_UserDoesNotExistException,
_DirectoryLimitExceededException,
_InvalidLDAPSStatusException,
_InvalidCertificateException,
_CertificateInUseException,
_RegionLimitExceededException,
_IpRouteLimitExceededException,
_ShareLimitExceededException,
_EntityDoesNotExistException,
_OrganizationsException,
_InvalidTargetException,
_DirectoryAlreadyInRegionException,
_InsufficientPermissionsException,
_DirectoryNotSharedException,
_InvalidNextTokenException,
_ServiceException,
_SnapshotLimitExceededException,
_DomainControllerLimitExceededException,
_DirectoryDoesNotExistException,
_InvalidClientAuthStatusException,
_TagLimitExceededException,
_ClientException,
_DirectoryAlreadySharedException,
_CertificateDoesNotExistException,
_InvalidPasswordException,
CertificateState (..),
CertificateType (..),
ClientAuthenticationStatus (..),
ClientAuthenticationType (..),
DirectoryEdition (..),
DirectorySize (..),
DirectoryStage (..),
DirectoryType (..),
DomainControllerStatus (..),
IpRouteStatusMsg (..),
LDAPSStatus (..),
LDAPSType (..),
RadiusAuthenticationProtocol (..),
RadiusStatus (..),
RegionType (..),
ReplicationScope (..),
SchemaExtensionStatus (..),
SelectiveAuth (..),
ShareMethod (..),
ShareStatus (..),
SnapshotStatus (..),
SnapshotType (..),
TargetType (..),
TopicStatus (..),
TrustDirection (..),
TrustState (..),
TrustType (..),
Attribute (..),
newAttribute,
attribute_value,
attribute_name,
Certificate (..),
newCertificate,
certificate_clientCertAuthSettings,
certificate_state,
certificate_commonName,
certificate_certificateId,
certificate_expiryDateTime,
certificate_registeredDateTime,
certificate_type,
certificate_stateReason,
CertificateInfo (..),
newCertificateInfo,
certificateInfo_state,
certificateInfo_commonName,
certificateInfo_certificateId,
certificateInfo_expiryDateTime,
certificateInfo_type,
ClientAuthenticationSettingInfo (..),
newClientAuthenticationSettingInfo,
clientAuthenticationSettingInfo_status,
clientAuthenticationSettingInfo_lastUpdatedDateTime,
clientAuthenticationSettingInfo_type,
ClientCertAuthSettings (..),
newClientCertAuthSettings,
clientCertAuthSettings_oCSPUrl,
Computer (..),
newComputer,
computer_computerId,
computer_computerAttributes,
computer_computerName,
ConditionalForwarder (..),
newConditionalForwarder,
conditionalForwarder_dnsIpAddrs,
conditionalForwarder_remoteDomainName,
conditionalForwarder_replicationScope,
DirectoryConnectSettings (..),
newDirectoryConnectSettings,
directoryConnectSettings_vpcId,
directoryConnectSettings_subnetIds,
directoryConnectSettings_customerDnsIps,
directoryConnectSettings_customerUserName,
DirectoryConnectSettingsDescription (..),
newDirectoryConnectSettingsDescription,
directoryConnectSettingsDescription_customerUserName,
directoryConnectSettingsDescription_subnetIds,
directoryConnectSettingsDescription_vpcId,
directoryConnectSettingsDescription_securityGroupId,
directoryConnectSettingsDescription_connectIps,
directoryConnectSettingsDescription_availabilityZones,
DirectoryDescription (..),
newDirectoryDescription,
directoryDescription_edition,
directoryDescription_radiusStatus,
directoryDescription_stage,
directoryDescription_directoryId,
directoryDescription_accessUrl,
directoryDescription_shortName,
directoryDescription_regionsInfo,
directoryDescription_size,
directoryDescription_desiredNumberOfDomainControllers,
directoryDescription_radiusSettings,
directoryDescription_launchTime,
directoryDescription_alias,
directoryDescription_shareStatus,
directoryDescription_name,
directoryDescription_shareMethod,
directoryDescription_stageLastUpdatedDateTime,
directoryDescription_ssoEnabled,
directoryDescription_dnsIpAddrs,
directoryDescription_vpcSettings,
directoryDescription_type,
directoryDescription_stageReason,
directoryDescription_connectSettings,
directoryDescription_ownerDirectoryDescription,
directoryDescription_description,
directoryDescription_shareNotes,
DirectoryLimits (..),
newDirectoryLimits,
directoryLimits_connectedDirectoriesCurrentCount,
directoryLimits_cloudOnlyMicrosoftADLimitReached,
directoryLimits_connectedDirectoriesLimit,
directoryLimits_connectedDirectoriesLimitReached,
directoryLimits_cloudOnlyMicrosoftADLimit,
directoryLimits_cloudOnlyDirectoriesLimit,
directoryLimits_cloudOnlyDirectoriesCurrentCount,
directoryLimits_cloudOnlyDirectoriesLimitReached,
directoryLimits_cloudOnlyMicrosoftADCurrentCount,
DirectoryVpcSettings (..),
newDirectoryVpcSettings,
directoryVpcSettings_vpcId,
directoryVpcSettings_subnetIds,
DirectoryVpcSettingsDescription (..),
newDirectoryVpcSettingsDescription,
directoryVpcSettingsDescription_subnetIds,
directoryVpcSettingsDescription_vpcId,
directoryVpcSettingsDescription_securityGroupId,
directoryVpcSettingsDescription_availabilityZones,
DomainController (..),
newDomainController,
domainController_status,
domainController_directoryId,
domainController_vpcId,
domainController_launchTime,
domainController_subnetId,
domainController_availabilityZone,
domainController_statusLastUpdatedDateTime,
domainController_statusReason,
domainController_dnsIpAddr,
domainController_domainControllerId,
EventTopic (..),
newEventTopic,
eventTopic_status,
eventTopic_directoryId,
eventTopic_topicName,
eventTopic_topicArn,
eventTopic_createdDateTime,
IpRoute (..),
newIpRoute,
ipRoute_cidrIp,
ipRoute_description,
IpRouteInfo (..),
newIpRouteInfo,
ipRouteInfo_directoryId,
ipRouteInfo_ipRouteStatusReason,
ipRouteInfo_addedDateTime,
ipRouteInfo_cidrIp,
ipRouteInfo_ipRouteStatusMsg,
ipRouteInfo_description,
LDAPSSettingInfo (..),
newLDAPSSettingInfo,
lDAPSSettingInfo_lastUpdatedDateTime,
lDAPSSettingInfo_lDAPSStatusReason,
lDAPSSettingInfo_lDAPSStatus,
LogSubscription (..),
newLogSubscription,
logSubscription_directoryId,
logSubscription_logGroupName,
logSubscription_subscriptionCreatedDateTime,
OwnerDirectoryDescription (..),
newOwnerDirectoryDescription,
ownerDirectoryDescription_radiusStatus,
ownerDirectoryDescription_directoryId,
ownerDirectoryDescription_radiusSettings,
ownerDirectoryDescription_accountId,
ownerDirectoryDescription_dnsIpAddrs,
ownerDirectoryDescription_vpcSettings,
RadiusSettings (..),
newRadiusSettings,
radiusSettings_displayLabel,
radiusSettings_radiusRetries,
radiusSettings_authenticationProtocol,
radiusSettings_radiusServers,
radiusSettings_useSameUsername,
radiusSettings_sharedSecret,
radiusSettings_radiusTimeout,
radiusSettings_radiusPort,
RegionDescription (..),
newRegionDescription,
regionDescription_status,
regionDescription_directoryId,
regionDescription_regionName,
regionDescription_desiredNumberOfDomainControllers,
regionDescription_regionType,
regionDescription_launchTime,
regionDescription_lastUpdatedDateTime,
regionDescription_statusLastUpdatedDateTime,
regionDescription_vpcSettings,
RegionsInfo (..),
newRegionsInfo,
regionsInfo_primaryRegion,
regionsInfo_additionalRegions,
SchemaExtensionInfo (..),
newSchemaExtensionInfo,
schemaExtensionInfo_directoryId,
schemaExtensionInfo_schemaExtensionId,
schemaExtensionInfo_schemaExtensionStatusReason,
schemaExtensionInfo_schemaExtensionStatus,
schemaExtensionInfo_description,
schemaExtensionInfo_endDateTime,
schemaExtensionInfo_startDateTime,
ShareTarget (..),
newShareTarget,
shareTarget_id,
shareTarget_type,
SharedDirectory (..),
newSharedDirectory,
sharedDirectory_sharedAccountId,
sharedDirectory_ownerAccountId,
sharedDirectory_lastUpdatedDateTime,
sharedDirectory_shareStatus,
sharedDirectory_shareMethod,
sharedDirectory_ownerDirectoryId,
sharedDirectory_sharedDirectoryId,
sharedDirectory_shareNotes,
sharedDirectory_createdDateTime,
Snapshot (..),
newSnapshot,
snapshot_status,
snapshot_directoryId,
snapshot_startTime,
snapshot_name,
snapshot_type,
snapshot_snapshotId,
SnapshotLimits (..),
newSnapshotLimits,
snapshotLimits_manualSnapshotsLimitReached,
snapshotLimits_manualSnapshotsCurrentCount,
snapshotLimits_manualSnapshotsLimit,
Tag (..),
newTag,
tag_key,
tag_value,
Trust (..),
newTrust,
trust_directoryId,
trust_trustState,
trust_lastUpdatedDateTime,
trust_trustDirection,
trust_stateLastUpdatedDateTime,
trust_trustType,
trust_trustStateReason,
trust_selectiveAuth,
trust_remoteDomainName,
trust_trustId,
trust_createdDateTime,
UnshareTarget (..),
newUnshareTarget,
unshareTarget_id,
unshareTarget_type,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DirectoryService.Types.Attribute
import Amazonka.DirectoryService.Types.Certificate
import Amazonka.DirectoryService.Types.CertificateInfo
import Amazonka.DirectoryService.Types.CertificateState
import Amazonka.DirectoryService.Types.CertificateType
import Amazonka.DirectoryService.Types.ClientAuthenticationSettingInfo
import Amazonka.DirectoryService.Types.ClientAuthenticationStatus
import Amazonka.DirectoryService.Types.ClientAuthenticationType
import Amazonka.DirectoryService.Types.ClientCertAuthSettings
import Amazonka.DirectoryService.Types.Computer
import Amazonka.DirectoryService.Types.ConditionalForwarder
import Amazonka.DirectoryService.Types.DirectoryConnectSettings
import Amazonka.DirectoryService.Types.DirectoryConnectSettingsDescription
import Amazonka.DirectoryService.Types.DirectoryDescription
import Amazonka.DirectoryService.Types.DirectoryEdition
import Amazonka.DirectoryService.Types.DirectoryLimits
import Amazonka.DirectoryService.Types.DirectorySize
import Amazonka.DirectoryService.Types.DirectoryStage
import Amazonka.DirectoryService.Types.DirectoryType
import Amazonka.DirectoryService.Types.DirectoryVpcSettings
import Amazonka.DirectoryService.Types.DirectoryVpcSettingsDescription
import Amazonka.DirectoryService.Types.DomainController
import Amazonka.DirectoryService.Types.DomainControllerStatus
import Amazonka.DirectoryService.Types.EventTopic
import Amazonka.DirectoryService.Types.IpRoute
import Amazonka.DirectoryService.Types.IpRouteInfo
import Amazonka.DirectoryService.Types.IpRouteStatusMsg
import Amazonka.DirectoryService.Types.LDAPSSettingInfo
import Amazonka.DirectoryService.Types.LDAPSStatus
import Amazonka.DirectoryService.Types.LDAPSType
import Amazonka.DirectoryService.Types.LogSubscription
import Amazonka.DirectoryService.Types.OwnerDirectoryDescription
import Amazonka.DirectoryService.Types.RadiusAuthenticationProtocol
import Amazonka.DirectoryService.Types.RadiusSettings
import Amazonka.DirectoryService.Types.RadiusStatus
import Amazonka.DirectoryService.Types.RegionDescription
import Amazonka.DirectoryService.Types.RegionType
import Amazonka.DirectoryService.Types.RegionsInfo
import Amazonka.DirectoryService.Types.ReplicationScope
import Amazonka.DirectoryService.Types.SchemaExtensionInfo
import Amazonka.DirectoryService.Types.SchemaExtensionStatus
import Amazonka.DirectoryService.Types.SelectiveAuth
import Amazonka.DirectoryService.Types.ShareMethod
import Amazonka.DirectoryService.Types.ShareStatus
import Amazonka.DirectoryService.Types.ShareTarget
import Amazonka.DirectoryService.Types.SharedDirectory
import Amazonka.DirectoryService.Types.Snapshot
import Amazonka.DirectoryService.Types.SnapshotLimits
import Amazonka.DirectoryService.Types.SnapshotStatus
import Amazonka.DirectoryService.Types.SnapshotType
import Amazonka.DirectoryService.Types.Tag
import Amazonka.DirectoryService.Types.TargetType
import Amazonka.DirectoryService.Types.TopicStatus
import Amazonka.DirectoryService.Types.Trust
import Amazonka.DirectoryService.Types.TrustDirection
import Amazonka.DirectoryService.Types.TrustState
import Amazonka.DirectoryService.Types.TrustType
import Amazonka.DirectoryService.Types.UnshareTarget
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
"DirectoryService",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"ds",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"ds",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2015-04-16",
$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
"DirectoryService",
$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
_CertificateLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateLimitExceededException :: Getting (First ServiceError) a ServiceError
_CertificateLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateLimitExceededException"
_CertificateAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_CertificateAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateAlreadyExistsException"
_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"
_DirectoryUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryUnavailableException :: Getting (First ServiceError) a ServiceError
_DirectoryUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryUnavailableException"
_AuthenticationFailedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AuthenticationFailedException :: Getting (First ServiceError) a ServiceError
_AuthenticationFailedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AuthenticationFailedException"
_InvalidParameterException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidParameterException :: Getting (First ServiceError) a ServiceError
_InvalidParameterException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterException"
_UnsupportedOperationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedOperationException :: Getting (First ServiceError) a ServiceError
_UnsupportedOperationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedOperationException"
_EntityAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_EntityAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_EntityAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EntityAlreadyExistsException"
_NoAvailableCertificateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NoAvailableCertificateException :: Getting (First ServiceError) a ServiceError
_NoAvailableCertificateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NoAvailableCertificateException"
_UserDoesNotExistException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserDoesNotExistException :: Getting (First ServiceError) a ServiceError
_UserDoesNotExistException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserDoesNotExistException"
_DirectoryLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryLimitExceededException :: Getting (First ServiceError) a ServiceError
_DirectoryLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryLimitExceededException"
_InvalidLDAPSStatusException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidLDAPSStatusException :: Getting (First ServiceError) a ServiceError
_InvalidLDAPSStatusException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidLDAPSStatusException"
_InvalidCertificateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidCertificateException :: Getting (First ServiceError) a ServiceError
_InvalidCertificateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidCertificateException"
_CertificateInUseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateInUseException :: Getting (First ServiceError) a ServiceError
_CertificateInUseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateInUseException"
_RegionLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_RegionLimitExceededException :: Getting (First ServiceError) a ServiceError
_RegionLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RegionLimitExceededException"
_IpRouteLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_IpRouteLimitExceededException :: Getting (First ServiceError) a ServiceError
_IpRouteLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IpRouteLimitExceededException"
_ShareLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ShareLimitExceededException :: Getting (First ServiceError) a ServiceError
_ShareLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ShareLimitExceededException"
_EntityDoesNotExistException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_EntityDoesNotExistException :: Getting (First ServiceError) a ServiceError
_EntityDoesNotExistException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EntityDoesNotExistException"
_OrganizationsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OrganizationsException :: Getting (First ServiceError) a ServiceError
_OrganizationsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OrganizationsException"
_InvalidTargetException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidTargetException :: Getting (First ServiceError) a ServiceError
_InvalidTargetException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidTargetException"
_DirectoryAlreadyInRegionException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryAlreadyInRegionException :: Getting (First ServiceError) a ServiceError
_DirectoryAlreadyInRegionException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryAlreadyInRegionException"
_InsufficientPermissionsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InsufficientPermissionsException :: Getting (First ServiceError) a ServiceError
_InsufficientPermissionsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InsufficientPermissionsException"
_DirectoryNotSharedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryNotSharedException :: Getting (First ServiceError) a ServiceError
_DirectoryNotSharedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryNotSharedException"
_InvalidNextTokenException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidNextTokenException :: Getting (First ServiceError) a ServiceError
_InvalidNextTokenException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidNextTokenException"
_ServiceException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceException :: Getting (First ServiceError) a ServiceError
_ServiceException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceException"
_SnapshotLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_SnapshotLimitExceededException :: Getting (First ServiceError) a ServiceError
_SnapshotLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SnapshotLimitExceededException"
_DomainControllerLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DomainControllerLimitExceededException :: Getting (First ServiceError) a ServiceError
_DomainControllerLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DomainControllerLimitExceededException"
_DirectoryDoesNotExistException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryDoesNotExistException :: Getting (First ServiceError) a ServiceError
_DirectoryDoesNotExistException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryDoesNotExistException"
_InvalidClientAuthStatusException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidClientAuthStatusException :: Getting (First ServiceError) a ServiceError
_InvalidClientAuthStatusException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidClientAuthStatusException"
_TagLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TagLimitExceededException :: Getting (First ServiceError) a ServiceError
_TagLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TagLimitExceededException"
_ClientException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ClientException :: Getting (First ServiceError) a ServiceError
_ClientException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ClientException"
_DirectoryAlreadySharedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DirectoryAlreadySharedException :: Getting (First ServiceError) a ServiceError
_DirectoryAlreadySharedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DirectoryAlreadySharedException"
_CertificateDoesNotExistException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateDoesNotExistException :: Getting (First ServiceError) a ServiceError
_CertificateDoesNotExistException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateDoesNotExistException"
_InvalidPasswordException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidPasswordException :: Getting (First ServiceError) a ServiceError
_InvalidPasswordException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPasswordException"