HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/botocore/__pycache__/exceptions.cpython-310.pyc
o

YZ�aT�@s�ddlmZddlZddlmZd�dd�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Z	Gdd
�d
e�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de
�ZGdd�de
ejj�ZGdd�de�ZGdd�deejjejj�ZGd d!�d!e
ejj�ZGd"d#�d#e
ejj�ZGd$d%�d%e�ZGd&d'�d'e�ZGd(d)�d)e�ZGd*d+�d+e�ZGd,d-�d-e�ZGd.d/�d/e�ZGd0d1�d1e�Z Gd2d3�d3e �Z!Gd4d5�d5e �Z"Gd6d7�d7e e#�Z$Gd8d9�d9e �Z%Gd:d;�d;e�Z&Gd<d=�d=e�Z'Gd>d?�d?e�Z(Gd@dA�dAe�Z)GdBdC�dCe�Z*GdDdE�dEe�Z+GdFdG�dGe*�Z,GdHdI�dIe*�Z-GdJdK�dKe*�Z.GdLdM�dMe*e#�Z/GdNdO�dOe*�Z0GdPdQ�dQe�Z1GdRdS�dSe�Z2GdTdU�dUe�Z3GdVdW�dWe�Z4GdXdY�dYe�Z5GdZd[�d[e�Z6Gd\d]�d]e�Z7Gd^d_�d_e�Z8Gd`da�dae�Z9Gdbdc�dce�Z:Gddde�dee�Z;Gdfdg�dge�Z<Gdhdi�die�Z=Gdjdk�dke=�Z>Gdldm�dme?�Z@Gdndo�doe?�ZAGdpdq�dqe�ZBGdrds�dse�ZCGdtdu�due�ZDGdvdw�dwe�ZEGdxdy�dye�ZFGdzd{�d{e�ZGGd|d}�d}e�ZHGd~d�de�ZIGd�d��d�e�ZJGd�d��d�e�ZKGd�d��d�e�ZLGd�d��d�eL�ZMGd�d��d�eL�ZNGd�d��d�e�ZOGd�d��d�e�ZPGd�d��d�e�ZQGd�d��d�eQeR�ZSGd�d��d�eQ�ZTGd�d��d�e�ZUGd�d��d�eU�ZVGd�d��d�e�ZWGd�d��d�e�ZXGd�d��d�e�ZYGd�d��d�e�ZZGd�d��d�e�Z[Gd�d��d�e[�Z\Gd�d��d�e�Z]Gd�d��d�e]�Z^Gd�d��d�e]�Z_Gd�d��d�e�Z`Gd�d��d�e�ZadS)��)�unicode_literalsN)�urllib3cCs&|durd}|duri}||i|��S�N�r)�
exception_cls�args�kwargsrr�5/usr/lib/python3/dist-packages/botocore/exceptions.py�_exception_from_packed_argss
r
c@s$eZdZdZdZdd�Zdd�ZdS)�
BotoCoreErrorz~
    The base exception class for BotoCore exceptions.

    :ivar msg: The descriptive message associated with the error.
    zAn unspecified error occurredcK�(|jjdi|��}t�||�||_dSr��fmt�format�	Exception�__init__r��selfr�msgrrr	r'�
zBotoCoreError.__init__cCst|jd|jffS�N)r
�	__class__r�rrrr	�
__reduce__,szBotoCoreError.__reduce__N)�__name__�
__module__�__qualname__�__doc__rrrrrrr	rs
rc@�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}N�rrrrrrrrr	r0�rc@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"9��r"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%O�r%cs*eZdZdZd�fdd�	Zdd�Z�ZS)�HTTPClientErrorz5An HTTP Client raised an unhandled exception: {error}Ncs&||_||_tt|�jdi|��dSr)�request�response�superr'r)rr(r)r�rrr	r]szHTTPClientError.__init__cCst|j|j|jf|jffSr)r
rr(r)rrrrr	rbs�zHTTPClientError.__reduce__�NN)rrrrrr�
__classcell__rrr+r	r'Zsr'c@�eZdZdZdS)�ConnectionErrorz8An HTTP Client failed to establish a connection: {error}N�rrrrrrrr	r/g�r/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	r3o��r3c@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	r8�sr8c@r.)�ConnectTimeoutErrorz1Connect timeout on endpoint URL: "{endpoint_url}"Nr0rrrr	r9�r1r9c@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.

    z<Partial credentials found in {provider}, missing: {cred_var}Nr rrrr	r>��r>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	rB�r!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.
    z<Service {service_name} not available in region {region_name}Nr rrrr	rC�r?rCc@r.)�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�rrrrrrrr	rD�r1rDc@r)�
