// 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.
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.
// 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 .
func (c *Client) DiscoverPollEndpoint(ctx context.Context, params *DiscoverPollEndpointInput, optFns ...func(*Options)) (*DiscoverPollEndpointOutput, error) {
	if params == nil {
		params = &DiscoverPollEndpointInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DiscoverPollEndpoint", params, optFns, addOperationDiscoverPollEndpointMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DiscoverPollEndpointOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DiscoverPollEndpoint ( ctx context . Context , params * DiscoverPollEndpointInput , optFns ... func ( * Options ) ) ( * DiscoverPollEndpointOutput , error ) { if params == nil { params = & DiscoverPollEndpointInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDiscoverPollEndpointMiddlewares ) if err != nil { return nil , err } out := result . ( * DiscoverPollEndpointOutput ) out . ResultMetadata = metadata return out , nil }
This action is only used by the Amazon ECS agent, and it is not intended for use
outside of the agent.
This action is only used by the Amazon ECS agent and it is not intended for use outside of the agent .