AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateFunction operation. Creates a Function object.

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppSync.AmazonAppSyncRequest
      Amazon.AppSync.Model.CreateFunctionRequest

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class CreateFunctionRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The CreateFunctionRequest type exposes the following members

Constructors

NameDescription
Public Method CreateFunctionRequest()

Properties

NameTypeDescription
Public Property ApiId System.String

Gets and sets the property ApiId.

The GraphQL API ID.

Public Property Code System.String

Gets and sets the property Code.

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

Public Property DataSourceName System.String

Gets and sets the property DataSourceName.

The Function DataSource name.

Public Property Description System.String

Gets and sets the property Description.

The Function description.

Public Property FunctionVersion System.String

Gets and sets the property FunctionVersion.

The version of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion is required.

Public Property MaxBatchSize System.Int32

Gets and sets the property MaxBatchSize.

The maximum batching size for a resolver.

Public Property Name System.String

Gets and sets the property Name.

The Function name. The function name does not have to be unique.

Public Property RequestMappingTemplate System.String

Gets and sets the property RequestMappingTemplate.

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

Public Property ResponseMappingTemplate System.String

Gets and sets the property ResponseMappingTemplate.

The Function response mapping template.

Public Property Runtime Amazon.AppSync.Model.AppSyncRuntime

Gets and sets the property Runtime.

Public Property SyncConfig Amazon.AppSync.Model.SyncConfig

Gets and sets the property SyncConfig.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5