{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Panorama.DescribeApplicationInstance
(
DescribeApplicationInstance (..),
newDescribeApplicationInstance,
describeApplicationInstance_applicationInstanceId,
DescribeApplicationInstanceResponse (..),
newDescribeApplicationInstanceResponse,
describeApplicationInstanceResponse_status,
describeApplicationInstanceResponse_statusDescription,
describeApplicationInstanceResponse_lastUpdatedTime,
describeApplicationInstanceResponse_arn,
describeApplicationInstanceResponse_createdTime,
describeApplicationInstanceResponse_defaultRuntimeContextDevice,
describeApplicationInstanceResponse_defaultRuntimeContextDeviceName,
describeApplicationInstanceResponse_name,
describeApplicationInstanceResponse_runtimeRoleArn,
describeApplicationInstanceResponse_healthStatus,
describeApplicationInstanceResponse_applicationInstanceId,
describeApplicationInstanceResponse_description,
describeApplicationInstanceResponse_tags,
describeApplicationInstanceResponse_applicationInstanceIdToReplace,
describeApplicationInstanceResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Panorama.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeApplicationInstance = DescribeApplicationInstance'
{
DescribeApplicationInstance -> Text
applicationInstanceId :: Prelude.Text
}
deriving (DescribeApplicationInstance -> DescribeApplicationInstance -> Bool
(DescribeApplicationInstance
-> DescribeApplicationInstance -> Bool)
-> (DescribeApplicationInstance
-> DescribeApplicationInstance -> Bool)
-> Eq DescribeApplicationInstance
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeApplicationInstance -> DescribeApplicationInstance -> Bool
$c/= :: DescribeApplicationInstance -> DescribeApplicationInstance -> Bool
== :: DescribeApplicationInstance -> DescribeApplicationInstance -> Bool
$c== :: DescribeApplicationInstance -> DescribeApplicationInstance -> Bool
Prelude.Eq, ReadPrec [DescribeApplicationInstance]
ReadPrec DescribeApplicationInstance
Int -> ReadS DescribeApplicationInstance
ReadS [DescribeApplicationInstance]
(Int -> ReadS DescribeApplicationInstance)
-> ReadS [DescribeApplicationInstance]
-> ReadPrec DescribeApplicationInstance
-> ReadPrec [DescribeApplicationInstance]
-> Read DescribeApplicationInstance
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeApplicationInstance]
$creadListPrec :: ReadPrec [DescribeApplicationInstance]
readPrec :: ReadPrec DescribeApplicationInstance
$creadPrec :: ReadPrec DescribeApplicationInstance
readList :: ReadS [DescribeApplicationInstance]
$creadList :: ReadS [DescribeApplicationInstance]
readsPrec :: Int -> ReadS DescribeApplicationInstance
$creadsPrec :: Int -> ReadS DescribeApplicationInstance
Prelude.Read, Int -> DescribeApplicationInstance -> ShowS
[DescribeApplicationInstance] -> ShowS
DescribeApplicationInstance -> String
(Int -> DescribeApplicationInstance -> ShowS)
-> (DescribeApplicationInstance -> String)
-> ([DescribeApplicationInstance] -> ShowS)
-> Show DescribeApplicationInstance
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeApplicationInstance] -> ShowS
$cshowList :: [DescribeApplicationInstance] -> ShowS
show :: DescribeApplicationInstance -> String
$cshow :: DescribeApplicationInstance -> String
showsPrec :: Int -> DescribeApplicationInstance -> ShowS
$cshowsPrec :: Int -> DescribeApplicationInstance -> ShowS
Prelude.Show, (forall x.
DescribeApplicationInstance -> Rep DescribeApplicationInstance x)
-> (forall x.
Rep DescribeApplicationInstance x -> DescribeApplicationInstance)
-> Generic DescribeApplicationInstance
forall x.
Rep DescribeApplicationInstance x -> DescribeApplicationInstance
forall x.
DescribeApplicationInstance -> Rep DescribeApplicationInstance x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeApplicationInstance x -> DescribeApplicationInstance
$cfrom :: forall x.
DescribeApplicationInstance -> Rep DescribeApplicationInstance x
Prelude.Generic)
newDescribeApplicationInstance ::
Prelude.Text ->
DescribeApplicationInstance
newDescribeApplicationInstance :: Text -> DescribeApplicationInstance
newDescribeApplicationInstance
Text
pApplicationInstanceId_ =
DescribeApplicationInstance' :: Text -> DescribeApplicationInstance
DescribeApplicationInstance'
{ $sel:applicationInstanceId:DescribeApplicationInstance' :: Text
applicationInstanceId =
Text
pApplicationInstanceId_
}
describeApplicationInstance_applicationInstanceId :: Lens.Lens' DescribeApplicationInstance Prelude.Text
describeApplicationInstance_applicationInstanceId :: (Text -> f Text)
-> DescribeApplicationInstance -> f DescribeApplicationInstance
describeApplicationInstance_applicationInstanceId = (DescribeApplicationInstance -> Text)
-> (DescribeApplicationInstance
-> Text -> DescribeApplicationInstance)
-> Lens
DescribeApplicationInstance DescribeApplicationInstance Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstance' {Text
applicationInstanceId :: Text
$sel:applicationInstanceId:DescribeApplicationInstance' :: DescribeApplicationInstance -> Text
applicationInstanceId} -> Text
applicationInstanceId) (\s :: DescribeApplicationInstance
s@DescribeApplicationInstance' {} Text
a -> DescribeApplicationInstance
s {$sel:applicationInstanceId:DescribeApplicationInstance' :: Text
applicationInstanceId = Text
a} :: DescribeApplicationInstance)
instance Core.AWSRequest DescribeApplicationInstance where
type
AWSResponse DescribeApplicationInstance =
DescribeApplicationInstanceResponse
request :: DescribeApplicationInstance -> Request DescribeApplicationInstance
request = Service
-> DescribeApplicationInstance
-> Request DescribeApplicationInstance
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeApplicationInstance
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeApplicationInstance)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeApplicationInstance))
-> Logger
-> Service
-> Proxy DescribeApplicationInstance
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeApplicationInstance)))
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 ApplicationInstanceStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse'
(Maybe ApplicationInstanceStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe ApplicationInstanceStatus)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe ApplicationInstanceStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Status")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"StatusDescription")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"LastUpdatedTime")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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 POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"CreatedTime")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"DefaultRuntimeContextDevice")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"DefaultRuntimeContextDeviceName")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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 ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"RuntimeRoleArn")
Either
String
(Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe ApplicationInstanceHealthStatus)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Either String (Maybe ApplicationInstanceHealthStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"HealthStatus")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
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
"ApplicationInstanceId")
Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text)
-> Maybe Text -> Int -> DescribeApplicationInstanceResponse)
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
"Description")
Either
String
(Maybe (HashMap Text Text)
-> Maybe Text -> Int -> DescribeApplicationInstanceResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either
String (Maybe Text -> Int -> DescribeApplicationInstanceResponse)
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 (Maybe Text -> Int -> DescribeApplicationInstanceResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeApplicationInstanceResponse)
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
"ApplicationInstanceIdToReplace")
Either String (Int -> DescribeApplicationInstanceResponse)
-> Either String Int
-> Either String DescribeApplicationInstanceResponse
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 DescribeApplicationInstance
instance Prelude.NFData DescribeApplicationInstance
instance Core.ToHeaders DescribeApplicationInstance where
toHeaders :: DescribeApplicationInstance -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeApplicationInstance -> 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.ToPath DescribeApplicationInstance where
toPath :: DescribeApplicationInstance -> ByteString
toPath DescribeApplicationInstance' {Text
applicationInstanceId :: Text
$sel:applicationInstanceId:DescribeApplicationInstance' :: DescribeApplicationInstance -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/application-instances/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
applicationInstanceId
]
instance Core.ToQuery DescribeApplicationInstance where
toQuery :: DescribeApplicationInstance -> QueryString
toQuery = QueryString -> DescribeApplicationInstance -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeApplicationInstanceResponse = DescribeApplicationInstanceResponse'
{
DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceStatus
status :: Prelude.Maybe ApplicationInstanceStatus,
DescribeApplicationInstanceResponse -> Maybe Text
statusDescription :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe POSIX
lastUpdatedTime :: Prelude.Maybe Core.POSIX,
DescribeApplicationInstanceResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe POSIX
createdTime :: Prelude.Maybe Core.POSIX,
DescribeApplicationInstanceResponse -> Maybe Text
defaultRuntimeContextDevice :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe Text
defaultRuntimeContextDeviceName :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe Text
runtimeRoleArn :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceHealthStatus
healthStatus :: Prelude.Maybe ApplicationInstanceHealthStatus,
DescribeApplicationInstanceResponse -> Maybe Text
applicationInstanceId :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
DescribeApplicationInstanceResponse -> Maybe Text
applicationInstanceIdToReplace :: Prelude.Maybe Prelude.Text,
DescribeApplicationInstanceResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool
(DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool)
-> (DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool)
-> Eq DescribeApplicationInstanceResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool
$c/= :: DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool
== :: DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool
$c== :: DescribeApplicationInstanceResponse
-> DescribeApplicationInstanceResponse -> Bool
Prelude.Eq, ReadPrec [DescribeApplicationInstanceResponse]
ReadPrec DescribeApplicationInstanceResponse
Int -> ReadS DescribeApplicationInstanceResponse
ReadS [DescribeApplicationInstanceResponse]
(Int -> ReadS DescribeApplicationInstanceResponse)
-> ReadS [DescribeApplicationInstanceResponse]
-> ReadPrec DescribeApplicationInstanceResponse
-> ReadPrec [DescribeApplicationInstanceResponse]
-> Read DescribeApplicationInstanceResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeApplicationInstanceResponse]
$creadListPrec :: ReadPrec [DescribeApplicationInstanceResponse]
readPrec :: ReadPrec DescribeApplicationInstanceResponse
$creadPrec :: ReadPrec DescribeApplicationInstanceResponse
readList :: ReadS [DescribeApplicationInstanceResponse]
$creadList :: ReadS [DescribeApplicationInstanceResponse]
readsPrec :: Int -> ReadS DescribeApplicationInstanceResponse
$creadsPrec :: Int -> ReadS DescribeApplicationInstanceResponse
Prelude.Read, Int -> DescribeApplicationInstanceResponse -> ShowS
[DescribeApplicationInstanceResponse] -> ShowS
DescribeApplicationInstanceResponse -> String
(Int -> DescribeApplicationInstanceResponse -> ShowS)
-> (DescribeApplicationInstanceResponse -> String)
-> ([DescribeApplicationInstanceResponse] -> ShowS)
-> Show DescribeApplicationInstanceResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeApplicationInstanceResponse] -> ShowS
$cshowList :: [DescribeApplicationInstanceResponse] -> ShowS
show :: DescribeApplicationInstanceResponse -> String
$cshow :: DescribeApplicationInstanceResponse -> String
showsPrec :: Int -> DescribeApplicationInstanceResponse -> ShowS
$cshowsPrec :: Int -> DescribeApplicationInstanceResponse -> ShowS
Prelude.Show, (forall x.
DescribeApplicationInstanceResponse
-> Rep DescribeApplicationInstanceResponse x)
-> (forall x.
Rep DescribeApplicationInstanceResponse x
-> DescribeApplicationInstanceResponse)
-> Generic DescribeApplicationInstanceResponse
forall x.
Rep DescribeApplicationInstanceResponse x
-> DescribeApplicationInstanceResponse
forall x.
DescribeApplicationInstanceResponse
-> Rep DescribeApplicationInstanceResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeApplicationInstanceResponse x
-> DescribeApplicationInstanceResponse
$cfrom :: forall x.
DescribeApplicationInstanceResponse
-> Rep DescribeApplicationInstanceResponse x
Prelude.Generic)
newDescribeApplicationInstanceResponse ::
Prelude.Int ->
DescribeApplicationInstanceResponse
newDescribeApplicationInstanceResponse :: Int -> DescribeApplicationInstanceResponse
newDescribeApplicationInstanceResponse Int
pHttpStatus_ =
DescribeApplicationInstanceResponse' :: Maybe ApplicationInstanceStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApplicationInstanceHealthStatus
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Int
-> DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse'
{ $sel:status:DescribeApplicationInstanceResponse' :: Maybe ApplicationInstanceStatus
status =
Maybe ApplicationInstanceStatus
forall a. Maybe a
Prelude.Nothing,
$sel:statusDescription:DescribeApplicationInstanceResponse' :: Maybe Text
statusDescription = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedTime:DescribeApplicationInstanceResponse' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:arn:DescribeApplicationInstanceResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:DescribeApplicationInstanceResponse' :: Maybe POSIX
createdTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:defaultRuntimeContextDevice:DescribeApplicationInstanceResponse' :: Maybe Text
defaultRuntimeContextDevice =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:defaultRuntimeContextDeviceName:DescribeApplicationInstanceResponse' :: Maybe Text
defaultRuntimeContextDeviceName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:DescribeApplicationInstanceResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:runtimeRoleArn:DescribeApplicationInstanceResponse' :: Maybe Text
runtimeRoleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:healthStatus:DescribeApplicationInstanceResponse' :: Maybe ApplicationInstanceHealthStatus
healthStatus = Maybe ApplicationInstanceHealthStatus
forall a. Maybe a
Prelude.Nothing,
$sel:applicationInstanceId:DescribeApplicationInstanceResponse' :: Maybe Text
applicationInstanceId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:DescribeApplicationInstanceResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:DescribeApplicationInstanceResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:applicationInstanceIdToReplace:DescribeApplicationInstanceResponse' :: Maybe Text
applicationInstanceIdToReplace =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeApplicationInstanceResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeApplicationInstanceResponse_status :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe ApplicationInstanceStatus)
describeApplicationInstanceResponse_status :: (Maybe ApplicationInstanceStatus
-> f (Maybe ApplicationInstanceStatus))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_status = (DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceStatus)
-> (DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceStatus
-> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe ApplicationInstanceStatus)
(Maybe ApplicationInstanceStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe ApplicationInstanceStatus
status :: Maybe ApplicationInstanceStatus
$sel:status:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceStatus
status} -> Maybe ApplicationInstanceStatus
status) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe ApplicationInstanceStatus
a -> DescribeApplicationInstanceResponse
s {$sel:status:DescribeApplicationInstanceResponse' :: Maybe ApplicationInstanceStatus
status = Maybe ApplicationInstanceStatus
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_statusDescription :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_statusDescription :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_statusDescription = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
statusDescription :: Maybe Text
$sel:statusDescription:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
statusDescription} -> Maybe Text
statusDescription) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:statusDescription:DescribeApplicationInstanceResponse' :: Maybe Text
statusDescription = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_lastUpdatedTime :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.UTCTime)
describeApplicationInstanceResponse_lastUpdatedTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_lastUpdatedTime = (DescribeApplicationInstanceResponse -> Maybe POSIX)
-> (DescribeApplicationInstanceResponse
-> Maybe POSIX -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe POSIX
lastUpdatedTime :: Maybe POSIX
$sel:lastUpdatedTime:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe POSIX
lastUpdatedTime} -> Maybe POSIX
lastUpdatedTime) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe POSIX
a -> DescribeApplicationInstanceResponse
s {$sel:lastUpdatedTime:DescribeApplicationInstanceResponse' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
a} :: DescribeApplicationInstanceResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
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
describeApplicationInstanceResponse_arn :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_arn :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_arn = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:arn:DescribeApplicationInstanceResponse' :: Maybe Text
arn = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_createdTime :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.UTCTime)
describeApplicationInstanceResponse_createdTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_createdTime = (DescribeApplicationInstanceResponse -> Maybe POSIX)
-> (DescribeApplicationInstanceResponse
-> Maybe POSIX -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe POSIX
a -> DescribeApplicationInstanceResponse
s {$sel:createdTime:DescribeApplicationInstanceResponse' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: DescribeApplicationInstanceResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
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
describeApplicationInstanceResponse_defaultRuntimeContextDevice :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_defaultRuntimeContextDevice :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_defaultRuntimeContextDevice = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
defaultRuntimeContextDevice :: Maybe Text
$sel:defaultRuntimeContextDevice:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
defaultRuntimeContextDevice} -> Maybe Text
defaultRuntimeContextDevice) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:defaultRuntimeContextDevice:DescribeApplicationInstanceResponse' :: Maybe Text
defaultRuntimeContextDevice = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_defaultRuntimeContextDeviceName :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_defaultRuntimeContextDeviceName :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_defaultRuntimeContextDeviceName = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
defaultRuntimeContextDeviceName :: Maybe Text
$sel:defaultRuntimeContextDeviceName:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
defaultRuntimeContextDeviceName} -> Maybe Text
defaultRuntimeContextDeviceName) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:defaultRuntimeContextDeviceName:DescribeApplicationInstanceResponse' :: Maybe Text
defaultRuntimeContextDeviceName = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_name :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_name :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_name = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
name :: Maybe Text
$sel:name:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:name:DescribeApplicationInstanceResponse' :: Maybe Text
name = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_runtimeRoleArn :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_runtimeRoleArn :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_runtimeRoleArn = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
runtimeRoleArn :: Maybe Text
$sel:runtimeRoleArn:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
runtimeRoleArn} -> Maybe Text
runtimeRoleArn) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:runtimeRoleArn:DescribeApplicationInstanceResponse' :: Maybe Text
runtimeRoleArn = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_healthStatus :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe ApplicationInstanceHealthStatus)
describeApplicationInstanceResponse_healthStatus :: (Maybe ApplicationInstanceHealthStatus
-> f (Maybe ApplicationInstanceHealthStatus))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_healthStatus = (DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceHealthStatus)
-> (DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceHealthStatus
-> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe ApplicationInstanceHealthStatus)
(Maybe ApplicationInstanceHealthStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe ApplicationInstanceHealthStatus
healthStatus :: Maybe ApplicationInstanceHealthStatus
$sel:healthStatus:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse
-> Maybe ApplicationInstanceHealthStatus
healthStatus} -> Maybe ApplicationInstanceHealthStatus
healthStatus) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe ApplicationInstanceHealthStatus
a -> DescribeApplicationInstanceResponse
s {$sel:healthStatus:DescribeApplicationInstanceResponse' :: Maybe ApplicationInstanceHealthStatus
healthStatus = Maybe ApplicationInstanceHealthStatus
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_applicationInstanceId :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_applicationInstanceId :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_applicationInstanceId = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
applicationInstanceId :: Maybe Text
$sel:applicationInstanceId:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
applicationInstanceId} -> Maybe Text
applicationInstanceId) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:applicationInstanceId:DescribeApplicationInstanceResponse' :: Maybe Text
applicationInstanceId = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_description :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_description :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_description = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
description :: Maybe Text
$sel:description:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:description:DescribeApplicationInstanceResponse' :: Maybe Text
description = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_tags :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeApplicationInstanceResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_tags = (DescribeApplicationInstanceResponse -> Maybe (HashMap Text Text))
-> (DescribeApplicationInstanceResponse
-> Maybe (HashMap Text Text)
-> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(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 (\DescribeApplicationInstanceResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe (HashMap Text Text)
a -> DescribeApplicationInstanceResponse
s {$sel:tags:DescribeApplicationInstanceResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeApplicationInstanceResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse)
-> ((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)))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
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
describeApplicationInstanceResponse_applicationInstanceIdToReplace :: Lens.Lens' DescribeApplicationInstanceResponse (Prelude.Maybe Prelude.Text)
describeApplicationInstanceResponse_applicationInstanceIdToReplace :: (Maybe Text -> f (Maybe Text))
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_applicationInstanceIdToReplace = (DescribeApplicationInstanceResponse -> Maybe Text)
-> (DescribeApplicationInstanceResponse
-> Maybe Text -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Maybe Text
applicationInstanceIdToReplace :: Maybe Text
$sel:applicationInstanceIdToReplace:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Maybe Text
applicationInstanceIdToReplace} -> Maybe Text
applicationInstanceIdToReplace) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Maybe Text
a -> DescribeApplicationInstanceResponse
s {$sel:applicationInstanceIdToReplace:DescribeApplicationInstanceResponse' :: Maybe Text
applicationInstanceIdToReplace = Maybe Text
a} :: DescribeApplicationInstanceResponse)
describeApplicationInstanceResponse_httpStatus :: Lens.Lens' DescribeApplicationInstanceResponse Prelude.Int
describeApplicationInstanceResponse_httpStatus :: (Int -> f Int)
-> DescribeApplicationInstanceResponse
-> f DescribeApplicationInstanceResponse
describeApplicationInstanceResponse_httpStatus = (DescribeApplicationInstanceResponse -> Int)
-> (DescribeApplicationInstanceResponse
-> Int -> DescribeApplicationInstanceResponse)
-> Lens
DescribeApplicationInstanceResponse
DescribeApplicationInstanceResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeApplicationInstanceResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeApplicationInstanceResponse' :: DescribeApplicationInstanceResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeApplicationInstanceResponse
s@DescribeApplicationInstanceResponse' {} Int
a -> DescribeApplicationInstanceResponse
s {$sel:httpStatus:DescribeApplicationInstanceResponse' :: Int
httpStatus = Int
a} :: DescribeApplicationInstanceResponse)
instance
Prelude.NFData
DescribeApplicationInstanceResponse