File: //opt/alt/python37/lib/python3.7/site-packages/botocore/__pycache__/discovery.cpython-37.pyc
B
�P�eC+ � @ s� d dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dl m
Z
d dlmZ e �
e�ZG dd� de�ZG dd � d e�ZG d
d� de�Zdd
� ZG dd� d�ZG dd� d�ZG dd� d�ZdS )� N)�
xform_name)�
BotoCoreError�ConnectionError�HTTPClientError)�OperationNotFoundError)�CachedPropertyc @ s e Zd ZdS )�EndpointDiscoveryExceptionN)�__name__�
__module__�__qualname__� r r �C/opt/alt/python37/lib/python3.7/site-packages/botocore/discovery.pyr s r c @ s 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 r c @ s e Zd ZdZdZdS )�EndpointDiscoveryRefreshFailedz=Endpoint Discovery failed to the refresh the known endpoints.z<Endpoint Discovery failed to refresh the required endpoints.N)r r
r r r r r r r
r # s r c K s | j }|r|�d�rt� �d S )N�required)�endpoint_discovery�getr )�model�kwargsr r r r
�,block_endpoint_discovery_required_operations) s r c @ sN e Zd Zdd� Zedd� �Zedd� �Zdd� Zd d
� Zdd� Z ddd�Z
d
S )�EndpointDiscoveryModelc C s
|| _ d S )N)�_service_model)�self�
service_modelr r r
�__init__0 s zEndpointDiscoveryModel.__init__c C s | j j}t|j�S )N)r �endpoint_discovery_operationr �name)r �discovery_operationr r r
�discovery_operation_name3 s z/EndpointDiscoveryModel.discovery_operation_namec C s&