{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.RobOMaker.UpdateSimulationApplication
(
UpdateSimulationApplication (..),
newUpdateSimulationApplication,
updateSimulationApplication_renderingEngine,
updateSimulationApplication_currentRevisionId,
updateSimulationApplication_environment,
updateSimulationApplication_sources,
updateSimulationApplication_application,
updateSimulationApplication_simulationSoftwareSuite,
updateSimulationApplication_robotSoftwareSuite,
UpdateSimulationApplicationResponse (..),
newUpdateSimulationApplicationResponse,
updateSimulationApplicationResponse_renderingEngine,
updateSimulationApplicationResponse_lastUpdatedAt,
updateSimulationApplicationResponse_arn,
updateSimulationApplicationResponse_environment,
updateSimulationApplicationResponse_sources,
updateSimulationApplicationResponse_name,
updateSimulationApplicationResponse_version,
updateSimulationApplicationResponse_simulationSoftwareSuite,
updateSimulationApplicationResponse_robotSoftwareSuite,
updateSimulationApplicationResponse_revisionId,
updateSimulationApplicationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.RobOMaker.Types
data UpdateSimulationApplication = UpdateSimulationApplication'
{
UpdateSimulationApplication -> Maybe RenderingEngine
renderingEngine :: Prelude.Maybe RenderingEngine,
UpdateSimulationApplication -> Maybe Text
currentRevisionId :: Prelude.Maybe Prelude.Text,
UpdateSimulationApplication -> Maybe Environment
environment :: Prelude.Maybe Environment,
UpdateSimulationApplication -> Maybe [SourceConfig]
sources :: Prelude.Maybe [SourceConfig],
UpdateSimulationApplication -> Text
application :: Prelude.Text,
UpdateSimulationApplication -> SimulationSoftwareSuite
simulationSoftwareSuite :: SimulationSoftwareSuite,
UpdateSimulationApplication -> RobotSoftwareSuite
robotSoftwareSuite :: RobotSoftwareSuite
}
deriving (UpdateSimulationApplication -> UpdateSimulationApplication -> Bool
(UpdateSimulationApplication
-> UpdateSimulationApplication -> Bool)
-> (UpdateSimulationApplication
-> UpdateSimulationApplication -> Bool)
-> Eq UpdateSimulationApplication
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateSimulationApplication -> UpdateSimulationApplication -> Bool
$c/= :: UpdateSimulationApplication -> UpdateSimulationApplication -> Bool
== :: UpdateSimulationApplication -> UpdateSimulationApplication -> Bool
$c== :: UpdateSimulationApplication -> UpdateSimulationApplication -> Bool
Prelude.Eq, ReadPrec [UpdateSimulationApplication]
ReadPrec UpdateSimulationApplication
Int -> ReadS UpdateSimulationApplication
ReadS [UpdateSimulationApplication]
(Int -> ReadS UpdateSimulationApplication)
-> ReadS [UpdateSimulationApplication]
-> ReadPrec UpdateSimulationApplication
-> ReadPrec [UpdateSimulationApplication]
-> Read UpdateSimulationApplication
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateSimulationApplication]
$creadListPrec :: ReadPrec [UpdateSimulationApplication]
readPrec :: ReadPrec UpdateSimulationApplication
$creadPrec :: ReadPrec UpdateSimulationApplication
readList :: ReadS [UpdateSimulationApplication]
$creadList :: ReadS [UpdateSimulationApplication]
readsPrec :: Int -> ReadS UpdateSimulationApplication
$creadsPrec :: Int -> ReadS UpdateSimulationApplication
Prelude.Read, Int -> UpdateSimulationApplication -> ShowS
[UpdateSimulationApplication] -> ShowS
UpdateSimulationApplication -> String
(Int -> UpdateSimulationApplication -> ShowS)
-> (UpdateSimulationApplication -> String)
-> ([UpdateSimulationApplication] -> ShowS)
-> Show UpdateSimulationApplication
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateSimulationApplication] -> ShowS
$cshowList :: [UpdateSimulationApplication] -> ShowS
show :: UpdateSimulationApplication -> String
$cshow :: UpdateSimulationApplication -> String
showsPrec :: Int -> UpdateSimulationApplication -> ShowS
$cshowsPrec :: Int -> UpdateSimulationApplication -> ShowS
Prelude.Show, (forall x.
UpdateSimulationApplication -> Rep UpdateSimulationApplication x)
-> (forall x.
Rep UpdateSimulationApplication x -> UpdateSimulationApplication)
-> Generic UpdateSimulationApplication
forall x.
Rep UpdateSimulationApplication x -> UpdateSimulationApplication
forall x.
UpdateSimulationApplication -> Rep UpdateSimulationApplication x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateSimulationApplication x -> UpdateSimulationApplication
$cfrom :: forall x.
UpdateSimulationApplication -> Rep UpdateSimulationApplication x
Prelude.Generic)
newUpdateSimulationApplication ::
Prelude.Text ->
SimulationSoftwareSuite ->
RobotSoftwareSuite ->
UpdateSimulationApplication
newUpdateSimulationApplication :: Text
-> SimulationSoftwareSuite
-> RobotSoftwareSuite
-> UpdateSimulationApplication
newUpdateSimulationApplication
Text
pApplication_
SimulationSoftwareSuite
pSimulationSoftwareSuite_
RobotSoftwareSuite
pRobotSoftwareSuite_ =
UpdateSimulationApplication' :: Maybe RenderingEngine
-> Maybe Text
-> Maybe Environment
-> Maybe [SourceConfig]
-> Text
-> SimulationSoftwareSuite
-> RobotSoftwareSuite
-> UpdateSimulationApplication
UpdateSimulationApplication'
{ $sel:renderingEngine:UpdateSimulationApplication' :: Maybe RenderingEngine
renderingEngine =
Maybe RenderingEngine
forall a. Maybe a
Prelude.Nothing,
$sel:currentRevisionId:UpdateSimulationApplication' :: Maybe Text
currentRevisionId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environment:UpdateSimulationApplication' :: Maybe Environment
environment = Maybe Environment
forall a. Maybe a
Prelude.Nothing,
$sel:sources:UpdateSimulationApplication' :: Maybe [SourceConfig]
sources = Maybe [SourceConfig]
forall a. Maybe a
Prelude.Nothing,
$sel:application:UpdateSimulationApplication' :: Text
application = Text
pApplication_,
$sel:simulationSoftwareSuite:UpdateSimulationApplication' :: SimulationSoftwareSuite
simulationSoftwareSuite =
SimulationSoftwareSuite
pSimulationSoftwareSuite_,
$sel:robotSoftwareSuite:UpdateSimulationApplication' :: RobotSoftwareSuite
robotSoftwareSuite = RobotSoftwareSuite
pRobotSoftwareSuite_
}
updateSimulationApplication_renderingEngine :: Lens.Lens' UpdateSimulationApplication (Prelude.Maybe RenderingEngine)
updateSimulationApplication_renderingEngine :: (Maybe RenderingEngine -> f (Maybe RenderingEngine))
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_renderingEngine = (UpdateSimulationApplication -> Maybe RenderingEngine)
-> (UpdateSimulationApplication
-> Maybe RenderingEngine -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
(Maybe RenderingEngine)
(Maybe RenderingEngine)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {Maybe RenderingEngine
renderingEngine :: Maybe RenderingEngine
$sel:renderingEngine:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe RenderingEngine
renderingEngine} -> Maybe RenderingEngine
renderingEngine) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} Maybe RenderingEngine
a -> UpdateSimulationApplication
s {$sel:renderingEngine:UpdateSimulationApplication' :: Maybe RenderingEngine
renderingEngine = Maybe RenderingEngine
a} :: UpdateSimulationApplication)
updateSimulationApplication_currentRevisionId :: Lens.Lens' UpdateSimulationApplication (Prelude.Maybe Prelude.Text)
updateSimulationApplication_currentRevisionId :: (Maybe Text -> f (Maybe Text))
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_currentRevisionId = (UpdateSimulationApplication -> Maybe Text)
-> (UpdateSimulationApplication
-> Maybe Text -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {Maybe Text
currentRevisionId :: Maybe Text
$sel:currentRevisionId:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe Text
currentRevisionId} -> Maybe Text
currentRevisionId) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} Maybe Text
a -> UpdateSimulationApplication
s {$sel:currentRevisionId:UpdateSimulationApplication' :: Maybe Text
currentRevisionId = Maybe Text
a} :: UpdateSimulationApplication)
updateSimulationApplication_environment :: Lens.Lens' UpdateSimulationApplication (Prelude.Maybe Environment)
updateSimulationApplication_environment :: (Maybe Environment -> f (Maybe Environment))
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_environment = (UpdateSimulationApplication -> Maybe Environment)
-> (UpdateSimulationApplication
-> Maybe Environment -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
(Maybe Environment)
(Maybe Environment)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {Maybe Environment
environment :: Maybe Environment
$sel:environment:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe Environment
environment} -> Maybe Environment
environment) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} Maybe Environment
a -> UpdateSimulationApplication
s {$sel:environment:UpdateSimulationApplication' :: Maybe Environment
environment = Maybe Environment
a} :: UpdateSimulationApplication)
updateSimulationApplication_sources :: Lens.Lens' UpdateSimulationApplication (Prelude.Maybe [SourceConfig])
updateSimulationApplication_sources :: (Maybe [SourceConfig] -> f (Maybe [SourceConfig]))
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_sources = (UpdateSimulationApplication -> Maybe [SourceConfig])
-> (UpdateSimulationApplication
-> Maybe [SourceConfig] -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
(Maybe [SourceConfig])
(Maybe [SourceConfig])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {Maybe [SourceConfig]
sources :: Maybe [SourceConfig]
$sel:sources:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe [SourceConfig]
sources} -> Maybe [SourceConfig]
sources) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} Maybe [SourceConfig]
a -> UpdateSimulationApplication
s {$sel:sources:UpdateSimulationApplication' :: Maybe [SourceConfig]
sources = Maybe [SourceConfig]
a} :: UpdateSimulationApplication) ((Maybe [SourceConfig] -> f (Maybe [SourceConfig]))
-> UpdateSimulationApplication -> f UpdateSimulationApplication)
-> ((Maybe [SourceConfig] -> f (Maybe [SourceConfig]))
-> Maybe [SourceConfig] -> f (Maybe [SourceConfig]))
-> (Maybe [SourceConfig] -> f (Maybe [SourceConfig]))
-> UpdateSimulationApplication
-> f UpdateSimulationApplication
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [SourceConfig] [SourceConfig] [SourceConfig] [SourceConfig]
-> Iso
(Maybe [SourceConfig])
(Maybe [SourceConfig])
(Maybe [SourceConfig])
(Maybe [SourceConfig])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [SourceConfig] [SourceConfig] [SourceConfig] [SourceConfig]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateSimulationApplication_application :: Lens.Lens' UpdateSimulationApplication Prelude.Text
updateSimulationApplication_application :: (Text -> f Text)
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_application = (UpdateSimulationApplication -> Text)
-> (UpdateSimulationApplication
-> Text -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication UpdateSimulationApplication Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {Text
application :: Text
$sel:application:UpdateSimulationApplication' :: UpdateSimulationApplication -> Text
application} -> Text
application) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} Text
a -> UpdateSimulationApplication
s {$sel:application:UpdateSimulationApplication' :: Text
application = Text
a} :: UpdateSimulationApplication)
updateSimulationApplication_simulationSoftwareSuite :: Lens.Lens' UpdateSimulationApplication SimulationSoftwareSuite
updateSimulationApplication_simulationSoftwareSuite :: (SimulationSoftwareSuite -> f SimulationSoftwareSuite)
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_simulationSoftwareSuite = (UpdateSimulationApplication -> SimulationSoftwareSuite)
-> (UpdateSimulationApplication
-> SimulationSoftwareSuite -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
SimulationSoftwareSuite
SimulationSoftwareSuite
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {SimulationSoftwareSuite
simulationSoftwareSuite :: SimulationSoftwareSuite
$sel:simulationSoftwareSuite:UpdateSimulationApplication' :: UpdateSimulationApplication -> SimulationSoftwareSuite
simulationSoftwareSuite} -> SimulationSoftwareSuite
simulationSoftwareSuite) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} SimulationSoftwareSuite
a -> UpdateSimulationApplication
s {$sel:simulationSoftwareSuite:UpdateSimulationApplication' :: SimulationSoftwareSuite
simulationSoftwareSuite = SimulationSoftwareSuite
a} :: UpdateSimulationApplication)
updateSimulationApplication_robotSoftwareSuite :: Lens.Lens' UpdateSimulationApplication RobotSoftwareSuite
updateSimulationApplication_robotSoftwareSuite :: (RobotSoftwareSuite -> f RobotSoftwareSuite)
-> UpdateSimulationApplication -> f UpdateSimulationApplication
updateSimulationApplication_robotSoftwareSuite = (UpdateSimulationApplication -> RobotSoftwareSuite)
-> (UpdateSimulationApplication
-> RobotSoftwareSuite -> UpdateSimulationApplication)
-> Lens
UpdateSimulationApplication
UpdateSimulationApplication
RobotSoftwareSuite
RobotSoftwareSuite
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplication' {RobotSoftwareSuite
robotSoftwareSuite :: RobotSoftwareSuite
$sel:robotSoftwareSuite:UpdateSimulationApplication' :: UpdateSimulationApplication -> RobotSoftwareSuite
robotSoftwareSuite} -> RobotSoftwareSuite
robotSoftwareSuite) (\s :: UpdateSimulationApplication
s@UpdateSimulationApplication' {} RobotSoftwareSuite
a -> UpdateSimulationApplication
s {$sel:robotSoftwareSuite:UpdateSimulationApplication' :: RobotSoftwareSuite
robotSoftwareSuite = RobotSoftwareSuite
a} :: UpdateSimulationApplication)
instance Core.AWSRequest UpdateSimulationApplication where
type
AWSResponse UpdateSimulationApplication =
UpdateSimulationApplicationResponse
request :: UpdateSimulationApplication -> Request UpdateSimulationApplication
request = Service
-> UpdateSimulationApplication
-> Request UpdateSimulationApplication
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateSimulationApplication
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateSimulationApplication)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateSimulationApplication))
-> Logger
-> Service
-> Proxy UpdateSimulationApplication
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateSimulationApplication)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe RenderingEngine
-> Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse'
(Maybe RenderingEngine
-> Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe RenderingEngine)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe RenderingEngine)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"renderingEngine")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"lastUpdatedAt")
Either
String
(Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"arn")
Either
String
(Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe Environment)
-> Either
String
(Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Environment)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"environment")
Either
String
(Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe [Source])
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Source]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"sources" Either String (Maybe (Maybe [Source]))
-> Maybe [Source] -> Either String (Maybe [Source])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Source]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"name")
Either
String
(Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"version")
Either
String
(Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse)
-> Either String (Maybe SimulationSoftwareSuite)
-> Either
String
(Maybe RobotSoftwareSuite
-> Maybe Text -> Int -> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SimulationSoftwareSuite)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"simulationSoftwareSuite")
Either
String
(Maybe RobotSoftwareSuite
-> Maybe Text -> Int -> UpdateSimulationApplicationResponse)
-> Either String (Maybe RobotSoftwareSuite)
-> Either
String (Maybe Text -> Int -> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe RobotSoftwareSuite)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"robotSoftwareSuite")
Either
String (Maybe Text -> Int -> UpdateSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpdateSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"revisionId")
Either String (Int -> UpdateSimulationApplicationResponse)
-> Either String Int
-> Either String UpdateSimulationApplicationResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable UpdateSimulationApplication
instance Prelude.NFData UpdateSimulationApplication
instance Core.ToHeaders UpdateSimulationApplication where
toHeaders :: UpdateSimulationApplication -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateSimulationApplication -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON UpdateSimulationApplication where
toJSON :: UpdateSimulationApplication -> Value
toJSON UpdateSimulationApplication' {Maybe [SourceConfig]
Maybe Text
Maybe Environment
Maybe RenderingEngine
Text
RobotSoftwareSuite
SimulationSoftwareSuite
robotSoftwareSuite :: RobotSoftwareSuite
simulationSoftwareSuite :: SimulationSoftwareSuite
application :: Text
sources :: Maybe [SourceConfig]
environment :: Maybe Environment
currentRevisionId :: Maybe Text
renderingEngine :: Maybe RenderingEngine
$sel:robotSoftwareSuite:UpdateSimulationApplication' :: UpdateSimulationApplication -> RobotSoftwareSuite
$sel:simulationSoftwareSuite:UpdateSimulationApplication' :: UpdateSimulationApplication -> SimulationSoftwareSuite
$sel:application:UpdateSimulationApplication' :: UpdateSimulationApplication -> Text
$sel:sources:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe [SourceConfig]
$sel:environment:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe Environment
$sel:currentRevisionId:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe Text
$sel:renderingEngine:UpdateSimulationApplication' :: UpdateSimulationApplication -> Maybe RenderingEngine
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"renderingEngine" Text -> RenderingEngine -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(RenderingEngine -> Pair) -> Maybe RenderingEngine -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RenderingEngine
renderingEngine,
(Text
"currentRevisionId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
currentRevisionId,
(Text
"environment" Text -> Environment -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Environment -> Pair) -> Maybe Environment -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Environment
environment,
(Text
"sources" Text -> [SourceConfig] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([SourceConfig] -> Pair) -> Maybe [SourceConfig] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SourceConfig]
sources,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"application" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
application),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"simulationSoftwareSuite"
Text -> SimulationSoftwareSuite -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= SimulationSoftwareSuite
simulationSoftwareSuite
),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"robotSoftwareSuite" Text -> RobotSoftwareSuite -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= RobotSoftwareSuite
robotSoftwareSuite)
]
)
instance Core.ToPath UpdateSimulationApplication where
toPath :: UpdateSimulationApplication -> ByteString
toPath = ByteString -> UpdateSimulationApplication -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/updateSimulationApplication"
instance Core.ToQuery UpdateSimulationApplication where
toQuery :: UpdateSimulationApplication -> QueryString
toQuery = QueryString -> UpdateSimulationApplication -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateSimulationApplicationResponse = UpdateSimulationApplicationResponse'
{
UpdateSimulationApplicationResponse -> Maybe RenderingEngine
renderingEngine :: Prelude.Maybe RenderingEngine,
UpdateSimulationApplicationResponse -> Maybe POSIX
lastUpdatedAt :: Prelude.Maybe Core.POSIX,
UpdateSimulationApplicationResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
UpdateSimulationApplicationResponse -> Maybe Environment
environment :: Prelude.Maybe Environment,
UpdateSimulationApplicationResponse -> Maybe [Source]
sources :: Prelude.Maybe [Source],
UpdateSimulationApplicationResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateSimulationApplicationResponse -> Maybe Text
version :: Prelude.Maybe Prelude.Text,
UpdateSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite
simulationSoftwareSuite :: Prelude.Maybe SimulationSoftwareSuite,
UpdateSimulationApplicationResponse -> Maybe RobotSoftwareSuite
robotSoftwareSuite :: Prelude.Maybe RobotSoftwareSuite,
UpdateSimulationApplicationResponse -> Maybe Text
revisionId :: Prelude.Maybe Prelude.Text,
UpdateSimulationApplicationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool
(UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool)
-> (UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool)
-> Eq UpdateSimulationApplicationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool
$c/= :: UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool
== :: UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool
$c== :: UpdateSimulationApplicationResponse
-> UpdateSimulationApplicationResponse -> Bool
Prelude.Eq, ReadPrec [UpdateSimulationApplicationResponse]
ReadPrec UpdateSimulationApplicationResponse
Int -> ReadS UpdateSimulationApplicationResponse
ReadS [UpdateSimulationApplicationResponse]
(Int -> ReadS UpdateSimulationApplicationResponse)
-> ReadS [UpdateSimulationApplicationResponse]
-> ReadPrec UpdateSimulationApplicationResponse
-> ReadPrec [UpdateSimulationApplicationResponse]
-> Read UpdateSimulationApplicationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateSimulationApplicationResponse]
$creadListPrec :: ReadPrec [UpdateSimulationApplicationResponse]
readPrec :: ReadPrec UpdateSimulationApplicationResponse
$creadPrec :: ReadPrec UpdateSimulationApplicationResponse
readList :: ReadS [UpdateSimulationApplicationResponse]
$creadList :: ReadS [UpdateSimulationApplicationResponse]
readsPrec :: Int -> ReadS UpdateSimulationApplicationResponse
$creadsPrec :: Int -> ReadS UpdateSimulationApplicationResponse
Prelude.Read, Int -> UpdateSimulationApplicationResponse -> ShowS
[UpdateSimulationApplicationResponse] -> ShowS
UpdateSimulationApplicationResponse -> String
(Int -> UpdateSimulationApplicationResponse -> ShowS)
-> (UpdateSimulationApplicationResponse -> String)
-> ([UpdateSimulationApplicationResponse] -> ShowS)
-> Show UpdateSimulationApplicationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateSimulationApplicationResponse] -> ShowS
$cshowList :: [UpdateSimulationApplicationResponse] -> ShowS
show :: UpdateSimulationApplicationResponse -> String
$cshow :: UpdateSimulationApplicationResponse -> String
showsPrec :: Int -> UpdateSimulationApplicationResponse -> ShowS
$cshowsPrec :: Int -> UpdateSimulationApplicationResponse -> ShowS
Prelude.Show, (forall x.
UpdateSimulationApplicationResponse
-> Rep UpdateSimulationApplicationResponse x)
-> (forall x.
Rep UpdateSimulationApplicationResponse x
-> UpdateSimulationApplicationResponse)
-> Generic UpdateSimulationApplicationResponse
forall x.
Rep UpdateSimulationApplicationResponse x
-> UpdateSimulationApplicationResponse
forall x.
UpdateSimulationApplicationResponse
-> Rep UpdateSimulationApplicationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateSimulationApplicationResponse x
-> UpdateSimulationApplicationResponse
$cfrom :: forall x.
UpdateSimulationApplicationResponse
-> Rep UpdateSimulationApplicationResponse x
Prelude.Generic)
newUpdateSimulationApplicationResponse ::
Prelude.Int ->
UpdateSimulationApplicationResponse
newUpdateSimulationApplicationResponse :: Int -> UpdateSimulationApplicationResponse
newUpdateSimulationApplicationResponse Int
pHttpStatus_ =
UpdateSimulationApplicationResponse' :: Maybe RenderingEngine
-> Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Int
-> UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse'
{ $sel:renderingEngine:UpdateSimulationApplicationResponse' :: Maybe RenderingEngine
renderingEngine =
Maybe RenderingEngine
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedAt:UpdateSimulationApplicationResponse' :: Maybe POSIX
lastUpdatedAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:arn:UpdateSimulationApplicationResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environment:UpdateSimulationApplicationResponse' :: Maybe Environment
environment = Maybe Environment
forall a. Maybe a
Prelude.Nothing,
$sel:sources:UpdateSimulationApplicationResponse' :: Maybe [Source]
sources = Maybe [Source]
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateSimulationApplicationResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:version:UpdateSimulationApplicationResponse' :: Maybe Text
version = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:simulationSoftwareSuite:UpdateSimulationApplicationResponse' :: Maybe SimulationSoftwareSuite
simulationSoftwareSuite =
Maybe SimulationSoftwareSuite
forall a. Maybe a
Prelude.Nothing,
$sel:robotSoftwareSuite:UpdateSimulationApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
forall a. Maybe a
Prelude.Nothing,
$sel:revisionId:UpdateSimulationApplicationResponse' :: Maybe Text
revisionId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateSimulationApplicationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateSimulationApplicationResponse_renderingEngine :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe RenderingEngine)
updateSimulationApplicationResponse_renderingEngine :: (Maybe RenderingEngine -> f (Maybe RenderingEngine))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_renderingEngine = (UpdateSimulationApplicationResponse -> Maybe RenderingEngine)
-> (UpdateSimulationApplicationResponse
-> Maybe RenderingEngine -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe RenderingEngine)
(Maybe RenderingEngine)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe RenderingEngine
renderingEngine :: Maybe RenderingEngine
$sel:renderingEngine:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe RenderingEngine
renderingEngine} -> Maybe RenderingEngine
renderingEngine) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe RenderingEngine
a -> UpdateSimulationApplicationResponse
s {$sel:renderingEngine:UpdateSimulationApplicationResponse' :: Maybe RenderingEngine
renderingEngine = Maybe RenderingEngine
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_lastUpdatedAt :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Prelude.UTCTime)
updateSimulationApplicationResponse_lastUpdatedAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_lastUpdatedAt = (UpdateSimulationApplicationResponse -> Maybe POSIX)
-> (UpdateSimulationApplicationResponse
-> Maybe POSIX -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe POSIX
lastUpdatedAt :: Maybe POSIX
$sel:lastUpdatedAt:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe POSIX
lastUpdatedAt} -> Maybe POSIX
lastUpdatedAt) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe POSIX
a -> UpdateSimulationApplicationResponse
s {$sel:lastUpdatedAt:UpdateSimulationApplicationResponse' :: Maybe POSIX
lastUpdatedAt = Maybe POSIX
a} :: UpdateSimulationApplicationResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
updateSimulationApplicationResponse_arn :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
updateSimulationApplicationResponse_arn :: (Maybe Text -> f (Maybe Text))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_arn = (UpdateSimulationApplicationResponse -> Maybe Text)
-> (UpdateSimulationApplicationResponse
-> Maybe Text -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe Text
a -> UpdateSimulationApplicationResponse
s {$sel:arn:UpdateSimulationApplicationResponse' :: Maybe Text
arn = Maybe Text
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_environment :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Environment)
updateSimulationApplicationResponse_environment :: (Maybe Environment -> f (Maybe Environment))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_environment = (UpdateSimulationApplicationResponse -> Maybe Environment)
-> (UpdateSimulationApplicationResponse
-> Maybe Environment -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe Environment)
(Maybe Environment)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe Environment
environment :: Maybe Environment
$sel:environment:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe Environment
environment} -> Maybe Environment
environment) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe Environment
a -> UpdateSimulationApplicationResponse
s {$sel:environment:UpdateSimulationApplicationResponse' :: Maybe Environment
environment = Maybe Environment
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_sources :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe [Source])
updateSimulationApplicationResponse_sources :: (Maybe [Source] -> f (Maybe [Source]))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_sources = (UpdateSimulationApplicationResponse -> Maybe [Source])
-> (UpdateSimulationApplicationResponse
-> Maybe [Source] -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe [Source])
(Maybe [Source])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe [Source]
sources :: Maybe [Source]
$sel:sources:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe [Source]
sources} -> Maybe [Source]
sources) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe [Source]
a -> UpdateSimulationApplicationResponse
s {$sel:sources:UpdateSimulationApplicationResponse' :: Maybe [Source]
sources = Maybe [Source]
a} :: UpdateSimulationApplicationResponse) ((Maybe [Source] -> f (Maybe [Source]))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse)
-> ((Maybe [Source] -> f (Maybe [Source]))
-> Maybe [Source] -> f (Maybe [Source]))
-> (Maybe [Source] -> f (Maybe [Source]))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Source] [Source] [Source] [Source]
-> Iso
(Maybe [Source]) (Maybe [Source]) (Maybe [Source]) (Maybe [Source])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Source] [Source] [Source] [Source]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateSimulationApplicationResponse_name :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
updateSimulationApplicationResponse_name :: (Maybe Text -> f (Maybe Text))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_name = (UpdateSimulationApplicationResponse -> Maybe Text)
-> (UpdateSimulationApplicationResponse
-> Maybe Text -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe Text
name :: Maybe Text
$sel:name:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe Text
a -> UpdateSimulationApplicationResponse
s {$sel:name:UpdateSimulationApplicationResponse' :: Maybe Text
name = Maybe Text
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_version :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
updateSimulationApplicationResponse_version :: (Maybe Text -> f (Maybe Text))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_version = (UpdateSimulationApplicationResponse -> Maybe Text)
-> (UpdateSimulationApplicationResponse
-> Maybe Text -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe Text
version :: Maybe Text
$sel:version:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe Text
version} -> Maybe Text
version) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe Text
a -> UpdateSimulationApplicationResponse
s {$sel:version:UpdateSimulationApplicationResponse' :: Maybe Text
version = Maybe Text
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_simulationSoftwareSuite :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe SimulationSoftwareSuite)
updateSimulationApplicationResponse_simulationSoftwareSuite :: (Maybe SimulationSoftwareSuite
-> f (Maybe SimulationSoftwareSuite))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_simulationSoftwareSuite = (UpdateSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite)
-> (UpdateSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite
-> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe SimulationSoftwareSuite)
(Maybe SimulationSoftwareSuite)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe SimulationSoftwareSuite
simulationSoftwareSuite :: Maybe SimulationSoftwareSuite
$sel:simulationSoftwareSuite:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite
simulationSoftwareSuite} -> Maybe SimulationSoftwareSuite
simulationSoftwareSuite) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe SimulationSoftwareSuite
a -> UpdateSimulationApplicationResponse
s {$sel:simulationSoftwareSuite:UpdateSimulationApplicationResponse' :: Maybe SimulationSoftwareSuite
simulationSoftwareSuite = Maybe SimulationSoftwareSuite
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_robotSoftwareSuite :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe RobotSoftwareSuite)
updateSimulationApplicationResponse_robotSoftwareSuite :: (Maybe RobotSoftwareSuite -> f (Maybe RobotSoftwareSuite))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_robotSoftwareSuite = (UpdateSimulationApplicationResponse -> Maybe RobotSoftwareSuite)
-> (UpdateSimulationApplicationResponse
-> Maybe RobotSoftwareSuite -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe RobotSoftwareSuite)
(Maybe RobotSoftwareSuite)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe RobotSoftwareSuite
robotSoftwareSuite :: Maybe RobotSoftwareSuite
$sel:robotSoftwareSuite:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe RobotSoftwareSuite
robotSoftwareSuite} -> Maybe RobotSoftwareSuite
robotSoftwareSuite) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe RobotSoftwareSuite
a -> UpdateSimulationApplicationResponse
s {$sel:robotSoftwareSuite:UpdateSimulationApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_revisionId :: Lens.Lens' UpdateSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
updateSimulationApplicationResponse_revisionId :: (Maybe Text -> f (Maybe Text))
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_revisionId = (UpdateSimulationApplicationResponse -> Maybe Text)
-> (UpdateSimulationApplicationResponse
-> Maybe Text -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Maybe Text
revisionId :: Maybe Text
$sel:revisionId:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Maybe Text
revisionId} -> Maybe Text
revisionId) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Maybe Text
a -> UpdateSimulationApplicationResponse
s {$sel:revisionId:UpdateSimulationApplicationResponse' :: Maybe Text
revisionId = Maybe Text
a} :: UpdateSimulationApplicationResponse)
updateSimulationApplicationResponse_httpStatus :: Lens.Lens' UpdateSimulationApplicationResponse Prelude.Int
updateSimulationApplicationResponse_httpStatus :: (Int -> f Int)
-> UpdateSimulationApplicationResponse
-> f UpdateSimulationApplicationResponse
updateSimulationApplicationResponse_httpStatus = (UpdateSimulationApplicationResponse -> Int)
-> (UpdateSimulationApplicationResponse
-> Int -> UpdateSimulationApplicationResponse)
-> Lens
UpdateSimulationApplicationResponse
UpdateSimulationApplicationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSimulationApplicationResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateSimulationApplicationResponse' :: UpdateSimulationApplicationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateSimulationApplicationResponse
s@UpdateSimulationApplicationResponse' {} Int
a -> UpdateSimulationApplicationResponse
s {$sel:httpStatus:UpdateSimulationApplicationResponse' :: Int
httpStatus = Int
a} :: UpdateSimulationApplicationResponse)
instance
Prelude.NFData
UpdateSimulationApplicationResponse