o ckF[¹ã@stddlmZmZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZ Gd d „d eƒZ dS)é)ÚStatusÚDetailsc@s6eZdZdZ  d dd„Zdd„Zdd„Zd d „ZdS) ÚEventad A status event for an instance. :ivar type: The type of the event. :ivar id: The ID of the event. :ivar description: A string describing the reason for the event. :ivar not_before: A datestring describing the earliest time for the event. :ivar not_after: A datestring describing the latest time for the event. NcCs"||_||_||_||_||_dS©N)ÚtypeÚidÚ descriptionÚ not_beforeÚ not_after)Úselfrrrr r ©r ú7/usr/lib/python3/dist-packages/boto/ec2/volumestatus.pyÚ__init__(s  zEvent.__init__cCó d|jS)NzEvent:%s)r©r r r r Ú__repr__0ó zEvent.__repr__cCódSrr ©r ÚnameÚattrsÚ connectionr r r Ú startElement3ózEvent.startElementcCsj|dkr ||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dSt|||ƒdS)NÚ eventTypeÚeventIdrÚ notBeforeÚnotAfter)rrrr r Úsetattr©r rÚvaluerr r r Ú endElement6s     zEvent.endElement)NNNNN©Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr!r r r r rs  ÿ rc@óeZdZdd„Zdd„ZdS)ÚEventSetcCó |dkrtƒ}| |¡|SdS©NÚitem)rÚappend)r rrrÚeventr r r rGó  zEventSet.startElementcCót|||ƒdSr©rrr r r r!OózEventSet.endElementN©r#r$r%rr!r r r r r(Eó r(c@ó2eZdZdZd dd„Zdd„Zdd„Zd d „ZdS) ÚActionzØ An action for an instance. :ivar code: The code for the type of the action. :ivar id: The ID of the event. :ivar type: The type of the event. :ivar description: A description of the action. NcCs||_||_||_||_dSr)Úcoderrr)r r6rrrr r r r]s zAction.__init__cCr)Nz Action:%s)r6rr r r rcrzAction.__repr__cCrrr rr r r rfrzAction.startElementcCsX|dkr ||_dS|dkr||_dS|dkr||_dS|dkr$||_dSt|||ƒdS)Nrrrr6)rrrr6rrr r r r!is    zAction.endElement)NNNNr"r r r r r5Ss   r5c@r')Ú ActionSetcCr)r*)r5r,)r rrrÚactionr r r rxr.zActionSet.startElementcCr/rr0rr r r r!€r1zActionSet.endElementNr2r r r r r7vr3r7c@r4) Ú VolumeStatusa¸ Represents an EC2 Volume status as reported by DescribeVolumeStatus request. :ivar id: The volume identifier. :ivar zone: The availability zone of the volume :ivar volume_status: A Status object that reports impaired functionality that arises from problems internal to the instance. :ivar events: A list of events relevant to the instance. :ivar actions: A list of events relevant to the instance. NcCs$||_||_tƒ|_d|_d|_dSr)rÚzonerÚ volume_statusÚeventsÚactions)r rr:r r r r‘s  zVolumeStatus.__init__cCr)NzVolumeStatus:%s)rrr r r r˜rzVolumeStatus.__repr__cCs>|dkr tƒ|_|jS|dkrtƒ|_|jS|dkr|jSdS)NÚ eventsSetÚ actionsSetÚ volumeStatus)r(r<r7r=r;rr r r r›szVolumeStatus.startElementcCs4|dkr ||_dS|dkr||_dSt|||ƒdS)NÚvolumeIdÚavailabilityZone)rr:rrr r r r!§s   zVolumeStatus.endElement)NNr"r r r r r9„s   r9c@s*eZdZdZd dd„Zdd„Zdd„ZdS) ÚVolumeStatusSetaš A list object that contains the results of a call to DescribeVolumeStatus request. Each element of the list will be an VolumeStatus object. :ivar next_token: If the response was truncated by the EC2 service, the next_token attribute of the object will contain the string that needs to be passed in to the next request to retrieve the next set of results. NcCst |¡||_d|_dSr)ÚlistrrÚ next_token)r rr r r r½s  zVolumeStatusSet.__init__cCr)r*)r9r,)r rrrÚstatusr r r rÂr.zVolumeStatusSet.startElementcCs|dkr||_t|||ƒdS)NÚ NextToken)rErrr r r r!ÊszVolumeStatusSet.endElementr)r#r$r%r&rrr!r r r r rC°s   rCN) Úboto.ec2.instancestatusrrÚobjectrrDr(r5r7r9rCr r r r Ús*#,