NoRegionErrorzNo region was specified.zYou must specify a region.Nr rrrr	rF��rFc@r)�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 rrrr	rH�rArHc@r)�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 rrrr	rI���rIc@r)�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 rrrr	rK�rJrKc@r)�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 rrrr	rL�r?rLc@r)�ConfigParseErrorzj
    The configuration file could not be parsed.

    :ivar path: The path to the configuration file.
    z#Unable to parse config file: {path}Nr rrrr	rMr!rMc@r)�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 rrrr	rNr!rNc@r)�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 rrrr	rO�
rOc@r)�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 rrrr	rQ&rPrQc@r.)�ParamValidationErrorz%Parameter validation failed:
{report}Nr0rrrr	rR5r1rRc@r)�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 rrrr	rS<r&rSc@r)�
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 rrrr	rTHrArTc@r)�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 rrrr	rUU��rUc@r)�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 rrrr	rWcr#rWc@r)�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 rrrr	rXnrVrXc@r)�UnknownServiceStylez]
    Unknown style of service invocation.

    :ivar service_style: The style requested.
    z6The service style ({service_style}) is not understood.Nr rrrr	rY|r!rYc@r.)�PaginationErrorz"Error during pagination: {message}Nr0rrrr	rZ�r1rZc@r.)�OperationNotPageableErrorz/Operation cannot be paginated: {operation_name}Nr0rrrr	r[�r1r[c@r)�
ChecksumErrorzBThe 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 rrrr	r\�r=r\c@r)�UnseekableStreamErrorzANeed to seek a stream, but stream does not support seeking.

    zFNeed to rewind the stream {stream_object}, but stream is not seekable.Nr rrrr	r]�r=r]cs$eZdZdZdZ�fdd�Z�ZS)�WaiterErrorz%Waiter failed to reach desired state.zWaiter {name} failed: {reason}cstt|�j||d�||_dS)N)�name�reason)r*r^r�
last_response)rr_r`rar+rr	r�s
zWaiterError.__init__)rrrrrrr-rrr+r	r^�sr^c@r)�IncompleteReadErrorz6HTTP response did not return expected number of bytes.zB{actual_bytes} read, but total bytes expected is {expected_bytes}.Nr rrrr	rb�rGrbc@r)�InvalidExpressionErrorz,Expression is either invalid or too complex.zCInvalid expression {expression}: Only dotted lookups are supported.Nr rrrr	rc�rGrcc@r)�UnknownCredentialErrorz=Tried to insert before/after an unregistered credential type.z"Credential named {name} not found.Nr rrrr	rd�rGrdc@r)�WaiterConfigErrorz+Error when processing waiter configuration.z+Error processing waiter config: {error_msg}Nr rrrr	re�rGrec@r)�UnknownClientMethodErrorzEError when trying to access a method on a client that does not exist.z*Client does not have method: {method_name}Nr rrrr	rf�rGrfc@r)� UnsupportedSignatureVersionErrorz:Error when trying to use an unsupported Signature Version.z7Signature version is not supported: {signature_version}Nr rrrr	rg�rGrgcs0eZdZdZ�fdd�Zdd�Zdd�Z�ZS)�ClientErrorziAn error occurred ({error_code}) when calling the {operation_name} operation{retry_info}: {error_message}csZ|�|�}|�di�}|jj|�dd�|�dd�||d�}tt|��|�||_||_dS)N�Error�Code�Unknown�Message)�
error_code�
error_message�operation_name�
retry_info)	�_get_retry_info�get�MSG_TEMPLATErr*rhrr)ro)r�error_responserorp�errorrr+rr	r�s


�
zClientError.__init__cCs8d}d|vr|d}|�dd�rd|vrd|d}|S)N��ResponseMetadata�MaxAttemptsReachedF�
RetryAttemptsz (reached max retries: %s))rr)rr)rp�metadatarrr	rq�s�zClientError._get_retry_infocCst|j|jffSr)rhr)rorrrr	r�szClientError.__reduce__)rrrrsrrqrr-rrr+r	rh�s�

rhc@�eZdZdS)�EventStreamErrorN�rrrrrrr	r|��r|c@r.)�UnsupportedTLSVersionWarningz:Warn when an openssl version that uses TLS 1.2 is requiredNrErrrr	r�src@r{)�ImminentRemovalWarningNr}rrrr	r��r~r�c@r)�InvalidDNSNameErrorzEError when virtual host path is forced on a non-DNS compatible bucketaBucket 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 rrrr	r����r�c@r)�InvalidS3AddressingStyleErrorz-Error when an invalid path style is specifiedzfS3 addressing style {s3_addressing_style} is invalid. Valid options are: 'auto', 'virtual', and 'path'Nr rrrr	r�r�r�c@r)�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 rrrr	r�	r�r�c@r)�UnsupportedS3ControlArnErrorzCError when S3 ARN provided to S3 control parameter is not supportedz<S3 ARN "{arn}" provided is invalid for this operation. {msg}Nr rrrr	r�r�r�c@r)�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 rrrr	r�r�r�c@r)�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 rrrr	r� r�r�c@r)�UnsupportedS3ConfigurationError�BError when an unsupported configuration is used with access-pointsz.Unsupported configuration when using S3: {msg}Nr rrrr	r�)r�r�c@r)�*UnsupportedS3AccesspointConfigurationErrorr�z<Unsupported configuration when using S3 access-points: {msg}Nr rrrr	r�0r�r�c@r)�*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 rrrr	r�7r�r�c@r)�&UnsupportedS3ControlConfigurationErrorz?Error when an unsupported configuration is used with S3 Controlz6Unsupported configuration when using S3 Control: {msg}Nr rrrr	r�?r�r�c@r)�InvalidRetryConfigurationError�3Error when invalid retry configuration is specifiedzuCannot provide retry configuration for "{retry_config_option}". Valid retry configuration options are: 'max_attempts'Nr rrrr	r�Fr�r�c@r)�InvalidMaxRetryAttemptsErrorr�zrValue provided to "max_attempts": {provided_max_attempts} must be an integer greater than or equal to {min_value}.Nr rrrr	r�Nr�r�c@r)�InvalidRetryModeErrorz8Error when invalid retry mode configuration is specifiedzjInvalid value provided to "mode": "{provided_retry_mode}" must be one of: "legacy", "standard", "adaptive"Nr rrrr	r�Vr�r�c@r)�+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 rrrr	r�^r�r�c@r)�&InvalidSTSRegionalEndpointsConfigErrorzDError when invalid sts regional endpoints configuration is specifiedzqSTS regional endpoints option {sts_regional_endpoints_config} is invalid. Valid options are: "legacy", "regional"Nr rrrr	r�gr�r�c@r.)�StubResponseErrorzDError getting response stub for operation {operation_name}: {reason}Nr0rrrr	r�or1r�c@r{)�StubAssertionErrorNr}rrrr	r�sr~r�c@r{)�UnStubbedResponseErrorNr}rrrr	r�wr~r�c@r.)�InvalidConfigErrorz{error_msg}Nr0rrrr	r�{r1r�c@r.)�InfiniteLoopConfigErrorz�Infinite loop in credential configuration detected. Attempting to load from profile {source_profile} which has already been visited. Visited profiles: {visited_profiles}Nr0rrrr	r�r4r�c@r.)�RefreshWithMFAUnsupportedErrorz/Cannot refresh credentials: MFA token required.Nr0rrrr	r��r1r�c@r.)�MD5UnavailableErrorz,This system does not support MD5 generation.Nr0rrrr	r��r1r�c@r.)�MissingDependencyExceptionzMissing Dependency: {msg}Nr0rrrr	r��r1r�c@r.)�MetadataRetrievalErrorz&Error retrieving metadata: {error_msg}Nr0rrrr	r��r1r�c@r{)�UndefinedModelAttributeErrorNr}rrrr	r��r~r�c@seZdZdZdd�ZdS)�MissingServiceIdErrorzrThe model being used for the service {service_name} is missing the serviceId metadata property, which is required.cKrrr
rrrr	r�rzMissingServiceIdError.__init__N)rrrrrrrrr	r��s�r�c@r.)�SSOErrorz<An unspecified error happened when resolving SSO credentialsNr0rrrr	r��r1r�c@r.)�SSOTokenLoadErrorz$Error loading SSO Token: {error_msg}Nr0rrrr	r��r1r�c@r.)�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.Nr0rrrr	r��r4r�c@r.)�CapacityNotAvailableErrorz(Insufficient request capacity available.Nr0rrrr	r��r4r�c@r.)�InvalidProxiesConfigErrorz;Invalid configuration value(s) provided for proxies_config.Nr0rrrr	r��r4r�r,)b�
__future__r�requests�requests.packagesrr
rrrr"r$r%r'r/r2r3r5�
exceptionsr6r7�ReadTimeoutr8�ConnectTimeoutr9�
ProxyErrorr:r;r<r>r@rBrCrDrFrH�
ValueErrorrIrKrLrMrNrOrQrRrSrTrUrWrXrYrZr[r\r]r^rbrcrdrerfrgrhr|�Warningrr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r��AssertionErrorr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr	�<module>s�

	
�
	



		
			#