{-# 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.ECS.DescribeServices
(
DescribeServices (..),
newDescribeServices,
describeServices_include,
describeServices_cluster,
describeServices_services,
DescribeServicesResponse (..),
newDescribeServicesResponse,
describeServicesResponse_failures,
describeServicesResponse_services,
describeServicesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ECS.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 DescribeServices = DescribeServices'
{
DescribeServices -> Maybe [ServiceField]
include :: Prelude.Maybe [ServiceField],
DescribeServices -> Maybe Text
cluster :: Prelude.Maybe Prelude.Text,
DescribeServices -> [Text]
services :: [Prelude.Text]
}
deriving (DescribeServices -> DescribeServices -> Bool
(DescribeServices -> DescribeServices -> Bool)
-> (DescribeServices -> DescribeServices -> Bool)
-> Eq DescribeServices
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeServices -> DescribeServices -> Bool
$c/= :: DescribeServices -> DescribeServices -> Bool
== :: DescribeServices -> DescribeServices -> Bool
$c== :: DescribeServices -> DescribeServices -> Bool
Prelude.Eq, ReadPrec [DescribeServices]
ReadPrec DescribeServices
Int -> ReadS DescribeServices
ReadS [DescribeServices]
(Int -> ReadS DescribeServices)
-> ReadS [DescribeServices]
-> ReadPrec DescribeServices
-> ReadPrec [DescribeServices]
-> Read DescribeServices
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeServices]
$creadListPrec :: ReadPrec [DescribeServices]
readPrec :: ReadPrec DescribeServices
$creadPrec :: ReadPrec DescribeServices
readList :: ReadS [DescribeServices]
$creadList :: ReadS [DescribeServices]
readsPrec :: Int -> ReadS DescribeServices
$creadsPrec :: Int -> ReadS DescribeServices
Prelude.Read, Int -> DescribeServices -> ShowS
[DescribeServices] -> ShowS
DescribeServices -> String
(Int -> DescribeServices -> ShowS)
-> (DescribeServices -> String)
-> ([DescribeServices] -> ShowS)
-> Show DescribeServices
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeServices] -> ShowS
$cshowList :: [DescribeServices] -> ShowS
show :: DescribeServices -> String
$cshow :: DescribeServices -> String
showsPrec :: Int -> DescribeServices -> ShowS
$cshowsPrec :: Int -> DescribeServices -> ShowS
Prelude.Show, (forall x. DescribeServices -> Rep DescribeServices x)
-> (forall x. Rep DescribeServices x -> DescribeServices)
-> Generic DescribeServices
forall x. Rep DescribeServices x -> DescribeServices
forall x. DescribeServices -> Rep DescribeServices x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeServices x -> DescribeServices
$cfrom :: forall x. DescribeServices -> Rep DescribeServices x
Prelude.Generic)
newDescribeServices ::
DescribeServices
newDescribeServices :: DescribeServices
newDescribeServices =
DescribeServices' :: Maybe [ServiceField] -> Maybe Text -> [Text] -> DescribeServices
DescribeServices'
{ $sel:include:DescribeServices' :: Maybe [ServiceField]
include = Maybe [ServiceField]
forall a. Maybe a
Prelude.Nothing,
$sel:cluster:DescribeServices' :: Maybe Text
cluster = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:services:DescribeServices' :: [Text]
services = [Text]
forall a. Monoid a => a
Prelude.mempty
}
describeServices_include :: Lens.Lens' DescribeServices (Prelude.Maybe [ServiceField])
describeServices_include :: (Maybe [ServiceField] -> f (Maybe [ServiceField]))
-> DescribeServices -> f DescribeServices
describeServices_include = (DescribeServices -> Maybe [ServiceField])
-> (DescribeServices -> Maybe [ServiceField] -> DescribeServices)
-> Lens
DescribeServices
DescribeServices
(Maybe [ServiceField])
(Maybe [ServiceField])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServices' {Maybe [ServiceField]
include :: Maybe [ServiceField]
$sel:include:DescribeServices' :: DescribeServices -> Maybe [ServiceField]
include} -> Maybe [ServiceField]
include) (\s :: DescribeServices
s@DescribeServices' {} Maybe [ServiceField]
a -> DescribeServices
s {$sel:include:DescribeServices' :: Maybe [ServiceField]
include = Maybe [ServiceField]
a} :: DescribeServices) ((Maybe [ServiceField] -> f (Maybe [ServiceField]))
-> DescribeServices -> f DescribeServices)
-> ((Maybe [ServiceField] -> f (Maybe [ServiceField]))
-> Maybe [ServiceField] -> f (Maybe [ServiceField]))
-> (Maybe [ServiceField] -> f (Maybe [ServiceField]))
-> DescribeServices
-> f DescribeServices
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [ServiceField] [ServiceField] [ServiceField] [ServiceField]
-> Iso
(Maybe [ServiceField])
(Maybe [ServiceField])
(Maybe [ServiceField])
(Maybe [ServiceField])
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 [ServiceField] [ServiceField] [ServiceField] [ServiceField]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeServices_cluster :: Lens.Lens' DescribeServices (Prelude.Maybe Prelude.Text)
describeServices_cluster :: (Maybe Text -> f (Maybe Text))
-> DescribeServices -> f DescribeServices
describeServices_cluster = (DescribeServices -> Maybe Text)
-> (DescribeServices -> Maybe Text -> DescribeServices)
-> Lens DescribeServices DescribeServices (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServices' {Maybe Text
cluster :: Maybe Text
$sel:cluster:DescribeServices' :: DescribeServices -> Maybe Text
cluster} -> Maybe Text
cluster) (\s :: DescribeServices
s@DescribeServices' {} Maybe Text
a -> DescribeServices
s {$sel:cluster:DescribeServices' :: Maybe Text
cluster = Maybe Text
a} :: DescribeServices)
describeServices_services :: Lens.Lens' DescribeServices [Prelude.Text]
describeServices_services :: ([Text] -> f [Text]) -> DescribeServices -> f DescribeServices
describeServices_services = (DescribeServices -> [Text])
-> (DescribeServices -> [Text] -> DescribeServices)
-> Lens DescribeServices DescribeServices [Text] [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServices' {[Text]
services :: [Text]
$sel:services:DescribeServices' :: DescribeServices -> [Text]
services} -> [Text]
services) (\s :: DescribeServices
s@DescribeServices' {} [Text]
a -> DescribeServices
s {$sel:services:DescribeServices' :: [Text]
services = [Text]
a} :: DescribeServices) (([Text] -> f [Text]) -> DescribeServices -> f DescribeServices)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> DescribeServices
-> f DescribeServices
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest DescribeServices where
type
AWSResponse DescribeServices =
DescribeServicesResponse
request :: DescribeServices -> Request DescribeServices
request = Service -> DescribeServices -> Request DescribeServices
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeServices
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeServices)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeServices))
-> Logger
-> Service
-> Proxy DescribeServices
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeServices)))
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 [Failure]
-> Maybe [ContainerService] -> Int -> DescribeServicesResponse
DescribeServicesResponse'
(Maybe [Failure]
-> Maybe [ContainerService] -> Int -> DescribeServicesResponse)
-> Either String (Maybe [Failure])
-> Either
String
(Maybe [ContainerService] -> Int -> DescribeServicesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Failure]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"failures" Either String (Maybe (Maybe [Failure]))
-> Maybe [Failure] -> Either String (Maybe [Failure])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Failure]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe [ContainerService] -> Int -> DescribeServicesResponse)
-> Either String (Maybe [ContainerService])
-> Either String (Int -> DescribeServicesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [ContainerService]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"services" Either String (Maybe (Maybe [ContainerService]))
-> Maybe [ContainerService]
-> Either String (Maybe [ContainerService])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ContainerService]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> DescribeServicesResponse)
-> Either String Int -> Either String DescribeServicesResponse
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 DescribeServices
instance Prelude.NFData DescribeServices
instance Core.ToHeaders DescribeServices where
toHeaders :: DescribeServices -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeServices -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AmazonEC2ContainerServiceV20141113.DescribeServices" ::
Prelude.ByteString
),
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 DescribeServices where
toJSON :: DescribeServices -> Value
toJSON DescribeServices' {[Text]
Maybe [ServiceField]
Maybe Text
services :: [Text]
cluster :: Maybe Text
include :: Maybe [ServiceField]
$sel:services:DescribeServices' :: DescribeServices -> [Text]
$sel:cluster:DescribeServices' :: DescribeServices -> Maybe Text
$sel:include:DescribeServices' :: DescribeServices -> Maybe [ServiceField]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"include" Text -> [ServiceField] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([ServiceField] -> Pair) -> Maybe [ServiceField] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ServiceField]
include,
(Text
"cluster" 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
cluster,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"services" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [Text]
services)
]
)
instance Core.ToPath DescribeServices where
toPath :: DescribeServices -> ByteString
toPath = ByteString -> DescribeServices -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeServices where
toQuery :: DescribeServices -> QueryString
toQuery = QueryString -> DescribeServices -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeServicesResponse = DescribeServicesResponse'
{
DescribeServicesResponse -> Maybe [Failure]
failures :: Prelude.Maybe [Failure],
DescribeServicesResponse -> Maybe [ContainerService]
services :: Prelude.Maybe [ContainerService],
DescribeServicesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeServicesResponse -> DescribeServicesResponse -> Bool
(DescribeServicesResponse -> DescribeServicesResponse -> Bool)
-> (DescribeServicesResponse -> DescribeServicesResponse -> Bool)
-> Eq DescribeServicesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeServicesResponse -> DescribeServicesResponse -> Bool
$c/= :: DescribeServicesResponse -> DescribeServicesResponse -> Bool
== :: DescribeServicesResponse -> DescribeServicesResponse -> Bool
$c== :: DescribeServicesResponse -> DescribeServicesResponse -> Bool
Prelude.Eq, ReadPrec [DescribeServicesResponse]
ReadPrec DescribeServicesResponse
Int -> ReadS DescribeServicesResponse
ReadS [DescribeServicesResponse]
(Int -> ReadS DescribeServicesResponse)
-> ReadS [DescribeServicesResponse]
-> ReadPrec DescribeServicesResponse
-> ReadPrec [DescribeServicesResponse]
-> Read DescribeServicesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeServicesResponse]
$creadListPrec :: ReadPrec [DescribeServicesResponse]
readPrec :: ReadPrec DescribeServicesResponse
$creadPrec :: ReadPrec DescribeServicesResponse
readList :: ReadS [DescribeServicesResponse]
$creadList :: ReadS [DescribeServicesResponse]
readsPrec :: Int -> ReadS DescribeServicesResponse
$creadsPrec :: Int -> ReadS DescribeServicesResponse
Prelude.Read, Int -> DescribeServicesResponse -> ShowS
[DescribeServicesResponse] -> ShowS
DescribeServicesResponse -> String
(Int -> DescribeServicesResponse -> ShowS)
-> (DescribeServicesResponse -> String)
-> ([DescribeServicesResponse] -> ShowS)
-> Show DescribeServicesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeServicesResponse] -> ShowS
$cshowList :: [DescribeServicesResponse] -> ShowS
show :: DescribeServicesResponse -> String
$cshow :: DescribeServicesResponse -> String
showsPrec :: Int -> DescribeServicesResponse -> ShowS
$cshowsPrec :: Int -> DescribeServicesResponse -> ShowS
Prelude.Show, (forall x.
DescribeServicesResponse -> Rep DescribeServicesResponse x)
-> (forall x.
Rep DescribeServicesResponse x -> DescribeServicesResponse)
-> Generic DescribeServicesResponse
forall x.
Rep DescribeServicesResponse x -> DescribeServicesResponse
forall x.
DescribeServicesResponse -> Rep DescribeServicesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeServicesResponse x -> DescribeServicesResponse
$cfrom :: forall x.
DescribeServicesResponse -> Rep DescribeServicesResponse x
Prelude.Generic)
newDescribeServicesResponse ::
Prelude.Int ->
DescribeServicesResponse
newDescribeServicesResponse :: Int -> DescribeServicesResponse
newDescribeServicesResponse Int
pHttpStatus_ =
DescribeServicesResponse' :: Maybe [Failure]
-> Maybe [ContainerService] -> Int -> DescribeServicesResponse
DescribeServicesResponse'
{ $sel:failures:DescribeServicesResponse' :: Maybe [Failure]
failures =
Maybe [Failure]
forall a. Maybe a
Prelude.Nothing,
$sel:services:DescribeServicesResponse' :: Maybe [ContainerService]
services = Maybe [ContainerService]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeServicesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeServicesResponse_failures :: Lens.Lens' DescribeServicesResponse (Prelude.Maybe [Failure])
describeServicesResponse_failures :: (Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeServicesResponse -> f DescribeServicesResponse
describeServicesResponse_failures = (DescribeServicesResponse -> Maybe [Failure])
-> (DescribeServicesResponse
-> Maybe [Failure] -> DescribeServicesResponse)
-> Lens
DescribeServicesResponse
DescribeServicesResponse
(Maybe [Failure])
(Maybe [Failure])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServicesResponse' {Maybe [Failure]
failures :: Maybe [Failure]
$sel:failures:DescribeServicesResponse' :: DescribeServicesResponse -> Maybe [Failure]
failures} -> Maybe [Failure]
failures) (\s :: DescribeServicesResponse
s@DescribeServicesResponse' {} Maybe [Failure]
a -> DescribeServicesResponse
s {$sel:failures:DescribeServicesResponse' :: Maybe [Failure]
failures = Maybe [Failure]
a} :: DescribeServicesResponse) ((Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeServicesResponse -> f DescribeServicesResponse)
-> ((Maybe [Failure] -> f (Maybe [Failure]))
-> Maybe [Failure] -> f (Maybe [Failure]))
-> (Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeServicesResponse
-> f DescribeServicesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Failure] [Failure] [Failure] [Failure]
-> Iso
(Maybe [Failure])
(Maybe [Failure])
(Maybe [Failure])
(Maybe [Failure])
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 [Failure] [Failure] [Failure] [Failure]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeServicesResponse_services :: Lens.Lens' DescribeServicesResponse (Prelude.Maybe [ContainerService])
describeServicesResponse_services :: (Maybe [ContainerService] -> f (Maybe [ContainerService]))
-> DescribeServicesResponse -> f DescribeServicesResponse
describeServicesResponse_services = (DescribeServicesResponse -> Maybe [ContainerService])
-> (DescribeServicesResponse
-> Maybe [ContainerService] -> DescribeServicesResponse)
-> Lens
DescribeServicesResponse
DescribeServicesResponse
(Maybe [ContainerService])
(Maybe [ContainerService])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServicesResponse' {Maybe [ContainerService]
services :: Maybe [ContainerService]
$sel:services:DescribeServicesResponse' :: DescribeServicesResponse -> Maybe [ContainerService]
services} -> Maybe [ContainerService]
services) (\s :: DescribeServicesResponse
s@DescribeServicesResponse' {} Maybe [ContainerService]
a -> DescribeServicesResponse
s {$sel:services:DescribeServicesResponse' :: Maybe [ContainerService]
services = Maybe [ContainerService]
a} :: DescribeServicesResponse) ((Maybe [ContainerService] -> f (Maybe [ContainerService]))
-> DescribeServicesResponse -> f DescribeServicesResponse)
-> ((Maybe [ContainerService] -> f (Maybe [ContainerService]))
-> Maybe [ContainerService] -> f (Maybe [ContainerService]))
-> (Maybe [ContainerService] -> f (Maybe [ContainerService]))
-> DescribeServicesResponse
-> f DescribeServicesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ContainerService]
[ContainerService]
[ContainerService]
[ContainerService]
-> Iso
(Maybe [ContainerService])
(Maybe [ContainerService])
(Maybe [ContainerService])
(Maybe [ContainerService])
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
[ContainerService]
[ContainerService]
[ContainerService]
[ContainerService]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeServicesResponse_httpStatus :: Lens.Lens' DescribeServicesResponse Prelude.Int
describeServicesResponse_httpStatus :: (Int -> f Int)
-> DescribeServicesResponse -> f DescribeServicesResponse
describeServicesResponse_httpStatus = (DescribeServicesResponse -> Int)
-> (DescribeServicesResponse -> Int -> DescribeServicesResponse)
-> Lens DescribeServicesResponse DescribeServicesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeServicesResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeServicesResponse' :: DescribeServicesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeServicesResponse
s@DescribeServicesResponse' {} Int
a -> DescribeServicesResponse
s {$sel:httpStatus:DescribeServicesResponse' :: Int
httpStatus = Int
a} :: DescribeServicesResponse)
instance Prelude.NFData DescribeServicesResponse