Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pyo
�
��Xc@slddlmZmZmZddlmZmZddlmZddl	m
Z
defd��YZdS(i����(tArgtEMPTYtMutuallyExclusiveArgList(tbinary_tag_deftdelimited_list(tCloudFormationRequest(tparameter_listtUpdateStackcBs+eZdZeddddd�eeddddd	d
edd�eddd
dddd��edddddd
ed�dd�edddddd)ddd
edddd�eedddddd
e	dddd �ed!dd"dd#d$e
dd%��gZd&�Zd'�Z
d(�ZRS(*s@
    Update a stack's template, parameters, or capabilities
    t	StackNametmetavartSTACKthelps&name of the stack to update (required)s--template-filetdesttTemplateBodytFILEttypes1file containing a new JSON template for the stacks--template-urltTemplateURLtURLs1URL pointing to a new JSON template for the stacks--capabilitiessCapabilities.members	CAP[,...]t,s'capabilities needed to update the stacks-ps--parametert
param_setstroute_tos	KEY=VALUEtactiontappendsokey and value of the parameters to use with the
                stack's template, separated by an "=" characters--tagsTags.membersKEY[=VALUE]s�key and optional value of a tag to add, separated
                    by an "=" character.  If no value is given the tag's value
                    is set to an empty string.s
--delete-tagstTagststore_consttconsts)remove all tags associated with the stackcCs?tj|�t|jjd�p%gg�}||jd<dS(NRsParameters.member(Rt	configuretsumtargstgettparams(tselftstack_params((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pyR>s
!cCs:|jjd�r6|jjd�r6t|jd<ndS(NR
RtUsePreviousTemplate(RRtTrueR(R((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pyt
preprocessCscCs|jd�GHdS(NtStackId(R(Rtresult((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pytprint_resultIsN(t__name__t
__module__t__doc__RRtopenRtNoneRRRtARGSRR#R&(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pyR s2			N(trequestbuilderRRRteuca2ools.commands.argtypesRRt!euca2ools.commands.cloudformationRt*euca2ools.commands.cloudformation.argtypesRR(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/cloudformation/updatestack.pyt<module>s