o YZaT@sddlmZddlZddlmZdddZGdddeZGdd d eZGd d d eZ Gd d d eZ GdddeZ GdddeZ GdddeZ GdddeZGdddeZGddde ZGddde ejjZGddde ZGddde ejjejjZGd d!d!e ejjZGd"d#d#e ejjZGd$d%d%e ZGd&d'd'eZGd(d)d)eZGd*d+d+eZGd,d-d-eZGd.d/d/eZGd0d1d1eZ Gd2d3d3e Z!Gd4d5d5e Z"Gd6d7d7e e#Z$Gd8d9d9e Z%Gd:d;d;eZ&Gdd?d?eZ(Gd@dAdAeZ)GdBdCdCeZ*GdDdEdEeZ+GdFdGdGe*Z,GdHdIdIe*Z-GdJdKdKe*Z.GdLdMdMe*e#Z/GdNdOdOe*Z0GdPdQdQeZ1GdRdSdSeZ2GdTdUdUeZ3GdVdWdWeZ4GdXdYdYeZ5GdZd[d[eZ6Gd\d]d]eZ7Gd^d_d_eZ8Gd`dadaeZ9GdbdcdceZ:GdddedeeZ;GdfdgdgeZGdldmdme?Z@Gdndodoe?ZAGdpdqdqeZBGdrdsdseZCGdtdudueZDGdvdwdweZEGdxdydyeZFGdzd{d{eZGGd|d}d}eZHGd~ddeZIGdddeZJGdddeZKGdddeZLGdddeLZMGdddeLZNGdddeZOGdddeZPGdddeZQGdddeQeRZSGdddeQZTGdddeZUGdddeUZVGdddeZWGdddeZXGdddeZYGdddeZZGdddeZ[Gddde[Z\GdddeZ]Gddde]Z^Gddde]Z_GdddeZ`GdddeZadS))unicode_literalsN)urllib3cCs&|durd}|dur i}||i|SNr) exception_clsargskwargsrr5/usr/lib/python3/dist-packages/botocore/exceptions.py_exception_from_packed_argss r c@s$eZdZdZdZddZddZdS) BotoCoreErrorz~ The base exception class for BotoCore exceptions. :ivar msg: The descriptive message associated with the error. zAn unspecified error occurredcK(|jjdi|}t||||_dSrfmtformat Exception__init__rselfrmsgrrr r'  zBotoCoreError.__init__cCst|jd|jffSN)r __class__rrrrr __reduce__,szBotoCoreError.__reduce__N)__name__ __module__ __qualname____doc__rrrrrrr r s  r c@eZdZdZdZdS)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}Nrrrrrrrrr r0rc@r)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 rrrr r"9r"c@r)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 rrrr r$Dr#r$c@r)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 rrrr r%Or%cs*eZdZdZdfdd ZddZZS)HTTPClientErrorz5An HTTP Client raised an unhandled exception: {error}Nc s&||_||_tt|jdi|dSr)requestresponsesuperr'r)rr(r)rrrr r]szHTTPClientError.__init__cCst|j|j|jf|jffSr)r rr(r)rrrrr rbszHTTPClientError.__reduce__NN)rrrrrr __classcell__rrr+r r'Zsr'c@eZdZdZdS)ConnectionErrorz8An HTTP Client failed to establish a connection: {error}Nrrrrrrrr r/gr/c@r.)InvalidIMDSEndpointErrorz;Invalid endpoint EC2 Instance Metadata endpoint: {endpoint}Nr0rrrr r2kr1r2c@r.)InvalidIMDSEndpointModeErrorzkInvalid EC2 Instance Metadata endpoint mode: {mode} Valid endpoint modes (case-insensitive): {valid_modes}.Nr0rrrr r3or3c@r.)EndpointConnectionErrorz7Could not connect to the endpoint URL: "{endpoint_url}"Nr0rrrr r5vr1r5c@r.)SSLErrorz0SSL validation failed for {endpoint_url} {error}Nr0rrrr r6zr1r6c@r.)ConnectionClosedErrorz^Connection was closed before we received a valid response from endpoint URL: "{endpoint_url}".Nr0rrrr r7~r4r7c@r.)ReadTimeoutErrorz.Read timeout on endpoint URL: "{endpoint_url}"Nr0rrrr r8sr8c@r.)ConnectTimeoutErrorz1Connect timeout on endpoint URL: "{endpoint_url}"Nr0rrrr r9r1r9c@r.)ProxyConnectionErrorz-Failed to connect to proxy URL: "{proxy_url}"Nr0rrrr r:r1r:c@r.)ResponseStreamingErrorz=An error occurred while reading from response stream: {error}Nr0rrrr r;r1r;c@r)NoCredentialsErrorz( No credentials could be found. zUnable to locate credentialsNr rrrr r<r<c@r)PartialCredentialsErrorzj Only partial credentials were found. :ivar cred_var: The missing credential variable name. zr>c@r)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 rrrr r@r@c@r)UnknownSignatureVersionErrorz~ Requested Signature Version is not known. :ivar signature_version: The name of the requested signature version. z/Unknown Signature Version: {signature_version}.Nr rrrr rBr!rBc@r)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. zError when an invalid host label would be bound to an endpointzJInvalid host label to be bound to the hostname of the endpoint: "{label}".Nr rrrr rrrc@r)UnsupportedOutpostResourceErrorzDError when S3 Outpost ARN provided to Bucket parameter is incompletezS3 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 rrrr r rrc@r)UnsupportedS3ConfigurationErrorBError when an unsupported configuration is used with access-pointsz.Unsupported configuration when using S3: {msg}Nr rrrr r)rrc@r)*UnsupportedS3AccesspointConfigurationErrorrzr@rBrCrDrFrH ValueErrorrIrKrLrMrNrOrQrRrSrTrUrWrXrYrZr[r\r]r^rbrcrdrerfrgrhr|WarningrrrrrrrrrrrrrrrrrrAssertionErrorrrrrrrrrrrrrrrrrrrr s                         #