File: //usr/lib/python3/dist-packages/boto/vpc/__pycache__/vpc_peering_connection.cpython-310.pyc
o
ckF[/ � @ sD d Z ddlmZ G dd� de�ZG dd� de�ZG dd� de�Zd S )
z&
Represents a VPC Peering Connection.
� )�TaggedEC2Objectc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�VpcInfoc C s d| _ d| _d| _dS )z�
Information on peer Vpc.
:ivar id: The unique ID of peer Vpc.
:ivar owner_id: Owner of peer Vpc.
:ivar cidr_block: CIDR Block of peer Vpc.
N)�vpc_id�owner_id�
cidr_block��self� r �A/usr/lib/python3/dist-packages/boto/vpc/vpc_peering_connection.py�__init__ s
zVpcInfo.__init__c C �
d| j S )Nz
VpcInfo:%s)r r r r r
�__repr__* �
zVpcInfo.__repr__c C � d S �Nr �r �name�attrs�
connectionr r r
�startElement- � zVpcInfo.startElementc C sF |dkr || _ d S |dkr|| _d S |dkr|| _d S t| ||� d S )N�vpcId�ownerId� cidrBlock)r r r �setattr�r r �valuer r r r
�
endElement0 s
zVpcInfo.endElementN)�__name__�
__module__�__qualname__r r
r r r r r r
r s
r c @ s2 e Zd ZdZddd�Zdd� Zdd � Zd
d� ZdS )
�VpcPeeringConnectionStatusa�
The status of VPC peering connection.
:ivar code: The status of the VPC peering connection. Valid values are:
* pending-acceptance
* failed
* expired
* provisioning
* active
* deleted
* rejected
:ivar message: A message that provides more information about the status of the VPC peering connection, if applicable.
r Nc C s || _ || _d S r ��code�message)r r# r$ r r r
r J s
z#VpcPeeringConnectionStatus.__init__c C s d| j | jf S )Nz%s(%d)r"