CreateFunctionRequest
public struct CreateFunctionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The GraphQL API ID.
Declaration
Swift
public let apiId: String -
The Function DataSource name.
Declaration
Swift
public let dataSourceName: String -
The Function description.
Declaration
Swift
public let description: String? -
The version of the request mapping template. Currently the supported value is 2018-05-29.
Declaration
Swift
public let functionVersion: String -
The Function name. The function name does not have to be unique.
Declaration
Swift
public let name: String -
The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
Declaration
Swift
public let requestMappingTemplate: String? -
The Function response mapping template.
Declaration
Swift
public let responseMappingTemplate: String? -
init(apiId:dataSourceName:description:functionVersion:name:requestMappingTemplate:responseMappingTemplate:)Undocumented
Declaration
Swift
public init(apiId: String, dataSourceName: String, description: String? = nil, functionVersion: String, name: String, requestMappingTemplate: String? = nil, responseMappingTemplate: String? = nil) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
CreateFunctionRequest Structure Reference