{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Organizations.Types
(
defaultService,
_AWSOrganizationsNotInUseException,
_AccessDeniedException,
_AccessDeniedForDependencyException,
_AccountAlreadyClosedException,
_AccountAlreadyRegisteredException,
_AccountNotFoundException,
_AccountNotRegisteredException,
_AccountOwnerNotVerifiedException,
_AlreadyInOrganizationException,
_ChildNotFoundException,
_ConcurrentModificationException,
_ConflictException,
_ConstraintViolationException,
_CreateAccountStatusNotFoundException,
_DestinationParentNotFoundException,
_DuplicateAccountException,
_DuplicateHandshakeException,
_DuplicateOrganizationalUnitException,
_DuplicatePolicyAttachmentException,
_DuplicatePolicyException,
_EffectivePolicyNotFoundException,
_FinalizingOrganizationException,
_HandshakeAlreadyInStateException,
_HandshakeConstraintViolationException,
_HandshakeNotFoundException,
_InvalidHandshakeTransitionException,
_InvalidInputException,
_MalformedPolicyDocumentException,
_MasterCannotLeaveOrganizationException,
_OrganizationNotEmptyException,
_OrganizationalUnitNotEmptyException,
_OrganizationalUnitNotFoundException,
_ParentNotFoundException,
_PolicyChangesInProgressException,
_PolicyInUseException,
_PolicyNotAttachedException,
_PolicyNotFoundException,
_PolicyTypeAlreadyEnabledException,
_PolicyTypeNotAvailableForOrganizationException,
_PolicyTypeNotEnabledException,
_ResourcePolicyNotFoundException,
_RootNotFoundException,
_ServiceException,
_SourceParentNotFoundException,
_TargetNotFoundException,
_TooManyRequestsException,
_UnsupportedAPIEndpointException,
AccountJoinedMethod (..),
AccountStatus (..),
ActionType (..),
ChildType (..),
CreateAccountFailureReason (..),
CreateAccountState (..),
EffectivePolicyType (..),
HandshakePartyType (..),
HandshakeResourceType (..),
HandshakeState (..),
IAMUserAccessToBilling (..),
OrganizationFeatureSet (..),
ParentType (..),
PolicyType (..),
PolicyTypeStatus (..),
TargetType (..),
Account (..),
newAccount,
account_arn,
account_email,
account_id,
account_joinedMethod,
account_joinedTimestamp,
account_name,
account_status,
Child (..),
newChild,
child_id,
child_type,
CreateAccountStatus (..),
newCreateAccountStatus,
createAccountStatus_accountId,
createAccountStatus_accountName,
createAccountStatus_completedTimestamp,
createAccountStatus_failureReason,
createAccountStatus_govCloudAccountId,
createAccountStatus_id,
createAccountStatus_requestedTimestamp,
createAccountStatus_state,
DelegatedAdministrator (..),
newDelegatedAdministrator,
delegatedAdministrator_arn,
delegatedAdministrator_delegationEnabledDate,
delegatedAdministrator_email,
delegatedAdministrator_id,
delegatedAdministrator_joinedMethod,
delegatedAdministrator_joinedTimestamp,
delegatedAdministrator_name,
delegatedAdministrator_status,
DelegatedService (..),
newDelegatedService,
delegatedService_delegationEnabledDate,
delegatedService_servicePrincipal,
EffectivePolicy (..),
newEffectivePolicy,
effectivePolicy_lastUpdatedTimestamp,
effectivePolicy_policyContent,
effectivePolicy_policyType,
effectivePolicy_targetId,
EnabledServicePrincipal (..),
newEnabledServicePrincipal,
enabledServicePrincipal_dateEnabled,
enabledServicePrincipal_servicePrincipal,
Handshake (..),
newHandshake,
handshake_action,
handshake_arn,
handshake_expirationTimestamp,
handshake_id,
handshake_parties,
handshake_requestedTimestamp,
handshake_resources,
handshake_state,
HandshakeFilter (..),
newHandshakeFilter,
handshakeFilter_actionType,
handshakeFilter_parentHandshakeId,
HandshakeParty (..),
newHandshakeParty,
handshakeParty_id,
handshakeParty_type,
HandshakeResource (..),
newHandshakeResource,
handshakeResource_resources,
handshakeResource_type,
handshakeResource_value,
Organization (..),
newOrganization,
organization_arn,
organization_availablePolicyTypes,
organization_featureSet,
organization_id,
organization_masterAccountArn,
organization_masterAccountEmail,
organization_masterAccountId,
OrganizationalUnit (..),
newOrganizationalUnit,
organizationalUnit_arn,
organizationalUnit_id,
organizationalUnit_name,
Parent (..),
newParent,
parent_id,
parent_type,
Policy (..),
newPolicy,
policy_content,
policy_policySummary,
PolicySummary (..),
newPolicySummary,
policySummary_arn,
policySummary_awsManaged,
policySummary_description,
policySummary_id,
policySummary_name,
policySummary_type,
PolicyTargetSummary (..),
newPolicyTargetSummary,
policyTargetSummary_arn,
policyTargetSummary_name,
policyTargetSummary_targetId,
policyTargetSummary_type,
PolicyTypeSummary (..),
newPolicyTypeSummary,
policyTypeSummary_status,
policyTypeSummary_type,
ResourcePolicy (..),
newResourcePolicy,
resourcePolicy_content,
resourcePolicy_resourcePolicySummary,
ResourcePolicySummary (..),
newResourcePolicySummary,
resourcePolicySummary_arn,
resourcePolicySummary_id,
Root (..),
newRoot,
root_arn,
root_id,
root_name,
root_policyTypes,
Tag (..),
newTag,
tag_key,
tag_value,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.Organizations.Types.Account
import Amazonka.Organizations.Types.AccountJoinedMethod
import Amazonka.Organizations.Types.AccountStatus
import Amazonka.Organizations.Types.ActionType
import Amazonka.Organizations.Types.Child
import Amazonka.Organizations.Types.ChildType
import Amazonka.Organizations.Types.CreateAccountFailureReason
import Amazonka.Organizations.Types.CreateAccountState
import Amazonka.Organizations.Types.CreateAccountStatus
import Amazonka.Organizations.Types.DelegatedAdministrator
import Amazonka.Organizations.Types.DelegatedService
import Amazonka.Organizations.Types.EffectivePolicy
import Amazonka.Organizations.Types.EffectivePolicyType
import Amazonka.Organizations.Types.EnabledServicePrincipal
import Amazonka.Organizations.Types.Handshake
import Amazonka.Organizations.Types.HandshakeFilter
import Amazonka.Organizations.Types.HandshakeParty
import Amazonka.Organizations.Types.HandshakePartyType
import Amazonka.Organizations.Types.HandshakeResource
import Amazonka.Organizations.Types.HandshakeResourceType
import Amazonka.Organizations.Types.HandshakeState
import Amazonka.Organizations.Types.IAMUserAccessToBilling
import Amazonka.Organizations.Types.Organization
import Amazonka.Organizations.Types.OrganizationFeatureSet
import Amazonka.Organizations.Types.OrganizationalUnit
import Amazonka.Organizations.Types.Parent
import Amazonka.Organizations.Types.ParentType
import Amazonka.Organizations.Types.Policy
import Amazonka.Organizations.Types.PolicySummary
import Amazonka.Organizations.Types.PolicyTargetSummary
import Amazonka.Organizations.Types.PolicyType
import Amazonka.Organizations.Types.PolicyTypeStatus
import Amazonka.Organizations.Types.PolicyTypeSummary
import Amazonka.Organizations.Types.ResourcePolicy
import Amazonka.Organizations.Types.ResourcePolicySummary
import Amazonka.Organizations.Types.Root
import Amazonka.Organizations.Types.Tag
import Amazonka.Organizations.Types.TargetType
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
"Organizations",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"organizations",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"organizations",
$sel:version:Service :: ByteString
Core.version = ByteString
"2016-11-28",
$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
"Organizations",
$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
_AWSOrganizationsNotInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AWSOrganizationsNotInUseException :: forall a. AsError a => Fold a ServiceError
_AWSOrganizationsNotInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AWSOrganizationsNotInUseException"
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
_AccessDeniedForDependencyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedForDependencyException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedForDependencyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedForDependencyException"
_AccountAlreadyClosedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccountAlreadyClosedException :: forall a. AsError a => Fold a ServiceError
_AccountAlreadyClosedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccountAlreadyClosedException"
_AccountAlreadyRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccountAlreadyRegisteredException :: forall a. AsError a => Fold a ServiceError
_AccountAlreadyRegisteredException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccountAlreadyRegisteredException"
_AccountNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccountNotFoundException :: forall a. AsError a => Fold a ServiceError
_AccountNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccountNotFoundException"
_AccountNotRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccountNotRegisteredException :: forall a. AsError a => Fold a ServiceError
_AccountNotRegisteredException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccountNotRegisteredException"
_AccountOwnerNotVerifiedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccountOwnerNotVerifiedException :: forall a. AsError a => Fold a ServiceError
_AccountOwnerNotVerifiedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccountOwnerNotVerifiedException"
_AlreadyInOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AlreadyInOrganizationException :: forall a. AsError a => Fold a ServiceError
_AlreadyInOrganizationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AlreadyInOrganizationException"
_ChildNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ChildNotFoundException :: forall a. AsError a => Fold a ServiceError
_ChildNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ChildNotFoundException"
_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConcurrentModificationException :: forall a. AsError a => Fold a ServiceError
_ConcurrentModificationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConcurrentModificationException"
_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConflictException :: forall a. AsError a => Fold a ServiceError
_ConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
_ConstraintViolationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConstraintViolationException :: forall a. AsError a => Fold a ServiceError
_ConstraintViolationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConstraintViolationException"
_CreateAccountStatusNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CreateAccountStatusNotFoundException :: forall a. AsError a => Fold a ServiceError
_CreateAccountStatusNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CreateAccountStatusNotFoundException"
_DestinationParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DestinationParentNotFoundException :: forall a. AsError a => Fold a ServiceError
_DestinationParentNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DestinationParentNotFoundException"
_DuplicateAccountException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DuplicateAccountException :: forall a. AsError a => Fold a ServiceError
_DuplicateAccountException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicateAccountException"
_DuplicateHandshakeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DuplicateHandshakeException :: forall a. AsError a => Fold a ServiceError
_DuplicateHandshakeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicateHandshakeException"
_DuplicateOrganizationalUnitException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DuplicateOrganizationalUnitException :: forall a. AsError a => Fold a ServiceError
_DuplicateOrganizationalUnitException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicateOrganizationalUnitException"
_DuplicatePolicyAttachmentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DuplicatePolicyAttachmentException :: forall a. AsError a => Fold a ServiceError
_DuplicatePolicyAttachmentException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicatePolicyAttachmentException"
_DuplicatePolicyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DuplicatePolicyException :: forall a. AsError a => Fold a ServiceError
_DuplicatePolicyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicatePolicyException"
_EffectivePolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EffectivePolicyNotFoundException :: forall a. AsError a => Fold a ServiceError
_EffectivePolicyNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EffectivePolicyNotFoundException"
_FinalizingOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FinalizingOrganizationException :: forall a. AsError a => Fold a ServiceError
_FinalizingOrganizationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"FinalizingOrganizationException"
_HandshakeAlreadyInStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_HandshakeAlreadyInStateException :: forall a. AsError a => Fold a ServiceError
_HandshakeAlreadyInStateException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"HandshakeAlreadyInStateException"
_HandshakeConstraintViolationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_HandshakeConstraintViolationException :: forall a. AsError a => Fold a ServiceError
_HandshakeConstraintViolationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"HandshakeConstraintViolationException"
_HandshakeNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_HandshakeNotFoundException :: forall a. AsError a => Fold a ServiceError
_HandshakeNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"HandshakeNotFoundException"
_InvalidHandshakeTransitionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidHandshakeTransitionException :: forall a. AsError a => Fold a ServiceError
_InvalidHandshakeTransitionException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidHandshakeTransitionException"
_InvalidInputException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidInputException :: forall a. AsError a => Fold a ServiceError
_InvalidInputException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidInputException"
_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"
_MasterCannotLeaveOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MasterCannotLeaveOrganizationException :: forall a. AsError a => Fold a ServiceError
_MasterCannotLeaveOrganizationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MasterCannotLeaveOrganizationException"
_OrganizationNotEmptyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_OrganizationNotEmptyException :: forall a. AsError a => Fold a ServiceError
_OrganizationNotEmptyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OrganizationNotEmptyException"
_OrganizationalUnitNotEmptyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_OrganizationalUnitNotEmptyException :: forall a. AsError a => Fold a ServiceError
_OrganizationalUnitNotEmptyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OrganizationalUnitNotEmptyException"
_OrganizationalUnitNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_OrganizationalUnitNotFoundException :: forall a. AsError a => Fold a ServiceError
_OrganizationalUnitNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OrganizationalUnitNotFoundException"
_ParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ParentNotFoundException :: forall a. AsError a => Fold a ServiceError
_ParentNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ParentNotFoundException"
_PolicyChangesInProgressException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyChangesInProgressException :: forall a. AsError a => Fold a ServiceError
_PolicyChangesInProgressException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyChangesInProgressException"
_PolicyInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyInUseException :: forall a. AsError a => Fold a ServiceError
_PolicyInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyInUseException"
_PolicyNotAttachedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyNotAttachedException :: forall a. AsError a => Fold a ServiceError
_PolicyNotAttachedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyNotAttachedException"
_PolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyNotFoundException :: forall a. AsError a => Fold a ServiceError
_PolicyNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyNotFoundException"
_PolicyTypeAlreadyEnabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyTypeAlreadyEnabledException :: forall a. AsError a => Fold a ServiceError
_PolicyTypeAlreadyEnabledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyTypeAlreadyEnabledException"
_PolicyTypeNotAvailableForOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyTypeNotAvailableForOrganizationException :: forall a. AsError a => Fold a ServiceError
_PolicyTypeNotAvailableForOrganizationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyTypeNotAvailableForOrganizationException"
_PolicyTypeNotEnabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PolicyTypeNotEnabledException :: forall a. AsError a => Fold a ServiceError
_PolicyTypeNotEnabledException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PolicyTypeNotEnabledException"
_ResourcePolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourcePolicyNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourcePolicyNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourcePolicyNotFoundException"
_RootNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RootNotFoundException :: forall a. AsError a => Fold a ServiceError
_RootNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RootNotFoundException"
_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"
_SourceParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SourceParentNotFoundException :: forall a. AsError a => Fold a ServiceError
_SourceParentNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SourceParentNotFoundException"
_TargetNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TargetNotFoundException :: forall a. AsError a => Fold a ServiceError
_TargetNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TargetNotFoundException"
_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"
_UnsupportedAPIEndpointException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnsupportedAPIEndpointException :: forall a. AsError a => Fold a ServiceError
_UnsupportedAPIEndpointException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedAPIEndpointException"