U
    ³.¬b‹U  ã                   @   sÊ  d dl mZ d dlmZ d¶dd„ZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZ	G dd„ deƒZ
G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deejjƒZG dd„ deƒZG dd„ deejjejjƒZG d d!„ d!eejjƒZG d"d#„ d#eejjƒZG d$d%„ d%eƒZG d&d'„ d'eƒZG d(d)„ d)eƒZG d*d+„ d+eƒZG d,d-„ d-eƒZG d.d/„ d/eƒZG d0d1„ d1eƒZG d2d3„ d3eƒZ G d4d5„ d5eƒZ!G d6d7„ d7ee"ƒZ#G d8d9„ d9eƒZ$G d:d;„ d;eƒZ%G d<d=„ d=eƒZ&G d>d?„ d?eƒZ'G d@dA„ dAeƒZ(G dBdC„ dCeƒZ)G dDdE„ dEeƒZ*G dFdG„ dGe)ƒZ+G dHdI„ dIe)ƒZ,G dJdK„ dKe)ƒZ-G dLdM„ dMe)e"ƒZ.G dNdO„ dOe)ƒZ/G dPdQ„ dQeƒZ0G dRdS„ dSeƒZ1G dTdU„ dUeƒZ2G dVdW„ dWeƒZ3G dXdY„ dYeƒZ4G dZd[„ d[eƒZ5G d\d]„ d]eƒZ6G d^d_„ d_eƒZ7G d`da„ daeƒZ8G dbdc„ dceƒZ9G ddde„ deeƒZ:G dfdg„ dgeƒZ;G dhdi„ dieƒZ<G djdk„ dke<ƒZ=G dldm„ dme>ƒZ?G dndo„ doe>ƒZ@G dpdq„ dqeƒZAG drds„ dseƒZBG dtdu„ dueƒZCG dvdw„ dweƒZDG dxdy„ dyeƒZEG dzd{„ d{eƒZFG d|d}„ d}eƒZGG d~d„ deƒZHG d€d�„ d�eƒZIG d‚dƒ„ dƒeƒZJG d„d…„ d…eƒZKG d†d‡„ d‡eKƒZLG dˆd‰„ d‰eKƒZMG dŠd‹„ d‹eƒZNG dŒd�„ d�eƒZOG dŽd�„ d�eƒZPG d�d‘„ d‘ePeQƒZRG d’d“„ d“ePƒZSG d”d•„ d•eƒZTG d–d—„ d—eTƒZUG d˜d™„ d™eƒZVG dšd›„ d›eƒZWG dœd�„ d�eƒZXG dždŸ„ dŸeƒZYG d d¡„ d¡eƒZZG d¢d£„ d£eZƒZ[G d¤d¥„ d¥eƒZ\G d¦d§„ d§e\ƒZ]G d¨d©„ d©e\ƒZ^G dªd«„ d«eƒZ_G d¬d­„ d­eƒZ`G d®d¯„ d¯eƒZaG d°d±„ d±eƒZbG d²d³„ d³eƒZcG d´dµ„ dµeƒZddS )·é    )Úrequests)Úurllib3Nc                 C   s"   |d krd}|d kri }| ||ŽS )N© r   )Zexception_clsÚargsÚkwargsr   r   ú7/tmp/pip-unpacked-wheel-7df6wvge/botocore/exceptions.pyÚ_exception_from_packed_args   s
    r   c                   @   s$   e Zd ZdZdZdd„ Zdd„ ZdS )ÚBotoCoreErrorz~
    The base exception class for BotoCore exceptions.

    :ivar msg: The descriptive message associated with the error.
    zAn unspecified error occurredc                 K   s$   | j jf |Ž}t | |¡ || _d S ©N©ÚfmtÚformatÚ	ExceptionÚ__init__r   ©Úselfr   Úmsgr   r   r   r   (   s    zBotoCoreError.__init__c                 C   s   t | jd | jffS r
   )r   Ú	__class__r   ©r   r   r   r   Ú
