{-# 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.DescribeEnvironmentManagedActions
(
DescribeEnvironmentManagedActions (..),
newDescribeEnvironmentManagedActions,
describeEnvironmentManagedActions_status,
describeEnvironmentManagedActions_environmentName,
describeEnvironmentManagedActions_environmentId,
DescribeEnvironmentManagedActionsResponse (..),
newDescribeEnvironmentManagedActionsResponse,
describeEnvironmentManagedActionsResponse_managedActions,
describeEnvironmentManagedActionsResponse_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 DescribeEnvironmentManagedActions = DescribeEnvironmentManagedActions'
{
DescribeEnvironmentManagedActions -> Maybe ActionStatus
status :: Prelude.Maybe ActionStatus,
DescribeEnvironmentManagedActions -> Maybe Text
environmentName :: Prelude.Maybe Prelude.Text,
DescribeEnvironmentManagedActions -> Maybe Text
environmentId :: Prelude.Maybe Prelude.Text
}
deriving (DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool
(DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool)
-> (DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool)
-> Eq DescribeEnvironmentManagedActions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool
$c/= :: DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool
== :: DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool
$c== :: DescribeEnvironmentManagedActions
-> DescribeEnvironmentManagedActions -> Bool
Prelude.Eq, ReadPrec [DescribeEnvironmentManagedActions]
ReadPrec DescribeEnvironmentManagedActions
Int -> ReadS DescribeEnvironmentManagedActions
ReadS [DescribeEnvironmentManagedActions]
(Int -> ReadS DescribeEnvironmentManagedActions)
-> ReadS [DescribeEnvironmentManagedActions]
-> ReadPrec DescribeEnvironmentManagedActions
-> ReadPrec [DescribeEnvironmentManagedActions]
-> Read DescribeEnvironmentManagedActions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeEnvironmentManagedActions]
$creadListPrec :: ReadPrec [DescribeEnvironmentManagedActions]
readPrec :: ReadPrec DescribeEnvironmentManagedActions
$creadPrec :: ReadPrec DescribeEnvironmentManagedActions
readList :: ReadS [DescribeEnvironmentManagedActions]
$creadList :: ReadS [DescribeEnvironmentManagedActions]
readsPrec :: Int -> ReadS DescribeEnvironmentManagedActions
$creadsPrec :: Int -> ReadS DescribeEnvironmentManagedActions
Prelude.Read, Int -> DescribeEnvironmentManagedActions -> ShowS
[DescribeEnvironmentManagedActions] -> ShowS
DescribeEnvironmentManagedActions -> String
(Int -> DescribeEnvironmentManagedActions -> ShowS)
-> (DescribeEnvironmentManagedActions -> String)
-> ([DescribeEnvironmentManagedActions] -> ShowS)
-> Show DescribeEnvironmentManagedActions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeEnvironmentManagedActions] -> ShowS
$cshowList :: [DescribeEnvironmentManagedActions] -> ShowS
show :: DescribeEnvironmentManagedActions -> String
$cshow :: DescribeEnvironmentManagedActions -> String
showsPrec :: Int -> DescribeEnvironmentManagedActions -> ShowS
$cshowsPrec :: Int -> DescribeEnvironmentManagedActions -> ShowS
Prelude.Show, (forall x.
DescribeEnvironmentManagedActions
-> Rep DescribeEnvironmentManagedActions x)
-> (forall x.
Rep DescribeEnvironmentManagedActions x
-> DescribeEnvironmentManagedActions)
-> Generic DescribeEnvironmentManagedActions
forall x.
Rep DescribeEnvironmentManagedActions x
-> DescribeEnvironmentManagedActions
forall x.
DescribeEnvironmentManagedActions
-> Rep DescribeEnvironmentManagedActions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeEnvironmentManagedActions x
-> DescribeEnvironmentManagedActions
$cfrom :: forall x.
DescribeEnvironmentManagedActions
-> Rep DescribeEnvironmentManagedActions x
Prelude.Generic)
newDescribeEnvironmentManagedActions ::
DescribeEnvironmentManagedActions
newDescribeEnvironmentManagedActions :: DescribeEnvironmentManagedActions
newDescribeEnvironmentManagedActions =
DescribeEnvironmentManagedActions' :: Maybe ActionStatus
-> Maybe Text -> Maybe Text -> DescribeEnvironmentManagedActions
DescribeEnvironmentManagedActions'
{ $sel:status:DescribeEnvironmentManagedActions' :: Maybe ActionStatus
status =
Maybe ActionStatus
forall a. Maybe a
Prelude.Nothing,
$sel:environmentName:DescribeEnvironmentManagedActions' :: Maybe Text
environmentName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environmentId:DescribeEnvironmentManagedActions' :: Maybe Text
environmentId = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
describeEnvironmentManagedActions_status :: Lens.Lens' DescribeEnvironmentManagedActions (Prelude.Maybe ActionStatus)
describeEnvironmentManagedActions_status :: (Maybe ActionStatus -> f (Maybe ActionStatus))
-> DescribeEnvironmentManagedActions
-> f DescribeEnvironmentManagedActions
describeEnvironmentManagedActions_status = (DescribeEnvironmentManagedActions -> Maybe ActionStatus)
-> (DescribeEnvironmentManagedActions
-> Maybe ActionStatus -> DescribeEnvironmentManagedActions)
-> Lens
DescribeEnvironmentManagedActions
DescribeEnvironmentManagedActions
(Maybe ActionStatus)
(Maybe ActionStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEnvironmentManagedActions' {Maybe ActionStatus
status :: Maybe ActionStatus
$sel:status:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe ActionStatus
status} -> Maybe ActionStatus
status) (\s :: DescribeEnvironmentManagedActions
s@DescribeEnvironmentManagedActions' {} Maybe ActionStatus
a -> DescribeEnvironmentManagedActions
s {$sel:status:DescribeEnvironmentManagedActions' :: Maybe ActionStatus
status = Maybe ActionStatus
a} :: DescribeEnvironmentManagedActions)
describeEnvironmentManagedActions_environmentName :: Lens.Lens' DescribeEnvironmentManagedActions (Prelude.Maybe Prelude.Text)
describeEnvironmentManagedActions_environmentName :: (Maybe Text -> f (Maybe Text))
-> DescribeEnvironmentManagedActions
-> f DescribeEnvironmentManagedActions
describeEnvironmentManagedActions_environmentName = (DescribeEnvironmentManagedActions -> Maybe Text)
-> (DescribeEnvironmentManagedActions
-> Maybe Text -> DescribeEnvironmentManagedActions)
-> Lens
DescribeEnvironmentManagedActions
DescribeEnvironmentManagedActions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEnvironmentManagedActions' {Maybe Text
environmentName :: Maybe Text
$sel:environmentName:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe Text
environmentName} -> Maybe Text
environmentName) (\s :: DescribeEnvironmentManagedActions
s@DescribeEnvironmentManagedActions' {} Maybe Text
a -> DescribeEnvironmentManagedActions
s {$sel:environmentName:DescribeEnvironmentManagedActions' :: Maybe Text
environmentName = Maybe Text
a} :: DescribeEnvironmentManagedActions)
describeEnvironmentManagedActions_environmentId :: Lens.Lens' DescribeEnvironmentManagedActions (Prelude.Maybe Prelude.Text)
describeEnvironmentManagedActions_environmentId :: (Maybe Text -> f (Maybe Text))
-> DescribeEnvironmentManagedActions
-> f DescribeEnvironmentManagedActions
describeEnvironmentManagedActions_environmentId = (DescribeEnvironmentManagedActions -> Maybe Text)
-> (DescribeEnvironmentManagedActions
-> Maybe Text -> DescribeEnvironmentManagedActions)
-> Lens
DescribeEnvironmentManagedActions
DescribeEnvironmentManagedActions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEnvironmentManagedActions' {Maybe Text
environmentId :: Maybe Text
$sel:environmentId:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe Text
environmentId} -> Maybe Text
environmentId) (\s :: DescribeEnvironmentManagedActions
s@DescribeEnvironmentManagedActions' {} Maybe Text
a -> DescribeEnvironmentManagedActions
s {$sel:environmentId:DescribeEnvironmentManagedActions' :: Maybe Text
environmentId = Maybe Text
a} :: DescribeEnvironmentManagedActions)
instance
Core.AWSRequest
DescribeEnvironmentManagedActions
where
type
AWSResponse DescribeEnvironmentManagedActions =
DescribeEnvironmentManagedActionsResponse
request :: DescribeEnvironmentManagedActions
-> Request DescribeEnvironmentManagedActions
request = Service
-> DescribeEnvironmentManagedActions
-> Request DescribeEnvironmentManagedActions
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeEnvironmentManagedActions
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeEnvironmentManagedActions)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse DescribeEnvironmentManagedActions))
-> Logger
-> Service
-> Proxy DescribeEnvironmentManagedActions
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeEnvironmentManagedActions)))
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
"DescribeEnvironmentManagedActionsResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe (NonEmpty ManagedAction)
-> Int -> DescribeEnvironmentManagedActionsResponse
DescribeEnvironmentManagedActionsResponse'
(Maybe (NonEmpty ManagedAction)
-> Int -> DescribeEnvironmentManagedActionsResponse)
-> Either String (Maybe (NonEmpty ManagedAction))
-> Either String (Int -> DescribeEnvironmentManagedActionsResponse)
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
"ManagedActions" 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 (NonEmpty ManagedAction)))
-> Either String (Maybe (NonEmpty ManagedAction))
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String (NonEmpty ManagedAction))
-> [Node] -> Either String (Maybe (NonEmpty ManagedAction))
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String (NonEmpty ManagedAction)
forall a. FromXML a => Text -> [Node] -> Either String (NonEmpty a)
Core.parseXMLList1 Text
"member")
)
Either String (Int -> DescribeEnvironmentManagedActionsResponse)
-> Either String Int
-> Either String DescribeEnvironmentManagedActionsResponse
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
DescribeEnvironmentManagedActions
instance
Prelude.NFData
DescribeEnvironmentManagedActions
instance
Core.ToHeaders
DescribeEnvironmentManagedActions
where
toHeaders :: DescribeEnvironmentManagedActions -> ResponseHeaders
toHeaders = ResponseHeaders
-> DescribeEnvironmentManagedActions -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
DescribeEnvironmentManagedActions
where
toPath :: DescribeEnvironmentManagedActions -> ByteString
toPath = ByteString -> DescribeEnvironmentManagedActions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeEnvironmentManagedActions
where
toQuery :: DescribeEnvironmentManagedActions -> QueryString
toQuery DescribeEnvironmentManagedActions' {Maybe Text
Maybe ActionStatus
environmentId :: Maybe Text
environmentName :: Maybe Text
status :: Maybe ActionStatus
$sel:environmentId:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe Text
$sel:environmentName:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe Text
$sel:status:DescribeEnvironmentManagedActions' :: DescribeEnvironmentManagedActions -> Maybe ActionStatus
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"DescribeEnvironmentManagedActions" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
ByteString
"Status" ByteString -> Maybe ActionStatus -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe ActionStatus
status,
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
]
data DescribeEnvironmentManagedActionsResponse = DescribeEnvironmentManagedActionsResponse'
{
DescribeEnvironmentManagedActionsResponse
-> Maybe (NonEmpty ManagedAction)
managedActions :: Prelude.Maybe (Prelude.NonEmpty ManagedAction),
DescribeEnvironmentManagedActionsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool
(DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool)
-> (DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool)
-> Eq DescribeEnvironmentManagedActionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool
$c/= :: DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool
== :: DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool
$c== :: DescribeEnvironmentManagedActionsResponse
-> DescribeEnvironmentManagedActionsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeEnvironmentManagedActionsResponse]
ReadPrec DescribeEnvironmentManagedActionsResponse
Int -> ReadS DescribeEnvironmentManagedActionsResponse
ReadS [DescribeEnvironmentManagedActionsResponse]
(Int -> ReadS DescribeEnvironmentManagedActionsResponse)
-> ReadS [DescribeEnvironmentManagedActionsResponse]
-> ReadPrec DescribeEnvironmentManagedActionsResponse
-> ReadPrec [DescribeEnvironmentManagedActionsResponse]
-> Read DescribeEnvironmentManagedActionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeEnvironmentManagedActionsResponse]
$creadListPrec :: ReadPrec [DescribeEnvironmentManagedActionsResponse]
readPrec :: ReadPrec DescribeEnvironmentManagedActionsResponse
$creadPrec :: ReadPrec DescribeEnvironmentManagedActionsResponse
readList :: ReadS [DescribeEnvironmentManagedActionsResponse]
$creadList :: ReadS [DescribeEnvironmentManagedActionsResponse]
readsPrec :: Int -> ReadS DescribeEnvironmentManagedActionsResponse
$creadsPrec :: Int -> ReadS DescribeEnvironmentManagedActionsResponse
Prelude.Read, Int -> DescribeEnvironmentManagedActionsResponse -> ShowS
[DescribeEnvironmentManagedActionsResponse] -> ShowS
DescribeEnvironmentManagedActionsResponse -> String
(Int -> DescribeEnvironmentManagedActionsResponse -> ShowS)
-> (DescribeEnvironmentManagedActionsResponse -> String)
-> ([DescribeEnvironmentManagedActionsResponse] -> ShowS)
-> Show DescribeEnvironmentManagedActionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeEnvironmentManagedActionsResponse] -> ShowS
$cshowList :: [DescribeEnvironmentManagedActionsResponse] -> ShowS
show :: DescribeEnvironmentManagedActionsResponse -> String
$cshow :: DescribeEnvironmentManagedActionsResponse -> String
showsPrec :: Int -> DescribeEnvironmentManagedActionsResponse -> ShowS
$cshowsPrec :: Int -> DescribeEnvironmentManagedActionsResponse -> ShowS
Prelude.Show, (forall x.
DescribeEnvironmentManagedActionsResponse
-> Rep DescribeEnvironmentManagedActionsResponse x)
-> (forall x.
Rep DescribeEnvironmentManagedActionsResponse x
-> DescribeEnvironmentManagedActionsResponse)
-> Generic DescribeEnvironmentManagedActionsResponse
forall x.
Rep DescribeEnvironmentManagedActionsResponse x
-> DescribeEnvironmentManagedActionsResponse
forall x.
DescribeEnvironmentManagedActionsResponse
-> Rep DescribeEnvironmentManagedActionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeEnvironmentManagedActionsResponse x
-> DescribeEnvironmentManagedActionsResponse
$cfrom :: forall x.
DescribeEnvironmentManagedActionsResponse
-> Rep DescribeEnvironmentManagedActionsResponse x
Prelude.Generic)
newDescribeEnvironmentManagedActionsResponse ::
Prelude.Int ->
DescribeEnvironmentManagedActionsResponse
newDescribeEnvironmentManagedActionsResponse :: Int -> DescribeEnvironmentManagedActionsResponse
newDescribeEnvironmentManagedActionsResponse
Int
pHttpStatus_ =
DescribeEnvironmentManagedActionsResponse' :: Maybe (NonEmpty ManagedAction)
-> Int -> DescribeEnvironmentManagedActionsResponse
DescribeEnvironmentManagedActionsResponse'
{ $sel:managedActions:DescribeEnvironmentManagedActionsResponse' :: Maybe (NonEmpty ManagedAction)
managedActions =
Maybe (NonEmpty ManagedAction)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeEnvironmentManagedActionsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeEnvironmentManagedActionsResponse_managedActions :: Lens.Lens' DescribeEnvironmentManagedActionsResponse (Prelude.Maybe (Prelude.NonEmpty ManagedAction))
describeEnvironmentManagedActionsResponse_managedActions :: (Maybe (NonEmpty ManagedAction)
-> f (Maybe (NonEmpty ManagedAction)))
-> DescribeEnvironmentManagedActionsResponse
-> f DescribeEnvironmentManagedActionsResponse
describeEnvironmentManagedActionsResponse_managedActions = (DescribeEnvironmentManagedActionsResponse
-> Maybe (NonEmpty ManagedAction))
-> (DescribeEnvironmentManagedActionsResponse
-> Maybe (NonEmpty ManagedAction)
-> DescribeEnvironmentManagedActionsResponse)
-> Lens
DescribeEnvironmentManagedActionsResponse
DescribeEnvironmentManagedActionsResponse
(Maybe (NonEmpty ManagedAction))
(Maybe (NonEmpty ManagedAction))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEnvironmentManagedActionsResponse' {Maybe (NonEmpty ManagedAction)
managedActions :: Maybe (NonEmpty ManagedAction)
$sel:managedActions:DescribeEnvironmentManagedActionsResponse' :: DescribeEnvironmentManagedActionsResponse
-> Maybe (NonEmpty ManagedAction)
managedActions} -> Maybe (NonEmpty ManagedAction)
managedActions) (\s :: DescribeEnvironmentManagedActionsResponse
s@DescribeEnvironmentManagedActionsResponse' {} Maybe (NonEmpty ManagedAction)
a -> DescribeEnvironmentManagedActionsResponse
s {$sel:managedActions:DescribeEnvironmentManagedActionsResponse' :: Maybe (NonEmpty ManagedAction)
managedActions = Maybe (NonEmpty ManagedAction)
a} :: DescribeEnvironmentManagedActionsResponse) ((Maybe (NonEmpty ManagedAction)
-> f (Maybe (NonEmpty ManagedAction)))
-> DescribeEnvironmentManagedActionsResponse
-> f DescribeEnvironmentManagedActionsResponse)
-> ((Maybe (NonEmpty ManagedAction)
-> f (Maybe (NonEmpty ManagedAction)))
-> Maybe (NonEmpty ManagedAction)
-> f (Maybe (NonEmpty ManagedAction)))
-> (Maybe (NonEmpty ManagedAction)
-> f (Maybe (NonEmpty ManagedAction)))
-> DescribeEnvironmentManagedActionsResponse
-> f DescribeEnvironmentManagedActionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
-> Iso
(Maybe (NonEmpty ManagedAction))
(Maybe (NonEmpty ManagedAction))
(Maybe (NonEmpty ManagedAction))
(Maybe (NonEmpty ManagedAction))
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
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
(NonEmpty ManagedAction)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeEnvironmentManagedActionsResponse_httpStatus :: Lens.Lens' DescribeEnvironmentManagedActionsResponse Prelude.Int
describeEnvironmentManagedActionsResponse_httpStatus :: (Int -> f Int)
-> DescribeEnvironmentManagedActionsResponse
-> f DescribeEnvironmentManagedActionsResponse
describeEnvironmentManagedActionsResponse_httpStatus = (DescribeEnvironmentManagedActionsResponse -> Int)
-> (DescribeEnvironmentManagedActionsResponse
-> Int -> DescribeEnvironmentManagedActionsResponse)
-> Lens
DescribeEnvironmentManagedActionsResponse
DescribeEnvironmentManagedActionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEnvironmentManagedActionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeEnvironmentManagedActionsResponse' :: DescribeEnvironmentManagedActionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeEnvironmentManagedActionsResponse
s@DescribeEnvironmentManagedActionsResponse' {} Int
a -> DescribeEnvironmentManagedActionsResponse
s {$sel:httpStatus:DescribeEnvironmentManagedActionsResponse' :: Int
httpStatus = Int
a} :: DescribeEnvironmentManagedActionsResponse)
instance
Prelude.NFData
DescribeEnvironmentManagedActionsResponse