{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.RobOMaker.DescribeSimulationApplication
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Describes a simulation application.
module Amazonka.RobOMaker.DescribeSimulationApplication
  ( -- * Creating a Request
    DescribeSimulationApplication (..),
    newDescribeSimulationApplication,

    -- * Request Lenses
    describeSimulationApplication_applicationVersion,
    describeSimulationApplication_application,

    -- * Destructuring the Response
    DescribeSimulationApplicationResponse (..),
    newDescribeSimulationApplicationResponse,

    -- * Response Lenses
    describeSimulationApplicationResponse_renderingEngine,
    describeSimulationApplicationResponse_lastUpdatedAt,
    describeSimulationApplicationResponse_arn,
    describeSimulationApplicationResponse_environment,
    describeSimulationApplicationResponse_sources,
    describeSimulationApplicationResponse_name,
    describeSimulationApplicationResponse_imageDigest,
    describeSimulationApplicationResponse_version,
    describeSimulationApplicationResponse_simulationSoftwareSuite,
    describeSimulationApplicationResponse_robotSoftwareSuite,
    describeSimulationApplicationResponse_revisionId,
    describeSimulationApplicationResponse_tags,
    describeSimulationApplicationResponse_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

-- | /See:/ 'newDescribeSimulationApplication' smart constructor.
data DescribeSimulationApplication = DescribeSimulationApplication'
  { -- | The version of the simulation application to describe.
    DescribeSimulationApplication -> Maybe Text
applicationVersion :: Prelude.Maybe Prelude.Text,
    -- | The application information for the simulation application.
    DescribeSimulationApplication -> Text
application :: Prelude.Text
  }
  deriving (DescribeSimulationApplication
-> DescribeSimulationApplication -> Bool
(DescribeSimulationApplication
 -> DescribeSimulationApplication -> Bool)
-> (DescribeSimulationApplication
    -> DescribeSimulationApplication -> Bool)
-> Eq DescribeSimulationApplication
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSimulationApplication
-> DescribeSimulationApplication -> Bool
$c/= :: DescribeSimulationApplication
-> DescribeSimulationApplication -> Bool
== :: DescribeSimulationApplication
-> DescribeSimulationApplication -> Bool
$c== :: DescribeSimulationApplication
-> DescribeSimulationApplication -> Bool
Prelude.Eq, ReadPrec [DescribeSimulationApplication]
ReadPrec DescribeSimulationApplication
Int -> ReadS DescribeSimulationApplication
ReadS [DescribeSimulationApplication]
(Int -> ReadS DescribeSimulationApplication)
-> ReadS [DescribeSimulationApplication]
-> ReadPrec DescribeSimulationApplication
-> ReadPrec [DescribeSimulationApplication]
-> Read DescribeSimulationApplication
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSimulationApplication]
$creadListPrec :: ReadPrec [DescribeSimulationApplication]
readPrec :: ReadPrec DescribeSimulationApplication
$creadPrec :: ReadPrec DescribeSimulationApplication
readList :: ReadS [DescribeSimulationApplication]
$creadList :: ReadS [DescribeSimulationApplication]
readsPrec :: Int -> ReadS DescribeSimulationApplication
$creadsPrec :: Int -> ReadS DescribeSimulationApplication
Prelude.Read, Int -> DescribeSimulationApplication -> ShowS
[DescribeSimulationApplication] -> ShowS
DescribeSimulationApplication -> String
(Int -> DescribeSimulationApplication -> ShowS)
-> (DescribeSimulationApplication -> String)
-> ([DescribeSimulationApplication] -> ShowS)
-> Show DescribeSimulationApplication
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSimulationApplication] -> ShowS
$cshowList :: [DescribeSimulationApplication] -> ShowS
show :: DescribeSimulationApplication -> String
$cshow :: DescribeSimulationApplication -> String
showsPrec :: Int -> DescribeSimulationApplication -> ShowS
$cshowsPrec :: Int -> DescribeSimulationApplication -> ShowS
Prelude.Show, (forall x.
 DescribeSimulationApplication
 -> Rep DescribeSimulationApplication x)
-> (forall x.
    Rep DescribeSimulationApplication x
    -> DescribeSimulationApplication)
-> Generic DescribeSimulationApplication
forall x.
Rep DescribeSimulationApplication x
-> DescribeSimulationApplication
forall x.
DescribeSimulationApplication
-> Rep DescribeSimulationApplication x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSimulationApplication x
-> DescribeSimulationApplication
$cfrom :: forall x.
DescribeSimulationApplication
-> Rep DescribeSimulationApplication x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSimulationApplication' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'applicationVersion', 'describeSimulationApplication_applicationVersion' - The version of the simulation application to describe.
--
-- 'application', 'describeSimulationApplication_application' - The application information for the simulation application.
newDescribeSimulationApplication ::
  -- | 'application'
  Prelude.Text ->
  DescribeSimulationApplication
newDescribeSimulationApplication :: Text -> DescribeSimulationApplication
newDescribeSimulationApplication Text
pApplication_ =
  DescribeSimulationApplication' :: Maybe Text -> Text -> DescribeSimulationApplication
DescribeSimulationApplication'
    { $sel:applicationVersion:DescribeSimulationApplication' :: Maybe Text
applicationVersion =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:application:DescribeSimulationApplication' :: Text
application = Text
pApplication_
    }

-- | The version of the simulation application to describe.
describeSimulationApplication_applicationVersion :: Lens.Lens' DescribeSimulationApplication (Prelude.Maybe Prelude.Text)
describeSimulationApplication_applicationVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplication -> f DescribeSimulationApplication
describeSimulationApplication_applicationVersion = (DescribeSimulationApplication -> Maybe Text)
-> (DescribeSimulationApplication
    -> Maybe Text -> DescribeSimulationApplication)
-> Lens
     DescribeSimulationApplication
     DescribeSimulationApplication
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplication' {Maybe Text
applicationVersion :: Maybe Text
$sel:applicationVersion:DescribeSimulationApplication' :: DescribeSimulationApplication -> Maybe Text
applicationVersion} -> Maybe Text
applicationVersion) (\s :: DescribeSimulationApplication
s@DescribeSimulationApplication' {} Maybe Text
a -> DescribeSimulationApplication
s {$sel:applicationVersion:DescribeSimulationApplication' :: Maybe Text
applicationVersion = Maybe Text
a} :: DescribeSimulationApplication)