__reduce__-   s    zBotoCoreError.__reduce__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r	      s   r	   c                   @   s   e Zd ZdZdZdS )ÚDataNotFoundErrorzŽ
    The data associated with a particular path could not be loaded.

    :ivar data_path: The data path that the user attempted to load.
    z$Unable to load data for: {data_path}N©r   r   r   r   r   r   r   r   r   r   1   s   r   c                   @   s   e Zd ZdZdZdS )ÚUnknownServiceErrorzwRaised when trying to load data for an unknown service.

    :ivar service_name: The name of the unknown service.

    zQUnknown service: '{service_name}'. Valid service names are: {known_service_names}Nr   r   r   r   r   r   ;   s   ÿr   c                   @   s   e Zd ZdZdZdS )ÚUnknownRegionErrorztRaised when trying to load data for an unknown region.

    :ivar region_name: The name of the unknown region.

    z,Unknown region: '{region_name}'. {error_msg}Nr   r   r   r   r   r   H   s   r   c                   @   s   e Zd ZdZdZdS )ÚApiVersionNotFoundErrorzó
    The data associated with either the API version or a compatible one
    could not be loaded.

    :ivar data_path: The data path that the user attempted to load.
    :ivar api_version: The API version that the user attempted to load.
    z2Unable to load data {data_path} for: {api_version}Nr   r   r   r   r   r   R   s   r   c                       s*   e Zd ZdZd‡ fdd„	Zdd„ Z‡  ZS )ÚHTTPClientErrorz5An HTTP Client raised an unhandled exception: {error}Nc                    s   || _ || _tƒ jf |Ž d S r
   )ÚrequestÚresponseÚsuperr   )r   r    r!   r   ©r   r   r   r   a   s    zHTTPClientError.__init__c                 C   s   t | j| j| jf| jffS r
   )r   r   r    r!   r   r   r   r   r   r   f   s
    
