Amazon EC2 Container Service

2015/02/10 - Amazon EC2 Container Service - 1 updated api methods

DiscoverPollEndpoint (updated) Link ΒΆ
Changes (request)
{'cluster': 'string'}

Note

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates.

Request Syntax

client.discover_poll_endpoint(
    containerInstance='string',
    cluster='string'
)
type containerInstance

string

param containerInstance

The container instance UUID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance UUID. For example, arn:aws:ecs:region :aws_account_id :container-instance/container_instance_UUID .

type cluster

string

param cluster

The cluster that the container instance belongs to.

rtype

dict

returns

Response Syntax

{
    'endpoint': 'string'
}

Response Structure

  • (dict) --

    • endpoint (string) --

      The endpoint for the Amazon ECS agent to poll.