File: //usr/lib/python3/dist-packages/boto/opsworks/__pycache__/layer1.cpython-310.pyc
o
ckF[M� � @ 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 sl e Zd ZdZdZdZdZdZdZe Z
ejej
d�Z� fdd �Zd
d� Zdd
� Zd�dd�Zd�dd�Zdd� Z d�dd�Z d�dd�Z d�dd�Z d�dd�Z d�dd�Z d�dd �Z d�d!d"�Zd#d$� Z d�d%d&�Zd'd(� Zd)d*� Zd+d,� Z d-d.� Z!d/d0� Z"d1d2� Z#d3d4� Z$d�d5d6�Z% d�d7d8�Z& d�d9d:�Z'd�d;d<�Z(d�d=d>�Z) d�d?d@�Z*d�dAdB�Z+dCdD� Z,dEdF� Z-d�dGdH�Z. d�dIdJ�Z/d�dKdL�Z0 d�dMdN�Z1dOdP� Z2dQdR� Z3d�dSdT�Z4dUdV� Z5d�dWdX�Z6 d�dYdZ�Z7d[d\� Z8d]d^� Z9d_d`� Z:dadb� Z;dcdd� Z< d�dedf�Z=dgdh� Z>d�didj�Z? d�dkdl�Z@ d�dmdn�ZA d�dodp�ZBdqdr� ZCdsdt� ZDdudv� ZEdwdx� ZFdydz� ZGd{d|� ZH d�d}d~�ZId�dd��ZJ d�d�d��ZK d�d�d��ZLd�d�d��ZM d�d�d��ZN d�d�d��ZO d�d�d��ZPd�d�d��ZQd�d�� ZR� ZSS )��OpsWorksConnectiona�
AWS OpsWorks
Welcome to the AWS OpsWorks API Reference . This guide provides
descriptions, syntax, and usage examples about AWS OpsWorks
actions and data types, including common parameters and error
codes.
AWS OpsWorks is an application management service that provides an
integrated experience for overseeing the complete application
lifecycle. For information about this product, go to the `AWS
OpsWorks`_ details page.
**SDKs and CLI**
The most common way to use the AWS OpsWorks API is by using the
AWS Command Line Interface (CLI) or by using one of the AWS SDKs
to implement applications in your preferred language. For more
information, see:
+ `AWS CLI`_
+ `AWS SDK for Java`_
+ `AWS SDK for .NET`_
+ `AWS SDK for PHP 2`_
+ `AWS SDK for Ruby`_
+ `AWS SDK for Node.js`_
+ `AWS SDK for Python(Boto)`_
**Endpoints**
AWS OpsWorks supports only one endpoint, opsworks.us-
east-1.amazonaws.com (HTTPS), so you must connect to that
endpoint. You can then use the API to direct AWS OpsWorks to
create stacks in any AWS Region.
**Chef Versions**
When you call CreateStack, CloneStack, or UpdateStack we recommend
you use the `ConfigurationManager` parameter to specify the Chef
version, 0.9, 11.4, or 11.10. The default value is currently
11.10. For more information, see `Chef Versions`_.
You can still specify Chef 0.9 for your stack, but new features
are not available for Chef 0.9 stacks, and support is scheduled to
end on July 24, 2014. We do not recommend using Chef 0.9 for new
stacks, and we recommend migrating your existing Chef 0.9 stacks
to Chef 11.10 as soon as possible.
z
2013-02-18z us-east-1z opsworks.us-east-1.amazonaws.com�OpsWorks�OpsWorks_20130218)�ResourceNotFoundException�ValidationExceptionc s^ |� dd �}|st| | j| j�}d|vs|d d u r|j|d<