GetResolverResult

data class GetResolverResult(val cachingConfig: ResolverCachingConfig? = null, val code: String? = null, val dataSourceName: String? = null, val kind: String? = null, val maxBatchSize: Int? = null, val metricsConfig: ResolverMetricsConfig? = null, val pipelineConfig: ResolverPipelineConfig? = null, val requestMappingTemplate: String? = null, val resolverArn: String? = null, val responseMappingTemplate: String? = null, val runtime: ResolverAppSyncRuntime? = null, val syncConfig: ResolverSyncConfig? = null)

Constructors

Link copied to clipboard
constructor(cachingConfig: ResolverCachingConfig? = null, code: String? = null, dataSourceName: String? = null, kind: String? = null, maxBatchSize: Int? = null, metricsConfig: ResolverMetricsConfig? = null, pipelineConfig: ResolverPipelineConfig? = null, requestMappingTemplate: String? = null, resolverArn: String? = null, responseMappingTemplate: String? = null, runtime: ResolverAppSyncRuntime? = null, syncConfig: ResolverSyncConfig? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The caching configuration for the resolver.

Link copied to clipboard
val code: String? = null

The `resolver` code that contains the request and response functions. When code is used, the `runtime` is required. The runtime value must be `APPSYNC_JS`.

Link copied to clipboard
val dataSourceName: String? = null

The resolver data source name.

Link copied to clipboard
val kind: String? = null

The resolver type.

Link copied to clipboard
val maxBatchSize: Int? = null

The maximum number of resolver request inputs that will be sent to a single LAMlong function in a `BatchInvoke` operation.

Link copied to clipboard

Enables or disables enhanced resolver metrics for specified resolvers. Note that `MetricsConfig` won't be used unless the `resolverLevelMetricsBehavior` value is set to `PER_RESOLVER_METRICS`. If the `resolverLevelMetricsBehavior` is set to `FULL_REQUEST_RESOLVER_METRICS` instead, `MetricsConfig` will be ignored. However, you can still set its value.

Link copied to clipboard

Functions linked with the pipeline resolver.

Link copied to clipboard

The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.

Link copied to clipboard
val resolverArn: String? = null

ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .

Link copied to clipboard

The response mapping template.

Link copied to clipboard

Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

Link copied to clipboard

The `SyncConfig` for a resolver attached to a versioned data source.