enum [Boolean] — Validates that a string value matches one
of the allowable enum values.

computeChecksums(Boolean)
—

whether to compute checksums
for payload bodies when the service accepts it (currently supported
in S3 only)

convertResponseTypes(Boolean)
—

whether types are converted
when parsing response data. Currently only supported for JSON based
services. Turning this off may improve performance on large response
payloads. Defaults to true.

correctClockSkew(Boolean)
—

whether to apply a clock skew
correction and retry requests that fail because of an skewed client
clock. Defaults to false.

s3ForcePathStyle(Boolean)
—

whether to force path
style URLs for S3 objects.

s3BucketEndpoint(Boolean)
—

whether the provided endpoint
addresses an individual bucket (false if it addresses the root API
endpoint). Note that setting this configuration option requires an
endpoint to be provided explicitly to the service constructor.

s3DisableBodySigning(Boolean)
—

whether S3 body signing
should be disabled when using signature version v4. Body signing
can only be disabled when using https. Defaults to true.

retryDelayOptions(map)
—

A set of options to configure
the retry delay on retryable errors. Currently supported options are:

base [Integer] — The base number of milliseconds to use in the
exponential backoff for operation retries. Defaults to 100 ms for all
services except DynamoDB, where it defaults to 50ms.

customBackoff [function] — A custom function that accepts a retry count
and returns the amount of time to delay in milliseconds. The base option will be
ignored if this option is supplied.

httpOptions(map)
—

A set of options to pass to the low-level
HTTP request. Currently supported options are:

proxy [String] — the URL to proxy requests through

agent [http.Agent, https.Agent] — the Agent object to perform
HTTP requests with. Used for connection pooling. Defaults to the global
agent (http.globalAgent) for non-SSL connections. Note that for
SSL connections, a special Agent object is used in order to enable
peer certificate verification. This feature is only available in the
Node.js environment.

connectTimeout [Integer] — Sets the socket to timeout after
failing to establish a connection with the server after
connectTimeout milliseconds. This timeout has no effect once a socket
connection has been established.

timeout [Integer] — Sets the socket to timeout after timeout
milliseconds of inactivity on the socket. Defaults to two minutes
(120000).

xhrAsync [Boolean] — Whether the SDK will send asynchronous
HTTP requests. Used in the browser environment only. Set to false to
send requests synchronously. Defaults to true (async on).

xhrWithCredentials [Boolean] — Sets the "withCredentials"
property of an XMLHttpRequest object. Used in the browser environment
only. Defaults to false.

apiVersion(String, Date)
—

a String in YYYY-MM-DD format
(or a date) that represents the latest possible API version that can be
used in all services (unless overridden by apiVersions). Specify
'latest' to use the latest possible version.

apiVersions(map<String, String|Date>)
—

a map of service
identifiers (the lowercase service class name) with the API version to
use when instantiating a service. Specify 'latest' for each individual
that can use the latest available version.

