403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/botocore/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/botocore/__pycache__/validate.cpython-314.pyc
+
��i�5���Rt^RIt^RIt^RIHt^RIHt^RIHtHtRt	Rt
Rt!RR	4t!R
R4t
!RR
4tR#)aQUser input parameter validation.

This module handles user input parameter validation
against a provided input model.

Note that the objects in this module do *not* mutate any
arguments.  No type version happens here.  It is up to another
layer to properly convert arguments to any required types.

Validation Errors
-----------------


N)�datetime)�ParamValidationError)�is_json_value_header�parse_to_aware_datetimec��\4pVPW4pVP4'd\VP	4R7hR#)aFValidates input parameters against a schema.

This is a convenience function that validates parameters against a schema.
You can also instantiate and use the ParamValidator class directly if you
want more control.

If there are any validation errors then a ParamValidationError
will be raised.  If there are no validation errors than no exception
is raised and a value of None is returned.

:param params: The user provided input parameters.

:type shape: botocore.model.Shape
:param shape: The schema which the input parameters should
    adhere to.

:raise: ParamValidationError

��reportN)�ParamValidator�validate�
has_errorsr�generate_report)�params�shape�	validatorrs&&  �3/usr/lib/python3/dist-packages/botocore/validate.py�validate_parametersrsD��(� �I�
�
�
��
.�F�
�����"�&�*@�*@�*B�C�C��c�a�V3RlpV#)c�&<aa�VV3RlpV3RloV#)c�:<�S!WV4'dS!WW#V4#R#�N�)�self�paramr�errors�name�_type_check�funcs&&&&&��r�_on_passes_type_check�Ktype_check.<locals>._create_type_check_guard.<locals>._on_passes_type_check4s$����5�$�/�/��D���=�=�0rc�<�\VS4'g2SUu.uFp\V4NK	ppVPVRVVR7R#R#uupi)�invalid type�r�valid_typesFT)�
isinstance�strr)rrr�t�valid_type_namesr#s&&&  �rr�Atype_check.<locals>._create_type_check_guard.<locals>._type_check8sT����e�[�1�1�4?�#@�K�q�C��F�K� �#@��
�
��"�� 0�	�����$As�Ar)rrrr#sf @�r�_create_type_check_guard�,type_check.<locals>._create_type_check_guard3s���	>�
	�%�$rr)r#r)sf r�
type_checkr+2s���%�&$�#rc�.�Rp\R4pRVP9dVPR,pW8dRpM=\VR4'd,VPP	R4'd^pW8dRpV'dVPWWR7R#R#)Fz-inf�minT�
serialization�	hostLabel)r�min_allowedN)�float�metadata�hasattrr.�getr)r�valuer�
error_typer�failedr0s&&&&&  r�range_checkr8Is���
�F���-�K�������n�n�U�+�����F��	���	(�	(����"�"�;�/�/��K��"���
��
�
�d�e�
�M�rc�Da�]tRt^ZtoRtRtRtRtRtRt	Rt
VtR#)	�ValidationErrorsc��.VnR#r��_errors�rs&r�__init__�ValidationErrors.__init__[s	����rc�.�VP'dR#R#�TFr<r>s&rr�ValidationErrors.has_errors^s���<�<�<��rc��.pVPF#pVPVPV44K%	RPV4#)�
)r=�append�
_format_error�join)r�error_messages�errors&  rr� ValidationErrors.generate_reportcs=�����\�\�E��!�!�$�"4�"4�U�";�<�"��y�y��(�(rc�:�Vwr#pVPV4pVR8XdRVRVR,R2#VR8Xd-VR,pRPVR,4pR	VRVR
V2#VR8Xd;VR,p\V4pRPVR
,4p	RVRVRVRV	2#VR8XdVR,pVR,p
RVRVRV
2#VR8XdVR,pVR,p
RVRVRV
2#VR8XdRPVVR,4#VR8Xd;VR,p\V4pRPVR
,4p	RVRVRVRV	2#VR8Xd"RPVR,4pR VR!VR"2#VR#8Xd"RPVR,4pR$VR%VR"2#R&#)'�missing required fieldzMissing required parameter in z: "�
required_name�"�
unknown field�
unknown_paramz, �valid_nameszUnknown parameter in z", must be one of: r!rr#zInvalid type for parameter z	, value: z, type: z, valid types: �
invalid ranger0zInvalid value for parameter z, valid min value: �invalid lengthzInvalid length for parameter z, valid min length: �unable to encode to jsonz2Invalid parameter {} must be json serializable: {}�
type_error�invalid type for documentz$Invalid type for document parameter �more than one input�membersz<Invalid number of parameters set for tagged union structure z*. Can only set one of the following keys: �.�empty inputz=Must set one of the following keys for tagged unionstructure z: N)�	_get_namerH�type�format)rrJr6r�
additionalrQrRr�
param_typer#r0rYs&&          rrG�ValidationErrors._format_errorisd��',�$�
�*��~�~�d�#���1�1�0���7���0�1��5�
��?�
*�&��7�M��)�)�J�}�$=�>�K�'��v�S���@#�#.�-�1�
��>�
)��w�'�E��e��J��)�)�J�}�$=�>�K�-�d�V�9�U�G�D�#��O�K�=�B�
��?�
*��w�'�E�$�]�3�K�.�t�f�I�e�W�E$�$/�=�2�
��+�
+��w�'�E�$�]�3�K�/��v�Y�u�g�F%�%0�M�3�
��5�
5�G�N�N���<�(��
��6�
6��w�'�E��e��J��)�)�J�}�$=�>�K�6�t�f�I�e�W�M�#��O�K�=�B�
��0�
0��i�i�
�9� 5�6�G�N��&�B��)�1��
�
�=�
(��i�i�
�9� 5�6�G��!�F�"�W�I�Q�0�
�)rc�Z�V'gR#VPR4'd
VR,#V#)�inputrZ:�NN)�
startswith)rrs&&rr\�ValidationErrors._get_name�s%����
�_�_�S�
!�
!���8�O��Krc�@�VPPW!V34R#r)r=rF)rr�reason�kwargss&&&,rr�ValidationErrors.report�s�������V�6�2�3rr<N)�__name__�
__module__�__qualname__�__firstlineno__r?rrrGr\r�__static_attributes__�__classdictcell__��
__classdict__s@rr:r:Zs)������
)�>�@�4�4rr:c�a�]tRt^�toRtRtRtRtRtRt	]
!]3R7R4t]
!]
3R7R	4t]
!]]3R7R
4t]
!]3R7R4t]
!]3R7R4tR
t]
!]3R7R4t]
!]]P43]3,R7R4t]t]
!]3R7R4tRtRtRt Vt!R#)r	z+Validates parameters against a shape model.c�B�\4pVPWVRR7V#)a�Validate parameters against a shape model.

