Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon ECS agent to poll for updates.
Synopsis
- data DiscoverPollEndpoint = DiscoverPollEndpoint' {}
- newDiscoverPollEndpoint :: DiscoverPollEndpoint
- discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text)
- discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)
- data DiscoverPollEndpointResponse = DiscoverPollEndpointResponse' {
- telemetryEndpoint :: Maybe Text
- endpoint :: Maybe Text
- httpStatus :: Int
- newDiscoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
- discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int
Creating a Request
data DiscoverPollEndpoint Source #
See: newDiscoverPollEndpoint
smart constructor.
DiscoverPollEndpoint' | |
|
Instances
newDiscoverPollEndpoint :: DiscoverPollEndpoint Source #
Create a value of DiscoverPollEndpoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:DiscoverPollEndpoint'
, discoverPollEndpoint_cluster
- The short name or full Amazon Resource Name (ARN) of the cluster to
which the container instance belongs.
$sel:containerInstance:DiscoverPollEndpoint'
, discoverPollEndpoint_containerInstance
- The container instance ID or full ARN of the container instance. The ARN
contains the arn:aws:ecs
namespace, followed by the Region of the
container instance, the Amazon Web Services 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
.
Request Lenses
discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text) Source #
The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance belongs.
discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text) Source #
The container instance ID or full ARN of the container instance. The ARN
contains the arn:aws:ecs
namespace, followed by the Region of the
container instance, the Amazon Web Services 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
data DiscoverPollEndpointResponse Source #
See: newDiscoverPollEndpointResponse
smart constructor.
DiscoverPollEndpointResponse' | |
|
Instances
newDiscoverPollEndpointResponse Source #
Create a value of DiscoverPollEndpointResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:telemetryEndpoint:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_telemetryEndpoint
- The telemetry endpoint for the Amazon ECS agent.
$sel:endpoint:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_endpoint
- The endpoint for the Amazon ECS agent to poll.
$sel:httpStatus:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #
The telemetry endpoint for the Amazon ECS agent.
discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #
The endpoint for the Amazon ECS agent to poll.
discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int Source #
The response's http status code.