Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/ec2/modifynetworkinterfaceattribute.pyc
�
��Xc@s`ddlmZmZddlmZddlmZddlmZdefd��YZ	dS(i����(tArgtMutuallyExclusiveArgList(t
ArgumentError(t
flexible_bool(t
EC2RequesttModifyNetworkInterfaceAttributecBs�eZdZeddddd�eedddd	dd
dd�eddd
dedddd�eddddddddd�edddddddd��j�eddddedddd�gZd�ZRS( s.Modify an attribute of a VPC network interfacetNetworkInterfaceIdtmetavart	INTERFACEthelps0ID of the network interface to modify (required)s-ds
--descriptiontdestsDescription.ValuetDESCsset the interface's descriptions--source-dest-checksSourceDestCheck.Valuettypes(true|false)s2set whether source/destination checking is enableds
--group-idtSecurityGroupIdtactiontappendtGROUPs�set the security groups the
                    network interface belongs to (use more than one to
                    specify multiple groups)s-as--attachmentsAttachment.AttachmentIdt
ATTACHMENTs�the ID of an attachment to
                    modify.  --delete-on-termination is required when this
                    option is used.s--delete-on-terminationsAttachment.DeleteOnTerminations�set whether the interface's attachment will be
                deleted when the instance terminates (requires
                -a/--attachment)cCs�tj|�|jjd�dk	rG|jjd�rGtd��n|jjd�r�|jjd�dkr�td��ndS(NsAttachment.DeleteOnTerminationsAttachment.AttachmentIdsFargument --delete-on-termination may only be used with -a/--attachments>argument -a/--attachment also requires --delete-on-termination(Rt	configuretargstgettNoneR(tself((sZ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/modifynetworkinterfaceattribute.pyR;s
(	t__name__t
__module__tDESCRIPTIONRRRtrequiredtARGSR(((sZ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/modifynetworkinterfaceattribute.pyR!s(N(
trequestbuilderRRtrequestbuilder.exceptionsRteuca2ools.commands.argtypesRteuca2ools.commands.ec2RR(((sZ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/modifynetworkinterfaceattribute.pyt<module>s