This method will validate the parameters against a provided shape model.
All errors will be collected before returning to the caller.  This means
that this method will not stop at the first error, it will return all
possible errors.

:param params: User provided dict of parameters
:param shape: A shape model describing the expected input.

:return: A list of errors.

�)r)r:�	_validate)rr
rrs&&& rr
�ParamValidator.validate�s#��"�#�����v�f�2��6��
rc��\V4'd
VP#VPR8Xd!VP'd
VP#R#R#)�	structureN)r�_validate_jsonvalue_string�	type_name�is_document_type�_validate_document)rrs&&r�_check_special_validation_cases�.ParamValidator._check_special_validation_cases�sE����&�&��2�2�2��?�?�k�)�e�.D�.D�.D��*�*�*�/E�)rc��VPV4pV'dV!WW44R#\VRVP24!WW44R#)�
_validate_N)r~�getattrr{)rr
rrr�special_validators&&&&& rrv�ParamValidator._validate�s@�� �@�@��G����f�V�:��D�J�u���&7�8�9��v�
rc��\P!V4R# \\3d pTP	TRTR7Rp?R#Rp?ii;i)rU)rVN)�json�dumps�
ValueError�	TypeErrorr)rr
rrr�es&&&&& rrz�)ParamValidator._validate_jsonvalue_string�sA��	J��J�J�v����I�&�	J��M�M�$� :�q�M�I�I��	J�s��A
�A�A
c
��VfR#\V\4'd%VFpVPW,W#V4K	R#\V\4'd/\	V4FwrgVPWrW4RVR24K	R#\V\
3\\\34'g\\
\\\\\3pVU	u.uFp	\V	4NK	p
p	VPVRV\V4V
R7R#R#uup	i)N�[�]rW)rr`r#)r$�dictr}�list�	enumerater%�int�boolr1rr])rr
rrr�key�index�entityr#r&r's&&&&&      rr}�!ParamValidator._validate_document�s����>���f�d�#�#����'�'���U�C�H��
���
%�
%�!*�6�!2�
���'�'��6�V�1�U�G�1�+=��"3��F�c�V�S�$��$>�?�?���T�5�$��=�K�0;�<��1��A����<��M�M��+����<�,�
�
�@��<s�D	)r#c	�r�VP'd^\V4^8Xd VPVRVPR7M.\V4^8�dVPVRVPR7VPPR.4F pWQ9gKVPVRVVR7K"	VPp.pVF:pW�9d!VPVRV\
V4R7K)VPV4K<	VF3pVPW,VPV,VVR	V24K5	R
#)�r[)rYrX�requiredrM)rN�user_paramsrP)rQrRrZN)	�is_tagged_union�lenrrYr2r4r�rFrv)	rr
rrr�required_memberrY�known_paramsrs	&&&&&    r�_validate_structure�"ParamValidator._validate_structure�s$��� � � ��6�{�a���
�
�d�M�5�=�=�
�I��V��q���
�
��/������
 %�~�~�1�1�*�b�A�O��,��
