discover_poll_endpoint
(**kwargs)¶Note
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.
See also: AWS API Documentation
Request Syntax
response = client.discover_poll_endpoint(
containerInstance='string',
cluster='string'
)
dict
Response Syntax
{
'endpoint': 'string',
'telemetryEndpoint': 'string',
'serviceConnectEndpoint': 'string'
}
Response Structure
(dict) --
endpoint (string) --
The endpoint for the Amazon ECS agent to poll.
telemetryEndpoint (string) --
The telemetry endpoint for the Amazon ECS agent.
serviceConnectEndpoint (string) --
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 .
Exceptions
ECS.Client.exceptions.ServerException
ECS.Client.exceptions.ClientException