HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib64/python3.10/site-packages/botocore/__pycache__/exceptions.cpython-310.pyc
o

�hY�@sddlmZddlmZd�dd�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�Z	Gdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�deejj�ZGdd�de�ZGdd�deejjejj�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�ZGd2d3�d3e�Z Gd4d5�d5e�Z!Gd6d7�d7e!�Z"Gd8d9�d9e!�Z#Gd:d;�d;e!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+�Z.GdNdO�dOe+�Z/GdPdQ�dQe+e$�Z0GdRdS�dSe+�Z1GdTdU�dUe�Z2GdVdW�dWe�Z3GdXdY�dYe�Z4GdZd[�d[e�Z5Gd\d]�d]e�Z6Gd^d_�d_e�Z7Gd`da�dae�Z8Gdbdc�dce�Z9Gddde�dee�Z:Gdfdg�dge�Z;Gdhdi�die�Z<Gdjdk�dke�Z=Gdldm�dme�Z>Gdndo�doe>�Z?Gdpdq�dqe@�ZAGdrds�dse@�ZBGdtdu�due�ZCGdvdw�dwe�ZDGdxdy�dye�ZEGdzd{�d{e�ZFGd|d}�d}e�ZGGd~d�de�ZHGd�d��d�e�ZIGd�d��d�e�ZJGd�d��d�e�ZKGd�d��d�e�ZLGd�d��d�e�ZMGd�d��d�eM�ZNGd�d��d�eM�ZOGd�d��d�e�ZPGd�d��d�e�ZQGd�d��d�e�ZRGd�d��d�eReS�ZTGd�d��d�eR�ZUGd�d��d�e�ZVGd�d��d�eV�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�ZaGd�d��d�e�ZbGd�d��d�e�ZcGd�d��d�e�ZdGd�d��d�e�ZeGd�d��d�e�ZfGd�d��d�e�ZgGd�d��d�eg�ZhGd�d��d�eg�ZidS)��)�requests)�urllib3NcCs&|durd}|duri}||i|��S�N�r)�
exception_cls�args�kwargsrr�F/usr/local/CyberCP/lib/python3.10/site-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	r1�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";s�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#Hr!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$R�r$cs*eZdZdZd�fdd�	Zdd�Z�ZS)�HTTPClientErrorz5An HTTP Client raised an unhandled exception: {error}Ncs"||_||_t�jdi|��dSr)�request�response�superr)rr'r(r�rrr	raszHTTPClientError.__init__cCst|j|j|jf|jffSr)r
rr'r(rrrrr	rfs

�zHTTPClientError.__reduce__�NN)rrrrrr�
__classcell__rrr*r	r&^sr&c@�eZdZdZdS)�ConnectionErrorz8An HTTP Client failed to establish a connection: {error}N�rrrrrrrr	r.n�r.c@r-)�InvalidIMDSEndpointErrorz;Invalid endpoint EC2 Instance Metadata endpoint: {endpoint}Nr/rrrr	r1rr0r1c@r-)�InvalidIMDSEndpointModeErrorzkInvalid EC2 Instance Metadata endpoint mode: {mode} Valid endpoint modes (case-insensitive): {valid_modes}.Nr/rrrr	r2v��r2c@r-)�EndpointConnectionErrorz7Could not connect to the endpoint URL: "{endpoint_url}"Nr/rrrr	r4}r0r4c@r-)�SSLErrorz0SSL validation failed for {endpoint_url} {error}Nr/rrrr	r5�r0r5c@r-)�ConnectionClosedErrorz^Connection was closed before we received a valid response from endpoint URL: "{endpoint_url}".Nr/rrrr	r6�r3r6c@r-)�ReadTimeoutErrorz.Read timeout on endpoint URL: "{endpoint_url}"Nr/rrrr	r7�sr7c@r-)�ConnectTimeoutErrorz1Connect timeout on endpoint URL: "{endpoint_url}"Nr/rrrr	r8�r0r8c@r-)�ProxyConnectionErrorz-Failed to connect to proxy URL: "{proxy_url}"Nr/rrrr	r9�r0r9c@r-)�ResponseStreamingErrorz=An error occurred while reading from response stream: {error}Nr/rrrr	r:�r0r:c@r)�NoCredentialsErrorz(
    No credentials could be found.
    zUnable to locate credentialsNr rrrr	r;��r;c@r)�NoAuthTokenErrorz0
    No authorization token could be found.
    z$Unable to locate authorization tokenNr rrrr	r=�r<r=c@r)�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}Nr rrrr	r>�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	rA�s	rAc@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�r0rDc@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��	�rHc@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	rJ��rJc@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	rLrKrLc@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	rM%r@rMc@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	rN0r!rNc@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	rO:r!rOc@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	rPDs�rPc@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	rQVsrQc@r-)�ParamValidationErrorz%Parameter validation failed:
{report}Nr/rrrr	rRer0rRc@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	rSlrIrSc@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	rT{s
�rTc@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	rU�rIrUc@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	rV�r!rVc@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	rW�rIrWc@r)�UnknownServiceStylez]
    Unknown style of service invocation.

    :ivar service_style: The style requested.
    z6The service style ({service_style}) is not understood.Nr rrrr	rX�r!rXc@r-)�PaginationErrorz"Error during pagination: {message}Nr/rrrr	rY�r0rYc@r-)�OperationNotPageableErrorz/Operation cannot be paginated: {operation_name}Nr/rrrr	rZ�r0rZc@r)�
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 rrrr	r[���r[c@r)�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 rrrr	r]�r\r]cs$eZdZdZdZ�fdd�Z�ZS)�WaiterErrorz%Waiter failed to reach desired state.zWaiter {name} failed: {reason}cst�j||d�||_dS)N)�name�reason)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�r\rbc@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	rgrGrgcs0eZdZdZ�fdd�Zdd�Zdd�Z�ZS)�ClientErrorziAn error occurred ({error_code}) when calling the {operation_name} operation{retry_info}: {error_message}csV|�|�}|�di�}|jj|�dd�|�dd�||d�}t��|�||_||_dS)N�Error�Code�Unknown�Message)�
error_code�
error_message�operation_name�
retry_info)�_get_retry_info�get�MSG_TEMPLATErr)rr(ro)r�error_responserorp�errorrr*rr	rs


