Smaws_Client_ECS.DiscoverPollEndpointThis 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.discover_poll_endpoint_request ->
(Types.discover_poll_endpoint_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.discover_poll_endpoint_request ->
(Types.discover_poll_endpoint_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result