-- | The application information for the simulation application.
describeSimulationApplication_application :: Lens.Lens' DescribeSimulationApplication Prelude.Text
describeSimulationApplication_application :: (Text -> f Text)
-> DescribeSimulationApplication -> f DescribeSimulationApplication
describeSimulationApplication_application = (DescribeSimulationApplication -> Text)
-> (DescribeSimulationApplication
    -> Text -> DescribeSimulationApplication)
-> Lens
     DescribeSimulationApplication
     DescribeSimulationApplication
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplication' {Text
application :: Text
$sel:application:DescribeSimulationApplication' :: DescribeSimulationApplication -> Text
application} -> Text
application) (\s :: DescribeSimulationApplication
s@DescribeSimulationApplication' {} Text
a -> DescribeSimulationApplication
s {$sel:application:DescribeSimulationApplication' :: Text
application = Text
a} :: DescribeSimulationApplication)

instance
  Core.AWSRequest
    DescribeSimulationApplication
  where
  type
    AWSResponse DescribeSimulationApplication =
      DescribeSimulationApplicationResponse
  request :: DescribeSimulationApplication
-> Request DescribeSimulationApplication
request = Service
-> DescribeSimulationApplication
-> Request DescribeSimulationApplication
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeSimulationApplication
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSimulationApplication)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeSimulationApplication))
-> Logger
-> Service
-> Proxy DescribeSimulationApplication
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSimulationApplication)))
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 Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeSimulationApplicationResponse
DescribeSimulationApplicationResponse'
            (Maybe RenderingEngine
 -> Maybe POSIX
 -> Maybe Text
 -> Maybe Environment
 -> Maybe [Source]
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe SimulationSoftwareSuite
 -> Maybe RobotSoftwareSuite
 -> Maybe Text
 -> Maybe (HashMap Text Text)
 -> Int
 -> DescribeSimulationApplicationResponse)
-> Either String (Maybe RenderingEngine)
-> Either
     String
     (Maybe POSIX
      -> Maybe Text
      -> Maybe Environment
      -> Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe Text
      -> Maybe Environment
      -> Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Environment
      -> Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Environment)
-> Either
     String
     (Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe [Source])
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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 Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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
"imageDigest")
            Either
  String
  (Maybe Text
   -> Maybe SimulationSoftwareSuite
   -> Maybe RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe SimulationSoftwareSuite
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe SimulationSoftwareSuite)
-> Either
     String
     (Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe RobotSoftwareSuite)
