File: //usr/lib/python3/dist-packages/boto/ec2containerservice/__pycache__/layer1.cpython-310.pyc
o
ckF[Dy � @ sX d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
G dd� de�ZdS ) � N)�json)�AWSQueryConnection)�
RegionInfo)�JSONResponseError)�
exceptionsc s: e Zd ZdZdZdZdZeZe j
e jd�Z� fdd�Z
dd � Zd5dd�Zd
d� Z
d6dd�Zdd� Zd5dd�Zd5dd�Zdd� Zd5dd�Zd5dd�Zd6dd�Z
d7dd �Z
d7d!d"�Z
d8d#d$�Z
d9d%d&�Zd'd(� Z
d7d)d*�Z
d6d+d,�Zd5d-d.�Z
d:d/d0�Z!
d9d1d2�Z"d3d4� Z#� Z$S );�EC2ContainerServiceConnectionaz
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.
z
2014-11-13z us-east-1zecs.us-east-1.amazonaws.com)�ServerException�ClientExceptionc s^ |� dd �}|st| | j| j�}d|vs|d d u r|j|d<