�
��,�"1� &�	�� B��-�-�����E��#��
�
��#�"'� $�W�
�	���#�#�E�*��"�E��N�N��
��
�
�e�$���&��%��!�	
�"rc�6�\V\V4VRV4R#)rTN)r8r��rrrrrs&&&&&r�_validate_string�ParamValidator._validate_string!s��	�D�#�e�*�e�-=�v�Frc
��VPp\V\V4VRV4\V4FwrgVP	WuW4RVR24K	R#)rTr�r�N)�memberr8r�r�rv)rrrrr�member_shape�i�items&&&&&   r�_validate_list�ParamValidator._validate_list-sK���|�|���D�#�e�*�e�-=�v�F� ��'�G�A��N�N�4�v��q���1�~�F�(rc
���VPpVPpVP4F4wrxVPWuW4RVR24VPW�W4RV24K6	R#)z (key: �)rZN)r�r5�itemsrv)	rrrrr�	key_shape�value_shaper�r5s	&&&&&    r�
_validate_map�ParamValidator._validate_map4sY���I�I�	��k�k���+�+�-�J�C��N�N�3�6�V�7�3�%�q�3I�J��N�N�5�v��q����G�(rc�"�\WAVRV4R#�rSN�r8r�s&&&&&r�_validate_integer� ParamValidator._validate_integer<����D����@rc	���\V\\\34'dR#\	VR4'dR#VPVRV\\4\\4R.R7R#)N�readr!zfile-like objectr")r$�bytes�	bytearrayr%r3rr�s&&&&&r�_validate_blob�ParamValidator._validate_blob@sV���e�e�Y��4�5�5��
�U�F�
#�
#���M�M���� ��Z��Y��9K�L�	
�
rc��R#rrr�s&&&&&r�_validate_boolean� ParamValidator._validate_booleanNs��rc�"�\WAVRV4R#r�r�r�s&&&&&r�_validate_double�ParamValidator._validate_doubleRr�rc�"�\WAVRV4R#r�r�r�s&&&&&r�_validate_long�ParamValidator._validate_longXr�rc��VPV4pV'g(\\4R.pVPVRWR7R#R#)ztimestamp-stringr!r"N)�_type_check_datetimer%rr)rrrrr�
is_valid_typer's&&&&&  r�_validate_timestamp�"ParamValidator._validate_timestamp\sD���1�1�%�8�
�� #�H�
�/A�B���M�M��n�E�
�
�rc�X�\V4R# \\\3dR#i;irB)rr�r��AttributeError)rr5s&&rr��#ParamValidator._type_check_datetimegs-��	�#�E�*����:�~�6�	��	�s��)�)rN)"rkrlrmrn�__doc__r
r~rvrzr}r+r�r�r%r�r��tupler�r�r�r�r�r�r�r1�decimal�Decimalr��_validate_floatr�r�r�rorprqs@rr	r	�s0����5��$+��J��.�T�G�$�&�%�&�P�S�F�#�	G�$�	G��T�5�M�*�G�+�G��T�G�$�H�%�H��S�F�#�A�$�A���T�G�$�
�%�
��U�G�O�O�4��v�=�>�A�?�A�'�O��S�F�#�A�$�A�	��rr	c�,a�]tRtRtoRtRtRtVtR#)�ParamValidationDecoratoriqc��WnW nR#r��_param_validator�_serializer)r�param_validator�
serializers&&&rr?�!ParamValidationDecorator.__init__rs�� /��%�rc��VPpVeVVPPWP4pVP4'd\	VP4R7hVPPW4#)Nr)�input_shaper�r
rrrr��serialize_to_request)r�
parameters�operation_modelr�rs&&&  rr��-ParamValidationDecorator.serialize_to_requestvss��%�1�1���"��*�*�3�3��7�7��F�� � �"�"�*�&�2H�2H�2J�K�K����4�4��
�	
rr�N)rkrlrmrnr?r�rorprqs@rr�r�qs����&�

�

rr�)r�r�r�r�botocore.exceptionsr�botocore.utilsrrrr+r8r:r	r�rrr�<module>r�sP��
����4�H�D�4$�.N�"X4�X4�vy�y�x
�
r

Youez - 2016 - github.com/yon3zu
LinuXploit