Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pyo
�
��Xc@sJddlmZddlmZddlmZdefd��YZdS(i����(t
EC2Request(tArg(t
ArgumentErrortDisassociateAddressc
Bs_eZdZeddddddd�edd	d
ddddd
�gZd�Zd�ZRS(s3Disassociate an elastic IP address from an instancetPublicIptmetavartADDRESStnargst?thelpsL[Non-VPC
                only] elastic IP address to disassociate (required)s-as--association-idtdestt
AssociationIdtASSOCs.[VPC only] address's association ID (required)cCs�tj|�|jjd�rh|jjd�r@td��q�|jdjd�r�td��q�n!|jjd�s�td��ndS(NRRs<argument -a/--association-id: not allowed with an IP addressteipassocsLVPC elastic IP association IDs must be be specified with -a/--association-ids9argument -a/--association-id or an IP address is required(Rt	configuretargstgetRt
startswith(tself((sN/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pyR(s
cCs<|jjd�p!|jjd�}|jd|f�GHdS(NRRR(RRttabify(Rt_ttarget((sN/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pytprint_result5s$(t__name__t
__module__tDESCRIPTIONRtARGSRR(((sN/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pyRs	
N(teuca2ools.commands.ec2RtrequestbuilderRtrequestbuilder.exceptionsRR(((sN/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pyt<module>s