-> Either
     String
     (Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeSimulationApplicationResponse)
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
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeSimulationApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (HashMap Text Text)
      -> Int -> DescribeSimulationApplicationResponse)
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
  (Maybe (HashMap Text Text)
   -> Int -> DescribeSimulationApplicationResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> DescribeSimulationApplicationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
            Either String (Int -> DescribeSimulationApplicationResponse)
-> Either String Int
-> Either String DescribeSimulationApplicationResponse
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
    DescribeSimulationApplication

instance Prelude.NFData DescribeSimulationApplication

instance Core.ToHeaders DescribeSimulationApplication where
  toHeaders :: DescribeSimulationApplication -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeSimulationApplication -> 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 DescribeSimulationApplication where
  toJSON :: DescribeSimulationApplication -> Value
toJSON DescribeSimulationApplication' {Maybe Text
Text
application :: Text
applicationVersion :: Maybe Text
$sel:application:DescribeSimulationApplication' :: DescribeSimulationApplication -> Text
$sel:applicationVersion:DescribeSimulationApplication' :: DescribeSimulationApplication -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"applicationVersion" 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
applicationVersion,
            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)
          ]
      )

instance Core.ToPath DescribeSimulationApplication where
  toPath :: DescribeSimulationApplication -> ByteString
toPath =
    ByteString -> DescribeSimulationApplication -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/describeSimulationApplication"

instance Core.ToQuery DescribeSimulationApplication where
  toQuery :: DescribeSimulationApplication -> QueryString
toQuery = QueryString -> DescribeSimulationApplication -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newDescribeSimulationApplicationResponse' smart constructor.
data DescribeSimulationApplicationResponse = DescribeSimulationApplicationResponse'
  { -- | The rendering engine for the simulation application.
    DescribeSimulationApplicationResponse -> Maybe RenderingEngine
renderingEngine :: Prelude.Maybe RenderingEngine,
    -- | The time, in milliseconds since the epoch, when the simulation
    -- application was last updated.
    DescribeSimulationApplicationResponse -> Maybe POSIX
lastUpdatedAt :: Prelude.Maybe Core.POSIX,
    -- | The Amazon Resource Name (ARN) of the robot simulation application.
    DescribeSimulationApplicationResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The object that contains the Docker image URI used to create the
    -- simulation application.
    DescribeSimulationApplicationResponse -> Maybe Environment
environment :: Prelude.Maybe Environment,
    -- | The sources of the simulation application.
    DescribeSimulationApplicationResponse -> Maybe [Source]
sources :: Prelude.Maybe [Source],
    -- | The name of the simulation application.
    DescribeSimulationApplicationResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | A SHA256 identifier for the Docker image that you use for your
    -- simulation application.
    DescribeSimulationApplicationResponse -> Maybe Text
imageDigest :: Prelude.Maybe Prelude.Text,
    -- | The version of the simulation application.
    DescribeSimulationApplicationResponse -> Maybe Text
version :: Prelude.Maybe Prelude.Text,
    -- | The simulation software suite used by the simulation application.
    DescribeSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite
simulationSoftwareSuite :: Prelude.Maybe SimulationSoftwareSuite,
    -- | Information about the robot software suite (ROS distribution).
    DescribeSimulationApplicationResponse -> Maybe RobotSoftwareSuite
robotSoftwareSuite :: Prelude.Maybe RobotSoftwareSuite,
    -- | The revision id of the simulation application.
    DescribeSimulationApplicationResponse -> Maybe Text
revisionId :: Prelude.Maybe Prelude.Text,
    -- | The list of all tags added to the specified simulation application.
    DescribeSimulationApplicationResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The response's http status code.
    DescribeSimulationApplicationResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeSimulationApplicationResponse
-> DescribeSimulationApplicationResponse -> Bool
(DescribeSimulationApplicationResponse
 -> DescribeSimulationApplicationResponse -> Bool)
-> (DescribeSimulationApplicationResponse
    -> DescribeSimulationApplicationResponse -> Bool)
-> Eq DescribeSimulationApplicationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSimulationApplicationResponse
-> DescribeSimulationApplicationResponse -> Bool
$c/= :: DescribeSimulationApplicationResponse
-> DescribeSimulationApplicationResponse -> Bool
== :: DescribeSimulationApplicationResponse
-> DescribeSimulationApplicationResponse -> Bool
$c== :: DescribeSimulationApplicationResponse
-> DescribeSimulationApplicationResponse -> Bool
Prelude.Eq, ReadPrec [DescribeSimulationApplicationResponse]
ReadPrec DescribeSimulationApplicationResponse
Int -> ReadS DescribeSimulationApplicationResponse
ReadS [DescribeSimulationApplicationResponse]
(Int -> ReadS DescribeSimulationApplicationResponse)
-> ReadS [DescribeSimulationApplicationResponse]
-> ReadPrec DescribeSimulationApplicationResponse
-> ReadPrec [DescribeSimulationApplicationResponse]
-> Read DescribeSimulationApplicationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSimulationApplicationResponse]
$creadListPrec :: ReadPrec [DescribeSimulationApplicationResponse]
readPrec :: ReadPrec DescribeSimulationApplicationResponse
$creadPrec :: ReadPrec DescribeSimulationApplicationResponse
readList :: ReadS [DescribeSimulationApplicationResponse]
$creadList :: ReadS [DescribeSimulationApplicationResponse]
readsPrec :: Int -> ReadS DescribeSimulationApplicationResponse
$creadsPrec :: Int -> ReadS DescribeSimulationApplicationResponse
Prelude.Read, Int -> DescribeSimulationApplicationResponse -> ShowS
[DescribeSimulationApplicationResponse] -> ShowS
DescribeSimulationApplicationResponse -> String
(Int -> DescribeSimulationApplicationResponse -> ShowS)
-> (DescribeSimulationApplicationResponse -> String)
-> ([DescribeSimulationApplicationResponse] -> ShowS)
-> Show DescribeSimulationApplicationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSimulationApplicationResponse] -> ShowS
$cshowList :: [DescribeSimulationApplicationResponse] -> ShowS
show :: DescribeSimulationApplicationResponse -> String
$cshow :: DescribeSimulationApplicationResponse -> String
showsPrec :: Int -> DescribeSimulationApplicationResponse -> ShowS
$cshowsPrec :: Int -> DescribeSimulationApplicationResponse -> ShowS
Prelude.Show, (forall x.
 DescribeSimulationApplicationResponse
 -> Rep DescribeSimulationApplicationResponse x)
