1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hi Mick,
there are several ways in which you can implement a schema validation. For example, if you receive requests to your AWS Lambda functions via an Amazon API Gateway, you can use request validation (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html).
Lambda Powertools for Python has a validation feature as well (https://awslabs.github.io/aws-lambda-powertools-python/2.16.2/utilities/validation/).
But you could also use any of several Python libraries to implement validation in your functions directly, like jsonschema (https://python-jsonschema.readthedocs.io/en/latest/validate/)
Contenus pertinents
- demandé il y a 2 ans
- demandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans