| Server IP : 138.197.162.186 / Your IP : 216.73.216.184 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 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 : |
�
P��e�5 � � � d Z ddlZddlZddlmZ ddlmZ ddlmZmZ d� Z d� Z
d� Z G d � d
� Z G d� d� Z
G d
� d� Zy)aQ User 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 � � t � }|j | |� }|j � rt |j � �� �y)av Validates 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� validatorr s �3/usr/lib/python3/dist-packages/botocore/validate.py�validate_parametersr sC � �( � �I�
�
�
���
.�F�
����"�&�*@�*@�*B�C�C� � c � � � � fd�}|S )Nc �"