ó FRTc@s\dZddlmZdefd„ƒYZdefd„ƒYZdefd„ƒYZd S( s& Represents a VPC Peering Connection. iÿÿÿÿ(tTaggedEC2ObjecttVpcInfocBs,eZd„Zd„Zd„Zd„ZRS(cCsd|_d|_d|_dS(s½ Information on peer Vpc. :ivar id: The unique ID of peer Vpc. :ivar owner_id: Owner of peer Vpc. :ivar cidr_block: CIDR Block of peer Vpc. N(tNonetvpc_idtowner_idt cidr_block(tself((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt__init__s  cCs d|jS(Ns VpcInfo:%s(R(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt__repr__*scCsdS(N((Rtnametattrst connection((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt startElement-scCs\|dkr||_n@|dkr0||_n(|dkrH||_nt|||ƒdS(NtvpcIdtownerIdt cidrBlock(RRRtsetattr(RR tvalueR ((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt endElement0s      (t__name__t __module__RRR R(((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyRs  tVpcPeeringConnectionStatuscBs8eZdZddd„Zd„Zd„Zd„ZRS(s† The status of VPC peering connection. :ivar code: The status of the VPC peering connection. Valid values are: * pending-acceptance * failed * expired * provisioning * active * deleted * rejected :ivar message: A message that provides more information about the status of the VPC peering connection, if applicable. icCs||_||_dS(N(tcodetmessage(RRR((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyRJs cCsd|j|jfS(Ns%s(%d)(RR(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyRNscCsdS(N((RR R R ((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR QscCsD|dkr||_n(|dkr0||_nt|||ƒdS(NRR(RRR(RR RR ((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyRTs     N(RRt__doc__RRRR R(((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR:s   tVpcPeeringConnectioncBsneZd d„Zed„ƒZed„ƒZd„Zd„Zd„Z d„Z d„Z e e d„Z RS( cCsPtt|ƒj|ƒd|_tƒ|_tƒ|_d|_t ƒ|_ dS(s Represents a VPC peering connection. :ivar id: The unique ID of the VPC peering connection. :ivar accepter_vpc_info: Information on peer Vpc. :ivar requester_vpc_info: Information on requester Vpc. :ivar expiration_time: The expiration date and time for the VPC peering connection. :ivar status_code: The status of the VPC peering connection. :ivar status_message: A message that provides more information about the status of the VPC peering connection, if applicable. N( tsuperRRRtidRtaccepter_vpc_infotrequester_vpc_infotexpiration_timeRt_status(RR ((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR`s     cCs |jjS(N(RR(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt status_coderscCs |jjS(N(RR(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pytstatus_messagevscCs d|jS(NsVpcPeeringConnection:%s(R(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyRzscCsktt|ƒj|||ƒ}|dk r.|S|dkrA|jS|dkrT|jS|dkrg|jSdS(NtrequesterVpcInfotaccepterVpcInfotstatus(RRR RRRR(RR R R tretval((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR }s    cCsD|dkr||_n(|dkr0||_nt|||ƒdS(NtvpcPeeringConnectionIdtexpirationTime(RRR(RR RR ((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR‹s     cCs|jj|jƒS(N(R tdelete_vpc_peering_connectionR(R((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pytdelete“scCs|jj|jƒdS(N(t__dict__tupdate(Rtupdated((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyt_update–scCsj|jj|jgd|ƒ}t|ƒrD|d}|j|ƒn|rctd|jfƒ‚n|jS(Ntdry_runis)%s is not a valid VpcPeeringConnection ID(R tget_all_vpc_peering_connectionsRtlenR-t ValueErrorR (RtvalidateR.tvpc_peering_connection_listtupdated_vpc_peering_connection((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR+™s     N(RRRRtpropertyR R!RR RR)R-tFalseR+(((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyR^s      N(Rtboto.ec2.ec2objectRtobjectRRR(((sL/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc_peering_connection.pyts$