-> (forall x.
    Rep DescribeSimulationApplicationResponse x
    -> DescribeSimulationApplicationResponse)
-> Generic DescribeSimulationApplicationResponse
forall x.
Rep DescribeSimulationApplicationResponse x
-> DescribeSimulationApplicationResponse
forall x.
DescribeSimulationApplicationResponse
-> Rep DescribeSimulationApplicationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSimulationApplicationResponse x
-> DescribeSimulationApplicationResponse
$cfrom :: forall x.
DescribeSimulationApplicationResponse
-> Rep DescribeSimulationApplicationResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSimulationApplicationResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'renderingEngine', 'describeSimulationApplicationResponse_renderingEngine' - The rendering engine for the simulation application.
--
-- 'lastUpdatedAt', 'describeSimulationApplicationResponse_lastUpdatedAt' - The time, in milliseconds since the epoch, when the simulation
-- application was last updated.
--
-- 'arn', 'describeSimulationApplicationResponse_arn' - The Amazon Resource Name (ARN) of the robot simulation application.
--
-- 'environment', 'describeSimulationApplicationResponse_environment' - The object that contains the Docker image URI used to create the
-- simulation application.
--
-- 'sources', 'describeSimulationApplicationResponse_sources' - The sources of the simulation application.
--
-- 'name', 'describeSimulationApplicationResponse_name' - The name of the simulation application.
--
-- 'imageDigest', 'describeSimulationApplicationResponse_imageDigest' - A SHA256 identifier for the Docker image that you use for your
-- simulation application.
--
-- 'version', 'describeSimulationApplicationResponse_version' - The version of the simulation application.
--
-- 'simulationSoftwareSuite', 'describeSimulationApplicationResponse_simulationSoftwareSuite' - The simulation software suite used by the simulation application.
--
-- 'robotSoftwareSuite', 'describeSimulationApplicationResponse_robotSoftwareSuite' - Information about the robot software suite (ROS distribution).
--
-- 'revisionId', 'describeSimulationApplicationResponse_revisionId' - The revision id of the simulation application.
--
-- 'tags', 'describeSimulationApplicationResponse_tags' - The list of all tags added to the specified simulation application.
--
-- 'httpStatus', 'describeSimulationApplicationResponse_httpStatus' - The response's http status code.
newDescribeSimulationApplicationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeSimulationApplicationResponse
newDescribeSimulationApplicationResponse :: Int -> DescribeSimulationApplicationResponse
newDescribeSimulationApplicationResponse Int
pHttpStatus_ =
  DescribeSimulationApplicationResponse' :: Maybe RenderingEngine
-> Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SimulationSoftwareSuite
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeSimulationApplicationResponse
DescribeSimulationApplicationResponse'
    { $sel:renderingEngine:DescribeSimulationApplicationResponse' :: Maybe RenderingEngine
renderingEngine =
        Maybe RenderingEngine
forall a. Maybe a
Prelude.Nothing,
      $sel:lastUpdatedAt:DescribeSimulationApplicationResponse' :: Maybe POSIX
lastUpdatedAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:arn:DescribeSimulationApplicationResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:environment:DescribeSimulationApplicationResponse' :: Maybe Environment
environment = Maybe Environment
forall a. Maybe a
Prelude.Nothing,
      $sel:sources:DescribeSimulationApplicationResponse' :: Maybe [Source]
sources = Maybe [Source]
forall a. Maybe a
Prelude.Nothing,
      $sel:name:DescribeSimulationApplicationResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:imageDigest:DescribeSimulationApplicationResponse' :: Maybe Text
imageDigest = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:version:DescribeSimulationApplicationResponse' :: Maybe Text
version = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:simulationSoftwareSuite:DescribeSimulationApplicationResponse' :: Maybe SimulationSoftwareSuite
simulationSoftwareSuite =
        Maybe SimulationSoftwareSuite
forall a. Maybe a
Prelude.Nothing,
      $sel:robotSoftwareSuite:DescribeSimulationApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
forall a. Maybe a
Prelude.Nothing,
      $sel:revisionId:DescribeSimulationApplicationResponse' :: Maybe Text
revisionId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:DescribeSimulationApplicationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeSimulationApplicationResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The rendering engine for the simulation application.
describeSimulationApplicationResponse_renderingEngine :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe RenderingEngine)
describeSimulationApplicationResponse_renderingEngine :: (Maybe RenderingEngine -> f (Maybe RenderingEngine))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_renderingEngine = (DescribeSimulationApplicationResponse -> Maybe RenderingEngine)
-> (DescribeSimulationApplicationResponse
    -> Maybe RenderingEngine -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe RenderingEngine)
     (Maybe RenderingEngine)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe RenderingEngine
renderingEngine :: Maybe RenderingEngine
$sel:renderingEngine:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe RenderingEngine
renderingEngine} -> Maybe RenderingEngine
renderingEngine) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe RenderingEngine
a -> DescribeSimulationApplicationResponse
s {$sel:renderingEngine:DescribeSimulationApplicationResponse' :: Maybe RenderingEngine
renderingEngine = Maybe RenderingEngine
a} :: DescribeSimulationApplicationResponse)

-- | The time, in milliseconds since the epoch, when the simulation
-- application was last updated.
describeSimulationApplicationResponse_lastUpdatedAt :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.UTCTime)
describeSimulationApplicationResponse_lastUpdatedAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_lastUpdatedAt = (DescribeSimulationApplicationResponse -> Maybe POSIX)
-> (DescribeSimulationApplicationResponse
    -> Maybe POSIX -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe POSIX
lastUpdatedAt :: Maybe POSIX
$sel:lastUpdatedAt:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe POSIX
lastUpdatedAt} -> Maybe POSIX
lastUpdatedAt) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe POSIX
a -> DescribeSimulationApplicationResponse
s {$sel:lastUpdatedAt:DescribeSimulationApplicationResponse' :: Maybe POSIX
lastUpdatedAt = Maybe POSIX
a} :: DescribeSimulationApplicationResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> DescribeSimulationApplicationResponse
 -> f DescribeSimulationApplicationResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
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

-- | The Amazon Resource Name (ARN) of the robot simulation application.
describeSimulationApplicationResponse_arn :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
describeSimulationApplicationResponse_arn :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_arn = (DescribeSimulationApplicationResponse -> Maybe Text)
-> (DescribeSimulationApplicationResponse
    -> Maybe Text -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Text
a -> DescribeSimulationApplicationResponse
s {$sel:arn:DescribeSimulationApplicationResponse' :: Maybe Text
arn = Maybe Text
a} :: DescribeSimulationApplicationResponse)

