Xc@sJddlmZddlmZddlmZdefdYZdS(i(t EC2Request(tArg(t ArgumentErrortDisassociateAddressc Bs_eZdZedddddddedd d d dd dd gZdZdZRS(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)cCstj||jjdrh|jjdr@tdq|jdjdrtdqn!|jjdstdndS(NRR s<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<|jjdp!|jjd}|jd|fGHdS(NRR R(RRttabify(Rt_ttarget((sN/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/disassociateaddress.pyt print_result5s$(t__name__t __module__t DESCRIPTIONRtARGSRR(((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.pyts