{-# 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.ElasticBeanstalk.RetrieveEnvironmentInfo
(
RetrieveEnvironmentInfo (..),
newRetrieveEnvironmentInfo,
retrieveEnvironmentInfo_environmentName,
retrieveEnvironmentInfo_environmentId,
retrieveEnvironmentInfo_infoType,
RetrieveEnvironmentInfoResponse (..),
newRetrieveEnvironmentInfoResponse,
retrieveEnvironmentInfoResponse_environmentInfo,
retrieveEnvironmentInfoResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ElasticBeanstalk.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data RetrieveEnvironmentInfo = RetrieveEnvironmentInfo'
{
RetrieveEnvironmentInfo -> Maybe Text
environmentName :: Prelude.Maybe Prelude.Text,
RetrieveEnvironmentInfo -> Maybe Text
environmentId :: Prelude.Maybe Prelude.Text,
RetrieveEnvironmentInfo -> EnvironmentInfoType
infoType :: EnvironmentInfoType
}
deriving (RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool
(RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool)
-> (RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool)
-> Eq RetrieveEnvironmentInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool
$c/= :: RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool
== :: RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool
$c== :: RetrieveEnvironmentInfo -> RetrieveEnvironmentInfo -> Bool
Prelude.Eq, ReadPrec [RetrieveEnvironmentInfo]
ReadPrec RetrieveEnvironmentInfo
Int -> ReadS RetrieveEnvironmentInfo
ReadS [RetrieveEnvironmentInfo]
(Int -> ReadS RetrieveEnvironmentInfo)
-> ReadS [RetrieveEnvironmentInfo]
-> ReadPrec RetrieveEnvironmentInfo
-> ReadPrec [RetrieveEnvironmentInfo]
-> Read RetrieveEnvironmentInfo
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RetrieveEnvironmentInfo]
$creadListPrec :: ReadPrec [RetrieveEnvironmentInfo]
readPrec :: ReadPrec RetrieveEnvironmentInfo
$creadPrec :: ReadPrec RetrieveEnvironmentInfo
readList :: ReadS [RetrieveEnvironmentInfo]
$creadList :: ReadS [RetrieveEnvironmentInfo]
readsPrec :: Int -> ReadS RetrieveEnvironmentInfo
$creadsPrec :: Int -> ReadS RetrieveEnvironmentInfo
Prelude.Read, Int -> RetrieveEnvironmentInfo -> ShowS
[RetrieveEnvironmentInfo] -> ShowS
RetrieveEnvironmentInfo -> String
(Int -> RetrieveEnvironmentInfo -> ShowS)
-> (RetrieveEnvironmentInfo -> String)
-> ([RetrieveEnvironmentInfo] -> ShowS)
-> Show RetrieveEnvironmentInfo
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RetrieveEnvironmentInfo] -> ShowS
$cshowList :: [RetrieveEnvironmentInfo] -> ShowS
show :: RetrieveEnvironmentInfo -> String
$cshow :: RetrieveEnvironmentInfo -> String
showsPrec :: Int -> RetrieveEnvironmentInfo -> ShowS
$cshowsPrec :: Int -> RetrieveEnvironmentInfo -> ShowS
Prelude.Show, (forall x.
RetrieveEnvironmentInfo -> Rep RetrieveEnvironmentInfo x)
-> (forall x.
Rep RetrieveEnvironmentInfo x -> RetrieveEnvironmentInfo)
-> Generic RetrieveEnvironmentInfo
forall x. Rep RetrieveEnvironmentInfo x -> RetrieveEnvironmentInfo
forall x. RetrieveEnvironmentInfo -> Rep RetrieveEnvironmentInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RetrieveEnvironmentInfo x -> RetrieveEnvironmentInfo
$cfrom :: forall x. RetrieveEnvironmentInfo -> Rep RetrieveEnvironmentInfo x
Prelude.Generic)
newRetrieveEnvironmentInfo ::
EnvironmentInfoType ->
RetrieveEnvironmentInfo
newRetrieveEnvironmentInfo :: EnvironmentInfoType -> RetrieveEnvironmentInfo
newRetrieveEnvironmentInfo EnvironmentInfoType
pInfoType_ =
RetrieveEnvironmentInfo' :: Maybe Text
-> Maybe Text -> EnvironmentInfoType -> RetrieveEnvironmentInfo
RetrieveEnvironmentInfo'
{ $sel:environmentName:RetrieveEnvironmentInfo' :: Maybe Text
environmentName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environmentId:RetrieveEnvironmentInfo' :: Maybe Text
environmentId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:infoType:RetrieveEnvironmentInfo' :: EnvironmentInfoType
infoType = EnvironmentInfoType
pInfoType_
}
retrieveEnvironmentInfo_environmentName :: Lens.Lens' RetrieveEnvironmentInfo (Prelude.Maybe Prelude.Text)
retrieveEnvironmentInfo_environmentName :: (Maybe Text -> f (Maybe Text))
-> RetrieveEnvironmentInfo -> f RetrieveEnvironmentInfo
retrieveEnvironmentInfo_environmentName = (RetrieveEnvironmentInfo -> Maybe Text)
-> (RetrieveEnvironmentInfo
-> Maybe Text -> RetrieveEnvironmentInfo)
-> Lens
RetrieveEnvironmentInfo
RetrieveEnvironmentInfo
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RetrieveEnvironmentInfo' {Maybe Text
environmentName :: Maybe Text
$sel:environmentName:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> Maybe Text
environmentName} -> Maybe Text
environmentName) (\s :: RetrieveEnvironmentInfo
s@RetrieveEnvironmentInfo' {} Maybe Text
a -> RetrieveEnvironmentInfo
s {$sel:environmentName:RetrieveEnvironmentInfo' :: Maybe Text
environmentName = Maybe Text
a} :: RetrieveEnvironmentInfo)
retrieveEnvironmentInfo_environmentId :: Lens.Lens' RetrieveEnvironmentInfo (Prelude.Maybe Prelude.Text)
retrieveEnvironmentInfo_environmentId :: (Maybe Text -> f (Maybe Text))
-> RetrieveEnvironmentInfo -> f RetrieveEnvironmentInfo
retrieveEnvironmentInfo_environmentId = (RetrieveEnvironmentInfo -> Maybe Text)
-> (RetrieveEnvironmentInfo
-> Maybe Text -> RetrieveEnvironmentInfo)
-> Lens
RetrieveEnvironmentInfo
RetrieveEnvironmentInfo
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RetrieveEnvironmentInfo' {Maybe Text
environmentId :: Maybe Text
$sel:environmentId:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> Maybe Text
environmentId} -> Maybe Text
environmentId) (\s :: RetrieveEnvironmentInfo
s@RetrieveEnvironmentInfo' {} Maybe Text
a -> RetrieveEnvironmentInfo
s {$sel:environmentId:RetrieveEnvironmentInfo' :: Maybe Text
environmentId = Maybe Text
a} :: RetrieveEnvironmentInfo)
retrieveEnvironmentInfo_infoType :: Lens.Lens' RetrieveEnvironmentInfo EnvironmentInfoType
retrieveEnvironmentInfo_infoType :: (EnvironmentInfoType -> f EnvironmentInfoType)
-> RetrieveEnvironmentInfo -> f RetrieveEnvironmentInfo
retrieveEnvironmentInfo_infoType = (RetrieveEnvironmentInfo -> EnvironmentInfoType)
-> (RetrieveEnvironmentInfo
-> EnvironmentInfoType -> RetrieveEnvironmentInfo)
-> Lens
RetrieveEnvironmentInfo
RetrieveEnvironmentInfo
EnvironmentInfoType
EnvironmentInfoType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RetrieveEnvironmentInfo' {EnvironmentInfoType
infoType :: EnvironmentInfoType
$sel:infoType:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> EnvironmentInfoType
infoType} -> EnvironmentInfoType
infoType) (\s :: RetrieveEnvironmentInfo
s@RetrieveEnvironmentInfo' {} EnvironmentInfoType
a -> RetrieveEnvironmentInfo
s {$sel:infoType:RetrieveEnvironmentInfo' :: EnvironmentInfoType
infoType = EnvironmentInfoType
a} :: RetrieveEnvironmentInfo)
instance Core.AWSRequest RetrieveEnvironmentInfo where
type
AWSResponse RetrieveEnvironmentInfo =
RetrieveEnvironmentInfoResponse
request :: RetrieveEnvironmentInfo -> Request RetrieveEnvironmentInfo
request = Service
-> RetrieveEnvironmentInfo -> Request RetrieveEnvironmentInfo
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy RetrieveEnvironmentInfo
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RetrieveEnvironmentInfo)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse RetrieveEnvironmentInfo))
-> Logger
-> Service
-> Proxy RetrieveEnvironmentInfo
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RetrieveEnvironmentInfo)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"RetrieveEnvironmentInfoResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [EnvironmentInfoDescription]
-> Int -> RetrieveEnvironmentInfoResponse
RetrieveEnvironmentInfoResponse'
(Maybe [EnvironmentInfoDescription]
-> Int -> RetrieveEnvironmentInfoResponse)
-> Either String (Maybe [EnvironmentInfoDescription])
-> Either String (Int -> RetrieveEnvironmentInfoResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EnvironmentInfo" Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
Either String [Node]
-> ([Node] -> Either String (Maybe [EnvironmentInfoDescription]))
-> Either String (Maybe [EnvironmentInfoDescription])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [EnvironmentInfoDescription])
-> [Node] -> Either String (Maybe [EnvironmentInfoDescription])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [EnvironmentInfoDescription]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either String (Int -> RetrieveEnvironmentInfoResponse)
-> Either String Int
-> Either String RetrieveEnvironmentInfoResponse
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 RetrieveEnvironmentInfo
instance Prelude.NFData RetrieveEnvironmentInfo
instance Core.ToHeaders RetrieveEnvironmentInfo where
toHeaders :: RetrieveEnvironmentInfo -> ResponseHeaders
toHeaders = ResponseHeaders -> RetrieveEnvironmentInfo -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath RetrieveEnvironmentInfo where
toPath :: RetrieveEnvironmentInfo -> ByteString
toPath = ByteString -> RetrieveEnvironmentInfo -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery RetrieveEnvironmentInfo where
toQuery :: RetrieveEnvironmentInfo -> QueryString
toQuery RetrieveEnvironmentInfo' {Maybe Text
EnvironmentInfoType
infoType :: EnvironmentInfoType
environmentId :: Maybe Text
environmentName :: Maybe Text
$sel:infoType:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> EnvironmentInfoType
$sel:environmentId:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> Maybe Text
$sel:environmentName:RetrieveEnvironmentInfo' :: RetrieveEnvironmentInfo -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"RetrieveEnvironmentInfo" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
ByteString
"EnvironmentName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
environmentName,
ByteString
"EnvironmentId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
environmentId,
ByteString
"InfoType" ByteString -> EnvironmentInfoType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: EnvironmentInfoType
infoType
]
data RetrieveEnvironmentInfoResponse = RetrieveEnvironmentInfoResponse'
{
RetrieveEnvironmentInfoResponse
-> Maybe [EnvironmentInfoDescription]
environmentInfo :: Prelude.Maybe [EnvironmentInfoDescription],
RetrieveEnvironmentInfoResponse -> Int
httpStatus :: Prelude.Int
}
deriving (RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool
(RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool)
-> (RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool)
-> Eq RetrieveEnvironmentInfoResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool
$c/= :: RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool
== :: RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool
$c== :: RetrieveEnvironmentInfoResponse
-> RetrieveEnvironmentInfoResponse -> Bool
Prelude.Eq, ReadPrec [RetrieveEnvironmentInfoResponse]
ReadPrec RetrieveEnvironmentInfoResponse
Int -> ReadS RetrieveEnvironmentInfoResponse
ReadS [RetrieveEnvironmentInfoResponse]
(Int -> ReadS RetrieveEnvironmentInfoResponse)
-> ReadS [RetrieveEnvironmentInfoResponse]
-> ReadPrec RetrieveEnvironmentInfoResponse
-> ReadPrec [RetrieveEnvironmentInfoResponse]
-> Read RetrieveEnvironmentInfoResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RetrieveEnvironmentInfoResponse]
$creadListPrec :: ReadPrec [RetrieveEnvironmentInfoResponse]
readPrec :: ReadPrec RetrieveEnvironmentInfoResponse
$creadPrec :: ReadPrec RetrieveEnvironmentInfoResponse
readList :: ReadS [RetrieveEnvironmentInfoResponse]
$creadList :: ReadS [RetrieveEnvironmentInfoResponse]
readsPrec :: Int -> ReadS RetrieveEnvironmentInfoResponse
$creadsPrec :: Int -> ReadS RetrieveEnvironmentInfoResponse
Prelude.Read, Int -> RetrieveEnvironmentInfoResponse -> ShowS
[RetrieveEnvironmentInfoResponse] -> ShowS
RetrieveEnvironmentInfoResponse -> String
(Int -> RetrieveEnvironmentInfoResponse -> ShowS)
-> (RetrieveEnvironmentInfoResponse -> String)
-> ([RetrieveEnvironmentInfoResponse] -> ShowS)
-> Show RetrieveEnvironmentInfoResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RetrieveEnvironmentInfoResponse] -> ShowS
$cshowList :: [RetrieveEnvironmentInfoResponse] -> ShowS
show :: RetrieveEnvironmentInfoResponse -> String
$cshow :: RetrieveEnvironmentInfoResponse -> String
showsPrec :: Int -> RetrieveEnvironmentInfoResponse -> ShowS
$cshowsPrec :: Int -> RetrieveEnvironmentInfoResponse -> ShowS
Prelude.Show, (forall x.
RetrieveEnvironmentInfoResponse
-> Rep RetrieveEnvironmentInfoResponse x)
-> (forall x.
Rep RetrieveEnvironmentInfoResponse x
-> RetrieveEnvironmentInfoResponse)
-> Generic RetrieveEnvironmentInfoResponse
forall x.
Rep RetrieveEnvironmentInfoResponse x
-> RetrieveEnvironmentInfoResponse
forall x.
RetrieveEnvironmentInfoResponse
-> Rep RetrieveEnvironmentInfoResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RetrieveEnvironmentInfoResponse x
-> RetrieveEnvironmentInfoResponse
$cfrom :: forall x.
RetrieveEnvironmentInfoResponse
-> Rep RetrieveEnvironmentInfoResponse x
Prelude.Generic)
newRetrieveEnvironmentInfoResponse ::
Prelude.Int ->
RetrieveEnvironmentInfoResponse
newRetrieveEnvironmentInfoResponse :: Int -> RetrieveEnvironmentInfoResponse
newRetrieveEnvironmentInfoResponse Int
pHttpStatus_ =
RetrieveEnvironmentInfoResponse' :: Maybe [EnvironmentInfoDescription]
-> Int -> RetrieveEnvironmentInfoResponse
RetrieveEnvironmentInfoResponse'
{ $sel:environmentInfo:RetrieveEnvironmentInfoResponse' :: Maybe [EnvironmentInfoDescription]
environmentInfo =
Maybe [EnvironmentInfoDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:RetrieveEnvironmentInfoResponse' :: Int
httpStatus = Int
pHttpStatus_
}
retrieveEnvironmentInfoResponse_environmentInfo :: Lens.Lens' RetrieveEnvironmentInfoResponse (Prelude.Maybe [EnvironmentInfoDescription])
retrieveEnvironmentInfoResponse_environmentInfo :: (Maybe [EnvironmentInfoDescription]
-> f (Maybe [EnvironmentInfoDescription]))
-> RetrieveEnvironmentInfoResponse
-> f RetrieveEnvironmentInfoResponse
retrieveEnvironmentInfoResponse_environmentInfo = (RetrieveEnvironmentInfoResponse
-> Maybe [EnvironmentInfoDescription])
-> (RetrieveEnvironmentInfoResponse
-> Maybe [EnvironmentInfoDescription]
-> RetrieveEnvironmentInfoResponse)
-> Lens
RetrieveEnvironmentInfoResponse
RetrieveEnvironmentInfoResponse
(Maybe [EnvironmentInfoDescription])
(Maybe [EnvironmentInfoDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RetrieveEnvironmentInfoResponse' {Maybe [EnvironmentInfoDescription]
environmentInfo :: Maybe [EnvironmentInfoDescription]
$sel:environmentInfo:RetrieveEnvironmentInfoResponse' :: RetrieveEnvironmentInfoResponse
-> Maybe [EnvironmentInfoDescription]
environmentInfo} -> Maybe [EnvironmentInfoDescription]
environmentInfo) (\s :: RetrieveEnvironmentInfoResponse
s@RetrieveEnvironmentInfoResponse' {} Maybe [EnvironmentInfoDescription]
a -> RetrieveEnvironmentInfoResponse
s {$sel:environmentInfo:RetrieveEnvironmentInfoResponse' :: Maybe [EnvironmentInfoDescription]
environmentInfo = Maybe [EnvironmentInfoDescription]
a} :: RetrieveEnvironmentInfoResponse) ((Maybe [EnvironmentInfoDescription]
-> f (Maybe [EnvironmentInfoDescription]))
-> RetrieveEnvironmentInfoResponse
-> f RetrieveEnvironmentInfoResponse)
-> ((Maybe [EnvironmentInfoDescription]
-> f (Maybe [EnvironmentInfoDescription]))
-> Maybe [EnvironmentInfoDescription]
-> f (Maybe [EnvironmentInfoDescription]))
-> (Maybe [EnvironmentInfoDescription]
-> f (Maybe [EnvironmentInfoDescription]))
-> RetrieveEnvironmentInfoResponse
-> f RetrieveEnvironmentInfoResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
-> Iso
(Maybe [EnvironmentInfoDescription])
(Maybe [EnvironmentInfoDescription])
(Maybe [EnvironmentInfoDescription])
(Maybe [EnvironmentInfoDescription])
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
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
[EnvironmentInfoDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
retrieveEnvironmentInfoResponse_httpStatus :: Lens.Lens' RetrieveEnvironmentInfoResponse Prelude.Int
retrieveEnvironmentInfoResponse_httpStatus :: (Int -> f Int)
-> RetrieveEnvironmentInfoResponse
-> f RetrieveEnvironmentInfoResponse
retrieveEnvironmentInfoResponse_httpStatus = (RetrieveEnvironmentInfoResponse -> Int)
-> (RetrieveEnvironmentInfoResponse
-> Int -> RetrieveEnvironmentInfoResponse)
-> Lens
RetrieveEnvironmentInfoResponse
RetrieveEnvironmentInfoResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RetrieveEnvironmentInfoResponse' {Int
httpStatus :: Int
$sel:httpStatus:RetrieveEnvironmentInfoResponse' :: RetrieveEnvironmentInfoResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: RetrieveEnvironmentInfoResponse
s@RetrieveEnvironmentInfoResponse' {} Int
a -> RetrieveEnvironmentInfoResponse
s {$sel:httpStatus:RetrieveEnvironmentInfoResponse' :: Int
httpStatus = Int
a} :: RetrieveEnvironmentInfoResponse)
instance
Prelude.NFData
RetrieveEnvironmentInfoResponse