Current File : //usr/lib/python3/dist-packages/boto3/__pycache__/exceptions.cpython-312.pyc
�

��e��l�ddlZGd�de�ZGd�de�ZGd�de�ZGd�d	eejj�ZGd
�deejj�Z	Gd�d
e�Z
Gd�de�ZGd�de�ZGd�de�Z
e
ZGd�de�ZGd�de�ZGd�de�Zy)�Nc��eZdZdZy)�
Boto3Errorz Base class for all Boto3 errors.N��__name__�
__module__�__qualname__�__doc__���2/usr/lib/python3/dist-packages/boto3/exceptions.pyrrs��*rrc��eZdZy)�ResourceLoadExceptionN�rrrr
rrrr���rrc��eZdZy)�NoVersionFoundNrr
rrrrrrrc��eZdZd�Zy)�UnknownAPIVersionErrorc�F�d|�d|�d|��}tj||�y)NzThe 'z/' resource does not support an API version of: z
Valid API versions are: )r�__init__)�self�service_name�bad_api_version�available_api_versions�msgs     rrzUnknownAPIVersionError.__init__)s;���L�>�!P�Q`�Pa�b'�'=�&>�
@�	�	���D�#�&rN)rrrrr
rrrr&s��'rrc��eZdZdZd�Zy)�ResourceNotExistsErrorzARaised when you attempt to create a resource that does not exist.c��dj|dj|��}|r|�d|�d|�d�}tj||�y)NzGThe '{}' resource does not exist.
The available resources are:
   - {}
z
   - z 
Consider using a boto3.client('z') instead of a resource for '�')�format�joinrr)rr�available_services�has_low_level_clientrs     rrzResourceNotExistsError.__init__8s_��
����i�n�n�-?�@��	� ��%�8���G.�.:�^�1�>�
�	���D�#�&rN�rrrr	rr
rrrr3s
��L�'rrc� ��eZdZd�fd�	Z�xZS)�RetriesExceededErrorc�2��t�|�|�||_y)N)�superr�last_exception)rr)r�	__class__s   �rrzRetriesExceededError.__init__Ks���
�����,��r)zMax Retries Exceeded)rrrr�
__classcell__)r*s@rr&r&Js
���-�-rr&c��eZdZy)�S3TransferFailedErrorNrr
rrr-r-Prrr-c��eZdZy)�S3UploadFailedErrorNrr
rrr/r/Trrr/c��eZdZdZd�Zy)�"DynamoDBOperationNotSupportedErrorz<Raised for operations that are not supported for an operand.c�X�|�d|�dt|��d�}tj||�y)Nz& operation cannot be applied to value �	 of type zo directly. Must use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances first.��type�	Exceptionr)r�	operation�valuers    rrz+DynamoDBOperationNotSupportedError.__init__[s<���k�?��w�i��E�{�m�M�
N�	�
	���4��%rNr$r
rrr1r1Xs
��F�&rr1c��eZdZdZd�Zy)�DynamoDBNeedsConditionErrorz$Raised when input is not a conditionc�T�d|�dt|��d�}tj||�y)Nz&Expecting a ConditionBase object. Got r3z[. Use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances.r4)rr8rs   rrz$DynamoDBNeedsConditionError.__init__ks5��4�U�G�9�T�%�[�M�R0�
1�	�
	���4��%rNr$r
rrr:r:hs
��.�&rr:c��eZdZy)�DynamoDBNeedsKeyConditionErrorNrr
rrr=r=trrr=c��eZdZdZy)�PythonDeprecationWarningz{
    Python version being used is scheduled to become unsupported
    in an future release. See warning for specifics.
    Nrr
rrr?r?xs���
	rr?)�botocore.exceptions�botocorer6rrr�
exceptions�DataNotFoundErrorrrr&r-r/r1�#DynanmoDBOperationNotSupportedErrorr:r=�Warningr?r
rr�<module>rFs����+��+�	�J�	�	�Z�	�
'���#�#�5�5�
'�'���#�#�5�5�'�.-�:�-�	�J�	�	�*�	�	&��	&�'I�#�	&�*�	&�	�Z�	�	�w�	r