/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AppSync.Model;
using Amazon.AppSync.Model.Internal.MarshallTransformations;
using Amazon.AppSync.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppSync
{
///
/// Implementation for accessing AppSync
///
/// AppSync provides API actions for creating and interacting with data sources using
/// GraphQL from your application.
///
public partial class AmazonAppSyncClient : AmazonServiceClient, IAmazonAppSync
{
private static IServiceMetadata serviceMetadata = new AmazonAppSyncMetadata();
#region Constructors
///
/// 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>
///
///
///
public AmazonAppSyncClient()
: base(FallbackCredentialsFactory.GetCredentials(), new 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>
///
///
///
/// The region to connect.
public AmazonAppSyncClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppSyncConfig{RegionEndpoint = region}) { }
///
/// 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>
///
///
///
/// The AmazonAppSyncClient Configuration Object
public AmazonAppSyncClient(AmazonAppSyncConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppSyncClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppSyncClient(AWSCredentials credentials)
: this(credentials, new AmazonAppSyncConfig())
{
}
///
/// Constructs AmazonAppSyncClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppSyncClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppSyncConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppSyncClient with AWS Credentials and an
/// AmazonAppSyncClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppSyncClient Configuration Object
public AmazonAppSyncClient(AWSCredentials credentials, AmazonAppSyncConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppSyncConfig())
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppSyncConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppSyncClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppSyncClient Configuration Object
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppSyncConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppSyncConfig())
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppSyncConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppSyncClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppSyncClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppSyncClient Configuration Object
public AmazonAppSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppSyncConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAppSyncEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateApi
///
/// Maps an endpoint to your custom domain.
///
/// Container for the necessary parameters to execute the AssociateApi service method.
///
/// The response from the AssociateApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for AssociateApi Operation
public virtual AssociateApiResponse AssociateApi(AssociateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Maps an endpoint to your custom domain.
///
/// Container for the necessary parameters to execute the AssociateApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for AssociateApi Operation
public virtual Task AssociateApiAsync(AssociateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateMergedGraphqlApi
///
/// Creates an association between a Merged API and source API using the source API's
/// identifier.
///
/// Container for the necessary parameters to execute the AssociateMergedGraphqlApi service method.
///
/// The response from the AssociateMergedGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for AssociateMergedGraphqlApi Operation
public virtual AssociateMergedGraphqlApiResponse AssociateMergedGraphqlApi(AssociateMergedGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMergedGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an association between a Merged API and source API using the source API's
/// identifier.
///
/// Container for the necessary parameters to execute the AssociateMergedGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateMergedGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for AssociateMergedGraphqlApi Operation
public virtual Task AssociateMergedGraphqlApiAsync(AssociateMergedGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMergedGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateSourceGraphqlApi
///
/// Creates an association between a Merged API and source API using the Merged API's
/// identifier.
///
/// Container for the necessary parameters to execute the AssociateSourceGraphqlApi service method.
///
/// The response from the AssociateSourceGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for AssociateSourceGraphqlApi Operation
public virtual AssociateSourceGraphqlApiResponse AssociateSourceGraphqlApi(AssociateSourceGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an association between a Merged API and source API using the Merged API's
/// identifier.
///
/// Container for the necessary parameters to execute the AssociateSourceGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateSourceGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for AssociateSourceGraphqlApi Operation
public virtual Task AssociateSourceGraphqlApiAsync(AssociateSourceGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateApiCache
///
/// Creates a cache for the GraphQL API.
///
/// Container for the necessary parameters to execute the CreateApiCache service method.
///
/// The response from the CreateApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateApiCache Operation
public virtual CreateApiCacheResponse CreateApiCache(CreateApiCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiCacheResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a cache for the GraphQL API.
///
/// Container for the necessary parameters to execute the CreateApiCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateApiCache Operation
public virtual Task CreateApiCacheAsync(CreateApiCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiCacheResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateApiKey
///
/// Creates a unique key that you can distribute to clients who invoke your API.
///
/// Container for the necessary parameters to execute the CreateApiKey service method.
///
/// The response from the CreateApiKey service method, as returned by AppSync.
///
/// The API key exceeded a limit. Try your request again.
///
///
/// The API key expiration must be set to a value between 1 and 365 days from creation
/// (for CreateApiKey
) or from update (for UpdateApiKey
).
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateApiKey Operation
public virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a unique key that you can distribute to clients who invoke your API.
///
/// Container for the necessary parameters to execute the CreateApiKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApiKey service method, as returned by AppSync.
///
/// The API key exceeded a limit. Try your request again.
///
///
/// The API key expiration must be set to a value between 1 and 365 days from creation
/// (for CreateApiKey
) or from update (for UpdateApiKey
).
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateApiKey Operation
public virtual Task CreateApiKeyAsync(CreateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDataSource
///
/// Creates a DataSource
object.
///
/// Container for the necessary parameters to execute the CreateDataSource service method.
///
/// The response from the CreateDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateDataSource Operation
public virtual CreateDataSourceResponse CreateDataSource(CreateDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a DataSource
object.
///
/// Container for the necessary parameters to execute the CreateDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateDataSource Operation
public virtual Task CreateDataSourceAsync(CreateDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataSourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDomainName
///
/// Creates a custom DomainName
object.
///
/// Container for the necessary parameters to execute the CreateDomainName service method.
///
/// The response from the CreateDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for CreateDomainName Operation
public virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a custom DomainName
object.
///
/// Container for the necessary parameters to execute the CreateDomainName service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for CreateDomainName Operation
public virtual Task CreateDomainNameAsync(CreateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFunction
///
/// Creates a Function
object.
///
///
///
/// A function is a reusable entity. You can use multiple functions to compose the resolver
/// logic.
///
///
/// Container for the necessary parameters to execute the CreateFunction service method.
///
/// The response from the CreateFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateFunction Operation
public virtual CreateFunctionResponse CreateFunction(CreateFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Function
object.
///
///
///
/// A function is a reusable entity. You can use multiple functions to compose the resolver
/// logic.
///
///
/// Container for the necessary parameters to execute the CreateFunction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateFunction Operation
public virtual Task CreateFunctionAsync(CreateFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateGraphqlApi
///
/// Creates a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the CreateGraphqlApi service method.
///
/// The response from the CreateGraphqlApi service method, as returned by AppSync.
///
/// The GraphQL API exceeded a limit. Try your request again.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateGraphqlApi Operation
public virtual CreateGraphqlApiResponse CreateGraphqlApi(CreateGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the CreateGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGraphqlApi service method, as returned by AppSync.
///
/// The GraphQL API exceeded a limit. Try your request again.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateGraphqlApi Operation
public virtual Task CreateGraphqlApiAsync(CreateGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResolver
///
/// Creates a Resolver
object.
///
///
///
/// A resolver converts incoming requests into a format that a data source can understand,
/// and converts the data source's responses into GraphQL.
///
///
/// Container for the necessary parameters to execute the CreateResolver service method.
///
/// The response from the CreateResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateResolver Operation
public virtual CreateResolverResponse CreateResolver(CreateResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Resolver
object.
///
///
///
/// A resolver converts incoming requests into a format that a data source can understand,
/// and converts the data source's responses into GraphQL.
///
///
/// Container for the necessary parameters to execute the CreateResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateResolver Operation
public virtual Task CreateResolverAsync(CreateResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateType
///
/// Creates a Type
object.
///
/// Container for the necessary parameters to execute the CreateType service method.
///
/// The response from the CreateType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateType Operation
public virtual CreateTypeResponse CreateType(CreateTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Type
object.
///
/// Container for the necessary parameters to execute the CreateType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for CreateType Operation
public virtual Task CreateTypeAsync(CreateTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApiCache
///
/// Deletes an ApiCache
object.
///
/// Container for the necessary parameters to execute the DeleteApiCache service method.
///
/// The response from the DeleteApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteApiCache Operation
public virtual DeleteApiCacheResponse DeleteApiCache(DeleteApiCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiCacheResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an ApiCache
object.
///
/// Container for the necessary parameters to execute the DeleteApiCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteApiCache Operation
public virtual Task DeleteApiCacheAsync(DeleteApiCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiCacheResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApiKey
///
/// Deletes an API key.
///
/// Container for the necessary parameters to execute the DeleteApiKey service method.
///
/// The response from the DeleteApiKey service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteApiKey Operation
public virtual DeleteApiKeyResponse DeleteApiKey(DeleteApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an API key.
///
/// Container for the necessary parameters to execute the DeleteApiKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApiKey service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteApiKey Operation
public virtual Task DeleteApiKeyAsync(DeleteApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDataSource
///
/// Deletes a DataSource
object.
///
/// Container for the necessary parameters to execute the DeleteDataSource service method.
///
/// The response from the DeleteDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteDataSource Operation
public virtual DeleteDataSourceResponse DeleteDataSource(DeleteDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDataSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a DataSource
object.
///
/// Container for the necessary parameters to execute the DeleteDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteDataSource Operation
public virtual Task DeleteDataSourceAsync(DeleteDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDataSourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDomainName
///
/// Deletes a custom DomainName
object.
///
/// Container for the necessary parameters to execute the DeleteDomainName service method.
///
/// The response from the DeleteDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for DeleteDomainName Operation
public virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom DomainName
object.
///
/// Container for the necessary parameters to execute the DeleteDomainName service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for DeleteDomainName Operation
public virtual Task DeleteDomainNameAsync(DeleteDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFunction
///
/// Deletes a Function
.
///
/// Container for the necessary parameters to execute the DeleteFunction service method.
///
/// The response from the DeleteFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteFunction Operation
public virtual DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Function
.
///
/// Container for the necessary parameters to execute the DeleteFunction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteFunction Operation
public virtual Task DeleteFunctionAsync(DeleteFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteGraphqlApi
///
/// Deletes a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the DeleteGraphqlApi service method.
///
/// The response from the DeleteGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteGraphqlApi Operation
public virtual DeleteGraphqlApiResponse DeleteGraphqlApi(DeleteGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the DeleteGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteGraphqlApi Operation
public virtual Task DeleteGraphqlApiAsync(DeleteGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResolver
///
/// Deletes a Resolver
object.
///
/// Container for the necessary parameters to execute the DeleteResolver service method.
///
/// The response from the DeleteResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteResolver Operation
public virtual DeleteResolverResponse DeleteResolver(DeleteResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Resolver
object.
///
/// Container for the necessary parameters to execute the DeleteResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteResolver Operation
public virtual Task DeleteResolverAsync(DeleteResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteType
///
/// Deletes a Type
object.
///
/// Container for the necessary parameters to execute the DeleteType service method.
///
/// The response from the DeleteType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteType Operation
public virtual DeleteTypeResponse DeleteType(DeleteTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Type
object.
///
/// Container for the necessary parameters to execute the DeleteType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DeleteType Operation
public virtual Task DeleteTypeAsync(DeleteTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateApi
///
/// Removes an ApiAssociation
object from a custom domain.
///
/// Container for the necessary parameters to execute the DisassociateApi service method.
///
/// The response from the DisassociateApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for DisassociateApi Operation
public virtual DisassociateApiResponse DisassociateApi(DisassociateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes an ApiAssociation
object from a custom domain.
///
/// Container for the necessary parameters to execute the DisassociateApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for DisassociateApi Operation
public virtual Task DisassociateApiAsync(DisassociateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateMergedGraphqlApi
///
/// Deletes an association between a Merged API and source API using the source API's
/// identifier and the association ID.
///
/// Container for the necessary parameters to execute the DisassociateMergedGraphqlApi service method.
///
/// The response from the DisassociateMergedGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DisassociateMergedGraphqlApi Operation
public virtual DisassociateMergedGraphqlApiResponse DisassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMergedGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an association between a Merged API and source API using the source API's
/// identifier and the association ID.
///
/// Container for the necessary parameters to execute the DisassociateMergedGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateMergedGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DisassociateMergedGraphqlApi Operation
public virtual Task DisassociateMergedGraphqlApiAsync(DisassociateMergedGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMergedGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateSourceGraphqlApi
///
/// Deletes an association between a Merged API and source API using the Merged API's
/// identifier and the association ID.
///
/// Container for the necessary parameters to execute the DisassociateSourceGraphqlApi service method.
///
/// The response from the DisassociateSourceGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DisassociateSourceGraphqlApi Operation
public virtual DisassociateSourceGraphqlApiResponse DisassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSourceGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an association between a Merged API and source API using the Merged API's
/// identifier and the association ID.
///
/// Container for the necessary parameters to execute the DisassociateSourceGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateSourceGraphqlApi service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for DisassociateSourceGraphqlApi Operation
public virtual Task DisassociateSourceGraphqlApiAsync(DisassociateSourceGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSourceGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EvaluateCode
///
/// Evaluates the given code and returns the response. The code definition requirements
/// depend on the specified runtime. For APPSYNC_JS
runtimes, the code defines
/// the request and response functions. The request function takes the incoming request
/// after a GraphQL operation is parsed and converts it into a request configuration for
/// the selected data source operation. The response function interprets responses from
/// the data source and maps it to the shape of the GraphQL field output type.
///
/// Container for the necessary parameters to execute the EvaluateCode service method.
///
/// The response from the EvaluateCode service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for EvaluateCode Operation
public virtual EvaluateCodeResponse EvaluateCode(EvaluateCodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateCodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateCodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Evaluates the given code and returns the response. The code definition requirements
/// depend on the specified runtime. For APPSYNC_JS
runtimes, the code defines
/// the request and response functions. The request function takes the incoming request
/// after a GraphQL operation is parsed and converts it into a request configuration for
/// the selected data source operation. The response function interprets responses from
/// the data source and maps it to the shape of the GraphQL field output type.
///
/// Container for the necessary parameters to execute the EvaluateCode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EvaluateCode service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for EvaluateCode Operation
public virtual Task EvaluateCodeAsync(EvaluateCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateCodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateCodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EvaluateMappingTemplate
///
/// 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).
///
///
/// Container for the necessary parameters to execute the EvaluateMappingTemplate service method.
///
/// The response from the EvaluateMappingTemplate service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for EvaluateMappingTemplate Operation
public virtual EvaluateMappingTemplateResponse EvaluateMappingTemplate(EvaluateMappingTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateMappingTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateMappingTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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).
///
///
/// Container for the necessary parameters to execute the EvaluateMappingTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EvaluateMappingTemplate service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for EvaluateMappingTemplate Operation
public virtual Task EvaluateMappingTemplateAsync(EvaluateMappingTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateMappingTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateMappingTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region FlushApiCache
///
/// Flushes an ApiCache
object.
///
/// Container for the necessary parameters to execute the FlushApiCache service method.
///
/// The response from the FlushApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for FlushApiCache Operation
public virtual FlushApiCacheResponse FlushApiCache(FlushApiCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushApiCacheResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Flushes an ApiCache
object.
///
/// Container for the necessary parameters to execute the FlushApiCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the FlushApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for FlushApiCache Operation
public virtual Task FlushApiCacheAsync(FlushApiCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushApiCacheResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetApiAssociation
///
/// Retrieves an ApiAssociation
object.
///
/// Container for the necessary parameters to execute the GetApiAssociation service method.
///
/// The response from the GetApiAssociation service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for GetApiAssociation Operation
public virtual GetApiAssociationResponse GetApiAssociation(GetApiAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves an ApiAssociation
object.
///
/// Container for the necessary parameters to execute the GetApiAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApiAssociation service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for GetApiAssociation Operation
public virtual Task GetApiAssociationAsync(GetApiAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetApiCache
///
/// Retrieves an ApiCache
object.
///
/// Container for the necessary parameters to execute the GetApiCache service method.
///
/// The response from the GetApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetApiCache Operation
public virtual GetApiCacheResponse GetApiCache(GetApiCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiCacheResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves an ApiCache
object.
///
/// Container for the necessary parameters to execute the GetApiCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetApiCache Operation
public virtual Task GetApiCacheAsync(GetApiCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiCacheResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataSource
///
/// Retrieves a DataSource
object.
///
/// Container for the necessary parameters to execute the GetDataSource service method.
///
/// The response from the GetDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetDataSource Operation
public virtual GetDataSourceResponse GetDataSource(GetDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a DataSource
object.
///
/// Container for the necessary parameters to execute the GetDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetDataSource Operation
public virtual Task GetDataSourceAsync(GetDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataSourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDomainName
///
/// Retrieves a custom DomainName
object.
///
/// Container for the necessary parameters to execute the GetDomainName service method.
///
/// The response from the GetDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for GetDomainName Operation
public virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a custom DomainName
object.
///
/// Container for the necessary parameters to execute the GetDomainName service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for GetDomainName Operation
public virtual Task GetDomainNameAsync(GetDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFunction
///
/// Get a Function
.
///
/// Container for the necessary parameters to execute the GetFunction service method.
///
/// The response from the GetFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetFunction Operation
public virtual GetFunctionResponse GetFunction(GetFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get a Function
.
///
/// Container for the necessary parameters to execute the GetFunction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetFunction Operation
public virtual Task GetFunctionAsync(GetFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetGraphqlApi
///
/// Retrieves a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the GetGraphqlApi service method.
///
/// The response from the GetGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetGraphqlApi Operation
public virtual GetGraphqlApiResponse GetGraphqlApi(GetGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the GetGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetGraphqlApi Operation
public virtual Task GetGraphqlApiAsync(GetGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetIntrospectionSchema
///
/// Retrieves the introspection schema for a GraphQL API.
///
/// Container for the necessary parameters to execute the GetIntrospectionSchema service method.
///
/// The response from the GetIntrospectionSchema service method, as returned by AppSync.
///
/// The GraphQL schema is not valid.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetIntrospectionSchema Operation
public virtual GetIntrospectionSchemaResponse GetIntrospectionSchema(GetIntrospectionSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntrospectionSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntrospectionSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the introspection schema for a GraphQL API.
///
/// Container for the necessary parameters to execute the GetIntrospectionSchema service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetIntrospectionSchema service method, as returned by AppSync.
///
/// The GraphQL schema is not valid.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetIntrospectionSchema Operation
public virtual Task GetIntrospectionSchemaAsync(GetIntrospectionSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntrospectionSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntrospectionSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolver
///
/// Retrieves a Resolver
object.
///
/// Container for the necessary parameters to execute the GetResolver service method.
///
/// The response from the GetResolver service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetResolver Operation
public virtual GetResolverResponse GetResolver(GetResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a Resolver
object.
///
/// Container for the necessary parameters to execute the GetResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolver service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetResolver Operation
public virtual Task GetResolverAsync(GetResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSchemaCreationStatus
///
/// Retrieves the current status of a schema creation operation.
///
/// Container for the necessary parameters to execute the GetSchemaCreationStatus service method.
///
/// The response from the GetSchemaCreationStatus service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetSchemaCreationStatus Operation
public virtual GetSchemaCreationStatusResponse GetSchemaCreationStatus(GetSchemaCreationStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaCreationStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the current status of a schema creation operation.
///
/// Container for the necessary parameters to execute the GetSchemaCreationStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSchemaCreationStatus service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetSchemaCreationStatus Operation
public virtual Task GetSchemaCreationStatusAsync(GetSchemaCreationStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaCreationStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSourceApiAssociation
///
/// Retrieves a SourceApiAssociation
object.
///
/// Container for the necessary parameters to execute the GetSourceApiAssociation service method.
///
/// The response from the GetSourceApiAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetSourceApiAssociation Operation
public virtual GetSourceApiAssociationResponse GetSourceApiAssociation(GetSourceApiAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSourceApiAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a SourceApiAssociation
object.
///
/// Container for the necessary parameters to execute the GetSourceApiAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSourceApiAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetSourceApiAssociation Operation
public virtual Task GetSourceApiAssociationAsync(GetSourceApiAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSourceApiAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetType
///
/// Retrieves a Type
object.
///
/// Container for the necessary parameters to execute the GetType service method.
///
/// The response from the GetType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetType Operation
public virtual GetTypeResponse GetType(GetTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a Type
object.
///
/// Container for the necessary parameters to execute the GetType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for GetType Operation
public virtual Task GetTypeAsync(GetTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApiKeys
///
/// 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 DeleteApiKey
to manually delete a key before it's automatically
/// deleted.
///
///
///
/// Container for the necessary parameters to execute the ListApiKeys service method.
///
/// The response from the ListApiKeys service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListApiKeys Operation
public virtual ListApiKeysResponse ListApiKeys(ListApiKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApiKeysResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 DeleteApiKey
to manually delete a key before it's automatically
/// deleted.
///
///
///
/// Container for the necessary parameters to execute the ListApiKeys service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApiKeys service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListApiKeys Operation
public virtual Task ListApiKeysAsync(ListApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApiKeysResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDataSources
///
/// Lists the data sources for a given API.
///
/// Container for the necessary parameters to execute the ListDataSources service method.
///
/// The response from the ListDataSources service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListDataSources Operation
public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataSourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataSourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the data sources for a given API.
///
/// Container for the necessary parameters to execute the ListDataSources service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDataSources service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListDataSources Operation
public virtual Task ListDataSourcesAsync(ListDataSourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataSourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataSourcesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomainNames
///
/// Lists multiple custom domain names.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// The response from the ListDomainNames service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for ListDomainNames Operation
public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists multiple custom domain names.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainNames service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
/// REST API Reference for ListDomainNames Operation
public virtual Task ListDomainNamesAsync(ListDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFunctions
///
/// List multiple functions.
///
/// Container for the necessary parameters to execute the ListFunctions service method.
///
/// The response from the ListFunctions service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListFunctions Operation
public virtual ListFunctionsResponse ListFunctions(ListFunctionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List multiple functions.
///
/// Container for the necessary parameters to execute the ListFunctions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFunctions service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListFunctions Operation
public virtual Task ListFunctionsAsync(ListFunctionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListGraphqlApis
///
/// Lists your GraphQL APIs.
///
/// Container for the necessary parameters to execute the ListGraphqlApis service method.
///
/// The response from the ListGraphqlApis service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListGraphqlApis Operation
public virtual ListGraphqlApisResponse ListGraphqlApis(ListGraphqlApisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListGraphqlApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListGraphqlApisResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists your GraphQL APIs.
///
/// Container for the necessary parameters to execute the ListGraphqlApis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListGraphqlApis service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListGraphqlApis Operation
public virtual Task ListGraphqlApisAsync(ListGraphqlApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListGraphqlApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListGraphqlApisResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolvers
///
/// Lists the resolvers for a given API and type.
///
/// Container for the necessary parameters to execute the ListResolvers service method.
///
/// The response from the ListResolvers service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListResolvers Operation
public virtual ListResolversResponse ListResolvers(ListResolversRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the resolvers for a given API and type.
///
/// Container for the necessary parameters to execute the ListResolvers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolvers service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListResolvers Operation
public virtual Task ListResolversAsync(ListResolversRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolversByFunction
///
/// List the resolvers that are associated with a specific function.
///
/// Container for the necessary parameters to execute the ListResolversByFunction service method.
///
/// The response from the ListResolversByFunction service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListResolversByFunction Operation
public virtual ListResolversByFunctionResponse ListResolversByFunction(ListResolversByFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversByFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversByFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the resolvers that are associated with a specific function.
///
/// Container for the necessary parameters to execute the ListResolversByFunction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolversByFunction service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListResolversByFunction Operation
public virtual Task ListResolversByFunctionAsync(ListResolversByFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversByFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversByFunctionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSourceApiAssociations
///
/// Lists the SourceApiAssociationSummary
data.
///
/// Container for the necessary parameters to execute the ListSourceApiAssociations service method.
///
/// The response from the ListSourceApiAssociations service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListSourceApiAssociations Operation
public virtual ListSourceApiAssociationsResponse ListSourceApiAssociations(ListSourceApiAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSourceApiAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSourceApiAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the SourceApiAssociationSummary
data.
///
/// Container for the necessary parameters to execute the ListSourceApiAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSourceApiAssociations service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListSourceApiAssociations Operation
public virtual Task ListSourceApiAssociationsAsync(ListSourceApiAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSourceApiAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSourceApiAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Lists the tags for a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags for a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTypes
///
/// Lists the types for a given API.
///
/// Container for the necessary parameters to execute the ListTypes service method.
///
/// The response from the ListTypes service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTypes Operation
public virtual ListTypesResponse ListTypes(ListTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the types for a given API.
///
/// Container for the necessary parameters to execute the ListTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTypes service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTypes Operation
public virtual Task ListTypesAsync(ListTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTypesByAssociation
///
/// Lists Type
objects by the source API association ID.
///
/// Container for the necessary parameters to execute the ListTypesByAssociation service method.
///
/// The response from the ListTypesByAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTypesByAssociation Operation
public virtual ListTypesByAssociationResponse ListTypesByAssociation(ListTypesByAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesByAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesByAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists Type
objects by the source API association ID.
///
/// Container for the necessary parameters to execute the ListTypesByAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTypesByAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for ListTypesByAssociation Operation
public virtual Task ListTypesByAssociationAsync(ListTypesByAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesByAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesByAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSchemaCreation
///
/// Adds a new schema to your GraphQL API.
///
///
///
/// This operation is asynchronous. Use to determine when it has completed.
///
///
/// Container for the necessary parameters to execute the StartSchemaCreation service method.
///
/// The response from the StartSchemaCreation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for StartSchemaCreation Operation
public virtual StartSchemaCreationResponse StartSchemaCreation(StartSchemaCreationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaCreationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaCreationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a new schema to your GraphQL API.
///
///
///
/// This operation is asynchronous. Use to determine when it has completed.
///
///
/// Container for the necessary parameters to execute the StartSchemaCreation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartSchemaCreation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for StartSchemaCreation Operation
public virtual Task StartSchemaCreationAsync(StartSchemaCreationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaCreationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaCreationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSchemaMerge
///
/// Initiates a merge operation. Returns a status that shows the result of the merge operation.
///
/// Container for the necessary parameters to execute the StartSchemaMerge service method.
///
/// The response from the StartSchemaMerge service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for StartSchemaMerge Operation
public virtual StartSchemaMergeResponse StartSchemaMerge(StartSchemaMergeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaMergeRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaMergeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates a merge operation. Returns a status that shows the result of the merge operation.
///
/// Container for the necessary parameters to execute the StartSchemaMerge service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartSchemaMerge service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for StartSchemaMerge Operation
public virtual Task StartSchemaMergeAsync(StartSchemaMergeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaMergeRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaMergeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Tags a resource with user-supplied tags.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Tags a resource with user-supplied tags.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Untags a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Untags a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApiCache
///
/// Updates the cache for the GraphQL API.
///
/// Container for the necessary parameters to execute the UpdateApiCache service method.
///
/// The response from the UpdateApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateApiCache Operation
public virtual UpdateApiCacheResponse UpdateApiCache(UpdateApiCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiCacheResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the cache for the GraphQL API.
///
/// Container for the necessary parameters to execute the UpdateApiCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApiCache service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateApiCache Operation
public virtual Task UpdateApiCacheAsync(UpdateApiCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiCacheResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApiKey
///
/// Updates an API key. You can update the key as long as it's not deleted.
///
/// Container for the necessary parameters to execute the UpdateApiKey service method.
///
/// The response from the UpdateApiKey service method, as returned by AppSync.
///
/// The API key expiration must be set to a value between 1 and 365 days from creation
/// (for CreateApiKey
) or from update (for UpdateApiKey
).
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateApiKey Operation
public virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an API key. You can update the key as long as it's not deleted.
///
/// Container for the necessary parameters to execute the UpdateApiKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApiKey service method, as returned by AppSync.
///
/// The API key expiration must be set to a value between 1 and 365 days from creation
/// (for CreateApiKey
) or from update (for UpdateApiKey
).
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The request exceeded a limit. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateApiKey Operation
public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDataSource
///
/// Updates a DataSource
object.
///
/// Container for the necessary parameters to execute the UpdateDataSource service method.
///
/// The response from the UpdateDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateDataSource Operation
public virtual UpdateDataSourceResponse UpdateDataSource(UpdateDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a DataSource
object.
///
/// Container for the necessary parameters to execute the UpdateDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDataSource service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateDataSource Operation
public virtual Task UpdateDataSourceAsync(UpdateDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataSourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDomainName
///
/// Updates a custom DomainName
object.
///
/// Container for the necessary parameters to execute the UpdateDomainName service method.
///
/// The response from the UpdateDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for UpdateDomainName Operation
public virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a custom DomainName
object.
///
/// Container for the necessary parameters to execute the UpdateDomainName service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomainName service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
/// REST API Reference for UpdateDomainName Operation
public virtual Task UpdateDomainNameAsync(UpdateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFunction
///
/// Updates a Function
object.
///
/// Container for the necessary parameters to execute the UpdateFunction service method.
///
/// The response from the UpdateFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateFunction Operation
public virtual UpdateFunctionResponse UpdateFunction(UpdateFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a Function
object.
///
/// Container for the necessary parameters to execute the UpdateFunction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFunction service method, as returned by AppSync.
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateFunction Operation
public virtual Task UpdateFunctionAsync(UpdateFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateGraphqlApi
///
/// Updates a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the UpdateGraphqlApi service method.
///
/// The response from the UpdateGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateGraphqlApi Operation
public virtual UpdateGraphqlApiResponse UpdateGraphqlApi(UpdateGraphqlApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGraphqlApiResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a GraphqlApi
object.
///
/// Container for the necessary parameters to execute the UpdateGraphqlApi service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateGraphqlApi service method, as returned by AppSync.
///
/// You don't have access to perform this operation on this resource.
///
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateGraphqlApi Operation
public virtual Task UpdateGraphqlApiAsync(UpdateGraphqlApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGraphqlApiResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResolver
///
/// Updates a Resolver
object.
///
/// Container for the necessary parameters to execute the UpdateResolver service method.
///
/// The response from the UpdateResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateResolver Operation
public virtual UpdateResolverResponse UpdateResolver(UpdateResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a Resolver
object.
///
/// Container for the necessary parameters to execute the UpdateResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResolver service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateResolver Operation
public virtual Task UpdateResolverAsync(UpdateResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSourceApiAssociation
///
/// Updates some of the configuration choices of a particular source API association.
///
/// Container for the necessary parameters to execute the UpdateSourceApiAssociation service method.
///
/// The response from the UpdateSourceApiAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateSourceApiAssociation Operation
public virtual UpdateSourceApiAssociationResponse UpdateSourceApiAssociation(UpdateSourceApiAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSourceApiAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates some of the configuration choices of a particular source API association.
///
/// Container for the necessary parameters to execute the UpdateSourceApiAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSourceApiAssociation service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateSourceApiAssociation Operation
public virtual Task UpdateSourceApiAssociationAsync(UpdateSourceApiAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSourceApiAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateType
///
/// Updates a Type
object.
///
/// Container for the necessary parameters to execute the UpdateType service method.
///
/// The response from the UpdateType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateType Operation
public virtual UpdateTypeResponse UpdateType(UpdateTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a Type
object.
///
/// Container for the necessary parameters to execute the UpdateType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateType service method, as returned by AppSync.
///
/// The request is not well formed. For example, a value is invalid or a required field
/// is missing. Check the field values, and then try again.
///
///
/// Another modification is in progress at this time and it must complete before you can
/// make your change.
///
///
/// An internal AppSync error occurred. Try your request again.
///
///
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
///
///
/// You aren't authorized to perform this operation.
///
/// REST API Reference for UpdateType Operation
public virtual Task UpdateTypeAsync(UpdateTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}