logger(#write, #log)
—

an object that responds to .write()
(like a stream) or .log() (like the console object) in order to log
information about requests

systemClockOffset(Number)
—

an offset value in milliseconds
to apply to all signing times. Use this to compensate for clock skew
when your system may be out of sync with the service time. Note that
this configuration option can only be applied to the global AWS.config
object and cannot be overridden in service-specific configuration.
Defaults to 0 milliseconds.

The time from creation time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .

Callback (callback):

function(err, data) { ... }

Called when a response from the service is returned. If a
callback is not supplied, you must call AWS.Request.send()
on the returned request object to initiate the request.

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

dynamodbConfig — (map)

Amazon DynamoDB settings.

tableName — required — (String)

The table name.

awsRegion — required — (String)

The AWS Region.

useCallerCredentials — (Boolean)

Set to TRUE to use Amazon Cognito credentials with this data source.

lambdaConfig — (map)

AWS Lambda settings.

lambdaFunctionArn — required — (String)

The ARN for the Lambda function.

elasticsearchConfig — (map)

Amazon Elasticsearch Service settings.

endpoint — required — (String)

The endpoint.

awsRegion — required — (String)

The AWS Region.

httpConfig — (map)

HTTP endpoint settings.

endpoint — (String)

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

dataSource — (map)

The DataSource object.

dataSourceArn — (String)

The data source ARN.

name — (String)

The name of the data source.

description — (String)

The description of the data source.

type — (String)

The type of the data source.

AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

AWS_LAMBDA: The data source is an AWS Lambda function.

NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

HTTP: The data source is an HTTP endpoint.

RELATIONAL_DATABASE: The data source is a relational database.

Possible values include:

"AWS_LAMBDA"

"AMAZON_DYNAMODB"

"AMAZON_ELASTICSEARCH"

"NONE"

"HTTP"

"RELATIONAL_DATABASE"

serviceRoleArn — (String)

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

dynamodbConfig — (map)

Amazon DynamoDB settings.

tableName — required — (String)

The table name.

awsRegion — required — (String)

The AWS Region.

useCallerCredentials — (Boolean)

Set to TRUE to use Amazon Cognito credentials with this data source.

lambdaConfig — (map)

AWS Lambda settings.

lambdaFunctionArn — required — (String)

The ARN for the Lambda function.

elasticsearchConfig — (map)

Amazon Elasticsearch Service settings.

endpoint — required — (String)

The endpoint.

awsRegion — required — (String)

The AWS Region.

httpConfig — (map)

HTTP endpoint settings.

endpoint — (String)

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

responseMappingTemplate — (String)

The mapping template to be used for responses from the data source.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

Possible values include:

"UNIT"

"PIPELINE"

pipelineConfig — (map)

The PipelineConfig.

functions — (Array<String>)

A list of Function objects.

Callback (callback):

function(err, data) { ... }

Called when a response from the service is returned. If a
callback is not supplied, you must call AWS.Request.send()
on the returned request object to initiate the request.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

resolver — (map)

The Resolver object.

typeName — (String)

The resolver type name.

fieldName — (String)

The resolver field name.

dataSourceName — (String)

The resolver data source name.

resolverArn — (String)

The resolver ARN.

requestMappingTemplate — (String)

The request mapping template.

responseMappingTemplate — (String)

The response mapping template.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

dataSource — (map)

The DataSource object.

dataSourceArn — (String)

The data source ARN.

name — (String)

The name of the data source.

description — (String)

The description of the data source.

type — (String)

The type of the data source.

AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

AWS_LAMBDA: The data source is an AWS Lambda function.

NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

HTTP: The data source is an HTTP endpoint.

RELATIONAL_DATABASE: The data source is a relational database.

Possible values include:

"AWS_LAMBDA"

"AMAZON_DYNAMODB"

"AMAZON_ELASTICSEARCH"

"NONE"

"HTTP"

"RELATIONAL_DATABASE"

serviceRoleArn — (String)

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

dynamodbConfig — (map)

Amazon DynamoDB settings.

tableName — required — (String)

The table name.

awsRegion — required — (String)

The AWS Region.

useCallerCredentials — (Boolean)

Set to TRUE to use Amazon Cognito credentials with this data source.

lambdaConfig — (map)

AWS Lambda settings.

lambdaFunctionArn — required — (String)

The ARN for the Lambda function.

elasticsearchConfig — (map)

Amazon Elasticsearch Service settings.

endpoint — required — (String)

The endpoint.

awsRegion — required — (String)

The AWS Region.

httpConfig — (map)

HTTP endpoint settings.

endpoint — (String)

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

resolver — (map)

The Resolver object.

typeName — (String)

The resolver type name.

fieldName — (String)

The resolver field name.

dataSourceName — (String)

The resolver data source name.

resolverArn — (String)

The resolver ARN.

requestMappingTemplate — (String)

The request mapping template.

responseMappingTemplate — (String)

The response mapping template.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

Note: API keys are deleted automatically sometime after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

dataSources — (Array<map>)

The DataSource objects.

dataSourceArn — (String)

The data source ARN.

name — (String)

The name of the data source.

description — (String)

The description of the data source.

type — (String)

The type of the data source.

AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

AWS_LAMBDA: The data source is an AWS Lambda function.

NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

HTTP: The data source is an HTTP endpoint.

RELATIONAL_DATABASE: The data source is a relational database.

Possible values include:

"AWS_LAMBDA"

"AMAZON_DYNAMODB"

"AMAZON_ELASTICSEARCH"

"NONE"

"HTTP"

"RELATIONAL_DATABASE"

serviceRoleArn — (String)

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

dynamodbConfig — (map)

Amazon DynamoDB settings.

tableName — required — (String)

The table name.

awsRegion — required — (String)

The AWS Region.

useCallerCredentials — (Boolean)

Set to TRUE to use Amazon Cognito credentials with this data source.

lambdaConfig — (map)

AWS Lambda settings.

lambdaFunctionArn — required — (String)

The ARN for the Lambda function.

elasticsearchConfig — (map)

Amazon Elasticsearch Service settings.

endpoint — required — (String)

The endpoint.

awsRegion — required — (String)

The AWS Region.

httpConfig — (map)

HTTP endpoint settings.

endpoint — (String)

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

resolvers — (Array<map>)

The Resolver objects.

typeName — (String)

The resolver type name.

fieldName — (String)

The resolver field name.

dataSourceName — (String)

The resolver data source name.

resolverArn — (String)

The resolver ARN.

requestMappingTemplate — (String)

The request mapping template.

responseMappingTemplate — (String)

The response mapping template.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

Possible values include:

"UNIT"

"PIPELINE"

pipelineConfig — (map)

The PipelineConfig.

functions — (Array<String>)

A list of Function objects.

nextToken — (String)

An identifier to be passed in the next request to this operation to return the next set of items in the list.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

resolvers — (Array<map>)

The list of resolvers.

typeName — (String)

The resolver type name.

fieldName — (String)

The resolver field name.

dataSourceName — (String)

The resolver data source name.

resolverArn — (String)

The resolver ARN.

requestMappingTemplate — (String)

The request mapping template.

responseMappingTemplate — (String)

The response mapping template.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

Possible values include:

"UNIT"

"PIPELINE"

pipelineConfig — (map)

The PipelineConfig.

functions — (Array<String>)

A list of Function objects.

nextToken — (String)

An identifier that can be used to return the next set of items in the list.

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

dataSource — (map)

The updated DataSource object.

dataSourceArn — (String)

The data source ARN.

name — (String)

The name of the data source.

description — (String)

The description of the data source.

type — (String)

The type of the data source.

AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

AWS_LAMBDA: The data source is an AWS Lambda function.

NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

HTTP: The data source is an HTTP endpoint.

RELATIONAL_DATABASE: The data source is a relational database.

Possible values include:

"AWS_LAMBDA"

"AMAZON_DYNAMODB"

"AMAZON_ELASTICSEARCH"

"NONE"

"HTTP"

"RELATIONAL_DATABASE"

serviceRoleArn — (String)

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

dynamodbConfig — (map)

Amazon DynamoDB settings.

tableName — required — (String)

The table name.

awsRegion — required — (String)

The AWS Region.

useCallerCredentials — (Boolean)

Set to TRUE to use Amazon Cognito credentials with this data source.

lambdaConfig — (map)

AWS Lambda settings.

lambdaFunctionArn — required — (String)

The ARN for the Lambda function.

elasticsearchConfig — (map)

Amazon Elasticsearch Service settings.

endpoint — required — (String)

The endpoint.

awsRegion — required — (String)

The AWS Region.

httpConfig — (map)

HTTP endpoint settings.

endpoint — (String)

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

authorizationConfig — (map)

The authorization config in case the HTTP endpoint requires authorization.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

clientId — (String)

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

iatTTL — (Integer)

The number of milliseconds a token is valid after being issued to a user.

authTTL — (Integer)

The number of milliseconds a token is valid after being authenticated.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

Possible values include:

"UNIT"

"PIPELINE"

pipelineConfig — (map)

The PipelineConfig.

functions — (Array<String>)

A list of Function objects.

Callback (callback):

function(err, data) { ... }

Called when a response from the service is returned. If a
callback is not supplied, you must call AWS.Request.send()
on the returned request object to initiate the request.

the response object containing error, data properties, and the original request object.

Parameters:

err(Error)
—

the error object returned from the request.
Set to null if the request is successful.

data(Object)
—

the de-serialized data returned from
the request. Set to null if a request error occurs.
The data object has the following properties:

resolver — (map)

The updated Resolver object.

typeName — (String)

The resolver type name.

fieldName — (String)

The resolver field name.

dataSourceName — (String)

The resolver data source name.

resolverArn — (String)

The resolver ARN.

requestMappingTemplate — (String)

The request mapping template.

responseMappingTemplate — (String)

The response mapping template.

kind — (String)

The resolver type.

UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.

PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.