ýzHTTPClientError.__reduce__)NN)r   r   r   r   r   r   Ú__classcell__r   r   r#   r   r   ^   s   r   c                   @   s   e Zd ZdZdS )ÚConnectionErrorz8An HTTP Client failed to establish a connection: {error}N©r   r   r   r   r   r   r   r   r%   n   s   r%   c                   @   s   e Zd ZdZdS )ÚInvalidIMDSEndpointErrorz;Invalid endpoint EC2 Instance Metadata endpoint: {endpoint}Nr&   r   r   r   r   r'   r   s   r'   c                   @   s   e Zd ZdZdS )ÚInvalidIMDSEndpointModeErrorzkInvalid EC2 Instance Metadata endpoint mode: {mode} Valid endpoint modes (case-insensitive): {valid_modes}.Nr&   r   r   r   r   r(   v   s   ÿr(   c                   @   s   e Zd ZdZdS )ÚEndpointConnectionErrorz7Could not connect to the endpoint URL: "{endpoint_url}"Nr&   r   r   r   r   r)   }   s   r)   c                   @   s   e Zd ZdZdS )ÚSSLErrorz0SSL validation failed for {endpoint_url} {error}Nr&   r   r   r   r   r*   �   s   r*   c                   @   s   e Zd ZdZdS )ÚConnectionClosedErrorz^Connection was closed before we received a valid response from endpoint URL: "{endpoint_url}".Nr&   r   r   r   r   r+   …   s   ÿr+   c                   @   s   e Zd ZdZdS )ÚReadTimeoutErrorz.Read timeout on endpoint URL: "{endpoint_url}"Nr&   r   r   r   r   r,   Œ   s   r,   c                   @   s   e Zd ZdZdS )ÚConnectTimeoutErrorz1Connect timeout on endpoint URL: "{endpoint_url}"Nr&   r   r   r   r   r-   ”   s   r-   c                   @   s   e Zd ZdZdS )ÚProxyConnectionErrorz-Failed to connect to proxy URL: "{proxy_url}"Nr&   r   r   r   r   r.   ˜   s   r.   c                   @   s   e Zd ZdZdS )ÚResponseStreamingErrorz=An error occurred while reading from response stream: {error}Nr&   r   r   r   r   r/   œ   s   r/   c                   @   s   e Zd ZdZdZdS )ÚNoCredentialsErrorz(
    No credentials could be found.
    zUnable to locate credentialsNr   r   r   r   r   r0       s   r0   c                   @   s   e Zd ZdZdZdS )ÚPartialCredentialsErrorzj
    Only partial credentials were found.

    :ivar cred_var: The missing credential variable name.

    z<Partial credentials found in {provider}, missing: {cred_var}Nr   r   r   r   r   r1   ¨   s   r1   c                   @   s   e Zd ZdZdZdS )ÚCredentialRetrievalErrorzÛ
    Error attempting to retrieve credentials from a remote source.

    :ivar provider: The name of the credential provider.
    :ivar error_msg: The msg explaining why credentials could not be
        retrieved.

    z>Error when retrieving credentials from {provider}: {error_msg}Nr   r   r   r   r   r2   ³   s   	r2   c                   @   s   e Zd ZdZdZdS )ÚUnknownSignatureVersionErrorz~
    Requested Signature Version is not known.

    :ivar signature_version: The name of the requested signature version.
    z/Unknown Signature Version: {signature_version}.Nr   r   r   r   r   r3   À   s   r3   c                   @   s   e Zd ZdZdZdS )ÚServiceNotInRegionErrorzœ
    The service is not available in requested region.

    :ivar service_name: The name of the service.
    :ivar region_name: The name of the region.
    z<Service {service_name} not available in region {region_name}Nr   r   r   r   r   r4   Ê   s   r4   c                   @   s   e Zd ZdZdS )ÚBaseEndpointResolverErrorzØBase error for endpoint resolving errors.

    Should never be raised directly, but clients can catch
    this exception if they want to generically handle any errors
    during the endpoint resolution process.

    N©r   r   r   r   r   r   r   r   r5   Õ   s   r5   c                   @   s   e Zd ZdZdZdS )ÚNoRegionErrorzNo region was specified.zYou must specify a region.Nr   r   r   r   r   r7   ß   s   r7   c                   @   s   e Zd ZdZdZdS )ÚEndpointVariantErrorz«
    Could not construct modeled endpoint variant.

    :ivar error_msg: The message explaining why the modeled endpoint variant
        is unable to be constructed.

    zMUnable to construct a modeled endpoint with the following variant(s) {tags}: Nr   r   r   r   r   r8   å   s   	ÿr8   c                   @   s   e Zd ZdZdZdS )ÚUnknownEndpointErrorz‹
    Could not construct an endpoint.

    :ivar service_name: The name of the service.
    :ivar region_name: The name of the region.
    zJUnable to construct an endpoint for {service_name} in region {region_name}Nr   r   r   r   r   r9   ô   s   ÿr9   c                   @   s   e Zd ZdZdZdS )ÚUnknownFIPSEndpointErrorz�
    Could not construct a FIPS endpoint.

    :ivar service_name: The name of the service.
    :ivar region_name: The name of the region.
    z�The provided FIPS pseudo-region "{region_name}" is not known for the service "{service_name}". A FIPS compliant endpoint cannot be constructed.Nr   r   r   r   r   r:     s   ÿr:   c                   @   s   e Zd ZdZdZdS )ÚProfileNotFoundz¢
    The specified configuration profile was not found in the
    configuration file.

    :ivar profile: The name of the profile the user attempted to load.
    z1The config profile ({profile}) could not be foundNr   r   r   r   r   r;     s   r;   c                   @   s   e Zd ZdZdZdS )ÚConfigParseErrorzj
    The configuration file could not be parsed.

    :ivar path: The path to the configuration file.
    z#Unable to parse config file: {path}Nr   r   r   r   r   r<     s   r<   c                   @   s   e Zd ZdZdZdS )ÚConfigNotFoundzs
    The specified configuration file could not be found.

    :ivar path: The path to the configuration file.
    z6The specified config file ({path}) could not be found.Nr   r   r   r   r   r=   &  s   r=   c                   @   s   e Zd ZdZdZdS )ÚMissingParametersErrorax  
    One or more required parameters were not supplied.

    :ivar object: The object that has missing parameters.
        This can be an operation or a parameter (in the
        case of inner params).  The str() of this object
        will be used so it doesn't need to implement anything
        other than str().
    :ivar missing: The names of the missing parameters.
    zJThe following required parameters are missing for {object_name}: {missing}Nr   r   r   r   r   r>   0  s   ÿr>   c                   @   s   e Zd ZdZdZdS )ÚValidationErrora3  
    An exception occurred validating parameters.

    Subclasses must accept a ``value`` and ``param``
    argument in their ``__init__``.

    :ivar value: The value that was being validated.
    :ivar param: The parameter that failed validation.
    :ivar type_name: The name of the underlying type.
    z@Invalid value ('{value}') for param {param} of type {type_name} Nr   r   r   r   r   r?   B  s   r?   c                   @   s   e Zd ZdZdS )ÚParamValidationErrorz%Parameter validation failed:
{report}Nr&   r   r   r   r   r@   Q  s   r@   c                   @   s   e Zd ZdZdZdS )ÚUnknownKeyErrorzÃ
    Unknown key in a struct parameter.

    :ivar value: The value that was being checked.
    :ivar param: The name of the parameter.
    :ivar choices: The valid choices the value can be.
    zEUnknown key '{value}' for param '{param}'.  Must be one of: {choices}Nr   r   r   r   r   rA   X  s   	ÿrA   c                   @   s   e Zd ZdZdZdS )Ú
