B ㊇cY@sddlmZddlmZdddZGdddeZGdd d eZGd d d eZGd d d eZ GdddeZ GdddeZ GdddeZ GdddeZ GdddeZGddde 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/eZGd0d1d1eZGd2d3d3eZ Gd4d5d5eZ!Gd6d7d7e!Z"Gd8d9d9e!Z#Gd:d;d;e!e$Z%Gdd?d?eZ'Gd@dAdAeZ(GdBdCdCeZ)GdDdEdEeZ*GdFdGdGeZ+GdHdIdIeZ,GdJdKdKe+Z-GdLdMdMe+Z.GdNdOdOe+Z/GdPdQdQe+e$Z0GdRdSdSe+Z1GdTdUdUeZ2GdVdWdWeZ3GdXdYdYeZ4GdZd[d[eZ5Gd\d]d]eZ6Gd^d_d_eZ7Gd`dadaeZ8GdbdcdceZ9GdddedeeZ:GdfdgdgeZ;GdhdidieZGdndodoe>Z?Gdpdqdqe@ZAGdrdsdse@ZBGdtdudueZCGdvdwdweZDGdxdydyeZEGdzd{d{eZFGd|d}d}eZGGd~ddeZHGdddeZIGdddeZJGdddeZKGdddeZLGdddeZMGdddeMZNGdddeMZOGdddeZPGdddeZQGdddeZRGdddeReSZTGdddeRZUGdddeZVGdddeVZWGdddeZXGdddeZYGdddeZZGdddeZ[GdddeZ\Gddde\Z]GdddeZ^Gddde^Z_Gddde^Z`GdddeZaGdddeZbGdddeZcGdddeZdGdddeZeGdddeZfGdddeZgGdddegZhGdddegZidS))requests)urllib3NcCs"|dkr d}|dkri}|||S)Nr)Z exception_clsargskwargsrrn/private/var/folders/8c/hx9_v10d5x38qmnzt13b7b8j1k3n5b/T/pip-target-x6xd5gna/lib/python/botocore/exceptions.py_exception_from_packed_argss rc@s$eZdZdZdZddZddZdS) BotoCoreErrorz~ The base exception class for BotoCore exceptions. :ivar msg: The descriptive message associated with the error. zAn unspecified error occurredcKs$|jjf|}t||||_dS)N)fmtformat Exception__init__r)selfrmsgrrrr (s zBotoCoreError.__init__cCst|jd|jffS)N)r __class__r)rrrr __reduce__-szBotoCoreError.__reduce__N)__name__ __module__ __qualname____doc__r r rrrrrr sr c@seZdZdZdZdS)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)rrrrr rrrrr1src@seZdZdZdZdS)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}N)rrrrr rrrrr;src@seZdZdZdZdS)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}N)rrrrr rrrrrHsrc@seZdZdZdZdS)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}N)rrrrr rrrrrRsrcs*eZdZdZdfdd ZddZZS)HTTPClientErrorz5An HTTP Client raised an unhandled exception: {error}Nc s||_||_tjf|dS)N)requestresponsesuperr )rrrr)rrrr aszHTTPClientError.__init__cCst|j|j|jf|jffS)N)rrrrr)rrrrrfs zHTTPClientError.__reduce__)NN)rrrr r r __classcell__rr)rrr^src@seZdZdZdS)ConnectionErrorz8An HTTP Client failed to establish a connection: {error}N)rrrr rrrrrnsrc@seZdZdZdS)InvalidIMDSEndpointErrorz;Invalid endpoint EC2 Instance Metadata endpoint: {endpoint}N)rrrr rrrrr rsr c@seZdZdZdS)InvalidIMDSEndpointModeErrorzkInvalid EC2 Instance Metadata endpoint mode: {mode} Valid endpoint modes (case-insensitive): {valid_modes}.N)rrrr rrrrr!vsr!c@seZdZdZdS)EndpointConnectionErrorz7Could not connect to the endpoint URL: "{endpoint_url}"N)rrrr rrrrr"}sr"c@seZdZdZdS)SSLErrorz0SSL validation failed for {endpoint_url} {error}N)rrrr rrrrr#sr#c@seZdZdZdS)ConnectionClosedErrorz^Connection was closed before we received a valid response from endpoint URL: "{endpoint_url}".N)rrrr rrrrr$sr$c@seZdZdZdS)ReadTimeoutErrorz.Read timeout on endpoint URL: "{endpoint_url}"N)rrrr rrrrr%sr%c@seZdZdZdS)ConnectTimeoutErrorz1Connect timeout on endpoint URL: "{endpoint_url}"N)rrrr rrrrr&sr&c@seZdZdZdS)ProxyConnectionErrorz-Failed to connect to proxy URL: "{proxy_url}"N)rrrr rrrrr'sr'c@seZdZdZdS)ResponseStreamingErrorz=An error occurred while reading from response stream: {error}N)rrrr rrrrr(sr(c@seZdZdZdZdS)NoCredentialsErrorz( No credentials could be found. zUnable to locate credentialsN)rrrrr rrrrr)sr)c@seZdZdZdZdS)NoAuthTokenErrorz0 No authorization token could be found. z$Unable to locate authorization tokenN)rrrrr rrrrr*sr*c@seZdZdZdZdS)TokenRetrievalErrorz Error attempting to retrieve a token from a remote source. :ivar provider: The name of the token provider. :ivar error_msg: The msg explaining why the token could not be retrieved. z8Error when retrieving token from {provider}: {error_msg}N)rrrrr rrrrr+sr+c@seZdZdZdZdS)PartialCredentialsErrorzj Only partial credentials were found. :ivar cred_var: The missing credential variable name. zError when retrieving credentials from {provider}: {error_msg}N)rrrrr rrrrr-sr-c@seZdZdZdZdS)UnknownSignatureVersionErrorz~ Requested Signature Version is not known. :ivar signature_version: The name of the requested signature version. z/Unknown Signature Version: {signature_version}.N)rrrrr rrrrr.sr.c@seZdZdZdZdS)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. zsr>c@seZdZdZdZdS)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.N)rrrrr rrrrr?sr?c@seZdZdZdZdS)UnknownServiceStylez] Unknown style of service invocation. :ivar service_style: The style requested. z6The service style ({service_style}) is not understood.N)rrrrr rrrrr@sr@c@seZdZdZdS)PaginationErrorz"Error during pagination: {message}N)rrrr rrrrrAsrAc@seZdZdZdS)OperationNotPageableErrorz/Operation cannot be paginated: {operation_name}N)rrrr rrrrrBsrBc@seZdZdZdZdS) ChecksumErrorzError when an invalid host label would be bound to an endpointzJInvalid host label to be bound to the hostname of the endpoint: "{label}".N)rrrrr rrrrrd_srdc@seZdZdZdZdS)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.N)rrrrr rrrrrehsrec@seZdZdZdZdS)UnsupportedS3ConfigurationErrorzBError when an unsupported configuration is used with access-pointsz.Unsupported configuration when using S3: {msg}N)rrrrr rrrrrfrsrfc@seZdZdZdZdS)*UnsupportedS3AccesspointConfigurationErrorzBError when an unsupported configuration is used with access-pointszr?r@rArBrCrDrErIrJrKrLrMrNrOr]Warningr^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnroAssertionErrorrprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrs                       %