-- | The object that contains the Docker image URI used to create the
-- simulation application.
describeSimulationApplicationResponse_environment :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Environment)
describeSimulationApplicationResponse_environment :: (Maybe Environment -> f (Maybe Environment))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_environment = (DescribeSimulationApplicationResponse -> Maybe Environment)
-> (DescribeSimulationApplicationResponse
    -> Maybe Environment -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Environment)
     (Maybe Environment)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Environment
environment :: Maybe Environment
$sel:environment:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Environment
environment} -> Maybe Environment
environment) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Environment
a -> DescribeSimulationApplicationResponse
s {$sel:environment:DescribeSimulationApplicationResponse' :: Maybe Environment
environment = Maybe Environment
a} :: DescribeSimulationApplicationResponse)

-- | The sources of the simulation application.
describeSimulationApplicationResponse_sources :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe [Source])
describeSimulationApplicationResponse_sources :: (Maybe [Source] -> f (Maybe [Source]))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_sources = (DescribeSimulationApplicationResponse -> Maybe [Source])
-> (DescribeSimulationApplicationResponse
    -> Maybe [Source] -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe [Source])
     (Maybe [Source])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe [Source]
sources :: Maybe [Source]
$sel:sources:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe [Source]
sources} -> Maybe [Source]
sources) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe [Source]
a -> DescribeSimulationApplicationResponse
s {$sel:sources:DescribeSimulationApplicationResponse' :: Maybe [Source]
sources = Maybe [Source]
a} :: DescribeSimulationApplicationResponse) ((Maybe [Source] -> f (Maybe [Source]))
 -> DescribeSimulationApplicationResponse
 -> f DescribeSimulationApplicationResponse)
-> ((Maybe [Source] -> f (Maybe [Source]))
    -> Maybe [Source] -> f (Maybe [Source]))
-> (Maybe [Source] -> f (Maybe [Source]))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
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

-- | The name of the simulation application.
describeSimulationApplicationResponse_name :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
describeSimulationApplicationResponse_name :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_name = (DescribeSimulationApplicationResponse -> Maybe Text)
-> (DescribeSimulationApplicationResponse
    -> Maybe Text -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Text
name :: Maybe Text
$sel:name:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Text
a -> DescribeSimulationApplicationResponse
s {$sel:name:DescribeSimulationApplicationResponse' :: Maybe Text
name = Maybe Text
a} :: DescribeSimulationApplicationResponse)

-- | A SHA256 identifier for the Docker image that you use for your
-- simulation application.
describeSimulationApplicationResponse_imageDigest :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
describeSimulationApplicationResponse_imageDigest :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_imageDigest = (DescribeSimulationApplicationResponse -> Maybe Text)
-> (DescribeSimulationApplicationResponse
    -> Maybe Text -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Text
imageDigest :: Maybe Text
$sel:imageDigest:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Text
imageDigest} -> Maybe Text
imageDigest) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Text
a -> DescribeSimulationApplicationResponse
s {$sel:imageDigest:DescribeSimulationApplicationResponse' :: Maybe Text
imageDigest = Maybe Text
a} :: DescribeSimulationApplicationResponse)

-- | The version of the simulation application.
describeSimulationApplicationResponse_version :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
describeSimulationApplicationResponse_version :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_version = (DescribeSimulationApplicationResponse -> Maybe Text)
-> (DescribeSimulationApplicationResponse
    -> Maybe Text -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Text
version :: Maybe Text
$sel:version:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Text
version} -> Maybe Text
version) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Text
a -> DescribeSimulationApplicationResponse
s {$sel:version:DescribeSimulationApplicationResponse' :: Maybe Text
version = Maybe Text
a} :: DescribeSimulationApplicationResponse)

-- | The simulation software suite used by the simulation application.
describeSimulationApplicationResponse_simulationSoftwareSuite :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe SimulationSoftwareSuite)
describeSimulationApplicationResponse_simulationSoftwareSuite :: (Maybe SimulationSoftwareSuite
 -> f (Maybe SimulationSoftwareSuite))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_simulationSoftwareSuite = (DescribeSimulationApplicationResponse
 -> Maybe SimulationSoftwareSuite)