RangeErrora  
    A parameter value was out of the valid range.

    :ivar value: The value that was being checked.
    :ivar param: The parameter that failed validation.
    :ivar min_value: The specified minimum value.
    :ivar max_value: The specified maximum value.
    zKValue out of range for param {param}: {min_value} <= {value} <= {max_value}Nr   r   r   r   r   rB   g  s   
ÿrB   c                   @   s   e Zd ZdZdZdS )ÚUnknownParameterErrorzÊ
    Unknown top level parameter.

    :ivar name: The name of the unknown parameter.
    :ivar operation: The name of the operation.
    :ivar choices: The valid choices the parameter name can be.
    zPUnknown parameter '{name}' for operation {operation}.  Must be one of: {choices}Nr   r   r   r   r   rC   w  s   	ÿrC   c                   @   s   e Zd ZdZdZdS )ÚInvalidRegionErrorz{
    Invalid region_name provided to client or resource.

    :ivar region_name: region_name that was being validated.
    zFProvided region_name '{region_name}' doesn't match a supported format.Nr   r   r   r   r   rD   †  s   rD   c                   @   s   e Zd ZdZdZdS )ÚAliasConflictParameterErrorzâ
    Error when an alias is provided for a parameter as well as the original.

    :ivar original: The name of the original parameter.
    :ivar alias: The name of the alias
    :ivar operation: The name of the operation.
    zvParameter '{original}' and its alias '{alias}' were provided for operation {operation}.  Only one of them may be used.Nr   r   r   r   r   rE   �  s   	ÿrE   c                   @   s   e Zd ZdZdZdS )ÚUnknownServiceStylez]
    Unknown style of service invocation.

    :ivar service_style: The style requested.
    z6The service style ({service_style}) is not understood.Nr   r   r   r   r   rF   Ÿ  s   rF   c                   @   s   e Zd ZdZdS )ÚPaginationErrorz"Error during pagination: {message}Nr&   r   r   r   r   rG   ©  s   rG   c                   @   s   e Zd ZdZdS )ÚOperationNotPageableErrorz/Operation cannot be paginated: {operation_name}Nr&   r   r   r   r   rH   ­  s   rH   c                   @   s   e Zd ZdZdZdS )ÚChecksumErrorz<The expected checksum did not match the calculated checksum.z{Checksum {checksum_type} failed, expected checksum {expected_checksum} did not match calculated checksum {actual_checksum}.Nr   r   r   r   r   rI   ±  s   ÿrI   c                   @   s   e Zd ZdZdZdS )ÚUnseekableStreamErrorz;Need to seek a stream, but stream does not support seeking.zFNeed to rewind the stream {stream_object}, but stream is not seekable.Nr   r   r   r   r   rJ   »  s   ÿrJ   c                       s$   e Zd ZdZdZ‡ fdd„Z‡  ZS )ÚWaiterErrorz%Waiter failed to reach desired state.zWaiter {name} failed: {reason}c                    s   t ƒ j||d� || _d S )N)ÚnameÚreason)r"   r   Úlast_response)r   rL   rM   rN   r#   r   r   r   É  s    zWaiterError.__init__)r   r   r   r   r   r   r$   r   r   r#   r   rK   Ä  s   rK   c                   @   s   e Zd ZdZdZdS )ÚIncompleteReadErrorz6HTTP response did not return expected number of bytes.zB{actual_bytes} read, but total bytes expected is {expected_bytes}.Nr   r   r   r   r   rO   Î  s   ÿrO   c                   @   s   e Zd ZdZdZdS )ÚInvalidExpressionErrorz,Expression is either invalid or too complex.zCInvalid expression {expression}: Only dotted lookups are supported.Nr   r   r   r   r   rP   Ö  s   rP   c                   @   s   e Zd ZdZdZdS )ÚUnknownCredentialErrorz=Tried to insert before/after an unregistered credential type.z"Credential named {name} not found.Nr   r   r   r   r   rQ   Ü  s   rQ   c                   @   s   e Zd ZdZdZdS )ÚWaiterConfigErrorz+Error when processing waiter configuration.z+Error processing waiter config: {error_msg}Nr   r   r   r   r   rR   â  s   rR   c                   @   s   e Zd ZdZdZdS )ÚUnknownClientMethodErrorzEError when trying to access a method on a client that does not exist.z*Client does not have method: {method_name}Nr   r   r   r   r   rS   è  s   rS   c                   @   s   e Zd ZdZdZdS )Ú UnsupportedSignatureVersionErrorz:Error when trying to use an unsupported Signature Version.z7Signature version is not supported: {signature_version}Nr   r   r   r   r   rT   î  s   rT   c                       s0   e Zd ZdZ‡ fdd„Zdd„ Zdd„ Z‡  ZS )ÚClientErrorziAn error occurred ({error_code}) when calling the {operation_name} operation{retry_info}: {error_message}c                    sV   |   |¡}| di ¡}| jj| dd¡| dd¡||d�}tƒ  |¡ || _|| _d S )NÚErrorZCodeÚUnknownÚMessage)Z