�
zClientError.__init__cCs<d}d|vr|d}|�dd�rd|vrd|d�d�}|S)N��ResponseMetadata�MaxAttemptsReachedF�
RetryAttemptsz (reached max retries: �))rr)rr(rp�metadatarrr	rqs�zClientError._get_retry_infocCst|j|jffSr)rhr(rorrrr	r&szClientError.__reduce__)rrrrsrrqrr,rrr*r	rhs�
rhc@�eZdZdS)�EventStreamErrorN�rrrrrrr	r}-�r}c@r-)�UnsupportedTLSVersionWarningz:Warn when an openssl version that uses TLS 1.2 is requiredNrErrrr	r�1sr�c@r|)�ImminentRemovalWarningNr~rrrr	r�7rr�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\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�Gr\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�Pr\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�YrGr�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�hr\r�c@r)�UnsupportedS3ConfigurationError�BError when an unsupported configuration is used with access-pointsz.Unsupported configuration when using S3: {msg}Nr rrrr	r�rrGr�c@r)�*UnsupportedS3AccesspointConfigurationErrorr�z<Unsupported configuration when using S3 access-points: {msg}Nr rrrr	r�xrGr�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�~r\r�c@r)�&UnsupportedS3ControlConfigurationErrorz?Error when an unsupported configuration is used with S3 Controlz6Unsupported configuration when using S3 Control: {msg}Nr rrrr	r��rGr�c@r)�InvalidRetryConfigurationError�3Error when invalid retry configuration is specifiedzvCannot provide retry configuration for "{retry_config_option}". Valid retry configuration options are: {valid_options}Nr rrrr	r��r\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��r\r�c@r)�InvalidRetryModeErrorz8Error when invalid retry mode configuration is specifiedzWInvalid value provided to "mode": "{provided_retry_mode}" must be one of: {valid_modes}Nr rrrr	r��r\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��r\r�c@r-)�StubResponseErrorzDError getting response stub for operation {operation_name}: {reason}Nr/rrrr	r��r3r�c@r|)�StubAssertionErrorNr~rrrr	r��rr�c@r|)�UnStubbedResponseErrorNr~rrrr	r��rr�c@r-)�InvalidConfigError�{error_msg}Nr/rrrr	r��r0r�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}Nr/rrrr	r��r3r�c@r-)�RefreshWithMFAUnsupportedErrorz/Cannot refresh credentials: MFA token required.Nr/rrrr	r��r0r�c@r-)�MD5UnavailableErrorz,This system does not support MD5 generation.Nr/rrrr	r��r0r�c@r-)�MissingDependencyExceptionzMissing Dependency: {msg}Nr/rrrr	r��r0r�c@r-)�MetadataRetrievalErrorz&Error retrieving metadata: {error_msg}Nr/rrrr	r��r0r�c@r|)�UndefinedModelAttributeErrorNr~rrrr	r��rr�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-)�SSOErrorzYAn unspecified error happened when resolving AWS credentials or an access token from SSO.Nr/rrrr	r��r3r�c@r-)�SSOTokenLoadErrorz$Error loading SSO Token: {error_msg}Nr/rrrr	r��r0r�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.Nr/rrrr	r�r3r�c@r-)�CapacityNotAvailableErrorz(Insufficient request capacity available.Nr/rrrr	r�r0r�c@r-)�InvalidProxiesConfigErrorz;Invalid configuration value(s) provided for proxies_config.Nr/rrrr	r�r0r�c@r-)�InvalidDefaultsModezbClient configured with invalid defaults mode: {mode}. Valid defaults modes include: {valid_modes}.Nr/rrrr	r�r3r�c@r-)�AwsChunkedWrapperErrorr�Nr/rrrr	r�r0r�c@r-)�FlexibleChecksumErrorr�Nr/rrrr	r�r0r�c@r-)�!InvalidEndpointConfigurationErrorz%Invalid endpoint configuration: {msg}Nr/rrrr	r�r0r�c@r)�EndpointProviderErrorz)Base error for the EndpointProvider class�{msg}Nr rrrr	r�#rGr�c@r)�EndpointResolutionErrorz4Error when input parameters resolve to an error ruler�Nr rrrr	r�)rGr�c@r-)�$UnknownEndpointResolutionBuiltInNamez%Unknown builtin variable name: {name}Nr/rrrr	r�/r0r�r+)j�botocore.vendoredr�#botocore.vendored.requests.packagesrr
rrrr"r#r$r&r.r1r2r4�
exceptionsr5r6�ReadTimeoutr7�ConnectTimeoutr8�
ProxyErrorr9r:r;r=r>r?rArBrCrDrFrH�
ValueErrorrJrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r]r^rbrcrdrerfrgrhr}�Warningr�r�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�r�r�r�r�r�r�r�rrrr	�<module>s�




�







	
%