API Gateway mapping template and access logging variable reference This section provides reference information for the variables and functions that Amazon API Gateway defines for use with data models, authorizers, mapping templates, and CloudWatch access logging. For detailed information about how to use these variables and functions, see Mapping templates for REST APIs. For more information about