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

Copyright(c) 2013-2015 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.

See: AWS API Reference for DiscoverPollEndpoint.

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:

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 UUID 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 UUID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.

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:

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.