https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/boto/ec2/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/boto/ec2/__pycache__/volumestatus.cpython-310.pyc
o

ckF[��@stddlmZmZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Z	Gdd
�d
e�Z
dS)�)�Status�Detailsc@s6eZdZdZ		ddd�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�rr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�rr�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)rrrr�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@�2eZdZdZddd�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)rr6rrrr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,)rrrr�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)rrr:rrr
r�s

zVolumeStatus.__init__cCr)NzVolumeStatus:%s)rrrrr
r�rzVolumeStatus.__repr__cCs>|dkrt�|_|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)rrrrr
r�s

zVolumeStatusSet.__init__cCr)r*)r9r,)rrrr�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
�<module>s*#,

https://t.me/RX1948 - 2025