error_codeÚerror_messageÚoperation_nameÚ
retry_info)Ú_get_retry_infoÚgetÚMSG_TEMPLATEr   r"   r   r!   rZ   )r   Zerror_responserZ   r[   Úerrorr   r#   r   r   r   ú  s    


üzClientError.__init__c                 C   s<   d}d|kr8|d }|  dd¡r8d|kr8d|d › d�}|S )NÚ ZResponseMetadataZMaxAttemptsReachedFZRetryAttemptsz (reached max retries: ú))r]   )r   r!   r[   Úmetadatar   r   r   r\     s    ÿzClientError._get_retry_infoc                 C   s   t | j| jffS r
   )rU   r!   rZ   r   r   r   r   r     s    zClientError.__reduce__)r   r   r   r^   r   r\   r   r$   r   r   r#   r   rU   ô  s
   ÿrU   c                   @   s   e Zd ZdS )ÚEventStreamErrorN©r   r   r   r   r   r   r   rc     s   rc   c                   @   s   e Zd ZdZdS )ÚUnsupportedTLSVersionWarningz:Warn when an openssl version that uses TLS 1.2 is requiredNr6   r   r   r   r   re     s   re   c                   @   s   e Zd ZdS )ÚImminentRemovalWarningNrd   r   r   r   r   rf   #  s   rf   c                   @   s   e Zd ZdZdZdS )ÚInvalidDNSNameErrorzEError when virtual host path is forced on a non-DNS compatible bucketa  Bucket named {bucket_name} is not DNS compatible. Virtual hosted-style addressing cannot be used. The addressing style can be configured by removing the addressing_style value or setting that value to 'path' or 'auto' in the AWS Config file or in the botocore.client.Config object.Nr   r   r   r   r   rg   '  s   ÿrg   c                   @   s   e Zd ZdZdZdS )ÚInvalidS3AddressingStyleErrorz-Error when an invalid path style is specifiedzfS3 addressing style {s3_addressing_style} is invalid. Valid options are: 'auto', 'virtual', and 'path'Nr   r   r   r   r   rh   3  s   ÿrh   c                   @   s   e Zd ZdZdZdS )ÚUnsupportedS3ArnErrorz?Error when S3 ARN provided to Bucket parameter is not supportedzeS3 ARN {arn} provided to "Bucket" parameter is invalid. Only ARNs for S3 access-points are supported.Nr   r   r   r   r   ri   <  s   ÿri   c                   @   s   e Zd ZdZdZdS )ÚUnsupportedS3ControlArnErrorzCError when S3 ARN provided to S3 control parameter is not supportedz<S3 ARN "{arn}" provided is invalid for this operation. {msg}Nr   r   r   r   r   rj   E  s   rj   c                   @   s   e Zd ZdZdZdS )ÚInvalidHostLabelErrorz>Error when an invalid host label would be bound to an endpointzJInvalid host label to be bound to the hostname of the endpoint: "{label}".Nr   r   r   r   r   rk   K  s   ÿrk   c                   @   s   e Zd ZdZdZdS )ÚUnsupportedOutpostResourceErrorzDError when S3 Outpost ARN provided to Bucket parameter is incompletez£S3 Outpost ARN resource "{resource_name}" provided to "Bucket" parameter is invalid. Only ARNs for S3 Outpost arns with an access-point sub-resource are supported.Nr   r   r   r   r   rl   T  s   ÿrl   c                   @   s   e Zd ZdZdZdS )ÚUnsupportedS3ConfigurationErrorúBError when an unsupported configuration is used with access-pointsz.Unsupported configuration when using S3: {msg}Nr   r   r   r   r   rm   ^  s   rm   c                   @   s   e Zd ZdZdZdS )Ú*UnsupportedS3AccesspointConfigurationErrorrn   z<Unsupported configuration when using S3 access-points: {msg}Nr   r   r   r   r   ro   d  s   ro   c                   @   s   e Zd ZdZdZdS )Ú*InvalidEndpointDiscoveryConfigurationErrorz@Error when invalid value supplied for endpoint_discovery_enabledz�Unsupported configuration value for endpoint_discovery_enabled. Expected one of ("true", "false", "auto") but got {config_value}.Nr   r   r   r   r   rp   j  s   ÿrp   c                   @   s   e Zd ZdZdZdS )Ú&UnsupportedS3ControlConfigurationErrorz?Error when an unsupported configuration is used with S3 Controlz6Unsupported configuration when using S3 Control: {msg}Nr   r   r   r   r   rq   s  s   rq   c                   @   s   e Zd ZdZdZdS )ÚInvalidRetryConfigurationErrorú3Error when invalid retry configuration is specifiedzvCannot provide retry configuration for "{retry_config_option}". Valid retry configuration options are: {valid_options}Nr   r   r   r   r   rr   y  s   ÿrr   c                   @   s   e Zd ZdZdZdS )ÚInvalidMaxRetryAttemptsErrorrs   zrValue provided to "max_attempts": {provided_max_attempts} must be an integer greater than or equal to {min_value}.Nr   r   r   r   r   rt   ‚  s   ÿrt   c                   @   s   e Zd ZdZdZdS )ÚInvalidRetryModeErrorz8Error when invalid retry mode configuration is specifiedzWInvalid value provided to "mode": "{provided_retry_mode}" must be one of: {valid_modes}Nr   r   r   r   r   ru   ‹  s   ÿru   c                   @   s   e Zd ZdZdZdS )Ú+InvalidS3UsEast1RegionalEndpointConfigErrorz?Error for invalid s3 us-east-1 regional endpoints configurationz�S3 us-east-1 regional endpoint option {s3_us_east_1_regional_endpoint_config} is invalid. Valid options are: "legacy", "regional"Nr   r   r   r   r   rv   ”  s   ÿrv   c                   @   s   e Zd ZdZdZdS )Ú&InvalidSTSRegionalEndpointsConfigErrorzDError when invalid sts regional endpoints configuration is specifiedzqSTS regional endpoints option {sts_regional_endpoints_config} is invalid. Valid options are: "legacy", "regional"Nr   r   r   r   r   rw   ž  s   ÿrw   c                   @   s   e Zd ZdZdS )ÚStubResponseErrorzDError getting response stub for operation {operation_name}: {reason}Nr&   r   r   r   r   rx   §  s   ÿrx   c                   @   s   e Zd ZdS )ÚStubAssertionErrorNrd   r   r   r   r   ry   ­  s   ry   c                   @   s   e Zd ZdS )ÚUnStubbedResponseErrorNrd   r   r   r   r   rz   ±  s   rz   c                   @   s   e Zd ZdZdS )ÚInvalidConfigErrorú{error_msg}Nr&   r   r   r   r   r{   µ  s   r{   c                   @   s   e Zd ZdZdS )ÚInfiniteLoopConfigErrorz©Infinite loop in credential configuration detected. Attempting to load from profile {source_profile} which has already been visited. Visited profiles: {visited_profiles}Nr&   r   r   r   r   r}   ¹  s   ÿr}   c                   @   s   e Zd ZdZdS )ÚRefreshWithMFAUnsupportedErrorz/Cannot refresh credentials: MFA token required.Nr&   r   r   r   r   r~   Á  s   r~   c                   @   s   e Zd ZdZdS )ÚMD5UnavailableErrorz,This system does not support MD5 generation.Nr&   r   r   r   r   r   Å  s   r   c                   @   s   e Zd ZdZdS )ÚMissingDependencyExceptionzMissing Dependency: {msg}Nr&   r   r   r   r   r€   É  s   r€   c                   @   s   e Zd ZdZdS )ÚMetadataRetrievalErrorz&Error retrieving metadata: {error_msg}Nr&   r   r   r   r   r�   Í  s   r�   c                   @   s   e Zd ZdS )ÚUndefinedModelAttributeErrorNrd   r   r   r   r   r‚   Ñ  s   r‚   c                   @   s   e Zd ZdZdd„ ZdS )ÚMissingServiceIdErrorzrThe model being used for the service {service_name} is missing the serviceId metadata property, which is required.c                 K   s$   | j jf |Ž}t | |¡ || _d S r
   r   r   r   r   r   r   Û  s    zMissingServiceIdError.__init__N)r   r   r   r   r   r   r   r   r   rƒ   Õ  s   ÿrƒ   c                   @   s   e Zd ZdZdS )ÚSSOErrorz<An unspecified error happened when resolving SSO credentialsNr&   r   r   r   r   r„   á  s   r„   c                   @   s   e Zd ZdZdS )ÚSSOTokenLoadErrorz$Error loading SSO Token: {error_msg}Nr&   r   r   r   r   r…   å  s   r…   c                   @   s   e Zd ZdZdS )ÚUnauthorizedSSOTokenErrorzŸThe SSO session associated with this profile has expired or is otherwise invalid. To refresh this SSO session run aws sso login with the corresponding profile.Nr&   r   r   r   r   r†   é  s   ÿr†   c                   @   s   e Zd ZdZdS )ÚCapacityNotAvailableErrorz(Insufficient request capacity available.Nr&   r   r   r   r   r‡   ñ  s   r‡   c                   @   s   e Zd ZdZdS )ÚInvalidProxiesConfigErrorz;Invalid configuration value(s) provided for proxies_config.Nr&   r   r   r   r   rˆ   õ  s   rˆ   c                   @   s   e Zd ZdZdS )ÚInvalidDefaultsModezbClient configured with invalid defaults mode: {mode}. Valid defaults modes include: {valid_modes}.Nr&   r   r   r   r   r‰   ù  s   ÿr‰   c                   @   s   e Zd ZdZdS )ÚAwsChunkedWrapperErrorr|   Nr&   r   r   r   r   rŠ      s   rŠ   c                   @   s   e Zd ZdZdS )ÚFlexibleChecksumErrorr|   Nr&   r   r   r   r   r‹     s   r‹   c                   @   s   e Zd ZdZdS )Ú!InvalidEndpointConfigurationErrorz%Invalid endpoint configuration: {msg}Nr&   r   r   r   r   rŒ     s   rŒ   )NN)eZbotocore.vendoredr   Z#botocore.vendored.requests.packagesr   r   r   r	   r   r   r   r   r   r%   r'   r(   r)   Ú
exceptionsr*   r+   ÚReadTimeoutr,   ÚConnectTimeoutr-   Ú
ProxyErrorr.   r/   r0   r1   r2   r3   r4   r5   r7   r8   Ú
ValueErrorr9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rO   rP   rQ   rR   rS   rT   rU   rc   ÚWarningre   rf   rg   rh   ri   rj   rk   rl   rm   ro   rp   rq   rr   rt   ru   rv   rw   rx   ÚAssertionErrorry   rz   r{   r}   r~   r   r€   r�   r‚   rƒ   r„   r…   r†   r‡   rˆ   r‰   rŠ   r‹   rŒ   r   r   r   r   Ú<module>   s¼   



ý






	
%			
				
	