File: //usr/lib/python3/dist-packages/boto/codedeploy/__pycache__/layer1.cpython-310.pyc
o
ckF[�� � @ 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 ZdZdZdZdZdZdZe Z
i dej�dej
�d ej�d
ej�dej�dej�d
ej�dej�dej�dej�dej�dej�dej�dej�dej�dej�dej�i dej�dej�dej�dej �dej!�dej"�dej#�dej$�d ej%�d!ej&�d"ej'�d#ej(�d$ej)�d%ej*�d&ej+�d'ej,�d(ej-��ej.ej/ej0ej1ej2ej3ej4ej5ej6ej7d)�
�Z8� fd*d+�Z9d,d-� Z:dcd/d0�Z;dcd1d2�Z<d3d4� Z= . . . .ddd5d6�Z> .dcd7d8�Z? . . . .ded9d:�Z@d;d<� ZAd=d>� ZBd?d@� ZCdAdB� ZDdCdD� ZEdEdF� ZFdGdH� ZGdIdJ� ZHdKdL� ZI . . . .dfdMdN�ZJdcdOdP�ZKdcdQdR�ZLdcdSdT�ZM . .dgdUdV�ZN . . . .dddWdX�ZO .dcdYdZ�ZPd[d\� ZQ . .dgd]d^�ZR . . . . .ddd_d`�ZSdadb� ZT� ZUS )h�CodeDeployConnectiona�
AWS CodeDeploy **Overview**
This is the AWS CodeDeploy API Reference. This guide provides
descriptions of the AWS CodeDeploy APIs. For additional
information, see the `AWS CodeDeploy User Guide`_.
**Using the APIs**
You can use the AWS CodeDeploy APIs to work with the following
items:
+ Applications , which are unique identifiers that AWS CodeDeploy
uses to ensure that the correct combinations of revisions,
deployment configurations, and deployment groups are being
referenced during deployments. You can work with applications by
calling CreateApplication, DeleteApplication, GetApplication,
ListApplications, BatchGetApplications, and UpdateApplication to
create, delete, and get information about applications, and to
change information about an application, respectively.
+ Deployment configurations , which are sets of deployment rules
and deployment success and failure conditions that AWS CodeDeploy
uses during deployments. You can work with deployment
configurations by calling CreateDeploymentConfig,
DeleteDeploymentConfig, GetDeploymentConfig, and
ListDeploymentConfigs to create, delete, and get information about
deployment configurations, respectively.
+ Deployment groups , which represent groups of Amazon EC2
instances to which application revisions can be deployed. You can
work with deployment groups by calling CreateDeploymentGroup,
DeleteDeploymentGroup, GetDeploymentGroup, ListDeploymentGroups,
and UpdateDeploymentGroup to create, delete, and get information
about single and multiple deployment groups, and to change
information about a deployment group, respectively.
+ Deployment instances (also known simply as instances ), which
represent Amazon EC2 instances to which application revisions are
deployed. Deployment instances are identified by their Amazon EC2
tags or Auto Scaling group names. Deployment instances belong to
deployment groups. You can work with deployment instances by
calling GetDeploymentInstance and ListDeploymentInstances to get
information about single and multiple deployment instances,
respectively.
+ Deployments , which represent the process of deploying revisions
to deployment groups. You can work with deployments by calling
CreateDeployment, GetDeployment, ListDeployments,
BatchGetDeployments, and StopDeployment to create and get
information about deployments, and to stop a deployment,
respectively.
+ Application revisions (also known simply as revisions ), which
are archive files that are stored in Amazon S3 buckets or GitHub
repositories. These revisions contain source content (such as
source code, web pages, executable files, any deployment scripts,
and similar) along with an Application Specification file (AppSpec
file). (The AppSpec file is unique to AWS CodeDeploy; it defines a
series of deployment actions that you want AWS CodeDeploy to
execute.) An application revision is uniquely identified by its
Amazon S3 object key and its ETag, version, or both. Application
revisions are deployed to deployment groups. You can work with
application revisions by calling GetApplicationRevision,
ListApplicationRevisions, and RegisterApplicationRevision to get
information about application revisions and to inform AWS
CodeDeploy about an application revision, respectively.
z
2014-10-06z us-east-1z"codedeploy.us-east-1.amazonaws.com�
codedeploy�CodeDeploy_20141006�InvalidDeploymentIdException�#InvalidDeploymentGroupNameException�&DeploymentConfigAlreadyExistsException�InvalidRoleException�RoleRequiredException�%DeploymentGroupAlreadyExistsException�&DeploymentConfigLimitExceededException�InvalidNextTokenException�$InvalidDeploymentConfigNameException�InvalidSortByException�InstanceDoesNotExistException�'InvalidMinimumHealthyHostValueException�!ApplicationLimitExceededException� ApplicationNameRequiredException�InvalidEC2TagException�DeploymentDoesNotExistException� DeploymentLimitExceededException�InvalidInstanceStatusException�RevisionRequiredException� InvalidBucketNameFilterException�%DeploymentGroupLimitExceededException�$DeploymentGroupDoesNotExistException�%DeploymentConfigNameRequiredException�#DeploymentAlreadyCompletedException�RevisionDoesNotExistException�$DeploymentGroupNameRequiredException�DeploymentIdRequiredException�%DeploymentConfigDoesNotExistException�!BucketNameFilterRequiredException�InvalidTimeRangeException� ApplicationDoesNotExistException�InvalidRevisionException�InvalidSortOrderException�InvalidOperationException)
� InvalidAutoScalingGroupException�InvalidApplicationNameException�DescriptionTooLongException�!ApplicationAlreadyExistsException�#InvalidDeployedStateFilterException�DeploymentNotStartedException�DeploymentConfigInUseException�InstanceIdRequiredException�InvalidKeyPrefixFilterException� InvalidDeploymentStatusExceptionc s^ |� dd �}|st| | j| j�}d|vs|d d u r|j|d<