File: //opt/alt/python311/lib/python3.11/site-packages/botocore/__pycache__/discovery.cpython-311.pyc
�
/�;fC+ � � � 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� � ZdS )� N)�
xform_name)�
BotoCoreError�ConnectionError�HTTPClientError)�OperationNotFoundError)�CachedPropertyc � � e Zd ZdS )�EndpointDiscoveryExceptionN)�__name__�
__module__�__qualname__� � �E/opt/alt/python311/lib/python3.11/site-packages/botocore/discovery.pyr
r
s � � � � � ��Dr r
c � � e Zd ZdZdZdS )�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�L�
M�C�C�Cr r c � � e Zd ZdZdZdS )�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�G�
H�C�C�Cr r c �b � | j }|r#|� d� � rt � � �d S d S )N�required)�endpoint_discovery�getr )�model�kwargsr s r �,block_endpoint_discovery_required_operationsr ) sI � ��1��� *�0�4�4�Z�@�@� *�'�)�)�)�*� *� *� *r c �Z � e Zd Zd� Zed� � � Zed� � � Zd� Zd� Zd� Z d d�Z
dS )
�EndpointDiscoveryModelc � � || _ d S �N)�_service_model)�self�
service_models r �__init__zEndpointDiscoveryModel.__init__0 s � �+����r c �B � | j j }t |j � � S r"