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__/instancestatus.cpython-310.pyc
o

ckF[��@sdGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZdS)
c@s eZdZdZdd�Zdd�ZdS)�Detailsz�
    A dict object that contains name/value pairs which provide
    more detailed information about the status of the system
    or the instance.
    cC�dS�N���self�name�attrs�
connectionrr�9/usr/lib/python3/dist-packages/boto/ec2/instancestatus.py�startElement �zDetails.startElementcCs8|dkr	||_dS|dkr|||j<dSt|||�dS)Nr�status)�_name�setattr�rr�valuer	rrr
�
endElement#s

zDetails.endElementN)�__name__�
__module__�__qualname__�__doc__rrrrrr
rsrc@�6eZdZdZ		ddd�Zdd�Zdd�Zd	d
�ZdS)�EventaN
    A status event for an instance.

    :ivar code: A string indicating the event type.
    :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||_||_||_||_dSr)�code�description�
not_before�	not_after)rrrrrrrr
�__init__8s
zEvent.__init__cC�
d|jS)NzEvent:%s)r�rrrr
�__repr__?�
zEvent.__repr__cCrrrrrrr
rBrzEvent.startElementcCsX|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dSt|||�dS)Nrr�	notBefore�notAfter)rrrrrrrrr
rEs



zEvent.endElement)NNNN�rrrrrr rrrrrr
r,s
�rc@s2eZdZdZddd�Zdd�Zdd�Zd	d
�ZdS)�Statusz�
    A generic Status object used for system status and instance status.

    :ivar status: A string indicating overall status.
    :ivar details: A dict containing name-value pairs which provide
        more details about the current status.
    NcCs||_|st�}||_dSr)r
r�details)rr
r&rrr
r[s
zStatus.__init__cCr)Nz	Status:%s)r
rrrr
r ar!zStatus.__repr__cCs|dkr|jSdS)Nr&)r&rrrr
rdszStatus.startElementcCs"|dkr	||_dSt|||�dS)Nr
)r
rrrrr
ris
zStatus.endElement)NNr$rrrr
r%Rs
r%c@seZdZdd�Zdd�ZdS)�EventSetcC� |dkrt�}|�|�|SdS�N�item)r�append)rrrr	�eventrrr
rr�

zEventSet.startElementcCst|||�dSr)rrrrr
rzszEventSet.endElementN)rrrrrrrrr
r'psr'c@r)�InstanceStatusa%
    Represents an EC2 Instance status as reported by
    DescribeInstanceStatus request.

    :ivar id: The instance identifier.
    :ivar zone: The availability zone of the instance.
    :ivar events: A list of events relevant to the instance.
    :ivar state_code: An integer representing the current state
        of the instance.
    :ivar state_name: A string describing the current state
        of the instance.
    :ivar system_status: A Status object that reports impaired
        functionality that stems from issues related to the systems
        that support an instance, such as such as hardware failures
        and network connectivity problems.
    :ivar instance_status: A Status object that reports impaired
        functionality that arises from problems internal to the instance.
    NcCs2||_||_||_||_||_t�|_t�|_dSr)�id�zone�events�
state_code�
state_namer%�
system_status�instance_status)rr/r0r1r2r3rrr
r�szInstanceStatus.__init__cCr)NzInstanceStatus:%s)r/rrrr
r �r!zInstanceStatus.__repr__cCs6|dkrt�|_|jS|dkr|jS|dkr|jSdS)N�	eventsSet�systemStatus�instanceStatus)r'r1r4r5rrrr
r�szInstanceStatus.startElementcCs\|dkr	||_dS|dkr||_dS|dkrt|�|_dS|dkr&||_dSt|||�dS)N�
instanceId�availabilityZonerr)r/r0�intr2r3rrrrr
r�s


zInstanceStatus.endElement)NNNNNr$rrrr
r.~s
�
r.c@s*eZdZdZd	dd�Zdd�Zdd�ZdS)
�InstanceStatusSeta�
    A list object that contains the results of a call to
    DescribeInstanceStatus request.  Each element of the
    list will be an InstanceStatus 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)rr	rrr
r�s

zInstanceStatusSet.__init__cCr(r))r.r+)rrrr	r
rrr
r�r-zInstanceStatusSet.startElementcCs|dkr||_t|||�dS)N�	nextToken)r>rrrrr
r�szInstanceStatusSet.endElementr)rrrrrrrrrrr
r<�s

r<N)	�dictr�objectrr%r=r'r.r<rrrr
�<module>s&9

https://t.me/RX1948 - 2025