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.
Implementation for accessing AppSync
AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.Namespace: Amazon.AppSync
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class AmazonAppSyncClient : AmazonServiceClient IAmazonAppSync, IAmazonService, IDisposable
The AmazonAppSyncClient type exposes the following members
Name | Description | |
---|---|---|
AmazonAppSyncClient() |
Constructs AmazonAppSyncClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonAppSyncClient(RegionEndpoint) |
Constructs AmazonAppSyncClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonAppSyncClient(AmazonAppSyncConfig) |
Constructs AmazonAppSyncClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonAppSyncClient(AWSCredentials) |
Constructs AmazonAppSyncClient with AWS Credentials |
|
AmazonAppSyncClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonAppSyncClient with AWS Credentials |
|
AmazonAppSyncClient(AWSCredentials, AmazonAppSyncConfig) |
Constructs AmazonAppSyncClient with AWS Credentials and an AmazonAppSyncClient Configuration object. |
|
AmazonAppSyncClient(string, string) |
Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key |
|
AmazonAppSyncClient(string, string, RegionEndpoint) |
Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key |
|
AmazonAppSyncClient(string, string, AmazonAppSyncConfig) |
Constructs AmazonAppSyncClient with AWS Access Key ID, AWS Secret Key and an AmazonAppSyncClient Configuration object. |
|
AmazonAppSyncClient(string, string, string) |
Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key |
|
AmazonAppSyncClient(string, string, string, RegionEndpoint) |
Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key |
|
AmazonAppSyncClient(string, string, string, AmazonAppSyncConfig) |
Constructs AmazonAppSyncClient with AWS Access Key ID, AWS Secret Key and an AmazonAppSyncClient Configuration object. |
Name | Type | Description | |
---|---|---|---|
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. |
Name | Description | |
---|---|---|
AssociateApi(AssociateApiRequest) |
Maps an endpoint to your custom domain. |
|
AssociateApiAsync(AssociateApiRequest, CancellationToken) |
Maps an endpoint to your custom domain. |
|
AssociateMergedGraphqlApi(AssociateMergedGraphqlApiRequest) |
Creates an association between a Merged API and source API using the source API's identifier. |
|
AssociateMergedGraphqlApiAsync(AssociateMergedGraphqlApiRequest, CancellationToken) |
Creates an association between a Merged API and source API using the source API's identifier. |
|
AssociateSourceGraphqlApi(AssociateSourceGraphqlApiRequest) |
Creates an association between a Merged API and source API using the Merged API's identifier. |
|
AssociateSourceGraphqlApiAsync(AssociateSourceGraphqlApiRequest, CancellationToken) |
Creates an association between a Merged API and source API using the Merged API's identifier. |
|
CreateApiCache(CreateApiCacheRequest) |
Creates a cache for the GraphQL API. |
|
CreateApiCacheAsync(CreateApiCacheRequest, CancellationToken) |
Creates a cache for the GraphQL API. |
|
CreateApiKey(CreateApiKeyRequest) |
Creates a unique key that you can distribute to clients who invoke your API. |
|
CreateApiKeyAsync(CreateApiKeyRequest, CancellationToken) |
Creates a unique key that you can distribute to clients who invoke your API. |
|
CreateDataSource(CreateDataSourceRequest) |
Creates a |
|
CreateDataSourceAsync(CreateDataSourceRequest, CancellationToken) |
Creates a |
|
CreateDomainName(CreateDomainNameRequest) |
Creates a custom |
|
CreateDomainNameAsync(CreateDomainNameRequest, CancellationToken) |
Creates a custom |
|
CreateFunction(CreateFunctionRequest) |
Creates a A function is a reusable entity. You can use multiple functions to compose the resolver logic. |
|
CreateFunctionAsync(CreateFunctionRequest, CancellationToken) |
Creates a A function is a reusable entity. You can use multiple functions to compose the resolver logic. |
|
CreateGraphqlApi(CreateGraphqlApiRequest) |
Creates a |
|
CreateGraphqlApiAsync(CreateGraphqlApiRequest, CancellationToken) |
Creates a |
|
CreateResolver(CreateResolverRequest) |
Creates a A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL. |
|
CreateResolverAsync(CreateResolverRequest, CancellationToken) |
Creates a A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL. |
|
CreateType(CreateTypeRequest) |
Creates a |
|
CreateTypeAsync(CreateTypeRequest, CancellationToken) |
Creates a |
|
DeleteApiCache(DeleteApiCacheRequest) |
Deletes an |
|
DeleteApiCacheAsync(DeleteApiCacheRequest, CancellationToken) |
Deletes an |
|
DeleteApiKey(DeleteApiKeyRequest) |
Deletes an API key. |
|
DeleteApiKeyAsync(DeleteApiKeyRequest, CancellationToken) |
Deletes an API key. |
|
DeleteDataSource(DeleteDataSourceRequest) |
Deletes a |
|
DeleteDataSourceAsync(DeleteDataSourceRequest, CancellationToken) |
Deletes a |
|
DeleteDomainName(DeleteDomainNameRequest) |
Deletes a custom |
|
DeleteDomainNameAsync(DeleteDomainNameRequest, CancellationToken) |
Deletes a custom |
|
DeleteFunction(DeleteFunctionRequest) |
Deletes a |
|
DeleteFunctionAsync(DeleteFunctionRequest, CancellationToken) |
Deletes a |
|
DeleteGraphqlApi(DeleteGraphqlApiRequest) |
Deletes a |
|
DeleteGraphqlApiAsync(DeleteGraphqlApiRequest, CancellationToken) |
Deletes a |
|
DeleteResolver(DeleteResolverRequest) |
Deletes a |
|
DeleteResolverAsync(DeleteResolverRequest, CancellationToken) |
Deletes a |
|
DeleteType(DeleteTypeRequest) |
Deletes a |
|
DeleteTypeAsync(DeleteTypeRequest, CancellationToken) |
Deletes a |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
DisassociateApi(DisassociateApiRequest) |
Removes an |
|
DisassociateApiAsync(DisassociateApiRequest, CancellationToken) |
Removes an |
|
DisassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest) |
Deletes an association between a Merged API and source API using the source API's identifier and the association ID. |
|
DisassociateMergedGraphqlApiAsync(DisassociateMergedGraphqlApiRequest, CancellationToken) |
Deletes an association between a Merged API and source API using the source API's identifier and the association ID. |
|
DisassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest) |
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID. |
|
DisassociateSourceGraphqlApiAsync(DisassociateSourceGraphqlApiRequest, CancellationToken) |
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID. |
|
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. | |
EvaluateCode(EvaluateCodeRequest) |
Evaluates the given code and returns the response. The code definition requirements
depend on the specified runtime. For |
|
EvaluateCodeAsync(EvaluateCodeRequest, CancellationToken) |
Evaluates the given code and returns the response. The code definition requirements
depend on the specified runtime. For |
|
EvaluateMappingTemplate(EvaluateMappingTemplateRequest) |
Evaluates a given template and returns the response. The mapping template can be a request or response template. Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type. Mapping templates are written in the Apache Velocity Template Language (VTL). |
|
EvaluateMappingTemplateAsync(EvaluateMappingTemplateRequest, CancellationToken) |
Evaluates a given template and returns the response. The mapping template can be a request or response template. Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type. Mapping templates are written in the Apache Velocity Template Language (VTL). |
|
FlushApiCache(FlushApiCacheRequest) |
Flushes an |
|
FlushApiCacheAsync(FlushApiCacheRequest, CancellationToken) |
Flushes an |
|
GetApiAssociation(GetApiAssociationRequest) |
Retrieves an |
|
GetApiAssociationAsync(GetApiAssociationRequest, CancellationToken) |
Retrieves an |
|
GetApiCache(GetApiCacheRequest) |
Retrieves an |
|
GetApiCacheAsync(GetApiCacheRequest, CancellationToken) |
Retrieves an |
|
GetDataSource(GetDataSourceRequest) |
Retrieves a |
|
GetDataSourceAsync(GetDataSourceRequest, CancellationToken) |
Retrieves a |
|
GetDataSourceIntrospection(GetDataSourceIntrospectionRequest) |
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead. |
|
GetDataSourceIntrospectionAsync(GetDataSourceIntrospectionRequest, CancellationToken) |
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead. |
|
GetDomainName(GetDomainNameRequest) |
Retrieves a custom |
|
GetDomainNameAsync(GetDomainNameRequest, CancellationToken) |
Retrieves a custom |
|
GetFunction(GetFunctionRequest) |
Get a |
|
GetFunctionAsync(GetFunctionRequest, CancellationToken) |
Get a |
|
GetGraphqlApi(GetGraphqlApiRequest) |
Retrieves a |
|
GetGraphqlApiAsync(GetGraphqlApiRequest, CancellationToken) |
Retrieves a |
|
GetGraphqlApiEnvironmentVariables(GetGraphqlApiEnvironmentVariablesRequest) |
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value. |
|
GetGraphqlApiEnvironmentVariablesAsync(GetGraphqlApiEnvironmentVariablesRequest, CancellationToken) |
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value. |
|
GetIntrospectionSchema(GetIntrospectionSchemaRequest) |
Retrieves the introspection schema for a GraphQL API. |
|
GetIntrospectionSchemaAsync(GetIntrospectionSchemaRequest, CancellationToken) |
Retrieves the introspection schema for a GraphQL API. |
|
GetResolver(GetResolverRequest) |
Retrieves a |
|
GetResolverAsync(GetResolverRequest, CancellationToken) |
Retrieves a |
|
GetSchemaCreationStatus(GetSchemaCreationStatusRequest) |
Retrieves the current status of a schema creation operation. |
|
GetSchemaCreationStatusAsync(GetSchemaCreationStatusRequest, CancellationToken) |
Retrieves the current status of a schema creation operation. |
|
GetSourceApiAssociation(GetSourceApiAssociationRequest) |
Retrieves a |
|
GetSourceApiAssociationAsync(GetSourceApiAssociationRequest, CancellationToken) |
Retrieves a |
|
GetType(GetTypeRequest) |
Retrieves a |
|
GetTypeAsync(GetTypeRequest, CancellationToken) |
Retrieves a |
|
ListApiKeys(ListApiKeysRequest) |
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still
be included in the response until they have actually been deleted. You can safely
call |
|
ListApiKeysAsync(ListApiKeysRequest, CancellationToken) |
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still
be included in the response until they have actually been deleted. You can safely
call |
|
ListDataSources(ListDataSourcesRequest) |
Lists the data sources for a given API. |
|
ListDataSourcesAsync(ListDataSourcesRequest, CancellationToken) |
Lists the data sources for a given API. |
|
ListDomainNames(ListDomainNamesRequest) |
Lists multiple custom domain names. |
|
ListDomainNamesAsync(ListDomainNamesRequest, CancellationToken) |
Lists multiple custom domain names. |
|
ListFunctions(ListFunctionsRequest) |
List multiple functions. |
|
ListFunctionsAsync(ListFunctionsRequest, CancellationToken) |
List multiple functions. |
|
ListGraphqlApis(ListGraphqlApisRequest) |
Lists your GraphQL APIs. |
|
ListGraphqlApisAsync(ListGraphqlApisRequest, CancellationToken) |
Lists your GraphQL APIs. |
|
ListResolvers(ListResolversRequest) |
Lists the resolvers for a given API and type. |
|
ListResolversAsync(ListResolversRequest, CancellationToken) |
Lists the resolvers for a given API and type. |
|
ListResolversByFunction(ListResolversByFunctionRequest) |
List the resolvers that are associated with a specific function. |
|
ListResolversByFunctionAsync(ListResolversByFunctionRequest, CancellationToken) |
List the resolvers that are associated with a specific function. |
|
ListSourceApiAssociations(ListSourceApiAssociationsRequest) |
Lists the |
|
ListSourceApiAssociationsAsync(ListSourceApiAssociationsRequest, CancellationToken) |
Lists the |
|
ListTagsForResource(ListTagsForResourceRequest) |
Lists the tags for a resource. |
|
ListTagsForResourceAsync(ListTagsForResourceRequest, CancellationToken) |
Lists the tags for a resource. |
|
ListTypes(ListTypesRequest) |
Lists the types for a given API. |
|
ListTypesAsync(ListTypesRequest, CancellationToken) |
Lists the types for a given API. |
|
ListTypesByAssociation(ListTypesByAssociationRequest) |
Lists |
|
ListTypesByAssociationAsync(ListTypesByAssociationRequest, CancellationToken) |
Lists |
|
PutGraphqlApiEnvironmentVariables(PutGraphqlApiEnvironmentVariablesRequest) |
Creates a list of environmental variables in an API by its ID value. When creating an environmental variable, it must follow the constraints below:
When creating an environmental variable key-value pair, it must follow the additional constraints below:
You can create a list of environmental variables by adding it to the |
|
PutGraphqlApiEnvironmentVariablesAsync(PutGraphqlApiEnvironmentVariablesRequest, CancellationToken) |
Creates a list of environmental variables in an API by its ID value. When creating an environmental variable, it must follow the constraints below:
When creating an environmental variable key-value pair, it must follow the additional constraints below:
You can create a list of environmental variables by adding it to the |
|
StartDataSourceIntrospection(StartDataSourceIntrospectionRequest) |
Creates a new introspection. Returns the |
|
StartDataSourceIntrospectionAsync(StartDataSourceIntrospectionRequest, CancellationToken) |
Creates a new introspection. Returns the |
|
StartSchemaCreation(StartSchemaCreationRequest) |
Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed. |
|
StartSchemaCreationAsync(StartSchemaCreationRequest, CancellationToken) |
Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed. |
|
StartSchemaMerge(StartSchemaMergeRequest) |
Initiates a merge operation. Returns a status that shows the result of the merge operation. |
|
StartSchemaMergeAsync(StartSchemaMergeRequest, CancellationToken) |
Initiates a merge operation. Returns a status that shows the result of the merge operation. |
|
TagResource(TagResourceRequest) |
Tags a resource with user-supplied tags. |
|
TagResourceAsync(TagResourceRequest, CancellationToken) |
Tags a resource with user-supplied tags. |
|
UntagResource(UntagResourceRequest) |
Untags a resource. |
|
UntagResourceAsync(UntagResourceRequest, CancellationToken) |
Untags a resource. |
|
UpdateApiCache(UpdateApiCacheRequest) |
Updates the cache for the GraphQL API. |
|
UpdateApiCacheAsync(UpdateApiCacheRequest, CancellationToken) |
Updates the cache for the GraphQL API. |
|
UpdateApiKey(UpdateApiKeyRequest) |
Updates an API key. You can update the key as long as it's not deleted. |
|
UpdateApiKeyAsync(UpdateApiKeyRequest, CancellationToken) |
Updates an API key. You can update the key as long as it's not deleted. |
|
UpdateDataSource(UpdateDataSourceRequest) |
Updates a |
|
UpdateDataSourceAsync(UpdateDataSourceRequest, CancellationToken) |
Updates a |
|
UpdateDomainName(UpdateDomainNameRequest) |
Updates a custom |
|
UpdateDomainNameAsync(UpdateDomainNameRequest, CancellationToken) |
Updates a custom |
|
UpdateFunction(UpdateFunctionRequest) |
Updates a |
|
UpdateFunctionAsync(UpdateFunctionRequest, CancellationToken) |
Updates a |
|
UpdateGraphqlApi(UpdateGraphqlApiRequest) |
Updates a |
|
UpdateGraphqlApiAsync(UpdateGraphqlApiRequest, CancellationToken) |
Updates a |
|
UpdateResolver(UpdateResolverRequest) |
Updates a |
|
UpdateResolverAsync(UpdateResolverRequest, CancellationToken) |
Updates a |
|
UpdateSourceApiAssociation(UpdateSourceApiAssociationRequest) |
Updates some of the configuration choices of a particular source API association. |
|
UpdateSourceApiAssociationAsync(UpdateSourceApiAssociationRequest, CancellationToken) |
Updates some of the configuration choices of a particular source API association. |
|
UpdateType(UpdateTypeRequest) |
Updates a |
|
UpdateTypeAsync(UpdateTypeRequest, CancellationToken) |
Updates a |
Name | Description | |
---|---|---|
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5