-> (DescribeSimulationApplicationResponse
    -> Maybe SimulationSoftwareSuite
    -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe SimulationSoftwareSuite)
     (Maybe SimulationSoftwareSuite)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe SimulationSoftwareSuite
simulationSoftwareSuite :: Maybe SimulationSoftwareSuite
$sel:simulationSoftwareSuite:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse
-> Maybe SimulationSoftwareSuite
simulationSoftwareSuite} -> Maybe SimulationSoftwareSuite
simulationSoftwareSuite) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe SimulationSoftwareSuite
a -> DescribeSimulationApplicationResponse
s {$sel:simulationSoftwareSuite:DescribeSimulationApplicationResponse' :: Maybe SimulationSoftwareSuite
simulationSoftwareSuite = Maybe SimulationSoftwareSuite
a} :: DescribeSimulationApplicationResponse)

-- | Information about the robot software suite (ROS distribution).
describeSimulationApplicationResponse_robotSoftwareSuite :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe RobotSoftwareSuite)
describeSimulationApplicationResponse_robotSoftwareSuite :: (Maybe RobotSoftwareSuite -> f (Maybe RobotSoftwareSuite))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_robotSoftwareSuite = (DescribeSimulationApplicationResponse -> Maybe RobotSoftwareSuite)
-> (DescribeSimulationApplicationResponse
    -> Maybe RobotSoftwareSuite
    -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe RobotSoftwareSuite)
     (Maybe RobotSoftwareSuite)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe RobotSoftwareSuite
robotSoftwareSuite :: Maybe RobotSoftwareSuite
$sel:robotSoftwareSuite:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe RobotSoftwareSuite
robotSoftwareSuite} -> Maybe RobotSoftwareSuite
robotSoftwareSuite) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe RobotSoftwareSuite
a -> DescribeSimulationApplicationResponse
s {$sel:robotSoftwareSuite:DescribeSimulationApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
a} :: DescribeSimulationApplicationResponse)

-- | The revision id of the simulation application.
describeSimulationApplicationResponse_revisionId :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe Prelude.Text)
describeSimulationApplicationResponse_revisionId :: (Maybe Text -> f (Maybe Text))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_revisionId = (DescribeSimulationApplicationResponse -> Maybe Text)
-> (DescribeSimulationApplicationResponse
    -> Maybe Text -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe Text
revisionId :: Maybe Text
$sel:revisionId:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe Text
revisionId} -> Maybe Text
revisionId) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe Text
a -> DescribeSimulationApplicationResponse
s {$sel:revisionId:DescribeSimulationApplicationResponse' :: Maybe Text
revisionId = Maybe Text
a} :: DescribeSimulationApplicationResponse)

-- | The list of all tags added to the specified simulation application.
describeSimulationApplicationResponse_tags :: Lens.Lens' DescribeSimulationApplicationResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeSimulationApplicationResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_tags = (DescribeSimulationApplicationResponse
 -> Maybe (HashMap Text Text))
-> (DescribeSimulationApplicationResponse
    -> Maybe (HashMap Text Text)
    -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Maybe (HashMap Text Text)
a -> DescribeSimulationApplicationResponse
s {$sel:tags:DescribeSimulationApplicationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeSimulationApplicationResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> DescribeSimulationApplicationResponse
 -> f DescribeSimulationApplicationResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
    -> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
-> Iso
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
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
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The response's http status code.
describeSimulationApplicationResponse_httpStatus :: Lens.Lens' DescribeSimulationApplicationResponse Prelude.Int
describeSimulationApplicationResponse_httpStatus :: (Int -> f Int)
-> DescribeSimulationApplicationResponse
-> f DescribeSimulationApplicationResponse
describeSimulationApplicationResponse_httpStatus = (DescribeSimulationApplicationResponse -> Int)
-> (DescribeSimulationApplicationResponse
    -> Int -> DescribeSimulationApplicationResponse)
-> Lens
     DescribeSimulationApplicationResponse
     DescribeSimulationApplicationResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSimulationApplicationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeSimulationApplicationResponse' :: DescribeSimulationApplicationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeSimulationApplicationResponse
s@DescribeSimulationApplicationResponse' {} Int
a -> DescribeSimulationApplicationResponse
s {$sel:httpStatus:DescribeSimulationApplicationResponse' :: Int
httpStatus = Int
a} :: DescribeSimulationApplicationResponse)

instance
  Prelude.NFData
    DescribeSimulationApplicationResponse