/*
* 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.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);
}
///
/// Initiates the asynchronous execution of the AssociateApi operation.
///
///
/// Container for the necessary parameters to execute the AssociateApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApi
/// operation.
/// REST API Reference for AssociateApi Operation
public virtual IAsyncResult BeginAssociateApi(AssociateApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateApi operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateApi.
///
/// Returns a AssociateApiResult from AppSync.
/// REST API Reference for AssociateApi Operation
public virtual AssociateApiResponse EndAssociateApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AssociateMergedGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the AssociateMergedGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateMergedGraphqlApi
/// operation.
/// REST API Reference for AssociateMergedGraphqlApi Operation
public virtual IAsyncResult BeginAssociateMergedGraphqlApi(AssociateMergedGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMergedGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateMergedGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateMergedGraphqlApi.
///
/// Returns a AssociateMergedGraphqlApiResult from AppSync.
/// REST API Reference for AssociateMergedGraphqlApi Operation
public virtual AssociateMergedGraphqlApiResponse EndAssociateMergedGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AssociateSourceGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the AssociateSourceGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateSourceGraphqlApi
/// operation.
/// REST API Reference for AssociateSourceGraphqlApi Operation
public virtual IAsyncResult BeginAssociateSourceGraphqlApi(AssociateSourceGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateSourceGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateSourceGraphqlApi.
///
/// Returns a AssociateSourceGraphqlApiResult from AppSync.
/// REST API Reference for AssociateSourceGraphqlApi Operation
public virtual AssociateSourceGraphqlApiResponse EndAssociateSourceGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateApiCache operation.
///
///
/// Container for the necessary parameters to execute the CreateApiCache operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApiCache
/// operation.
/// REST API Reference for CreateApiCache Operation
public virtual IAsyncResult BeginCreateApiCache(CreateApiCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateApiCache operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApiCache.
///
/// Returns a CreateApiCacheResult from AppSync.
/// REST API Reference for CreateApiCache Operation
public virtual CreateApiCacheResponse EndCreateApiCache(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateApiKey operation.
///
///
/// Container for the necessary parameters to execute the CreateApiKey operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApiKey
/// operation.
/// REST API Reference for CreateApiKey Operation
public virtual IAsyncResult BeginCreateApiKey(CreateApiKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateApiKey operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApiKey.
///
/// Returns a CreateApiKeyResult from AppSync.
/// REST API Reference for CreateApiKey Operation
public virtual CreateApiKeyResponse EndCreateApiKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateDataSource operation.
///
///
/// Container for the necessary parameters to execute the CreateDataSource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDataSource
/// operation.
/// REST API Reference for CreateDataSource Operation
public virtual IAsyncResult BeginCreateDataSource(CreateDataSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDataSource operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDataSource.
///
/// Returns a CreateDataSourceResult from AppSync.
/// REST API Reference for CreateDataSource Operation
public virtual CreateDataSourceResponse EndCreateDataSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateDomainName operation.
///
///
/// Container for the necessary parameters to execute the CreateDomainName operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomainName
/// operation.
/// REST API Reference for CreateDomainName Operation
public virtual IAsyncResult BeginCreateDomainName(CreateDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDomainName operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDomainName.
///
/// Returns a CreateDomainNameResult from AppSync.
/// REST API Reference for CreateDomainName Operation
public virtual CreateDomainNameResponse EndCreateDomainName(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateFunction operation.
///
///
/// Container for the necessary parameters to execute the CreateFunction operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFunction
/// operation.
/// REST API Reference for CreateFunction Operation
public virtual IAsyncResult BeginCreateFunction(CreateFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFunction.
///
/// Returns a CreateFunctionResult from AppSync.
/// REST API Reference for CreateFunction Operation
public virtual CreateFunctionResponse EndCreateFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the CreateGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGraphqlApi
/// operation.
/// REST API Reference for CreateGraphqlApi Operation
public virtual IAsyncResult BeginCreateGraphqlApi(CreateGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateGraphqlApi.
///
/// Returns a CreateGraphqlApiResult from AppSync.
/// REST API Reference for CreateGraphqlApi Operation
public virtual CreateGraphqlApiResponse EndCreateGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateResolver operation.
///
///
/// Container for the necessary parameters to execute the CreateResolver operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResolver
/// operation.
/// REST API Reference for CreateResolver Operation
public virtual IAsyncResult BeginCreateResolver(CreateResolverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateResolver operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateResolver.
///
/// Returns a CreateResolverResult from AppSync.
/// REST API Reference for CreateResolver Operation
public virtual CreateResolverResponse EndCreateResolver(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateType operation.
///
///
/// Container for the necessary parameters to execute the CreateType operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateType
/// operation.
/// REST API Reference for CreateType Operation
public virtual IAsyncResult BeginCreateType(CreateTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateType operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateType.
///
/// Returns a CreateTypeResult from AppSync.
/// REST API Reference for CreateType Operation
public virtual CreateTypeResponse EndCreateType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteApiCache operation.
///
///
/// Container for the necessary parameters to execute the DeleteApiCache operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApiCache
/// operation.
/// REST API Reference for DeleteApiCache Operation
public virtual IAsyncResult BeginDeleteApiCache(DeleteApiCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApiCache operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApiCache.
///
/// Returns a DeleteApiCacheResult from AppSync.
/// REST API Reference for DeleteApiCache Operation
public virtual DeleteApiCacheResponse EndDeleteApiCache(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteApiKey operation.
///
///
/// Container for the necessary parameters to execute the DeleteApiKey operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApiKey
/// operation.
/// REST API Reference for DeleteApiKey Operation
public virtual IAsyncResult BeginDeleteApiKey(DeleteApiKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApiKey operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApiKey.
///
/// Returns a DeleteApiKeyResult from AppSync.
/// REST API Reference for DeleteApiKey Operation
public virtual DeleteApiKeyResponse EndDeleteApiKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteDataSource operation.
///
///
/// Container for the necessary parameters to execute the DeleteDataSource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDataSource
/// operation.
/// REST API Reference for DeleteDataSource Operation
public virtual IAsyncResult BeginDeleteDataSource(DeleteDataSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDataSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDataSource operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDataSource.
///
/// Returns a DeleteDataSourceResult from AppSync.
/// REST API Reference for DeleteDataSource Operation
public virtual DeleteDataSourceResponse EndDeleteDataSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteDomainName operation.
///
///
/// Container for the necessary parameters to execute the DeleteDomainName operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainName
/// operation.
/// REST API Reference for DeleteDomainName Operation
public virtual IAsyncResult BeginDeleteDomainName(DeleteDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDomainName operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDomainName.
///
/// Returns a DeleteDomainNameResult from AppSync.
/// REST API Reference for DeleteDomainName Operation
public virtual DeleteDomainNameResponse EndDeleteDomainName(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteFunction operation.
///
///
/// Container for the necessary parameters to execute the DeleteFunction operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFunction
/// operation.
/// REST API Reference for DeleteFunction Operation
public virtual IAsyncResult BeginDeleteFunction(DeleteFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFunction.
///
/// Returns a DeleteFunctionResult from AppSync.
/// REST API Reference for DeleteFunction Operation
public virtual DeleteFunctionResponse EndDeleteFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the DeleteGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGraphqlApi
/// operation.
/// REST API Reference for DeleteGraphqlApi Operation
public virtual IAsyncResult BeginDeleteGraphqlApi(DeleteGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteGraphqlApi.
///
/// Returns a DeleteGraphqlApiResult from AppSync.
/// REST API Reference for DeleteGraphqlApi Operation
public virtual DeleteGraphqlApiResponse EndDeleteGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteResolver operation.
///
///
/// Container for the necessary parameters to execute the DeleteResolver operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResolver
/// operation.
/// REST API Reference for DeleteResolver Operation
public virtual IAsyncResult BeginDeleteResolver(DeleteResolverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResolver operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResolver.
///
/// Returns a DeleteResolverResult from AppSync.
/// REST API Reference for DeleteResolver Operation
public virtual DeleteResolverResponse EndDeleteResolver(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteType operation.
///
///
/// Container for the necessary parameters to execute the DeleteType operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteType
/// operation.
/// REST API Reference for DeleteType Operation
public virtual IAsyncResult BeginDeleteType(DeleteTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteType.
///
/// Returns a DeleteTypeResult from AppSync.
/// REST API Reference for DeleteType Operation
public virtual DeleteTypeResponse EndDeleteType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DisassociateApi operation.
///
///
/// Container for the necessary parameters to execute the DisassociateApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApi
/// operation.
/// REST API Reference for DisassociateApi Operation
public virtual IAsyncResult BeginDisassociateApi(DisassociateApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateApi operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateApi.
///
/// Returns a DisassociateApiResult from AppSync.
/// REST API Reference for DisassociateApi Operation
public virtual DisassociateApiResponse EndDisassociateApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DisassociateMergedGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the DisassociateMergedGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateMergedGraphqlApi
/// operation.
/// REST API Reference for DisassociateMergedGraphqlApi Operation
public virtual IAsyncResult BeginDisassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMergedGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMergedGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateMergedGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateMergedGraphqlApi.
///
/// Returns a DisassociateMergedGraphqlApiResult from AppSync.
/// REST API Reference for DisassociateMergedGraphqlApi Operation
public virtual DisassociateMergedGraphqlApiResponse EndDisassociateMergedGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DisassociateSourceGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the DisassociateSourceGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateSourceGraphqlApi
/// operation.
/// REST API Reference for DisassociateSourceGraphqlApi Operation
public virtual IAsyncResult BeginDisassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSourceGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSourceGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateSourceGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateSourceGraphqlApi.
///
/// Returns a DisassociateSourceGraphqlApiResult from AppSync.
/// REST API Reference for DisassociateSourceGraphqlApi Operation
public virtual DisassociateSourceGraphqlApiResponse EndDisassociateSourceGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the EvaluateCode operation.
///
///
/// Container for the necessary parameters to execute the EvaluateCode operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEvaluateCode
/// operation.
/// REST API Reference for EvaluateCode Operation
public virtual IAsyncResult BeginEvaluateCode(EvaluateCodeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateCodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateCodeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the EvaluateCode operation.
///
///
/// The IAsyncResult returned by the call to BeginEvaluateCode.
///
/// Returns a EvaluateCodeResult from AppSync.
/// REST API Reference for EvaluateCode Operation
public virtual EvaluateCodeResponse EndEvaluateCode(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the EvaluateMappingTemplate operation.
///
///
/// Container for the necessary parameters to execute the EvaluateMappingTemplate operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEvaluateMappingTemplate
/// operation.
/// REST API Reference for EvaluateMappingTemplate Operation
public virtual IAsyncResult BeginEvaluateMappingTemplate(EvaluateMappingTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateMappingTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateMappingTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the EvaluateMappingTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginEvaluateMappingTemplate.
///
/// Returns a EvaluateMappingTemplateResult from AppSync.
/// REST API Reference for EvaluateMappingTemplate Operation
public virtual EvaluateMappingTemplateResponse EndEvaluateMappingTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the FlushApiCache operation.
///
///
/// Container for the necessary parameters to execute the FlushApiCache operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndFlushApiCache
/// operation.
/// REST API Reference for FlushApiCache Operation
public virtual IAsyncResult BeginFlushApiCache(FlushApiCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushApiCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the FlushApiCache operation.
///
///
/// The IAsyncResult returned by the call to BeginFlushApiCache.
///
/// Returns a FlushApiCacheResult from AppSync.
/// REST API Reference for FlushApiCache Operation
public virtual FlushApiCacheResponse EndFlushApiCache(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetApiAssociation operation.
///
///
/// Container for the necessary parameters to execute the GetApiAssociation operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApiAssociation
/// operation.
/// REST API Reference for GetApiAssociation Operation
public virtual IAsyncResult BeginGetApiAssociation(GetApiAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetApiAssociation operation.
///
///
/// The IAsyncResult returned by the call to BeginGetApiAssociation.
///
/// Returns a GetApiAssociationResult from AppSync.
/// REST API Reference for GetApiAssociation Operation
public virtual GetApiAssociationResponse EndGetApiAssociation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetApiCache operation.
///
///
/// Container for the necessary parameters to execute the GetApiCache operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApiCache
/// operation.
/// REST API Reference for GetApiCache Operation
public virtual IAsyncResult BeginGetApiCache(GetApiCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetApiCache operation.
///
///
/// The IAsyncResult returned by the call to BeginGetApiCache.
///
/// Returns a GetApiCacheResult from AppSync.
/// REST API Reference for GetApiCache Operation
public virtual GetApiCacheResponse EndGetApiCache(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetDataSource operation.
///
///
/// Container for the necessary parameters to execute the GetDataSource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDataSource
/// operation.
/// REST API Reference for GetDataSource Operation
public virtual IAsyncResult BeginGetDataSource(GetDataSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDataSource operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDataSource.
///
/// Returns a GetDataSourceResult from AppSync.
/// REST API Reference for GetDataSource Operation
public virtual GetDataSourceResponse EndGetDataSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetDomainName operation.
///
///
/// Container for the necessary parameters to execute the GetDomainName operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainName
/// operation.
/// REST API Reference for GetDomainName Operation
public virtual IAsyncResult BeginGetDomainName(GetDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDomainName operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDomainName.
///
/// Returns a GetDomainNameResult from AppSync.
/// REST API Reference for GetDomainName Operation
public virtual GetDomainNameResponse EndGetDomainName(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetFunction operation.
///
///
/// Container for the necessary parameters to execute the GetFunction operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFunction
/// operation.
/// REST API Reference for GetFunction Operation
public virtual IAsyncResult BeginGetFunction(GetFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFunction.
///
/// Returns a GetFunctionResult from AppSync.
/// REST API Reference for GetFunction Operation
public virtual GetFunctionResponse EndGetFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the GetGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGraphqlApi
/// operation.
/// REST API Reference for GetGraphqlApi Operation
public virtual IAsyncResult BeginGetGraphqlApi(GetGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginGetGraphqlApi.
///
/// Returns a GetGraphqlApiResult from AppSync.
/// REST API Reference for GetGraphqlApi Operation
public virtual GetGraphqlApiResponse EndGetGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetIntrospectionSchema operation.
///
///
/// Container for the necessary parameters to execute the GetIntrospectionSchema operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIntrospectionSchema
/// operation.
/// REST API Reference for GetIntrospectionSchema Operation
public virtual IAsyncResult BeginGetIntrospectionSchema(GetIntrospectionSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntrospectionSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntrospectionSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetIntrospectionSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginGetIntrospectionSchema.
///
/// Returns a GetIntrospectionSchemaResult from AppSync.
/// REST API Reference for GetIntrospectionSchema Operation
public virtual GetIntrospectionSchemaResponse EndGetIntrospectionSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetResolver operation.
///
///
/// Container for the necessary parameters to execute the GetResolver operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResolver
/// operation.
/// REST API Reference for GetResolver Operation
public virtual IAsyncResult BeginGetResolver(GetResolverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetResolver operation.
///
///
/// The IAsyncResult returned by the call to BeginGetResolver.
///
/// Returns a GetResolverResult from AppSync.
/// REST API Reference for GetResolver Operation
public virtual GetResolverResponse EndGetResolver(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetSchemaCreationStatus operation.
///
///
/// Container for the necessary parameters to execute the GetSchemaCreationStatus operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchemaCreationStatus
/// operation.
/// REST API Reference for GetSchemaCreationStatus Operation
public virtual IAsyncResult BeginGetSchemaCreationStatus(GetSchemaCreationStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaCreationStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetSchemaCreationStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginGetSchemaCreationStatus.
///
/// Returns a GetSchemaCreationStatusResult from AppSync.
/// REST API Reference for GetSchemaCreationStatus Operation
public virtual GetSchemaCreationStatusResponse EndGetSchemaCreationStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetSourceApiAssociation operation.
///
///
/// Container for the necessary parameters to execute the GetSourceApiAssociation operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSourceApiAssociation
/// operation.
/// REST API Reference for GetSourceApiAssociation Operation
public virtual IAsyncResult BeginGetSourceApiAssociation(GetSourceApiAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSourceApiAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetSourceApiAssociation operation.
///
///
/// The IAsyncResult returned by the call to BeginGetSourceApiAssociation.
///
/// Returns a GetSourceApiAssociationResult from AppSync.
/// REST API Reference for GetSourceApiAssociation Operation
public virtual GetSourceApiAssociationResponse EndGetSourceApiAssociation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetType operation.
///
///
/// Container for the necessary parameters to execute the GetType operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetType
/// operation.
/// REST API Reference for GetType Operation
public virtual IAsyncResult BeginGetType(GetTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetType operation.
///
///
/// The IAsyncResult returned by the call to BeginGetType.
///
/// Returns a GetTypeResult from AppSync.
/// REST API Reference for GetType Operation
public virtual GetTypeResponse EndGetType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListApiKeys operation.
///
///
/// Container for the necessary parameters to execute the ListApiKeys operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApiKeys
/// operation.
/// REST API Reference for ListApiKeys Operation
public virtual IAsyncResult BeginListApiKeys(ListApiKeysRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApiKeysResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListApiKeys operation.
///
///
/// The IAsyncResult returned by the call to BeginListApiKeys.
///
/// Returns a ListApiKeysResult from AppSync.
/// REST API Reference for ListApiKeys Operation
public virtual ListApiKeysResponse EndListApiKeys(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListDataSources operation.
///
///
/// Container for the necessary parameters to execute the ListDataSources operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDataSources
/// operation.
/// REST API Reference for ListDataSources Operation
public virtual IAsyncResult BeginListDataSources(ListDataSourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataSourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataSourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDataSources operation.
///
///
/// The IAsyncResult returned by the call to BeginListDataSources.
///
/// Returns a ListDataSourcesResult from AppSync.
/// REST API Reference for ListDataSources Operation
public virtual ListDataSourcesResponse EndListDataSources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListDomainNames operation.
///
///
/// Container for the necessary parameters to execute the ListDomainNames operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainNames
/// operation.
/// REST API Reference for ListDomainNames Operation
public virtual IAsyncResult BeginListDomainNames(ListDomainNamesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDomainNames operation.
///
///
/// The IAsyncResult returned by the call to BeginListDomainNames.
///
/// Returns a ListDomainNamesResult from AppSync.
/// REST API Reference for ListDomainNames Operation
public virtual ListDomainNamesResponse EndListDomainNames(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListFunctions operation.
///
///
/// Container for the necessary parameters to execute the ListFunctions operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFunctions
/// operation.
/// REST API Reference for ListFunctions Operation
public virtual IAsyncResult BeginListFunctions(ListFunctionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFunctions operation.
///
///
/// The IAsyncResult returned by the call to BeginListFunctions.
///
/// Returns a ListFunctionsResult from AppSync.
/// REST API Reference for ListFunctions Operation
public virtual ListFunctionsResponse EndListFunctions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListGraphqlApis operation.
///
///
/// Container for the necessary parameters to execute the ListGraphqlApis operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGraphqlApis
/// operation.
/// REST API Reference for ListGraphqlApis Operation
public virtual IAsyncResult BeginListGraphqlApis(ListGraphqlApisRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListGraphqlApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListGraphqlApisResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListGraphqlApis operation.
///
///
/// The IAsyncResult returned by the call to BeginListGraphqlApis.
///
/// Returns a ListGraphqlApisResult from AppSync.
/// REST API Reference for ListGraphqlApis Operation
public virtual ListGraphqlApisResponse EndListGraphqlApis(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListResolvers operation.
///
///
/// Container for the necessary parameters to execute the ListResolvers operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResolvers
/// operation.
/// REST API Reference for ListResolvers Operation
public virtual IAsyncResult BeginListResolvers(ListResolversRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListResolvers operation.
///
///
/// The IAsyncResult returned by the call to BeginListResolvers.
///
/// Returns a ListResolversResult from AppSync.
/// REST API Reference for ListResolvers Operation
public virtual ListResolversResponse EndListResolvers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListResolversByFunction operation.
///
///
/// Container for the necessary parameters to execute the ListResolversByFunction operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResolversByFunction
/// operation.
/// REST API Reference for ListResolversByFunction Operation
public virtual IAsyncResult BeginListResolversByFunction(ListResolversByFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolversByFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolversByFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListResolversByFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginListResolversByFunction.
///
/// Returns a ListResolversByFunctionResult from AppSync.
/// REST API Reference for ListResolversByFunction Operation
public virtual ListResolversByFunctionResponse EndListResolversByFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListSourceApiAssociations operation.
///
///
/// Container for the necessary parameters to execute the ListSourceApiAssociations operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSourceApiAssociations
/// operation.
/// REST API Reference for ListSourceApiAssociations Operation
public virtual IAsyncResult BeginListSourceApiAssociations(ListSourceApiAssociationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSourceApiAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSourceApiAssociationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSourceApiAssociations operation.
///
///
/// The IAsyncResult returned by the call to BeginListSourceApiAssociations.
///
/// Returns a ListSourceApiAssociationsResult from AppSync.
/// REST API Reference for ListSourceApiAssociations Operation
public virtual ListSourceApiAssociationsResponse EndListSourceApiAssociations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from AppSync.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTypes operation.
///
///
/// Container for the necessary parameters to execute the ListTypes operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTypes
/// operation.
/// REST API Reference for ListTypes Operation
public virtual IAsyncResult BeginListTypes(ListTypesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginListTypes.
///
/// Returns a ListTypesResult from AppSync.
/// REST API Reference for ListTypes Operation
public virtual ListTypesResponse EndListTypes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTypesByAssociation operation.
///
///
/// Container for the necessary parameters to execute the ListTypesByAssociation operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTypesByAssociation
/// operation.
/// REST API Reference for ListTypesByAssociation Operation
public virtual IAsyncResult BeginListTypesByAssociation(ListTypesByAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypesByAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypesByAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTypesByAssociation operation.
///
///
/// The IAsyncResult returned by the call to BeginListTypesByAssociation.
///
/// Returns a ListTypesByAssociationResult from AppSync.
/// REST API Reference for ListTypesByAssociation Operation
public virtual ListTypesByAssociationResponse EndListTypesByAssociation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the StartSchemaCreation operation.
///
///
/// Container for the necessary parameters to execute the StartSchemaCreation operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartSchemaCreation
/// operation.
/// REST API Reference for StartSchemaCreation Operation
public virtual IAsyncResult BeginStartSchemaCreation(StartSchemaCreationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaCreationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaCreationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartSchemaCreation operation.
///
///
/// The IAsyncResult returned by the call to BeginStartSchemaCreation.
///
/// Returns a StartSchemaCreationResult from AppSync.
/// REST API Reference for StartSchemaCreation Operation
public virtual StartSchemaCreationResponse EndStartSchemaCreation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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 the asynchronous execution of the StartSchemaMerge operation.
///
///
/// Container for the necessary parameters to execute the StartSchemaMerge operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartSchemaMerge
/// operation.
/// REST API Reference for StartSchemaMerge Operation
public virtual IAsyncResult BeginStartSchemaMerge(StartSchemaMergeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSchemaMergeRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSchemaMergeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartSchemaMerge operation.
///
///
/// The IAsyncResult returned by the call to BeginStartSchemaMerge.
///
/// Returns a StartSchemaMergeResult from AppSync.
/// REST API Reference for StartSchemaMerge Operation
public virtual StartSchemaMergeResponse EndStartSchemaMerge(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from AppSync.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from AppSync.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateApiCache operation.
///
///
/// Container for the necessary parameters to execute the UpdateApiCache operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApiCache
/// operation.
/// REST API Reference for UpdateApiCache Operation
public virtual IAsyncResult BeginUpdateApiCache(UpdateApiCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApiCache operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApiCache.
///
/// Returns a UpdateApiCacheResult from AppSync.
/// REST API Reference for UpdateApiCache Operation
public virtual UpdateApiCacheResponse EndUpdateApiCache(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateApiKey operation.
///
///
/// Container for the necessary parameters to execute the UpdateApiKey operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApiKey
/// operation.
/// REST API Reference for UpdateApiKey Operation
public virtual IAsyncResult BeginUpdateApiKey(UpdateApiKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApiKey operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApiKey.
///
/// Returns a UpdateApiKeyResult from AppSync.
/// REST API Reference for UpdateApiKey Operation
public virtual UpdateApiKeyResponse EndUpdateApiKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateDataSource operation.
///
///
/// Container for the necessary parameters to execute the UpdateDataSource operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDataSource
/// operation.
/// REST API Reference for UpdateDataSource Operation
public virtual IAsyncResult BeginUpdateDataSource(UpdateDataSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDataSource operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDataSource.
///
/// Returns a UpdateDataSourceResult from AppSync.
/// REST API Reference for UpdateDataSource Operation
public virtual UpdateDataSourceResponse EndUpdateDataSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateDomainName operation.
///
///
/// Container for the necessary parameters to execute the UpdateDomainName operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainName
/// operation.
/// REST API Reference for UpdateDomainName Operation
public virtual IAsyncResult BeginUpdateDomainName(UpdateDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDomainName operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDomainName.
///
/// Returns a UpdateDomainNameResult from AppSync.
/// REST API Reference for UpdateDomainName Operation
public virtual UpdateDomainNameResponse EndUpdateDomainName(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFunction operation.
///
///
/// Container for the necessary parameters to execute the UpdateFunction operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFunction
/// operation.
/// REST API Reference for UpdateFunction Operation
public virtual IAsyncResult BeginUpdateFunction(UpdateFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFunction.
///
/// Returns a UpdateFunctionResult from AppSync.
/// REST API Reference for UpdateFunction Operation
public virtual UpdateFunctionResponse EndUpdateFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateGraphqlApi operation.
///
///
/// Container for the necessary parameters to execute the UpdateGraphqlApi operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGraphqlApi
/// operation.
/// REST API Reference for UpdateGraphqlApi Operation
public virtual IAsyncResult BeginUpdateGraphqlApi(UpdateGraphqlApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGraphqlApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGraphqlApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateGraphqlApi operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateGraphqlApi.
///
/// Returns a UpdateGraphqlApiResult from AppSync.
/// REST API Reference for UpdateGraphqlApi Operation
public virtual UpdateGraphqlApiResponse EndUpdateGraphqlApi(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateResolver operation.
///
///
/// Container for the necessary parameters to execute the UpdateResolver operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResolver
/// operation.
/// REST API Reference for UpdateResolver Operation
public virtual IAsyncResult BeginUpdateResolver(UpdateResolverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateResolver operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateResolver.
///
/// Returns a UpdateResolverResult from AppSync.
/// REST API Reference for UpdateResolver Operation
public virtual UpdateResolverResponse EndUpdateResolver(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateSourceApiAssociation operation.
///
///
/// Container for the necessary parameters to execute the UpdateSourceApiAssociation operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSourceApiAssociation
/// operation.
/// REST API Reference for UpdateSourceApiAssociation Operation
public virtual IAsyncResult BeginUpdateSourceApiAssociation(UpdateSourceApiAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSourceApiAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSourceApiAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateSourceApiAssociation operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateSourceApiAssociation.
///
/// Returns a UpdateSourceApiAssociationResult from AppSync.
/// REST API Reference for UpdateSourceApiAssociation Operation
public virtual UpdateSourceApiAssociationResponse EndUpdateSourceApiAssociation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateType operation.
///
///
/// Container for the necessary parameters to execute the UpdateType operation on AmazonAppSyncClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateType
/// operation.
/// REST API Reference for UpdateType Operation
public virtual IAsyncResult BeginUpdateType(UpdateTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateType operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateType.
///
/// Returns a UpdateTypeResult from AppSync.
/// REST API Reference for UpdateType Operation
public virtual UpdateTypeResponse EndUpdateType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}