{-# 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.DescribeRobotApplication
-- 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 robot application.
module Amazonka.RobOMaker.DescribeRobotApplication
  ( -- * Creating a Request
    DescribeRobotApplication (..),
    newDescribeRobotApplication,

    -- * Request Lenses
    describeRobotApplication_applicationVersion,
    describeRobotApplication_application,

    -- * Destructuring the Response
    DescribeRobotApplicationResponse (..),
    newDescribeRobotApplicationResponse,

    -- * Response Lenses
    describeRobotApplicationResponse_lastUpdatedAt,
    describeRobotApplicationResponse_arn,
    describeRobotApplicationResponse_environment,
    describeRobotApplicationResponse_sources,
    describeRobotApplicationResponse_name,
    describeRobotApplicationResponse_imageDigest,
    describeRobotApplicationResponse_version,
    describeRobotApplicationResponse_robotSoftwareSuite,
    describeRobotApplicationResponse_revisionId,
    describeRobotApplicationResponse_tags,
    describeRobotApplicationResponse_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:/ 'newDescribeRobotApplication' smart constructor.
data DescribeRobotApplication = DescribeRobotApplication'
  { -- | The version of the robot application to describe.
    DescribeRobotApplication -> Maybe Text
applicationVersion :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the robot application.
    DescribeRobotApplication -> Text
application :: Prelude.Text
  }
  deriving (DescribeRobotApplication -> DescribeRobotApplication -> Bool
(DescribeRobotApplication -> DescribeRobotApplication -> Bool)
-> (DescribeRobotApplication -> DescribeRobotApplication -> Bool)
-> Eq DescribeRobotApplication
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRobotApplication -> DescribeRobotApplication -> Bool
$c/= :: DescribeRobotApplication -> DescribeRobotApplication -> Bool
== :: DescribeRobotApplication -> DescribeRobotApplication -> Bool
$c== :: DescribeRobotApplication -> DescribeRobotApplication -> Bool
Prelude.Eq, ReadPrec [DescribeRobotApplication]
ReadPrec DescribeRobotApplication
Int -> ReadS DescribeRobotApplication
ReadS [DescribeRobotApplication]
(Int -> ReadS DescribeRobotApplication)
-> ReadS [DescribeRobotApplication]
-> ReadPrec DescribeRobotApplication
-> ReadPrec [DescribeRobotApplication]
-> Read DescribeRobotApplication
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRobotApplication]
$creadListPrec :: ReadPrec [DescribeRobotApplication]
readPrec :: ReadPrec DescribeRobotApplication
$creadPrec :: ReadPrec DescribeRobotApplication
readList :: ReadS [DescribeRobotApplication]
$creadList :: ReadS [DescribeRobotApplication]
readsPrec :: Int -> ReadS DescribeRobotApplication
$creadsPrec :: Int -> ReadS DescribeRobotApplication
Prelude.Read, Int -> DescribeRobotApplication -> ShowS
[DescribeRobotApplication] -> ShowS
DescribeRobotApplication -> String
(Int -> DescribeRobotApplication -> ShowS)
-> (DescribeRobotApplication -> String)
-> ([DescribeRobotApplication] -> ShowS)
-> Show DescribeRobotApplication
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRobotApplication] -> ShowS
$cshowList :: [DescribeRobotApplication] -> ShowS
show :: DescribeRobotApplication -> String
$cshow :: DescribeRobotApplication -> String
showsPrec :: Int -> DescribeRobotApplication -> ShowS
$cshowsPrec :: Int -> DescribeRobotApplication -> ShowS
Prelude.Show, (forall x.
 DescribeRobotApplication -> Rep DescribeRobotApplication x)
-> (forall x.
    Rep DescribeRobotApplication x -> DescribeRobotApplication)
-> Generic DescribeRobotApplication
forall x.
Rep DescribeRobotApplication x -> DescribeRobotApplication
forall x.
DescribeRobotApplication -> Rep DescribeRobotApplication x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeRobotApplication x -> DescribeRobotApplication
$cfrom :: forall x.
DescribeRobotApplication -> Rep DescribeRobotApplication x
Prelude.Generic)

-- |
-- Create a value of 'DescribeRobotApplication' 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', 'describeRobotApplication_applicationVersion' - The version of the robot application to describe.
--
-- 'application', 'describeRobotApplication_application' - The Amazon Resource Name (ARN) of the robot application.
newDescribeRobotApplication ::
  -- | 'application'
  Prelude.Text ->
  DescribeRobotApplication
newDescribeRobotApplication :: Text -> DescribeRobotApplication
newDescribeRobotApplication Text
pApplication_ =
  DescribeRobotApplication' :: Maybe Text -> Text -> DescribeRobotApplication
