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/rds/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

ckF[��@sGdd�de�ZdS)c@s<eZdZdZddd�Zdd�Zdd�Zd	d
�Zddd
�ZdS)�
DBSnapshota�
    Represents a RDS DB Snapshot

    Properties reference available from the AWS documentation at http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DBSnapshot.html

    :ivar engine_version: Specifies the version of the database engine
    :ivar license_model: License model information for the restored DB instance
    :ivar allocated_storage: Specifies the allocated storage size in gigabytes (GB)
    :ivar availability_zone: Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot
    :ivar connection: boto.rds.RDSConnection associated with the current object
    :ivar engine: Specifies the name of the database engine
    :ivar id: Specifies the identifier for the DB Snapshot (DBSnapshotIdentifier)
    :ivar instance_create_time: Specifies the time (UTC) when the snapshot was taken
    :ivar instance_id: Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from (DBInstanceIdentifier)
    :ivar master_username: Provides the master username for the DB Instance
    :ivar port: Specifies the port that the database engine was listening on at the time of the snapshot
    :ivar snapshot_create_time: Provides the time (UTC) when the snapshot was taken
    :ivar status: Specifies the status of this DB Snapshot. Possible values are [ available, backing-up, creating, deleted, deleting, failed, modifying, rebooting, resetting-master-credentials ]
    :ivar iops: Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
    :ivar option_group_name: Provides the option group name for the DB snapshot.
    :ivar percent_progress: The percentage of the estimated data that has been transferred.
    :ivar snapshot_type: Provides the type of the DB snapshot.
    :ivar source_region: The region that the DB snapshot was created in or copied from.
    :ivar vpc_id: Provides the Vpc Id associated with the DB snapshot.
    NcCs|||_||_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_d|_
d|_d|_d|_d|_d|_dS�N)�
connection�id�engine�engine_version�snapshot_create_time�instance_create_time�port�status�availability_zone�master_username�allocated_storage�instance_id�
license_model�iops�option_group_name�percent_progress�
snapshot_type�
source_region�vpc_id)�selfrr�r�5/usr/lib/python3/dist-packages/boto/rds/dbsnapshot.py�__init__1s(
zDBSnapshot.__init__cCs
d|jS)Nz
DBSnapshot:%s)r)rrrr�__repr__Gs
zDBSnapshot.__repr__cCsdSrr)r�name�attrsrrrr�startElementJszDBSnapshot.startElementcCsv|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dS|dkr6||_dS|dkrAt|�|_dS|dkrJ||_dS|d	krS||_	dS|d
kr\||_
dS|dkrgt|�|_dS|dkrp||_dS|d
kry||_
dS|dkr�t|�|_dS|dkr�||_dS|dkr�t|�|_dS|dkr�||_dS|dkr�||_dS|dkr�||_dSt|||�dS)N�Engine�
EngineVersion�InstanceCreateTime�SnapshotCreateTime�DBInstanceIdentifier�DBSnapshotIdentifier�Port�Status�AvailabilityZone�MasterUsername�AllocatedStorage�SnapshotTime�LicenseModel�Iops�OptionGroupName�PercentProgress�SnapshotType�SourceRegion�VpcId)rrrrrr�intr	r
rrr
�timerrrrrrr�setattr)rr�valuerrrr�
endElementMsN














zDBSnapshot.endElementFcCs\|j�|j�}t|�dkr"|D]}|j|jkr|j�|j�q|jS|r+td|j��|jS)a�
        Update the DB snapshot's status information by making a call to fetch
        the current snapshot attributes from the service.

        :type validate: bool
        :param validate: By default, if EC2 returns no data about the
                         instance the update method returns quietly.  If
                         the validate param is True, however, it will
                         raise a ValueError exception if no data is
                         returned from EC2.
        �z%s is not a valid Snapshot ID)r�get_all_dbsnapshotsr�len�__dict__�update�
ValueErrorr
)r�validate�rs�irrrr:ws��zDBSnapshot.update)NN)F)	�__name__�
__module__�__qualname__�__doc__rrrr5r:rrrrrs
*rN)�objectrrrrr�<module>s

https://t.me/RX1948 - 2025