
                         V   S SK r " S S\5      r " S S\5      r " S S\5      r " S S	\\R                  R                  5      r " S
 S\\R                  R                  5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r\r " S S\5      r " S S\5      rg)    Nc                       \ rS rSrSrSrg)
Boto3Error   z Base class for all Boto3 errors. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       #lib/third_party/boto3/exceptions.pyr   r      s    *r   r   c                       \ rS rSrSrg)ResourceLoadException   r   Nr   r   r	   r
   r   r   r   r   r   r          r   r   c                       \ rS rSrSrg)NoVersionFound   r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrS rSrg)UnknownAPIVersionError&   c                 J    SU< SU< SU< 3n[         R                  X5        g )NThe 'z'' resource does not an API version of: z
Valid API versions are: )r   __init__)selfservice_namebad_api_versionavailable_api_versionsmsgs        r   r   UnknownAPIVersionError.__init__(   s'    
 _.DF 	 	D&r   r   N)r   r   r	   r
   r   r   r   r   r   r   r   &   s    	'r   r   c                       \ rS rSrSrS rSrg)ResourceNotExistsError4   zARaised when you attempt to create a resource that does not exist.c                     SU< SSR                  U5      < S3nU(       a  USU< SU< S3-  n[        R                  X5        g )Nr   z=' resource does not exist.
The available resources are:
   - z
   - 
z 
Consider using a boto3.client('z') instead of a resource for '')joinr   r   )r   r   available_serviceshas_low_level_clientr!   s        r   r   ResourceNotExistsError.__init__7   sI     (8J)KM 	
  ,8,HIC
 	D&r   r   Nr   r   r	   r
   r   r   r   r   r   r   r$   r$   4   s
    K'r   r$   c                   ,   ^  \ rS rSrSU 4S jjrSrU =r$ )RetriesExceededErrorF   c                 8   > [         [        U ]  U5        Xl        g )N)superr/   r   last_exception)r   r3   r!   	__class__s      r   r   RetriesExceededError.__init__G   s    "D237,r   )r3   )zMax Retries Exceeded)r   r   r	   r
   r   r   __classcell__)r4   s   @r   r/   r/   F   s    - -r   r/   c                       \ rS rSrSrg)S3TransferFailedErrorL   r   Nr   r   r   r   r8   r8   L   r   r   r8   c                       \ rS rSrSrg)S3UploadFailedErrorP   r   Nr   r   r   r   r;   r;   P   r   r   r;   c                       \ rS rSrSrS rSrg)"DynamoDBOperationNotSupportedErrorT   z<Raised for operations that are not supported for an operand.c                 \    U< SU< S[        U5      < S3n[        R                  X5        g )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valuer!   s       r   r   +DynamoDBOperationNotSupportedError.__init__V   s)    
 tE{, 	
 	4%r   r   Nr-   r   r   r   r>   r>   T   s
    F&r   r>   c                       \ rS rSrSrS rSrg)DynamoDBNeedsConditionErrorb   z$Raised when input is not a conditionc                 V    SU< S[        U5      < S3n[        R                  X5        g )Nz&Expecting a ConditionBase object. Got rA   z[. Use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances.rB   )r   rF   r!   s      r   r   $DynamoDBNeedsConditionError.__init__d   s(     49$u+G 	 	4%r   r   Nr-   r   r   r   rI   rI   b   s
    .&r   rI   c                       \ rS rSrSrg)DynamoDBNeedsKeyConditionErrorl   r   Nr   r   r   r   rN   rN   l   r   r   rN   )botocore.exceptionsbotocorerD   r   r   r   
exceptionsDataNotFoundErrorr   r$   r/   r8   r;   r>   #DynanmoDBOperationNotSupportedErrorrI   rN   r   r   r   <module>rU      s    + +	J 		Z 	'Z%00BB''Z%00BB'$-: -	J 		* 	& & 'I #&* &	Z 	r   