{ "metadata":{ "apiVersion":"2014-11-13", "endpointPrefix":"ecs", "serviceAbbreviation":"Amazon ECS", "serviceFullName":"Amazon EC2 Container Service", "signatureVersion":"v4", "signingName":"ecs", "xmlNamespace":"http://ecs.amazonaws.com/doc/2014-11-13/", "protocol":"query" }, "documentation":"

Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances. Amazon ECS lets you launch and stop container-enabled applications with simple API calls, allows you to get the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features like security groups, Amazon EBS volumes, and IAM roles.

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs, isolation policies, and availability requirements. Amazon EC2 Container Service eliminates the need for you to operate your own cluster management and configuration management systems or worry about scaling your management infrastructure.

", "operations":{ "CreateCluster":{ "name":"CreateCluster", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateClusterRequest"}, "output":{ "shape":"CreateClusterResponse", "resultWrapper":"CreateClusterResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Creates a new Amazon ECS cluster. By default, your account will receive a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action.

During the preview, each account is limited to two clusters.

" }, "DeleteCluster":{ "name":"DeleteCluster", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteClusterRequest"}, "output":{ "shape":"DeleteClusterResponse", "resultWrapper":"DeleteClusterResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

" }, "DeregisterContainerInstance":{ "name":"DeregisterContainerInstance", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeregisterContainerInstanceRequest"}, "output":{ "shape":"DeregisterContainerInstanceResponse", "resultWrapper":"DeregisterContainerInstanceResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Deregisters an Amazon ECS container instance from the specified cluster. This instance will no longer be available to run tasks.

" }, "DeregisterTaskDefinition":{ "name":"DeregisterTaskDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeregisterTaskDefinitionRequest"}, "output":{ "shape":"DeregisterTaskDefinitionResponse", "resultWrapper":"DeregisterTaskDefinitionResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Deregisters the specified task definition. You will no longer be able to run tasks from this definition after deregistration.

" }, "DescribeClusters":{ "name":"DescribeClusters", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeClustersRequest"}, "output":{ "shape":"DescribeClustersResponse", "resultWrapper":"DescribeClustersResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Describes one or more of your clusters.

" }, "DescribeContainerInstances":{ "name":"DescribeContainerInstances", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeContainerInstancesRequest"}, "output":{ "shape":"DescribeContainerInstancesResponse", "resultWrapper":"DescribeContainerInstancesResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested.

" }, "DescribeTaskDefinition":{ "name":"DescribeTaskDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeTaskDefinitionRequest"}, "output":{ "shape":"DescribeTaskDefinitionResponse", "resultWrapper":"DescribeTaskDefinitionResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Describes a task definition.

" }, "DescribeTasks":{ "name":"DescribeTasks", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeTasksRequest"}, "output":{ "shape":"DescribeTasksResponse", "resultWrapper":"DescribeTasksResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Describes a specified task or tasks.

" }, "DiscoverPollEndpoint":{ "name":"DiscoverPollEndpoint", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DiscoverPollEndpointRequest"}, "output":{ "shape":"DiscoverPollEndpointResponse", "resultWrapper":"DiscoverPollEndpointResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

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.

" }, "ListClusters":{ "name":"ListClusters", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListClustersRequest"}, "output":{ "shape":"ListClustersResponse", "resultWrapper":"ListClustersResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Returns a list of existing clusters.

" }, "ListContainerInstances":{ "name":"ListContainerInstances", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListContainerInstancesRequest"}, "output":{ "shape":"ListContainerInstancesResponse", "resultWrapper":"ListContainerInstancesResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Returns a list of container instances in a specified cluster.

" }, "ListTaskDefinitions":{ "name":"ListTaskDefinitions", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTaskDefinitionsRequest"}, "output":{ "shape":"ListTaskDefinitionsResponse", "resultWrapper":"ListTaskDefinitionsResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Returns a list of task definitions that are registered to your account. You can filter the results by family name with the familyPrefix parameter.

" }, "ListTasks":{ "name":"ListTasks", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTasksRequest"}, "output":{ "shape":"ListTasksResponse", "resultWrapper":"ListTasksResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Returns a list of tasks for a specified cluster. You can filter the results by family name or by a particular container instance with the family and containerInstance parameters.

" }, "RegisterContainerInstance":{ "name":"RegisterContainerInstance", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RegisterContainerInstanceRequest"}, "output":{ "shape":"RegisterContainerInstanceResponse", "resultWrapper":"RegisterContainerInstanceResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

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

Registers an Amazon EC2 instance into the specified cluster. This instance will become available to place containers on.

" }, "RegisterTaskDefinition":{ "name":"RegisterTaskDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RegisterTaskDefinitionRequest"}, "output":{ "shape":"RegisterTaskDefinitionResponse", "resultWrapper":"RegisterTaskDefinitionResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Registers a new task definition from the supplied family and containerDefinitions.

" }, "RunTask":{ "name":"RunTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RunTaskRequest"}, "output":{ "shape":"RunTaskResponse", "resultWrapper":"RunTaskResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Start a task using random placement and the default Amazon ECS scheduler. If you want to use your own scheduler or place a task on a specific container instance, use StartTask instead.

" }, "StartTask":{ "name":"StartTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartTaskRequest"}, "output":{ "shape":"StartTaskResponse", "resultWrapper":"StartTaskResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Starts a new task from the specified task definition on the specified container instance or instances. If you want to use the default Amazon ECS scheduler to place your task, use RunTask instead.

" }, "StopTask":{ "name":"StopTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopTaskRequest"}, "output":{ "shape":"StopTaskResponse", "resultWrapper":"StopTaskResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

Stops a running task.

" }, "SubmitContainerStateChange":{ "name":"SubmitContainerStateChange", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SubmitContainerStateChangeRequest"}, "output":{ "shape":"SubmitContainerStateChangeResponse", "resultWrapper":"SubmitContainerStateChangeResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

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

Sent to acknowledge that a container changed states.

" }, "SubmitTaskStateChange":{ "name":"SubmitTaskStateChange", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SubmitTaskStateChangeRequest"}, "output":{ "shape":"SubmitTaskStateChangeResponse", "resultWrapper":"SubmitTaskStateChangeResult" }, "errors":[ { "shape":"ServerException", "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, { "shape":"ClientException", "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" } ], "documentation":"

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

Sent to acknowledge that a task changed states.

" } }, "shapes":{ "Boolean":{"type":"boolean"}, "BoxedBoolean":{ "type":"boolean", "box":true }, "BoxedInteger":{ "type":"integer", "box":true }, "ClientException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "exception":true, "documentation":"

These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specify an identifier that is not valid.

" }, "Cluster":{ "type":"structure", "members":{ "clusterArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

" }, "clusterName":{ "shape":"String", "documentation":"

A user-generated string that you can use to identify your cluster.

" }, "status":{ "shape":"String", "documentation":"

The status of the cluster. The valid values are ACTIVE or INACTIVE. ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks.

" } }, "documentation":"

A regional grouping of one or more container instances on which you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

During the preview, each account is limited to two clusters.

" }, "Clusters":{ "type":"list", "member":{"shape":"Cluster"} }, "Container":{ "type":"structure", "members":{ "containerArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the container.

" }, "taskArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the task.

" }, "name":{ "shape":"String", "documentation":"

The name of the container.

" }, "lastStatus":{ "shape":"String", "documentation":"

The last known status of the container.

" }, "exitCode":{ "shape":"BoxedInteger", "documentation":"

The exit code returned from the container.

" }, "reason":{ "shape":"String", "documentation":"

A short (255 max characters) human-readable string to provide additional detail about a running or stopped container.

" }, "networkBindings":{"shape":"NetworkBindings"} } }, "ContainerDefinition":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers.

" }, "image":{ "shape":"String", "documentation":"

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag.

" }, "cpu":{ "shape":"Integer", "documentation":"

The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core.

" }, "memory":{ "shape":"Integer", "documentation":"

The number of MiB of memory reserved for the container. Docker will allocate a minimum of 4 MiB of memory to a container.

" }, "links":{ "shape":"StringList", "documentation":"

The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter. For more information on linking Docker containers, see https://docs.docker.com/userguide/dockerlinks/.

" }, "portMappings":{ "shape":"PortMappingList", "documentation":"

The list of port mappings for the container.

" }, "essential":{ "shape":"BoxedBoolean", "documentation":"

If the essential parameter of a container is marked as true, the failure of that container will stop the task. If the essential parameter of a container is marked as false, then its failure will not affect the rest of the containers in a task.

" }, "entryPoint":{ "shape":"StringList", "documentation":"

The ENTRYPOINT that is passed to the container. For more information on the Docker ENTRYPOINT parameter, see https://docs.docker.com/reference/builder/#entrypoint.

" }, "command":{ "shape":"StringList", "documentation":"

The CMD that is passed to the container. For more information on the Docker CMD parameter, see https://docs.docker.com/reference/builder/#cmd.

" }, "environment":{ "shape":"EnvironmentVariables", "documentation":"

The environment variables to pass to a container.

" } }, "documentation":"

Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

" }, "ContainerDefinitions":{ "type":"list", "member":{"shape":"ContainerDefinition"} }, "ContainerInstance":{ "type":"structure", "members":{ "containerInstanceArn":{ "shape":"String", "documentation":"

The 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.

" }, "ec2InstanceId":{ "shape":"String", "documentation":"

The Amazon EC2 instance ID of the container instance.

" }, "remainingResources":{ "shape":"Resources", "documentation":"

The remaining resources of the container instance that are available for new tasks.

" }, "registeredResources":{ "shape":"Resources", "documentation":"

The registered resources on the container instance that are in use by current tasks.

" }, "status":{ "shape":"String", "documentation":"

The status of the container instance. The valid values are ACTIVE or INACTIVE. ACTIVE indicates that the container instance can accept tasks.

" }, "agentConnected":{ "shape":"Boolean", "documentation":"

This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped will return false, and instances without a connected agent cannot accept placement request.

" } }, "documentation":"

An Amazon EC2 instance that is running the Amazon ECS agent and has been registered with a cluster.

" }, "ContainerInstances":{ "type":"list", "member":{"shape":"ContainerInstance"} }, "ContainerOverride":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of the container that receives the override.

" }, "command":{ "shape":"StringList", "documentation":"

The command to send to the container that receives the override.

" } } }, "ContainerOverrides":{ "type":"list", "member":{"shape":"ContainerOverride"} }, "Containers":{ "type":"list", "member":{"shape":"Container"} }, "CreateClusterRequest":{ "type":"structure", "members":{ "clusterName":{ "shape":"String", "documentation":"

The name of your cluster. If you do not specify a name for your cluster, you will create a cluster named default.

" } } }, "CreateClusterResponse":{ "type":"structure", "members":{ "cluster":{ "shape":"Cluster", "documentation":"

The full description of your new cluster.

" } } }, "DeleteClusterRequest":{ "type":"structure", "required":["cluster"], "members":{ "cluster":{ "shape":"String", "documentation":"

The cluster you want to delete.

" } } }, "DeleteClusterResponse":{ "type":"structure", "members":{ "cluster":{ "shape":"Cluster", "documentation":"

The full description of the deleted cluster.

" } } }, "DeregisterContainerInstanceRequest":{ "type":"structure", "required":["containerInstance"], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance you want to deregister. If you do not specify a cluster, the default cluster is assumed.

" }, "containerInstance":{ "shape":"String", "documentation":"

The container instance UUID or full Amazon Resource Name (ARN) of the container instance you want to deregister. 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.

" }, "force":{ "shape":"BoxedBoolean", "documentation":"

Force the deregistration of the container instance. You can use the force parameter if you have several tasks running on a container instance and you don't want to run StopTask for each task before deregistering the container instance.

" } } }, "DeregisterContainerInstanceResponse":{ "type":"structure", "members":{ "containerInstance":{"shape":"ContainerInstance"} } }, "DeregisterTaskDefinitionRequest":{ "type":"structure", "required":["taskDefinition"], "members":{ "taskDefinition":{ "shape":"String", "documentation":"

The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition that you want to deregister.

" } } }, "DeregisterTaskDefinitionResponse":{ "type":"structure", "members":{ "taskDefinition":{ "shape":"TaskDefinition", "documentation":"

The full description of the deregistered task.

" } } }, "DescribeClustersRequest":{ "type":"structure", "members":{ "clusters":{ "shape":"StringList", "documentation":"

A space-separated list of cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.

" } } }, "DescribeClustersResponse":{ "type":"structure", "members":{ "clusters":{ "shape":"Clusters", "documentation":"

The list of clusters.

" }, "failures":{"shape":"Failures"} } }, "DescribeContainerInstancesRequest":{ "type":"structure", "required":["containerInstances"], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances you want to describe. If you do not specify a cluster, the default cluster is assumed.

" }, "containerInstances":{ "shape":"StringList", "documentation":"

A space-separated list of container instance UUIDs or full Amazon Resource Name (ARN) entries.

" } } }, "DescribeContainerInstancesResponse":{ "type":"structure", "members":{ "containerInstances":{ "shape":"ContainerInstances", "documentation":"

The list of container instances.

" }, "failures":{"shape":"Failures"} } }, "DescribeTaskDefinitionRequest":{ "type":"structure", "required":["taskDefinition"], "members":{ "taskDefinition":{ "shape":"String", "documentation":"

The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition that you want to describe.

" } } }, "DescribeTaskDefinitionResponse":{ "type":"structure", "members":{ "taskDefinition":{ "shape":"TaskDefinition", "documentation":"

The full task definition description.

" } } }, "DescribeTasksRequest":{ "type":"structure", "required":["tasks"], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task you want to describe. If you do not specify a cluster, the default cluster is assumed.

" }, "tasks":{ "shape":"StringList", "documentation":"

A space-separated list of task UUIDs or full Amazon Resource Name (ARN) entries.

" } } }, "DescribeTasksResponse":{ "type":"structure", "members":{ "tasks":{ "shape":"Tasks", "documentation":"

The list of tasks.

" }, "failures":{"shape":"Failures"} } }, "DiscoverPollEndpointRequest":{ "type":"structure", "members":{ "containerInstance":{ "shape":"String", "documentation":"

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.

" } } }, "DiscoverPollEndpointResponse":{ "type":"structure", "members":{ "endpoint":{ "shape":"String", "documentation":"

The endpoint for the Amazon ECS agent to poll.

" } } }, "Double":{"type":"double"}, "EnvironmentVariables":{ "type":"list", "member":{"shape":"KeyValuePair"} }, "Failure":{ "type":"structure", "members":{ "arn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the failed resource.

" }, "reason":{ "shape":"String", "documentation":"

The reason for the failure.

" } } }, "Failures":{ "type":"list", "member":{"shape":"Failure"} }, "Integer":{"type":"integer"}, "KeyValuePair":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of the key value pair.

" }, "value":{ "shape":"String", "documentation":"

The value of the key value pair.

" } } }, "ListClustersRequest":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

The nextToken value returned from a previous paginated ListClusters request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

" }, "maxResults":{ "shape":"BoxedInteger", "documentation":"

The maximum number of cluster results returned by ListClusters in paginated output. When this parameter is used, ListClusters only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListClusters request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListClusters returns up to 100 results and a nextToken value if applicable.

" } } }, "ListClustersResponse":{ "type":"structure", "members":{ "clusterArns":{ "shape":"StringList", "documentation":"

The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value to include in a future ListClusters request. When the results of a ListClusters request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "ListContainerInstancesRequest":{ "type":"structure", "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances you want to list. If you do not specify a cluster, the default cluster is assumed..

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value returned from a previous paginated ListContainerInstances request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

" }, "maxResults":{ "shape":"BoxedInteger", "documentation":"

The maximum number of container instance results returned by ListContainerInstances in paginated output. When this parameter is used, ListContainerInstances only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListContainerInstances request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListContainerInstances returns up to 100 results and a nextToken value if applicable.

" } } }, "ListContainerInstancesResponse":{ "type":"structure", "members":{ "containerInstanceArns":{ "shape":"StringList", "documentation":"

The list of container instance full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value to include in a future ListContainerInstances request. When the results of a ListContainerInstances request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "ListTaskDefinitionsRequest":{ "type":"structure", "members":{ "familyPrefix":{ "shape":"String", "documentation":"

The name of the family that you want to filter the ListTaskDefinitions results with. Specifying a familyPrefix will limit the listed task definitions to definitions that belong to that family.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value returned from a previous paginated ListTaskDefinitions request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

" }, "maxResults":{ "shape":"BoxedInteger", "documentation":"

The maximum number of task definition results returned by ListTaskDefinitions in paginated output. When this parameter is used, ListTaskDefinitions only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTaskDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListTaskDefinitions returns up to 100 results and a nextToken value if applicable.

" } } }, "ListTaskDefinitionsResponse":{ "type":"structure", "members":{ "taskDefinitionArns":{ "shape":"StringList", "documentation":"

The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefintions request.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value to include in a future ListTaskDefinitions request. When the results of a ListTaskDefinitions request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "ListTasksRequest":{ "type":"structure", "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks you want to list. If you do not specify a cluster, the default cluster is assumed..

" }, "containerInstance":{ "shape":"String", "documentation":"

The container instance UUID or full Amazon Resource Name (ARN) of the container instance that you want to filter the ListTasks results with. Specifying a containerInstance will limit the results to tasks that belong to that container instance.

" }, "family":{ "shape":"String", "documentation":"

The name of the family that you want to filter the ListTasks results with. Specifying a family will limit the results to tasks that belong to that family.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value returned from a previous paginated ListTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

" }, "maxResults":{ "shape":"BoxedInteger", "documentation":"

The maximum number of task results returned by ListTasks in paginated output. When this parameter is used, ListTasks only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTasks request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListTasks returns up to 100 results and a nextToken value if applicable.

" } } }, "ListTasksResponse":{ "type":"structure", "members":{ "taskArns":{ "shape":"StringList", "documentation":"

The list of task Amazon Resource Name (ARN) entries for the ListTasks request.

" }, "nextToken":{ "shape":"String", "documentation":"

The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "Long":{"type":"long"}, "NetworkBinding":{ "type":"structure", "members":{ "bindIP":{ "shape":"String", "documentation":"

The IP address that the container is bound to on the container instance.

" }, "containerPort":{ "shape":"BoxedInteger", "documentation":"

The port number on the container that should be used with the network binding.

" }, "hostPort":{ "shape":"BoxedInteger", "documentation":"

The port number on the host that should be used with the network binding.

" } } }, "NetworkBindings":{ "type":"list", "member":{"shape":"NetworkBinding"} }, "PortMapping":{ "type":"structure", "members":{ "containerPort":{ "shape":"Integer", "documentation":"

The port number on the container that should be used with the port mapping.

" }, "hostPort":{ "shape":"Integer", "documentation":"

The port number on the host that should be used with the port mapping.

" } }, "documentation":"

Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.

" }, "PortMappingList":{ "type":"list", "member":{"shape":"PortMapping"} }, "RegisterContainerInstanceRequest":{ "type":"structure", "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that you want to register your container instance with. If you do not specify a cluster, the default cluster is assumed..

" }, "instanceIdentityDocument":{"shape":"String"}, "instanceIdentityDocumentSignature":{"shape":"String"}, "totalResources":{"shape":"Resources"} } }, "RegisterContainerInstanceResponse":{ "type":"structure", "members":{ "containerInstance":{"shape":"ContainerInstance"} } }, "RegisterTaskDefinitionRequest":{ "type":"structure", "required":[ "family", "containerDefinitions" ], "members":{ "family":{ "shape":"String", "documentation":"

You can specify a family for a task definition, which allows you to track multiple versions of the same task definition. You can think of the family as a name for your task definition.

" }, "containerDefinitions":{ "shape":"ContainerDefinitions", "documentation":"

A list of container definitions in JSON format that describe the different containers that make up your task.

" } } }, "RegisterTaskDefinitionResponse":{ "type":"structure", "members":{ "taskDefinition":{"shape":"TaskDefinition"} } }, "Resource":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of the resource, such as CPU, MEMORY, PORTS, or a user-defined resource.

" }, "type":{ "shape":"String", "documentation":"

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

" }, "doubleValue":{ "shape":"Double", "documentation":"

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

" }, "longValue":{ "shape":"Long", "documentation":"

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

" }, "integerValue":{ "shape":"Integer", "documentation":"

When the integerValue type is set, the value of the resource must be an integer.

" }, "stringSetValue":{ "shape":"StringList", "documentation":"

When the stringSetValue type is set, the value of the resource must be a string type.

" } }, "documentation":"

Describes the resources available for a container instance.

" }, "Resources":{ "type":"list", "member":{"shape":"Resource"} }, "RunTaskRequest":{ "type":"structure", "required":["taskDefinition"], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that you want to run your task on. If you do not specify a cluster, the default cluster is assumed..

" }, "taskDefinition":{ "shape":"String", "documentation":"

The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition that you want to run.

" }, "overrides":{"shape":"TaskOverride"}, "count":{ "shape":"BoxedInteger", "documentation":"

The number of instances of the specified task that you would like to place on your cluster.

" } } }, "RunTaskResponse":{ "type":"structure", "members":{ "tasks":{ "shape":"Tasks", "documentation":"

A full description of the tasks that were run. Each task that was successfully placed on your cluster will be described here.

" }, "failures":{ "shape":"Failures", "documentation":"

Any failed tasks from your RunTask action are listed here.

" } } }, "ServerException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "exception":true, "documentation":"

These errors are usually caused by a server-side issue.

" }, "StartTaskRequest":{ "type":"structure", "required":[ "taskDefinition", "containerInstances" ], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that you want to start your task on. If you do not specify a cluster, the default cluster is assumed..

" }, "taskDefinition":{ "shape":"String", "documentation":"

The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition that you want to start.

" }, "overrides":{"shape":"TaskOverride"}, "containerInstances":{ "shape":"StringList", "documentation":"

The container instance UUIDs or full Amazon Resource Name (ARN) entries for the container instances on which you would like to place your task.

" } } }, "StartTaskResponse":{ "type":"structure", "members":{ "tasks":{ "shape":"Tasks", "documentation":"

A full description of the tasks that were started. Each task that was successfully placed on your container instances will be described here.

" }, "failures":{ "shape":"Failures", "documentation":"

Any failed tasks from your StartTask action are listed here.

" } } }, "StopTaskRequest":{ "type":"structure", "required":["task"], "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task you want to stop. If you do not specify a cluster, the default cluster is assumed..

" }, "task":{ "shape":"String", "documentation":"

The task UUIDs or full Amazon Resource Name (ARN) entry of the task you would like to stop.

" } } }, "StopTaskResponse":{ "type":"structure", "members":{ "task":{"shape":"Task"} } }, "String":{"type":"string"}, "StringList":{ "type":"list", "member":{"shape":"String"} }, "SubmitContainerStateChangeRequest":{ "type":"structure", "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.

" }, "task":{ "shape":"String", "documentation":"

The task UUID or full Amazon Resource Name (ARN) of the task that hosts the container.

" }, "containerName":{ "shape":"String", "documentation":"

The name of the container.

" }, "status":{ "shape":"String", "documentation":"

The status of the state change request.

" }, "exitCode":{ "shape":"BoxedInteger", "documentation":"

The exit code returned for the state change request.

" }, "reason":{ "shape":"String", "documentation":"

The reason for the state change request.

" }, "networkBindings":{ "shape":"NetworkBindings", "documentation":"

The network bindings of the container.

" } } }, "SubmitContainerStateChangeResponse":{ "type":"structure", "members":{ "acknowledgment":{ "shape":"String", "documentation":"

Acknowledgement of the state change.

" } } }, "SubmitTaskStateChangeRequest":{ "type":"structure", "members":{ "cluster":{ "shape":"String", "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

" }, "task":{ "shape":"String", "documentation":"

The task UUID or full Amazon Resource Name (ARN) of the task in the state change request.

" }, "status":{ "shape":"String", "documentation":"

The status of the state change request.

" }, "reason":{ "shape":"String", "documentation":"

The reason for the state change request.

" } } }, "SubmitTaskStateChangeResponse":{ "type":"structure", "members":{ "acknowledgment":{ "shape":"String", "documentation":"

Acknowledgement of the state change.

" } } }, "Task":{ "type":"structure", "members":{ "taskArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the task.

" }, "clusterArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the of the cluster that hosts the task.

" }, "taskDefinitionArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the of the task definition that creates the task.

" }, "containerInstanceArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the container instances that host the task.

" }, "overrides":{ "shape":"TaskOverride", "documentation":"

One or more container overrides.

" }, "lastStatus":{ "shape":"String", "documentation":"

The last known status of the task.

" }, "desiredStatus":{ "shape":"String", "documentation":"

The desired status of the task.

" }, "containers":{ "shape":"Containers", "documentation":"

The containers associated with the task.

" } } }, "TaskDefinition":{ "type":"structure", "members":{ "taskDefinitionArn":{ "shape":"String", "documentation":"

The full Amazon Resource Name (ARN) of the of the task definition.

" }, "containerDefinitions":{ "shape":"ContainerDefinitions", "documentation":"

A list of container definitions in JSON format that describe the different containers that make up your task.

" }, "family":{ "shape":"String", "documentation":"

The family of your task definition. You can think of the family as the name of your task definition.

" }, "revision":{ "shape":"Integer", "documentation":"

The revision of the task in a particular family. You can think of the revision as a version number of a task definition in a family. When you register a task definition for the first time, the revision is 1, and each time you register a task definition in the same family, the revision value increases by one.

" } } }, "TaskOverride":{ "type":"structure", "members":{ "containerOverrides":{ "shape":"ContainerOverrides", "documentation":"

One or more container overrides to send when running a task.

" } } }, "Tasks":{ "type":"list", "member":{"shape":"Task"} } } }