Current File : //proc/self/root/lib/python3/dist-packages/botocore/__pycache__/discovery.cpython-312.pyc |
�
P��eC+ � � � d dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dl m
Z
d dlmZ e j e� Z G d� de� Z G d� d e� Z G d
� de� Zd� Z G d
� d� Z G d� d� Z G d� d� Zy)� N)�
xform_name)�
BotoCoreError�ConnectionError�HTTPClientError)�OperationNotFoundError)�CachedPropertyc � � e Zd Zy)�EndpointDiscoveryExceptionN)�__name__�
__module__�__qualname__� � �4/usr/lib/python3/dist-packages/botocore/discovery.pyr
r
s � �r r
c � � e Zd ZdZdZy)�EndpointDiscoveryRequiredzBEndpoint Discovery is disabled but is required for this operation.zAEndpoint Discovery is not enabled but this operation requires it.N�r r r
�__doc__�fmtr r r r r s
� �L�
M�Cr r c � � e Zd ZdZdZy)�EndpointDiscoveryRefreshFailedz=Endpoint Discovery failed to the refresh the known endpoints.z<Endpoint Discovery failed to refresh the required endpoints.Nr r r r r r # s
� �G�
H�Cr r c �X � | j }|r|j d� r
t � �y y )N�required)�endpoint_discovery�getr )�model�kwargsr s r �,block_endpoint_discovery_required_operationsr ) s1 � ��1�1���0�4�4�Z�@�'�)�)� A�r c �L � e Zd Zd� Zed� � Zed� � Zd� Zd� Zd� Z d d�Z
y)
�EndpointDiscoveryModelc � � || _ y �N)�_service_model)�self�
service_models r �__init__zEndpointDiscoveryModel.__init__0 s
� �+��r c �X � | j j }t |j � S r"