

# AWS AppSync resolver mapping template utility reference
<a name="resolver-util-reference"></a>

**Note**  
We now primarily support the APPSYNC\$1JS runtime and its documentation. Please consider using the APPSYNC\$1JS runtime and its guides [here](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-js-version.html).

AWS AppSync defines a set of utilities that you can use within a GraphQL resolver to simplify interactions with data sources. Some of these utilities are for general use with any data source, such as generating IDs or timestamps. Others are specific to a type of data source. The following utilities are available:
+  [ Utility helpers in \$1util ](https://docs.aws.amazon.com/appsync/latest/devguide/utility-helpers-in-util.html) - The \$1util variable contains general utility methods to help you work with data. Unless otherwise specified, all utilities use the UTF-8 character set.
+ [ AppSync directives](https://docs.aws.amazon.com/appsync/latest/devguide/aws-appsync-directives.html) - AppSync exposes directives to facilitate developer productivity when writing in VTL.
+  [ Time helpers in \$1util.time ](https://docs.aws.amazon.com/appsync/latest/devguide/time-helpers-in-util-time.html) - The \$1util.time variable contains datetime methods to help generate timestamps, convert between datetime formats, and parse datetime strings. The syntax for datetime formats is based on [DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html), which you can reference for further documentation.
+ [ List helpers in \$1util.list ](https://docs.aws.amazon.com/appsync/latest/devguide/list-helpers-in-util-list.html) - \$1util.list contains methods to help with common List operations such as removing or retaining items from a list for filtering use cases.
+  [ Map helpers in \$1util.map ](https://docs.aws.amazon.com/appsync/latest/devguide/utility-helpers-in-map.html) - \$1util.map contains methods to help with common Map operations such as removing or retaining items from a Map for filtering use cases.
+  [ DynamoDB helpers in \$1util.dynamodb ](https://docs.aws.amazon.com/appsync/latest/devguide/dynamodb-helpers-in-util-dynamodb.html) - \$1util.dynamodb contains helper methods that make it easier to write and read data to Amazon DynamoDB, such as automatic type mapping and formatting. 
+  [ Amazon RDS helpers in \$1util.rds ](https://docs.aws.amazon.com/appsync/latest/devguide/rds-helpers-in-util-rds.html) - \$1util.rds contains helper methods that format RDS operations by getting rid of extraneous data in result outputs.
+  [ HTTP helpers in \$1util.http ](https://docs.aws.amazon.com/appsync/latest/devguide/http-helpers-in-utils-http.html) - The \$1util.http utility provides helper methods that you can use to manage HTTP request parameters and to add response headers.
+  [ XML helpers in \$1util.xml ](https://docs.aws.amazon.com/appsync/latest/devguide/xml-helpers-in-utils-xml.html) - \$1util.xml contains helper methods that can make it easier to translate XML responses to JSON or a Dictionary.
+  [ Transformation helpers in \$1util.transform ](https://docs.aws.amazon.com/appsync/latest/devguide/transformation-helpers-in-utils-transform.html) - \$1util.transform contains helper methods that make it easier to perform complex operations against data sources, such as DynamoDB filter operations.
+  [ Math helpers in \$1util.math ](https://docs.aws.amazon.com/appsync/latest/devguide/math-helpers-in-util-math.html) - \$1util.math contains methods to help with common Math operations.
+  [ String helpers in \$1util.str ](https://docs.aws.amazon.com/appsync/latest/devguide/str-helpers-in-util-str.html) - \$1util.str contains methods to help with common String operations.
+  [ Extensions ](https://docs.aws.amazon.com/appsync/latest/devguide/extensions.html) - \$1extensions contains a set of methods to make additional actions within your resolvers.