{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.WorkSpaces.Types
(
defaultService,
_UnsupportedNetworkConfigurationException,
_AccessDeniedException,
_ResourceCreationFailedException,
_ResourceUnavailableException,
_InvalidParameterValuesException,
_ResourceAssociatedException,
_OperationInProgressException,
_ResourceAlreadyExistsException,
_ResourceLimitExceededException,
_InvalidResourceStateException,
_OperationNotSupportedException,
_UnsupportedWorkspaceConfigurationException,
_WorkspacesDefaultRoleNotFoundException,
_ResourceNotFoundException,
AccessPropertyValue (..),
Application (..),
AssociationStatus (..),
Compute (..),
ConnectionAliasState (..),
ConnectionState (..),
DedicatedTenancyModificationStateEnum (..),
DedicatedTenancySupportEnum (..),
DedicatedTenancySupportResultEnum (..),
ImageType (..),
ModificationResourceEnum (..),
ModificationStateEnum (..),
OperatingSystemType (..),
ReconnectEnum (..),
RunningMode (..),
TargetWorkspaceState (..),
Tenancy (..),
WorkspaceDirectoryState (..),
WorkspaceDirectoryType (..),
WorkspaceImageIngestionProcess (..),
WorkspaceImageRequiredTenancy (..),
WorkspaceImageState (..),
WorkspaceState (..),
AccountModification (..),
newAccountModification,
accountModification_startTime,
accountModification_dedicatedTenancySupport,
accountModification_modificationState,
accountModification_dedicatedTenancyManagementCidrRange,
accountModification_errorCode,
accountModification_errorMessage,
ClientProperties (..),
newClientProperties,
clientProperties_reconnectEnabled,
ClientPropertiesResult (..),
newClientPropertiesResult,
clientPropertiesResult_resourceId,
clientPropertiesResult_clientProperties,
ComputeType (..),
newComputeType,
computeType_name,
ConnectionAlias (..),
newConnectionAlias,
connectionAlias_state,
connectionAlias_ownerAccountId,
connectionAlias_aliasId,
connectionAlias_associations,
connectionAlias_connectionString,
ConnectionAliasAssociation (..),
newConnectionAliasAssociation,
connectionAliasAssociation_associatedAccountId,
connectionAliasAssociation_resourceId,
connectionAliasAssociation_associationStatus,
connectionAliasAssociation_connectionIdentifier,
ConnectionAliasPermission (..),
newConnectionAliasPermission,
connectionAliasPermission_sharedAccountId,
connectionAliasPermission_allowAssociation,
DefaultWorkspaceCreationProperties (..),
newDefaultWorkspaceCreationProperties,
defaultWorkspaceCreationProperties_customSecurityGroupId,
defaultWorkspaceCreationProperties_userEnabledAsLocalAdministrator,
defaultWorkspaceCreationProperties_enableWorkDocs,
defaultWorkspaceCreationProperties_enableMaintenanceMode,
defaultWorkspaceCreationProperties_enableInternetAccess,
defaultWorkspaceCreationProperties_defaultOu,
FailedCreateWorkspaceRequest (..),
newFailedCreateWorkspaceRequest,
failedCreateWorkspaceRequest_workspaceRequest,
failedCreateWorkspaceRequest_errorCode,
failedCreateWorkspaceRequest_errorMessage,
FailedWorkspaceChangeRequest (..),
newFailedWorkspaceChangeRequest,
failedWorkspaceChangeRequest_errorCode,
failedWorkspaceChangeRequest_workspaceId,
failedWorkspaceChangeRequest_errorMessage,
ImagePermission (..),
newImagePermission,
imagePermission_sharedAccountId,
IpRuleItem (..),
newIpRuleItem,
ipRuleItem_ruleDesc,
ipRuleItem_ipRule,
ModificationState (..),
newModificationState,
modificationState_state,
modificationState_resource,
OperatingSystem (..),
newOperatingSystem,
operatingSystem_type,
RebootRequest (..),
newRebootRequest,
rebootRequest_workspaceId,
RebuildRequest (..),
newRebuildRequest,
rebuildRequest_workspaceId,
RootStorage (..),
newRootStorage,
rootStorage_capacity,
SelfservicePermissions (..),
newSelfservicePermissions,
selfservicePermissions_restartWorkspace,
selfservicePermissions_changeComputeType,
selfservicePermissions_switchRunningMode,
selfservicePermissions_rebuildWorkspace,
selfservicePermissions_increaseVolumeSize,
Snapshot (..),
newSnapshot,
snapshot_snapshotTime,
StartRequest (..),
newStartRequest,
startRequest_workspaceId,
StopRequest (..),
newStopRequest,
stopRequest_workspaceId,
Tag (..),
newTag,
tag_value,
tag_key,
TerminateRequest (..),
newTerminateRequest,
terminateRequest_workspaceId,
UpdateResult (..),
newUpdateResult,
updateResult_updateAvailable,
updateResult_description,
UserStorage (..),
newUserStorage,
userStorage_capacity,
Workspace (..),
newWorkspace,
workspace_directoryId,
workspace_state,
workspace_ipAddress,
workspace_modificationStates,
workspace_userName,
workspace_subnetId,
workspace_bundleId,
workspace_workspaceProperties,
workspace_rootVolumeEncryptionEnabled,
workspace_errorCode,
workspace_volumeEncryptionKey,
workspace_computerName,
workspace_workspaceId,
workspace_userVolumeEncryptionEnabled,
workspace_errorMessage,
WorkspaceAccessProperties (..),
newWorkspaceAccessProperties,
workspaceAccessProperties_deviceTypeWindows,
workspaceAccessProperties_deviceTypeWeb,
workspaceAccessProperties_deviceTypeAndroid,
workspaceAccessProperties_deviceTypeLinux,
workspaceAccessProperties_deviceTypeOsx,
workspaceAccessProperties_deviceTypeChromeOs,
workspaceAccessProperties_deviceTypeIos,
workspaceAccessProperties_deviceTypeZeroClient,
WorkspaceBundle (..),
newWorkspaceBundle,
workspaceBundle_creationTime,
workspaceBundle_lastUpdatedTime,
workspaceBundle_bundleId,
workspaceBundle_owner,
workspaceBundle_rootStorage,
workspaceBundle_name,
workspaceBundle_imageId,
workspaceBundle_computeType,
workspaceBundle_userStorage,
workspaceBundle_description,
WorkspaceConnectionStatus (..),
newWorkspaceConnectionStatus,
workspaceConnectionStatus_lastKnownUserConnectionTimestamp,
workspaceConnectionStatus_connectionStateCheckTimestamp,
workspaceConnectionStatus_workspaceId,
workspaceConnectionStatus_connectionState,
WorkspaceCreationProperties (..),
newWorkspaceCreationProperties,
workspaceCreationProperties_customSecurityGroupId,
workspaceCreationProperties_userEnabledAsLocalAdministrator,
workspaceCreationProperties_enableWorkDocs,
workspaceCreationProperties_enableMaintenanceMode,
workspaceCreationProperties_enableInternetAccess,
workspaceCreationProperties_defaultOu,
WorkspaceDirectory (..),
newWorkspaceDirectory,
workspaceDirectory_registrationCode,
workspaceDirectory_iamRoleId,
workspaceDirectory_directoryId,
workspaceDirectory_state,
workspaceDirectory_customerUserName,
workspaceDirectory_subnetIds,
workspaceDirectory_ipGroupIds,
workspaceDirectory_alias,
workspaceDirectory_workspaceSecurityGroupId,
workspaceDirectory_directoryType,
workspaceDirectory_tenancy,
workspaceDirectory_workspaceCreationProperties,
workspaceDirectory_dnsIpAddresses,
workspaceDirectory_workspaceAccessProperties,
workspaceDirectory_directoryName,
workspaceDirectory_selfservicePermissions,
WorkspaceImage (..),
newWorkspaceImage,
workspaceImage_state,
workspaceImage_ownerAccountId,
workspaceImage_operatingSystem,
workspaceImage_created,
workspaceImage_requiredTenancy,
workspaceImage_name,
workspaceImage_updates,
workspaceImage_imageId,
workspaceImage_errorCode,
workspaceImage_errorMessage,
workspaceImage_description,
WorkspaceProperties (..),
newWorkspaceProperties,
workspaceProperties_computeTypeName,
workspaceProperties_runningMode,
workspaceProperties_rootVolumeSizeGib,
workspaceProperties_runningModeAutoStopTimeoutInMinutes,
workspaceProperties_userVolumeSizeGib,
WorkspaceRequest (..),
newWorkspaceRequest,
workspaceRequest_workspaceProperties,
workspaceRequest_rootVolumeEncryptionEnabled,
workspaceRequest_volumeEncryptionKey,
workspaceRequest_userVolumeEncryptionEnabled,
workspaceRequest_tags,
workspaceRequest_directoryId,
workspaceRequest_userName,
workspaceRequest_bundleId,
WorkspacesIpGroup (..),
newWorkspacesIpGroup,
workspacesIpGroup_groupDesc,
workspacesIpGroup_userRules,
workspacesIpGroup_groupId,
workspacesIpGroup_groupName,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
import Amazonka.WorkSpaces.Types.AccessPropertyValue
import Amazonka.WorkSpaces.Types.AccountModification
import Amazonka.WorkSpaces.Types.Application
import Amazonka.WorkSpaces.Types.AssociationStatus
import Amazonka.WorkSpaces.Types.ClientProperties
import Amazonka.WorkSpaces.Types.ClientPropertiesResult
import Amazonka.WorkSpaces.Types.Compute
import Amazonka.WorkSpaces.Types.ComputeType
import Amazonka.WorkSpaces.Types.ConnectionAlias
import Amazonka.WorkSpaces.Types.ConnectionAliasAssociation
import Amazonka.WorkSpaces.Types.ConnectionAliasPermission
import Amazonka.WorkSpaces.Types.ConnectionAliasState
import Amazonka.WorkSpaces.Types.ConnectionState
import Amazonka.WorkSpaces.Types.DedicatedTenancyModificationStateEnum
import Amazonka.WorkSpaces.Types.DedicatedTenancySupportEnum
import Amazonka.WorkSpaces.Types.DedicatedTenancySupportResultEnum
import Amazonka.WorkSpaces.Types.DefaultWorkspaceCreationProperties
import Amazonka.WorkSpaces.Types.FailedCreateWorkspaceRequest
import Amazonka.WorkSpaces.Types.FailedWorkspaceChangeRequest
import Amazonka.WorkSpaces.Types.ImagePermission
import Amazonka.WorkSpaces.Types.ImageType
import Amazonka.WorkSpaces.Types.IpRuleItem
import Amazonka.WorkSpaces.Types.ModificationResourceEnum
import Amazonka.WorkSpaces.Types.ModificationState
import Amazonka.WorkSpaces.Types.ModificationStateEnum
import Amazonka.WorkSpaces.Types.OperatingSystem
import Amazonka.WorkSpaces.Types.OperatingSystemType
import Amazonka.WorkSpaces.Types.RebootRequest
import Amazonka.WorkSpaces.Types.RebuildRequest
import Amazonka.WorkSpaces.Types.ReconnectEnum
import Amazonka.WorkSpaces.Types.RootStorage
import Amazonka.WorkSpaces.Types.RunningMode
import Amazonka.WorkSpaces.Types.SelfservicePermissions
import Amazonka.WorkSpaces.Types.Snapshot
import Amazonka.WorkSpaces.Types.StartRequest
import Amazonka.WorkSpaces.Types.StopRequest
import Amazonka.WorkSpaces.Types.Tag
import Amazonka.WorkSpaces.Types.TargetWorkspaceState
import Amazonka.WorkSpaces.Types.Tenancy
import Amazonka.WorkSpaces.Types.TerminateRequest
import Amazonka.WorkSpaces.Types.UpdateResult
import Amazonka.WorkSpaces.Types.UserStorage
import Amazonka.WorkSpaces.Types.Workspace
import Amazonka.WorkSpaces.Types.WorkspaceAccessProperties
import Amazonka.WorkSpaces.Types.WorkspaceBundle
import Amazonka.WorkSpaces.Types.WorkspaceConnectionStatus
import Amazonka.WorkSpaces.Types.WorkspaceCreationProperties
import Amazonka.WorkSpaces.Types.WorkspaceDirectory
import Amazonka.WorkSpaces.Types.WorkspaceDirectoryState
import Amazonka.WorkSpaces.Types.WorkspaceDirectoryType
import Amazonka.WorkSpaces.Types.WorkspaceImage
import Amazonka.WorkSpaces.Types.WorkspaceImageIngestionProcess
import Amazonka.WorkSpaces.Types.WorkspaceImageRequiredTenancy
import Amazonka.WorkSpaces.Types.WorkspaceImageState
import Amazonka.WorkSpaces.Types.WorkspaceProperties
import Amazonka.WorkSpaces.Types.WorkspaceRequest
import Amazonka.WorkSpaces.Types.WorkspaceState
import Amazonka.WorkSpaces.Types.WorkspacesIpGroup
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
"WorkSpaces",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"workspaces",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"workspaces",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2015-04-08",
$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
"WorkSpaces",
$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
_UnsupportedNetworkConfigurationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedNetworkConfigurationException :: Getting (First ServiceError) a ServiceError
_UnsupportedNetworkConfigurationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedNetworkConfigurationException"
_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"
_ResourceCreationFailedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceCreationFailedException :: Getting (First ServiceError) a ServiceError
_ResourceCreationFailedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceCreationFailedException"
_ResourceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceUnavailableException :: Getting (First ServiceError) a ServiceError
_ResourceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceUnavailableException"
_InvalidParameterValuesException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidParameterValuesException :: Getting (First ServiceError) a ServiceError
_InvalidParameterValuesException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterValuesException"
_ResourceAssociatedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceAssociatedException :: Getting (First ServiceError) a ServiceError
_ResourceAssociatedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAssociatedException"
_OperationInProgressException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationInProgressException :: Getting (First ServiceError) a ServiceError
_OperationInProgressException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OperationInProgressException"
_ResourceAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_ResourceAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAlreadyExistsException"
_ResourceLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceLimitExceededException :: Getting (First ServiceError) a ServiceError
_ResourceLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceLimitExceededException"
_InvalidResourceStateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidResourceStateException :: Getting (First ServiceError) a ServiceError
_InvalidResourceStateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidResourceStateException"
_OperationNotSupportedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationNotSupportedException :: Getting (First ServiceError) a ServiceError
_OperationNotSupportedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OperationNotSupportedException"
_UnsupportedWorkspaceConfigurationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedWorkspaceConfigurationException :: Getting (First ServiceError) a ServiceError
_UnsupportedWorkspaceConfigurationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedWorkspaceConfigurationException"
_WorkspacesDefaultRoleNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_WorkspacesDefaultRoleNotFoundException :: Getting (First ServiceError) a ServiceError
_WorkspacesDefaultRoleNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"WorkspacesDefaultRoleNotFoundException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"