{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.RobOMaker.Types
(
defaultService,
_ConcurrentDeploymentException,
_IdempotentParameterMismatchException,
_InternalServerException,
_InvalidParameterException,
_LimitExceededException,
_ResourceAlreadyExistsException,
_ResourceNotFoundException,
_ServiceUnavailableException,
_ThrottlingException,
Architecture (..),
ComputeType (..),
DataSourceType (..),
ExitBehavior (..),
FailureBehavior (..),
RenderingEngineType (..),
RobotSoftwareSuiteType (..),
RobotSoftwareSuiteVersionType (..),
SimulationJobBatchErrorCode (..),
SimulationJobBatchStatus (..),
SimulationJobErrorCode (..),
SimulationJobStatus (..),
SimulationSoftwareSuiteType (..),
UploadBehavior (..),
WorldExportJobErrorCode (..),
WorldExportJobStatus (..),
WorldGenerationJobErrorCode (..),
WorldGenerationJobStatus (..),
BatchPolicy (..),
newBatchPolicy,
batchPolicy_maxConcurrency,
batchPolicy_timeoutInSeconds,
Compute (..),
newCompute,
compute_computeType,
compute_gpuUnitLimit,
compute_simulationUnitLimit,
ComputeResponse (..),
newComputeResponse,
computeResponse_computeType,
computeResponse_gpuUnitLimit,
computeResponse_simulationUnitLimit,
DataSource (..),
newDataSource,
dataSource_destination,
dataSource_name,
dataSource_s3Bucket,
dataSource_s3Keys,
dataSource_type,
DataSourceConfig (..),
newDataSourceConfig,
dataSourceConfig_destination,
dataSourceConfig_type,
dataSourceConfig_name,
dataSourceConfig_s3Bucket,
dataSourceConfig_s3Keys,
Environment (..),
newEnvironment,
environment_uri,
FailedCreateSimulationJobRequest (..),
newFailedCreateSimulationJobRequest,
failedCreateSimulationJobRequest_failedAt,
failedCreateSimulationJobRequest_failureCode,
failedCreateSimulationJobRequest_failureReason,
failedCreateSimulationJobRequest_request,
FailureSummary (..),
newFailureSummary,
failureSummary_failures,
failureSummary_totalFailureCount,
Filter (..),
newFilter,
filter_name,
filter_values,
FinishedWorldsSummary (..),
newFinishedWorldsSummary,
finishedWorldsSummary_failureSummary,
finishedWorldsSummary_finishedCount,
finishedWorldsSummary_succeededWorlds,
LaunchConfig (..),
newLaunchConfig,
launchConfig_command,
launchConfig_environmentVariables,
launchConfig_launchFile,
launchConfig_packageName,
launchConfig_portForwardingConfig,
launchConfig_streamUI,
LoggingConfig (..),
newLoggingConfig,
loggingConfig_recordAllRosTopics,
NetworkInterface (..),
newNetworkInterface,
networkInterface_networkInterfaceId,
networkInterface_privateIpAddress,
networkInterface_publicIpAddress,
OutputLocation (..),
newOutputLocation,
outputLocation_s3Bucket,
outputLocation_s3Prefix,
PortForwardingConfig (..),
newPortForwardingConfig,
portForwardingConfig_portMappings,
PortMapping (..),
newPortMapping,
portMapping_enableOnPublicIp,
portMapping_jobPort,
portMapping_applicationPort,
RenderingEngine (..),
newRenderingEngine,
renderingEngine_name,
renderingEngine_version,
RobotApplicationConfig (..),
newRobotApplicationConfig,
robotApplicationConfig_applicationVersion,
robotApplicationConfig_tools,
robotApplicationConfig_uploadConfigurations,
robotApplicationConfig_useDefaultTools,
robotApplicationConfig_useDefaultUploadConfigurations,
robotApplicationConfig_application,
robotApplicationConfig_launchConfig,
RobotApplicationSummary (..),
newRobotApplicationSummary,
robotApplicationSummary_arn,
robotApplicationSummary_lastUpdatedAt,
robotApplicationSummary_name,
robotApplicationSummary_robotSoftwareSuite,
robotApplicationSummary_version,
RobotSoftwareSuite (..),
newRobotSoftwareSuite,
robotSoftwareSuite_name,
robotSoftwareSuite_version,
S3KeyOutput (..),
newS3KeyOutput,
s3KeyOutput_etag,
s3KeyOutput_s3Key,
SimulationApplicationConfig (..),
newSimulationApplicationConfig,
simulationApplicationConfig_applicationVersion,
simulationApplicationConfig_tools,
simulationApplicationConfig_uploadConfigurations,
simulationApplicationConfig_useDefaultTools,
simulationApplicationConfig_useDefaultUploadConfigurations,
simulationApplicationConfig_worldConfigs,
simulationApplicationConfig_application,
simulationApplicationConfig_launchConfig,
SimulationApplicationSummary (..),
newSimulationApplicationSummary,
simulationApplicationSummary_arn,
simulationApplicationSummary_lastUpdatedAt,
simulationApplicationSummary_name,
simulationApplicationSummary_robotSoftwareSuite,
simulationApplicationSummary_simulationSoftwareSuite,
simulationApplicationSummary_version,
SimulationJob (..),
newSimulationJob,
simulationJob_arn,
simulationJob_clientRequestToken,
simulationJob_compute,
simulationJob_dataSources,
simulationJob_failureBehavior,
simulationJob_failureCode,
simulationJob_failureReason,
simulationJob_iamRole,
simulationJob_lastStartedAt,
simulationJob_lastUpdatedAt,
simulationJob_loggingConfig,
simulationJob_maxJobDurationInSeconds,
simulationJob_name,
simulationJob_networkInterface,
simulationJob_outputLocation,
simulationJob_robotApplications,
simulationJob_simulationApplications,
simulationJob_simulationTimeMillis,
simulationJob_status,
simulationJob_tags,
simulationJob_vpcConfig,
SimulationJobBatchSummary (..),
newSimulationJobBatchSummary,
simulationJobBatchSummary_arn,
simulationJobBatchSummary_createdAt,
simulationJobBatchSummary_createdRequestCount,
simulationJobBatchSummary_failedRequestCount,
simulationJobBatchSummary_lastUpdatedAt,
simulationJobBatchSummary_pendingRequestCount,
simulationJobBatchSummary_status,
SimulationJobRequest (..),
newSimulationJobRequest,
simulationJobRequest_compute,
simulationJobRequest_dataSources,
simulationJobRequest_failureBehavior,
simulationJobRequest_iamRole,
simulationJobRequest_loggingConfig,
simulationJobRequest_outputLocation,
simulationJobRequest_robotApplications,
simulationJobRequest_simulationApplications,
simulationJobRequest_tags,
simulationJobRequest_useDefaultApplications,
simulationJobRequest_vpcConfig,
simulationJobRequest_maxJobDurationInSeconds,
SimulationJobSummary (..),
newSimulationJobSummary,
simulationJobSummary_arn,
simulationJobSummary_computeType,
simulationJobSummary_dataSourceNames,
simulationJobSummary_lastUpdatedAt,
simulationJobSummary_name,
simulationJobSummary_robotApplicationNames,
simulationJobSummary_simulationApplicationNames,
simulationJobSummary_status,
SimulationSoftwareSuite (..),
newSimulationSoftwareSuite,
simulationSoftwareSuite_name,
simulationSoftwareSuite_version,
Source (..),
newSource,
source_architecture,
source_etag,
source_s3Bucket,
source_s3Key,
SourceConfig (..),
newSourceConfig,
sourceConfig_architecture,
sourceConfig_s3Bucket,
sourceConfig_s3Key,
TemplateLocation (..),
newTemplateLocation,
templateLocation_s3Bucket,
templateLocation_s3Key,
TemplateSummary (..),
newTemplateSummary,
templateSummary_arn,
templateSummary_createdAt,
templateSummary_lastUpdatedAt,
templateSummary_name,
templateSummary_version,
Tool (..),
newTool,
tool_exitBehavior,
tool_streamOutputToCloudWatch,
tool_streamUI,
tool_name,
tool_command,
UploadConfiguration (..),
newUploadConfiguration,
uploadConfiguration_name,
uploadConfiguration_path,
uploadConfiguration_uploadBehavior,
VPCConfig (..),
newVPCConfig,
vPCConfig_assignPublicIp,
vPCConfig_securityGroups,
vPCConfig_subnets,
VPCConfigResponse (..),
newVPCConfigResponse,
vPCConfigResponse_assignPublicIp,
vPCConfigResponse_securityGroups,
vPCConfigResponse_subnets,
vPCConfigResponse_vpcId,
WorldConfig (..),
newWorldConfig,
worldConfig_world,
WorldCount (..),
newWorldCount,
worldCount_floorplanCount,
worldCount_interiorCountPerFloorplan,
WorldExportJobSummary (..),
newWorldExportJobSummary,
worldExportJobSummary_arn,
worldExportJobSummary_createdAt,
worldExportJobSummary_outputLocation,
worldExportJobSummary_status,
worldExportJobSummary_worlds,
WorldFailure (..),
newWorldFailure,
worldFailure_failureCode,
worldFailure_failureCount,
worldFailure_sampleFailureReason,
WorldGenerationJobSummary (..),
newWorldGenerationJobSummary,
worldGenerationJobSummary_arn,
worldGenerationJobSummary_createdAt,
worldGenerationJobSummary_failedWorldCount,
worldGenerationJobSummary_status,
worldGenerationJobSummary_succeededWorldCount,
worldGenerationJobSummary_template,
worldGenerationJobSummary_worldCount,
WorldSummary (..),
newWorldSummary,
worldSummary_arn,
worldSummary_createdAt,
worldSummary_generationJob,
worldSummary_template,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.RobOMaker.Types.Architecture
import Amazonka.RobOMaker.Types.BatchPolicy
import Amazonka.RobOMaker.Types.Compute
import Amazonka.RobOMaker.Types.ComputeResponse
import Amazonka.RobOMaker.Types.ComputeType
import Amazonka.RobOMaker.Types.DataSource
import Amazonka.RobOMaker.Types.DataSourceConfig
import Amazonka.RobOMaker.Types.DataSourceType
import Amazonka.RobOMaker.Types.Environment
import Amazonka.RobOMaker.Types.ExitBehavior
import Amazonka.RobOMaker.Types.FailedCreateSimulationJobRequest
import Amazonka.RobOMaker.Types.FailureBehavior
import Amazonka.RobOMaker.Types.FailureSummary
import Amazonka.RobOMaker.Types.Filter
import Amazonka.RobOMaker.Types.FinishedWorldsSummary
import Amazonka.RobOMaker.Types.LaunchConfig
import Amazonka.RobOMaker.Types.LoggingConfig
import Amazonka.RobOMaker.Types.NetworkInterface
import Amazonka.RobOMaker.Types.OutputLocation
import Amazonka.RobOMaker.Types.PortForwardingConfig
import Amazonka.RobOMaker.Types.PortMapping
import Amazonka.RobOMaker.Types.RenderingEngine
import Amazonka.RobOMaker.Types.RenderingEngineType
import Amazonka.RobOMaker.Types.RobotApplicationConfig
import Amazonka.RobOMaker.Types.RobotApplicationSummary
import Amazonka.RobOMaker.Types.RobotSoftwareSuite
import Amazonka.RobOMaker.Types.RobotSoftwareSuiteType
import Amazonka.RobOMaker.Types.RobotSoftwareSuiteVersionType
import Amazonka.RobOMaker.Types.S3KeyOutput
import Amazonka.RobOMaker.Types.SimulationApplicationConfig
import Amazonka.RobOMaker.Types.SimulationApplicationSummary
import Amazonka.RobOMaker.Types.SimulationJob
import Amazonka.RobOMaker.Types.SimulationJobBatchErrorCode
import Amazonka.RobOMaker.Types.SimulationJobBatchStatus
import Amazonka.RobOMaker.Types.SimulationJobBatchSummary
import Amazonka.RobOMaker.Types.SimulationJobErrorCode
import Amazonka.RobOMaker.Types.SimulationJobRequest
import Amazonka.RobOMaker.Types.SimulationJobStatus
import Amazonka.RobOMaker.Types.SimulationJobSummary
import Amazonka.RobOMaker.Types.SimulationSoftwareSuite
import Amazonka.RobOMaker.Types.SimulationSoftwareSuiteType
import Amazonka.RobOMaker.Types.Source
import Amazonka.RobOMaker.Types.SourceConfig
import Amazonka.RobOMaker.Types.TemplateLocation
import Amazonka.RobOMaker.Types.TemplateSummary
import Amazonka.RobOMaker.Types.Tool
import Amazonka.RobOMaker.Types.UploadBehavior
import Amazonka.RobOMaker.Types.UploadConfiguration
import Amazonka.RobOMaker.Types.VPCConfig
import Amazonka.RobOMaker.Types.VPCConfigResponse
import Amazonka.RobOMaker.Types.WorldConfig
import Amazonka.RobOMaker.Types.WorldCount
import Amazonka.RobOMaker.Types.WorldExportJobErrorCode
import Amazonka.RobOMaker.Types.WorldExportJobStatus
import Amazonka.RobOMaker.Types.WorldExportJobSummary
import Amazonka.RobOMaker.Types.WorldFailure
import Amazonka.RobOMaker.Types.WorldGenerationJobErrorCode
import Amazonka.RobOMaker.Types.WorldGenerationJobStatus
import Amazonka.RobOMaker.Types.WorldGenerationJobSummary
import Amazonka.RobOMaker.Types.WorldSummary
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"RobOMaker",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"robomaker",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"robomaker",
$sel:version:Service :: ByteString
Core.version = ByteString
"2018-06-29",
$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
"RobOMaker",
$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
_ConcurrentDeploymentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConcurrentDeploymentException :: forall a. AsError a => Fold a ServiceError
_ConcurrentDeploymentException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConcurrentDeploymentException"
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
_IdempotentParameterMismatchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IdempotentParameterMismatchException :: forall a. AsError a => Fold a ServiceError
_IdempotentParameterMismatchException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IdempotentParameterMismatchException"
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
_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerException :: forall a. AsError a => Fold a ServiceError
_InternalServerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500
_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterException"
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
_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"
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
_ResourceAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceAlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_ResourceAlreadyExistsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAlreadyExistsException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ServiceUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceUnavailableException :: forall a. AsError a => Fold a ServiceError
_ServiceUnavailableException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
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
503
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
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