UpdateResolverRequest
public struct UpdateResolverRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The API ID.
Declaration
Swift
public let apiId: String
-
The caching configuration for the resolver.
Declaration
Swift
public let cachingConfig: CachingConfig?
-
The new data source name.
Declaration
Swift
public let dataSourceName: String?
-
The new field name.
Declaration
Swift
public let fieldName: 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.
Declaration
Swift
public let kind: ResolverKind?
-
The PipelineConfig.
Declaration
Swift
public let pipelineConfig: PipelineConfig?
-
The new request mapping template. 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). VTL request mapping templates are optional when using a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
Declaration
Swift
public let requestMappingTemplate: String?
-
The new response mapping template.
Declaration
Swift
public let responseMappingTemplate: String?
-
The SyncConfig for a resolver attached to a versioned datasource.
Declaration
Swift
public let syncConfig: SyncConfig?
-
The new type name.
Declaration
Swift
public let typeName: String
-
init(apiId:cachingConfig:dataSourceName:fieldName:kind:pipelineConfig:requestMappingTemplate:responseMappingTemplate:syncConfig:typeName:)
Undocumented
Declaration
Swift
public init(apiId: String, cachingConfig: CachingConfig? = nil, dataSourceName: String? = nil, fieldName: String, kind: ResolverKind? = nil, pipelineConfig: PipelineConfig? = nil, requestMappingTemplate: String? = nil, responseMappingTemplate: String? = nil, syncConfig: SyncConfig? = nil, typeName: String)
-
Declaration
Swift
public func validate(name: String) throws