DescribeRobotApplication'
    { $sel:applicationVersion:DescribeRobotApplication' :: Maybe Text
applicationVersion =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:application:DescribeRobotApplication' :: Text
application = Text
pApplication_
    }

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

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

instance Core.AWSRequest DescribeRobotApplication where
  type
    AWSResponse DescribeRobotApplication =
      DescribeRobotApplicationResponse
  request :: DescribeRobotApplication -> Request DescribeRobotApplication
request = Service
-> DescribeRobotApplication -> Request DescribeRobotApplication
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeRobotApplication
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeRobotApplication)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeRobotApplication))
-> Logger
-> Service
-> Proxy DescribeRobotApplication
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeRobotApplication)))
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 POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeRobotApplicationResponse
DescribeRobotApplicationResponse'
            (Maybe POSIX
 -> Maybe Text
 -> Maybe Environment
 -> Maybe [Source]
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe RobotSoftwareSuite
 -> Maybe Text
 -> Maybe (HashMap Text Text)
 -> Int
 -> DescribeRobotApplicationResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe Text
      -> Maybe Environment
      -> Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
forall (f :: * -> *) a b. Functor 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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Environment
      -> Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Environment)
-> Either
     String
     (Maybe [Source]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe [Source])
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe RobotSoftwareSuite
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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 RobotSoftwareSuite
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe RobotSoftwareSuite)
-> Either
     String
     (Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRobotApplicationResponse)
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
   -> DescribeRobotApplicationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (HashMap Text Text)
      -> Int -> DescribeRobotApplicationResponse)
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 -> DescribeRobotApplicationResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> DescribeRobotApplicationResponse)
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 -> DescribeRobotApplicationResponse)
-> Either String Int
-> Either String DescribeRobotApplicationResponse
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 DescribeRobotApplication

instance Prelude.NFData DescribeRobotApplication

instance Core.ToHeaders DescribeRobotApplication where
  toHeaders :: DescribeRobotApplication -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeRobotApplication -> 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 DescribeRobotApplication where
  toJSON :: DescribeRobotApplication -> Value
toJSON DescribeRobotApplication' {Maybe Text
Text
application :: Text
applicationVersion :: Maybe Text
$sel:application:DescribeRobotApplication' :: DescribeRobotApplication -> Text
$sel:applicationVersion:DescribeRobotApplication' :: DescribeRobotApplication -> 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 DescribeRobotApplication where
  toPath :: DescribeRobotApplication -> ByteString
toPath = ByteString -> DescribeRobotApplication -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/describeRobotApplication"

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

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

-- |
-- Create a value of 'DescribeRobotApplicationResponse' 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:
--
-- 'lastUpdatedAt', 'describeRobotApplicationResponse_lastUpdatedAt' - The time, in milliseconds since the epoch, when the robot application
-- was last updated.
--
-- 'arn', 'describeRobotApplicationResponse_arn' - The Amazon Resource Name (ARN) of the robot application.
--
-- 'environment', 'describeRobotApplicationResponse_environment' - The object that contains the Docker image URI used to create the robot
-- application.
--
-- 'sources', 'describeRobotApplicationResponse_sources' - The sources of the robot application.
--
-- 'name', 'describeRobotApplicationResponse_name' - The name of the robot application.
--
-- 'imageDigest', 'describeRobotApplicationResponse_imageDigest' - A SHA256 identifier for the Docker image that you use for your robot
-- application.
--
-- 'version', 'describeRobotApplicationResponse_version' - The version of the robot application.
--
-- 'robotSoftwareSuite', 'describeRobotApplicationResponse_robotSoftwareSuite' - The robot software suite (ROS distribution) used by the robot
-- application.
--
-- 'revisionId', 'describeRobotApplicationResponse_revisionId' - The revision id of the robot application.
--
-- 'tags', 'describeRobotApplicationResponse_tags' - The list of all tags added to the specified robot application.
--
-- 'httpStatus', 'describeRobotApplicationResponse_httpStatus' - The response's http status code.
newDescribeRobotApplicationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeRobotApplicationResponse
newDescribeRobotApplicationResponse :: Int -> DescribeRobotApplicationResponse
newDescribeRobotApplicationResponse Int
pHttpStatus_ =
  DescribeRobotApplicationResponse' :: Maybe POSIX
-> Maybe Text
-> Maybe Environment
-> Maybe [Source]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe RobotSoftwareSuite
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeRobotApplicationResponse
DescribeRobotApplicationResponse'
    { $sel:lastUpdatedAt:DescribeRobotApplicationResponse' :: Maybe POSIX
lastUpdatedAt =
        Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:arn:DescribeRobotApplicationResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:environment:DescribeRobotApplicationResponse' :: Maybe Environment
environment = Maybe Environment
forall a. Maybe a
Prelude.Nothing,
      $sel:sources:DescribeRobotApplicationResponse' :: Maybe [Source]
sources = Maybe [Source]
forall a. Maybe a
Prelude.Nothing,
      $sel:name:DescribeRobotApplicationResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:imageDigest:DescribeRobotApplicationResponse' :: Maybe Text
imageDigest = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:version:DescribeRobotApplicationResponse' :: Maybe Text
version = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:robotSoftwareSuite:DescribeRobotApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
forall a. Maybe a
Prelude.Nothing,
      $sel:revisionId:DescribeRobotApplicationResponse' :: Maybe Text
revisionId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:DescribeRobotApplicationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeRobotApplicationResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

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

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

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

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

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

-- | The robot software suite (ROS distribution) used by the robot
-- application.
describeRobotApplicationResponse_robotSoftwareSuite :: Lens.Lens' DescribeRobotApplicationResponse (Prelude.Maybe RobotSoftwareSuite)
describeRobotApplicationResponse_robotSoftwareSuite :: (Maybe RobotSoftwareSuite -> f (Maybe RobotSoftwareSuite))
-> DescribeRobotApplicationResponse
-> f DescribeRobotApplicationResponse
describeRobotApplicationResponse_robotSoftwareSuite = (DescribeRobotApplicationResponse -> Maybe RobotSoftwareSuite)
-> (DescribeRobotApplicationResponse
    -> Maybe RobotSoftwareSuite -> DescribeRobotApplicationResponse)
-> Lens
     DescribeRobotApplicationResponse
     DescribeRobotApplicationResponse
     (Maybe RobotSoftwareSuite)
     (Maybe RobotSoftwareSuite)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRobotApplicationResponse' {Maybe RobotSoftwareSuite
robotSoftwareSuite :: Maybe RobotSoftwareSuite
$sel:robotSoftwareSuite:DescribeRobotApplicationResponse' :: DescribeRobotApplicationResponse -> Maybe RobotSoftwareSuite
robotSoftwareSuite} -> Maybe RobotSoftwareSuite
robotSoftwareSuite) (\s :: DescribeRobotApplicationResponse
s@DescribeRobotApplicationResponse' {} Maybe RobotSoftwareSuite
a -> DescribeRobotApplicationResponse
s {$sel:robotSoftwareSuite:DescribeRobotApplicationResponse' :: Maybe RobotSoftwareSuite
robotSoftwareSuite = Maybe RobotSoftwareSuite
a} :: DescribeRobotApplicationResponse)

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

-- | The list of all tags added to the specified robot application.
describeRobotApplicationResponse_tags :: Lens.Lens' DescribeRobotApplicationResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeRobotApplicationResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRobotApplicationResponse
-> f DescribeRobotApplicationResponse
describeRobotApplicationResponse_tags = (DescribeRobotApplicationResponse -> Maybe (HashMap Text Text))
-> (DescribeRobotApplicationResponse
    -> Maybe (HashMap Text Text) -> DescribeRobotApplicationResponse)
-> Lens
     DescribeRobotApplicationResponse
     DescribeRobotApplicationResponse
     (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 (\DescribeRobotApplicationResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeRobotApplicationResponse' :: DescribeRobotApplicationResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeRobotApplicationResponse
s@DescribeRobotApplicationResponse' {} Maybe (HashMap Text Text)
a -> DescribeRobotApplicationResponse
s {$sel:tags:DescribeRobotApplicationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeRobotApplicationResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> DescribeRobotApplicationResponse
 -> f DescribeRobotApplicationResponse)
-> ((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)))
-> DescribeRobotApplicationResponse
-> f DescribeRobotApplicationResponse
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.
describeRobotApplicationResponse_httpStatus :: Lens.Lens' DescribeRobotApplicationResponse Prelude.Int
describeRobotApplicationResponse_httpStatus :: (Int -> f Int)
-> DescribeRobotApplicationResponse
-> f DescribeRobotApplicationResponse
describeRobotApplicationResponse_httpStatus = (DescribeRobotApplicationResponse -> Int)
-> (DescribeRobotApplicationResponse
    -> Int -> DescribeRobotApplicationResponse)
-> Lens
     DescribeRobotApplicationResponse
     DescribeRobotApplicationResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRobotApplicationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeRobotApplicationResponse' :: DescribeRobotApplicationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeRobotApplicationResponse
s@DescribeRobotApplicationResponse' {} Int
a -> DescribeRobotApplicationResponse
s {$sel:httpStatus:DescribeRobotApplicationResponse' :: Int
httpStatus = Int
a} :: DescribeRobotApplicationResponse)

instance
  Prelude.NFData
    DescribeRobotApplicationResponse