2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
The short answer is I can't. I removed the default values from the schema and added them to the request resolver using a util function.
Like this:
#if( $util.defaultIfNull(${context.arguments.events},0) == 1 )
The defaultIfNull will test to see if the value events param has a value and if not set it to 0
répondu il y a 5 ans
0
This behavior is not yet supported and, as of writing, resolver templates cannot access default values from the schema.
répondu il y a 5 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans