Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- discoverPollEndpoint :: DiscoverPollEndpoint
- data DiscoverPollEndpoint
- dpeCluster :: Lens' DiscoverPollEndpoint (Maybe Text)
- dpeContainerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)
- discoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
- data DiscoverPollEndpointResponse
- dpersTelemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- dpersEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- dpersStatus :: Lens' DiscoverPollEndpointResponse Int
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.
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:
data DiscoverPollEndpointResponse Source
See: discoverPollEndpointResponse
smart constructor.
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.
dpersStatus :: Lens' DiscoverPollEndpointResponse Int Source
The response status code.