Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ECS.DiscoverPollEndpoint
Description
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' {}
- newDiscoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
- discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- discoverPollEndpointResponse_serviceConnectEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int
Creating a Request
data DiscoverPollEndpoint Source #
See: newDiscoverPollEndpoint
smart constructor.
Constructors
DiscoverPollEndpoint' | |
Fields
|
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 that
the container instance belongs to.
$sel:containerInstance:DiscoverPollEndpoint'
, discoverPollEndpoint_containerInstance
- The container instance ID or full ARN of the container instance. For
more information about the ARN format, see
Amazon Resource Name (ARN)
in the Amazon ECS Developer Guide.
Request Lenses
discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text) Source #
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text) Source #
The container instance ID or full ARN of the container instance. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
Destructuring the Response
data DiscoverPollEndpointResponse Source #
See: newDiscoverPollEndpointResponse
smart constructor.
Constructors
DiscoverPollEndpointResponse' | |
Fields
|
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:endpoint:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_endpoint
- The endpoint for the Amazon ECS agent to poll.
$sel:serviceConnectEndpoint:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_serviceConnectEndpoint
- The endpoint for the Amazon ECS agent to poll for Service Connect
configuration. For more information, see
Service Connect
in the Amazon Elastic Container Service Developer Guide.
$sel:telemetryEndpoint:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_telemetryEndpoint
- The telemetry endpoint for the Amazon ECS agent.
$sel:httpStatus:DiscoverPollEndpointResponse'
, discoverPollEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #
The endpoint for the Amazon ECS agent to poll.
discoverPollEndpointResponse_serviceConnectEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #
The endpoint for the Amazon ECS agent to poll for Service Connect configuration. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text) Source #
The telemetry endpoint for the Amazon ECS agent.
discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int Source #
The response's http status code.