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

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

Network.AWS.ECS.DiscoverPollEndpoint

Contents

Description

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates.

Synopsis

Creating a Request

discoverPollEndpoint :: DiscoverPollEndpoint Source #

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

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

data DiscoverPollEndpoint Source #

See: discoverPollEndpoint smart constructor.

Instances

Eq DiscoverPollEndpoint Source # 
Data DiscoverPollEndpoint Source # 

Methods

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

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

toConstr :: DiscoverPollEndpoint -> Constr #

dataTypeOf :: DiscoverPollEndpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DiscoverPollEndpoint -> () #

AWSRequest DiscoverPollEndpoint Source # 
ToQuery DiscoverPollEndpoint Source # 
ToPath DiscoverPollEndpoint Source # 
ToHeaders DiscoverPollEndpoint Source # 
type Rep DiscoverPollEndpoint Source # 
type Rep DiscoverPollEndpoint = D1 (MetaData "DiscoverPollEndpoint" "Network.AWS.ECS.DiscoverPollEndpoint" "amazonka-ecs-1.4.2-ITGvu0sgqPr1TCfNqYsd9Q" False) (C1 (MetaCons "DiscoverPollEndpoint'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpeCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dpeContainerInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DiscoverPollEndpoint Source # 

Request Lenses

dpeCluster :: Lens' DiscoverPollEndpoint (Maybe Text) Source #

The cluster that the container instance belongs to.

dpeContainerInstance :: Lens' DiscoverPollEndpoint (Maybe Text) Source #

The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the 'arn:aws:ecs' namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the 'container-instance' namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

Destructuring the Response

discoverPollEndpointResponse Source #

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

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

data DiscoverPollEndpointResponse Source #

See: discoverPollEndpointResponse smart constructor.

Instances

Eq DiscoverPollEndpointResponse Source # 
Data DiscoverPollEndpointResponse Source # 

Methods

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

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

toConstr :: DiscoverPollEndpointResponse -> Constr #

dataTypeOf :: DiscoverPollEndpointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DiscoverPollEndpointResponse Source # 
Show DiscoverPollEndpointResponse Source # 
Generic DiscoverPollEndpointResponse Source # 
NFData DiscoverPollEndpointResponse Source # 
type Rep DiscoverPollEndpointResponse Source # 
type Rep DiscoverPollEndpointResponse = D1 (MetaData "DiscoverPollEndpointResponse" "Network.AWS.ECS.DiscoverPollEndpoint" "amazonka-ecs-1.4.2-ITGvu0sgqPr1TCfNqYsd9Q" False) (C1 (MetaCons "DiscoverPollEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpersTelemetryEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dpersEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dpersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dpersTelemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #

The telemetry endpoint for the Amazon ECS agent.

dpersEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #

The endpoint for the Amazon ECS agent to poll.