amazonka-ecs-1.5.0: Amazon EC2 Container Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.DescribeServices

Contents

Description

Describes the specified services running in your cluster.

Synopsis

Creating a Request

describeServices :: DescribeServices Source #

Creates a value of DescribeServices with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dCluster - The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.
  • dServices - A list of services to describe. You may specify up to 10 services to describe in a single operation.

data DescribeServices Source #

See: describeServices smart constructor.

Instances

Eq DescribeServices Source # 
Data DescribeServices Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeServices -> c DescribeServices #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeServices #

toConstr :: DescribeServices -> Constr #

dataTypeOf :: DescribeServices -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeServices) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeServices) #

gmapT :: (forall b. Data b => b -> b) -> DescribeServices -> DescribeServices #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServices -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServices -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeServices -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeServices -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeServices -> m DescribeServices #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServices -> m DescribeServices #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServices -> m DescribeServices #

Read DescribeServices Source # 
Show DescribeServices Source # 
Generic DescribeServices Source # 
Hashable DescribeServices Source # 
ToJSON DescribeServices Source # 
NFData DescribeServices Source # 

Methods

rnf :: DescribeServices -> () #

AWSRequest DescribeServices Source # 
ToQuery DescribeServices Source # 
ToPath DescribeServices Source # 
ToHeaders DescribeServices Source # 
type Rep DescribeServices Source # 
type Rep DescribeServices = D1 (MetaData "DescribeServices" "Network.AWS.ECS.DescribeServices" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "DescribeServices'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs DescribeServices Source # 

Request Lenses

dCluster :: Lens' DescribeServices (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.

dServices :: Lens' DescribeServices [Text] Source #

A list of services to describe. You may specify up to 10 services to describe in a single operation.

Destructuring the Response

describeServicesResponse Source #

Creates a value of DescribeServicesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeServicesResponse Source #

See: describeServicesResponse smart constructor.

Instances

Eq DescribeServicesResponse Source # 
Data DescribeServicesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeServicesResponse -> c DescribeServicesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeServicesResponse #

toConstr :: DescribeServicesResponse -> Constr #

dataTypeOf :: DescribeServicesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeServicesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeServicesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeServicesResponse -> DescribeServicesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServicesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServicesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeServicesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeServicesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeServicesResponse -> m DescribeServicesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServicesResponse -> m DescribeServicesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServicesResponse -> m DescribeServicesResponse #

Read DescribeServicesResponse Source # 
Show DescribeServicesResponse Source # 
Generic DescribeServicesResponse Source # 
NFData DescribeServicesResponse Source # 
type Rep DescribeServicesResponse Source # 
type Rep DescribeServicesResponse = D1 (MetaData "DescribeServicesResponse" "Network.AWS.ECS.DescribeServices" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "DescribeServicesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsFailures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Failure]))) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ContainerService]))) (S1 (MetaSel (Just Symbol "_dssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dssrsFailures :: Lens' DescribeServicesResponse [Failure] Source #

Any failures associated with the call.