/*
* 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 amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AmplifyBackend.Model;
using Amazon.AmplifyBackend.Model.Internal.MarshallTransformations;
using Amazon.AmplifyBackend.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AmplifyBackend
{
///
/// Implementation for accessing AmplifyBackend
///
/// AWS Amplify Admin API
///
public partial class AmazonAmplifyBackendClient : AmazonServiceClient, IAmazonAmplifyBackend
{
private static IServiceMetadata serviceMetadata = new AmazonAmplifyBackendMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAmplifyBackendPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAmplifyBackendPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AmplifyBackendPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig()) { }
///
/// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object
public AmazonAmplifyBackendClient(AmazonAmplifyBackendConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAmplifyBackendClient with AWS Credentials
///
/// AWS Credentials
public AmazonAmplifyBackendClient(AWSCredentials credentials)
: this(credentials, new AmazonAmplifyBackendConfig())
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAmplifyBackendClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAmplifyBackendConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Credentials and an
/// AmazonAmplifyBackendClient Configuration object.
///
/// AWS Credentials
/// The AmazonAmplifyBackendClient Configuration Object
public AmazonAmplifyBackendClient(AWSCredentials credentials, AmazonAmplifyBackendConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig())
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyBackendClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAmplifyBackendClient Configuration Object
public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyBackendConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig())
{
}
///
/// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyBackendClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAmplifyBackendClient Configuration Object
public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyBackendConfig 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 AmazonAmplifyBackendEndpointResolver());
}
///
/// 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 CloneBackend
///
/// This operation clones an existing backend.
///
/// Container for the necessary parameters to execute the CloneBackend service method.
///
/// The response from the CloneBackend service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CloneBackend Operation
public virtual CloneBackendResponse CloneBackend(CloneBackendRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CloneBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CloneBackend operation.
///
///
/// Container for the necessary parameters to execute the CloneBackend operation on AmazonAmplifyBackendClient.
/// 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 EndCloneBackend
/// operation.
/// REST API Reference for CloneBackend Operation
public virtual IAsyncResult BeginCloneBackend(CloneBackendRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CloneBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CloneBackend operation.
///
///
/// The IAsyncResult returned by the call to BeginCloneBackend.
///
/// Returns a CloneBackendResult from AmplifyBackend.
/// REST API Reference for CloneBackend Operation
public virtual CloneBackendResponse EndCloneBackend(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBackend
///
/// This operation creates a backend for an Amplify app. Backends are automatically created
/// at the time of app creation.
///
/// Container for the necessary parameters to execute the CreateBackend service method.
///
/// The response from the CreateBackend service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateBackend Operation
public virtual CreateBackendResponse CreateBackend(CreateBackendRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBackend operation.
///
///
/// Container for the necessary parameters to execute the CreateBackend operation on AmazonAmplifyBackendClient.
/// 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 EndCreateBackend
/// operation.
/// REST API Reference for CreateBackend Operation
public virtual IAsyncResult BeginCreateBackend(CreateBackendRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBackend operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBackend.
///
/// Returns a CreateBackendResult from AmplifyBackend.
/// REST API Reference for CreateBackend Operation
public virtual CreateBackendResponse EndCreateBackend(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBackendAPI
///
/// Creates a new backend API resource.
///
/// Container for the necessary parameters to execute the CreateBackendAPI service method.
///
/// The response from the CreateBackendAPI service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateBackendAPI Operation
public virtual CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBackendAPI operation.
///
///
/// Container for the necessary parameters to execute the CreateBackendAPI operation on AmazonAmplifyBackendClient.
/// 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 EndCreateBackendAPI
/// operation.
/// REST API Reference for CreateBackendAPI Operation
public virtual IAsyncResult BeginCreateBackendAPI(CreateBackendAPIRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBackendAPI operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBackendAPI.
///
/// Returns a CreateBackendAPIResult from AmplifyBackend.
/// REST API Reference for CreateBackendAPI Operation
public virtual CreateBackendAPIResponse EndCreateBackendAPI(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBackendAuth
///
/// Creates a new backend authentication resource.
///
/// Container for the necessary parameters to execute the CreateBackendAuth service method.
///
/// The response from the CreateBackendAuth service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateBackendAuth Operation
public virtual CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBackendAuth operation.
///
///
/// Container for the necessary parameters to execute the CreateBackendAuth operation on AmazonAmplifyBackendClient.
/// 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 EndCreateBackendAuth
/// operation.
/// REST API Reference for CreateBackendAuth Operation
public virtual IAsyncResult BeginCreateBackendAuth(CreateBackendAuthRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBackendAuth operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBackendAuth.
///
/// Returns a CreateBackendAuthResult from AmplifyBackend.
/// REST API Reference for CreateBackendAuth Operation
public virtual CreateBackendAuthResponse EndCreateBackendAuth(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBackendConfig
///
/// Creates a config object for a backend.
///
/// Container for the necessary parameters to execute the CreateBackendConfig service method.
///
/// The response from the CreateBackendConfig service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateBackendConfig Operation
public virtual CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBackendConfig operation.
///
///
/// Container for the necessary parameters to execute the CreateBackendConfig operation on AmazonAmplifyBackendClient.
/// 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 EndCreateBackendConfig
/// operation.
/// REST API Reference for CreateBackendConfig Operation
public virtual IAsyncResult BeginCreateBackendConfig(CreateBackendConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBackendConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBackendConfig.
///
/// Returns a CreateBackendConfigResult from AmplifyBackend.
/// REST API Reference for CreateBackendConfig Operation
public virtual CreateBackendConfigResponse EndCreateBackendConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBackendStorage
///
/// Creates a backend storage resource.
///
/// Container for the necessary parameters to execute the CreateBackendStorage service method.
///
/// The response from the CreateBackendStorage service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateBackendStorage Operation
public virtual CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBackendStorage operation.
///
///
/// Container for the necessary parameters to execute the CreateBackendStorage operation on AmazonAmplifyBackendClient.
/// 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 EndCreateBackendStorage
/// operation.
/// REST API Reference for CreateBackendStorage Operation
public virtual IAsyncResult BeginCreateBackendStorage(CreateBackendStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBackendStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBackendStorage.
///
/// Returns a CreateBackendStorageResult from AmplifyBackend.
/// REST API Reference for CreateBackendStorage Operation
public virtual CreateBackendStorageResponse EndCreateBackendStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateToken
///
/// Generates a one-time challenge code to authenticate a user into your Amplify Admin
/// UI.
///
/// Container for the necessary parameters to execute the CreateToken service method.
///
/// The response from the CreateToken service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for CreateToken Operation
public virtual CreateTokenResponse CreateToken(CreateTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateToken operation.
///
///
/// Container for the necessary parameters to execute the CreateToken operation on AmazonAmplifyBackendClient.
/// 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 EndCreateToken
/// operation.
/// REST API Reference for CreateToken Operation
public virtual IAsyncResult BeginCreateToken(CreateTokenRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateToken operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateToken.
///
/// Returns a CreateTokenResult from AmplifyBackend.
/// REST API Reference for CreateToken Operation
public virtual CreateTokenResponse EndCreateToken(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBackend
///
/// Removes an existing environment from your Amplify project.
///
/// Container for the necessary parameters to execute the DeleteBackend service method.
///
/// The response from the DeleteBackend service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for DeleteBackend Operation
public virtual DeleteBackendResponse DeleteBackend(DeleteBackendRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBackend operation.
///
///
/// Container for the necessary parameters to execute the DeleteBackend operation on AmazonAmplifyBackendClient.
/// 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 EndDeleteBackend
/// operation.
/// REST API Reference for DeleteBackend Operation
public virtual IAsyncResult BeginDeleteBackend(DeleteBackendRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBackend operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBackend.
///
/// Returns a DeleteBackendResult from AmplifyBackend.
/// REST API Reference for DeleteBackend Operation
public virtual DeleteBackendResponse EndDeleteBackend(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBackendAPI
///
/// Deletes an existing backend API resource.
///
/// Container for the necessary parameters to execute the DeleteBackendAPI service method.
///
/// The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for DeleteBackendAPI Operation
public virtual DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBackendAPI operation.
///
///
/// Container for the necessary parameters to execute the DeleteBackendAPI operation on AmazonAmplifyBackendClient.
/// 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 EndDeleteBackendAPI
/// operation.
/// REST API Reference for DeleteBackendAPI Operation
public virtual IAsyncResult BeginDeleteBackendAPI(DeleteBackendAPIRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBackendAPI operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBackendAPI.
///
/// Returns a DeleteBackendAPIResult from AmplifyBackend.
/// REST API Reference for DeleteBackendAPI Operation
public virtual DeleteBackendAPIResponse EndDeleteBackendAPI(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBackendAuth
///
/// Deletes an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the DeleteBackendAuth service method.
///
/// The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for DeleteBackendAuth Operation
public virtual DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBackendAuth operation.
///
///
/// Container for the necessary parameters to execute the DeleteBackendAuth operation on AmazonAmplifyBackendClient.
/// 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 EndDeleteBackendAuth
/// operation.
/// REST API Reference for DeleteBackendAuth Operation
public virtual IAsyncResult BeginDeleteBackendAuth(DeleteBackendAuthRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBackendAuth operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBackendAuth.
///
/// Returns a DeleteBackendAuthResult from AmplifyBackend.
/// REST API Reference for DeleteBackendAuth Operation
public virtual DeleteBackendAuthResponse EndDeleteBackendAuth(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBackendStorage
///
/// Removes the specified backend storage resource.
///
/// Container for the necessary parameters to execute the DeleteBackendStorage service method.
///
/// The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for DeleteBackendStorage Operation
public virtual DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBackendStorage operation.
///
///
/// Container for the necessary parameters to execute the DeleteBackendStorage operation on AmazonAmplifyBackendClient.
/// 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 EndDeleteBackendStorage
/// operation.
/// REST API Reference for DeleteBackendStorage Operation
public virtual IAsyncResult BeginDeleteBackendStorage(DeleteBackendStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBackendStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBackendStorage.
///
/// Returns a DeleteBackendStorageResult from AmplifyBackend.
/// REST API Reference for DeleteBackendStorage Operation
public virtual DeleteBackendStorageResponse EndDeleteBackendStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteToken
///
/// Deletes the challenge token based on the given appId and sessionId.
///
/// Container for the necessary parameters to execute the DeleteToken service method.
///
/// The response from the DeleteToken service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for DeleteToken Operation
public virtual DeleteTokenResponse DeleteToken(DeleteTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteToken operation.
///
///
/// Container for the necessary parameters to execute the DeleteToken operation on AmazonAmplifyBackendClient.
/// 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 EndDeleteToken
/// operation.
/// REST API Reference for DeleteToken Operation
public virtual IAsyncResult BeginDeleteToken(DeleteTokenRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteToken operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteToken.
///
/// Returns a DeleteTokenResult from AmplifyBackend.
/// REST API Reference for DeleteToken Operation
public virtual DeleteTokenResponse EndDeleteToken(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GenerateBackendAPIModels
///
/// Generates a model schema for an existing backend API resource.
///
/// Container for the necessary parameters to execute the GenerateBackendAPIModels service method.
///
/// The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GenerateBackendAPIModels Operation
public virtual GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GenerateBackendAPIModels operation.
///
///
/// Container for the necessary parameters to execute the GenerateBackendAPIModels operation on AmazonAmplifyBackendClient.
/// 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 EndGenerateBackendAPIModels
/// operation.
/// REST API Reference for GenerateBackendAPIModels Operation
public virtual IAsyncResult BeginGenerateBackendAPIModels(GenerateBackendAPIModelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GenerateBackendAPIModels operation.
///
///
/// The IAsyncResult returned by the call to BeginGenerateBackendAPIModels.
///
/// Returns a GenerateBackendAPIModelsResult from AmplifyBackend.
/// REST API Reference for GenerateBackendAPIModels Operation
public virtual GenerateBackendAPIModelsResponse EndGenerateBackendAPIModels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackend
///
/// Provides project-level details for your Amplify UI project.
///
/// Container for the necessary parameters to execute the GetBackend service method.
///
/// The response from the GetBackend service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackend Operation
public virtual GetBackendResponse GetBackend(GetBackendRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackend operation.
///
///
/// Container for the necessary parameters to execute the GetBackend operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackend
/// operation.
/// REST API Reference for GetBackend Operation
public virtual IAsyncResult BeginGetBackend(GetBackendRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackend operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackend.
///
/// Returns a GetBackendResult from AmplifyBackend.
/// REST API Reference for GetBackend Operation
public virtual GetBackendResponse EndGetBackend(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackendAPI
///
/// Gets the details for a backend API.
///
/// Container for the necessary parameters to execute the GetBackendAPI service method.
///
/// The response from the GetBackendAPI service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackendAPI Operation
public virtual GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackendAPI operation.
///
///
/// Container for the necessary parameters to execute the GetBackendAPI operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackendAPI
/// operation.
/// REST API Reference for GetBackendAPI Operation
public virtual IAsyncResult BeginGetBackendAPI(GetBackendAPIRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackendAPI operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackendAPI.
///
/// Returns a GetBackendAPIResult from AmplifyBackend.
/// REST API Reference for GetBackendAPI Operation
public virtual GetBackendAPIResponse EndGetBackendAPI(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackendAPIModels
///
/// Gets a model introspection schema for an existing backend API resource.
///
/// Container for the necessary parameters to execute the GetBackendAPIModels service method.
///
/// The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackendAPIModels Operation
public virtual GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackendAPIModels operation.
///
///
/// Container for the necessary parameters to execute the GetBackendAPIModels operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackendAPIModels
/// operation.
/// REST API Reference for GetBackendAPIModels Operation
public virtual IAsyncResult BeginGetBackendAPIModels(GetBackendAPIModelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackendAPIModels operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackendAPIModels.
///
/// Returns a GetBackendAPIModelsResult from AmplifyBackend.
/// REST API Reference for GetBackendAPIModels Operation
public virtual GetBackendAPIModelsResponse EndGetBackendAPIModels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackendAuth
///
/// Gets a backend auth details.
///
/// Container for the necessary parameters to execute the GetBackendAuth service method.
///
/// The response from the GetBackendAuth service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackendAuth Operation
public virtual GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackendAuth operation.
///
///
/// Container for the necessary parameters to execute the GetBackendAuth operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackendAuth
/// operation.
/// REST API Reference for GetBackendAuth Operation
public virtual IAsyncResult BeginGetBackendAuth(GetBackendAuthRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackendAuth operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackendAuth.
///
/// Returns a GetBackendAuthResult from AmplifyBackend.
/// REST API Reference for GetBackendAuth Operation
public virtual GetBackendAuthResponse EndGetBackendAuth(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackendJob
///
/// Returns information about a specific job.
///
/// Container for the necessary parameters to execute the GetBackendJob service method.
///
/// The response from the GetBackendJob service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackendJob Operation
public virtual GetBackendJobResponse GetBackendJob(GetBackendJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackendJob operation.
///
///
/// Container for the necessary parameters to execute the GetBackendJob operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackendJob
/// operation.
/// REST API Reference for GetBackendJob Operation
public virtual IAsyncResult BeginGetBackendJob(GetBackendJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackendJob operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackendJob.
///
/// Returns a GetBackendJobResult from AmplifyBackend.
/// REST API Reference for GetBackendJob Operation
public virtual GetBackendJobResponse EndGetBackendJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBackendStorage
///
/// Gets details for a backend storage resource.
///
/// Container for the necessary parameters to execute the GetBackendStorage service method.
///
/// The response from the GetBackendStorage service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetBackendStorage Operation
public virtual GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBackendStorage operation.
///
///
/// Container for the necessary parameters to execute the GetBackendStorage operation on AmazonAmplifyBackendClient.
/// 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 EndGetBackendStorage
/// operation.
/// REST API Reference for GetBackendStorage Operation
public virtual IAsyncResult BeginGetBackendStorage(GetBackendStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBackendStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBackendStorage.
///
/// Returns a GetBackendStorageResult from AmplifyBackend.
/// REST API Reference for GetBackendStorage Operation
public virtual GetBackendStorageResponse EndGetBackendStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetToken
///
/// Gets the challenge token based on the given appId and sessionId.
///
/// Container for the necessary parameters to execute the GetToken service method.
///
/// The response from the GetToken service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for GetToken Operation
public virtual GetTokenResponse GetToken(GetTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetToken operation.
///
///
/// Container for the necessary parameters to execute the GetToken operation on AmazonAmplifyBackendClient.
/// 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 EndGetToken
/// operation.
/// REST API Reference for GetToken Operation
public virtual IAsyncResult BeginGetToken(GetTokenRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetToken operation.
///
///
/// The IAsyncResult returned by the call to BeginGetToken.
///
/// Returns a GetTokenResult from AmplifyBackend.
/// REST API Reference for GetToken Operation
public virtual GetTokenResponse EndGetToken(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportBackendAuth
///
/// Imports an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the ImportBackendAuth service method.
///
/// The response from the ImportBackendAuth service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for ImportBackendAuth Operation
public virtual ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportBackendAuth operation.
///
///
/// Container for the necessary parameters to execute the ImportBackendAuth operation on AmazonAmplifyBackendClient.
/// 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 EndImportBackendAuth
/// operation.
/// REST API Reference for ImportBackendAuth Operation
public virtual IAsyncResult BeginImportBackendAuth(ImportBackendAuthRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportBackendAuth operation.
///
///
/// The IAsyncResult returned by the call to BeginImportBackendAuth.
///
/// Returns a ImportBackendAuthResult from AmplifyBackend.
/// REST API Reference for ImportBackendAuth Operation
public virtual ImportBackendAuthResponse EndImportBackendAuth(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportBackendStorage
///
/// Imports an existing backend storage resource.
///
/// Container for the necessary parameters to execute the ImportBackendStorage service method.
///
/// The response from the ImportBackendStorage service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for ImportBackendStorage Operation
public virtual ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportBackendStorage operation.
///
///
/// Container for the necessary parameters to execute the ImportBackendStorage operation on AmazonAmplifyBackendClient.
/// 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 EndImportBackendStorage
/// operation.
/// REST API Reference for ImportBackendStorage Operation
public virtual IAsyncResult BeginImportBackendStorage(ImportBackendStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportBackendStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginImportBackendStorage.
///
/// Returns a ImportBackendStorageResult from AmplifyBackend.
/// REST API Reference for ImportBackendStorage Operation
public virtual ImportBackendStorageResponse EndImportBackendStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListBackendJobs
///
/// Lists the jobs for the backend of an Amplify app.
///
/// Container for the necessary parameters to execute the ListBackendJobs service method.
///
/// The response from the ListBackendJobs service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for ListBackendJobs Operation
public virtual ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListBackendJobs operation.
///
///
/// Container for the necessary parameters to execute the ListBackendJobs operation on AmazonAmplifyBackendClient.
/// 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 EndListBackendJobs
/// operation.
/// REST API Reference for ListBackendJobs Operation
public virtual IAsyncResult BeginListBackendJobs(ListBackendJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListBackendJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginListBackendJobs.
///
/// Returns a ListBackendJobsResult from AmplifyBackend.
/// REST API Reference for ListBackendJobs Operation
public virtual ListBackendJobsResponse EndListBackendJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListS3Buckets
///
/// The list of S3 buckets in your account.
///
/// Container for the necessary parameters to execute the ListS3Buckets service method.
///
/// The response from the ListS3Buckets service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for ListS3Buckets Operation
public virtual ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListS3Buckets operation.
///
///
/// Container for the necessary parameters to execute the ListS3Buckets operation on AmazonAmplifyBackendClient.
/// 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 EndListS3Buckets
/// operation.
/// REST API Reference for ListS3Buckets Operation
public virtual IAsyncResult BeginListS3Buckets(ListS3BucketsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListS3Buckets operation.
///
///
/// The IAsyncResult returned by the call to BeginListS3Buckets.
///
/// Returns a ListS3BucketsResult from AmplifyBackend.
/// REST API Reference for ListS3Buckets Operation
public virtual ListS3BucketsResponse EndListS3Buckets(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveAllBackends
///
/// Removes all backend environments from your Amplify project.
///
/// Container for the necessary parameters to execute the RemoveAllBackends service method.
///
/// The response from the RemoveAllBackends service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for RemoveAllBackends Operation
public virtual RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveAllBackends operation.
///
///
/// Container for the necessary parameters to execute the RemoveAllBackends operation on AmazonAmplifyBackendClient.
/// 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 EndRemoveAllBackends
/// operation.
/// REST API Reference for RemoveAllBackends Operation
public virtual IAsyncResult BeginRemoveAllBackends(RemoveAllBackendsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveAllBackends operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveAllBackends.
///
/// Returns a RemoveAllBackendsResult from AmplifyBackend.
/// REST API Reference for RemoveAllBackends Operation
public virtual RemoveAllBackendsResponse EndRemoveAllBackends(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveBackendConfig
///
/// Removes the AWS resources required to access the Amplify Admin UI.
///
/// Container for the necessary parameters to execute the RemoveBackendConfig service method.
///
/// The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for RemoveBackendConfig Operation
public virtual RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveBackendConfig operation.
///
///
/// Container for the necessary parameters to execute the RemoveBackendConfig operation on AmazonAmplifyBackendClient.
/// 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 EndRemoveBackendConfig
/// operation.
/// REST API Reference for RemoveBackendConfig Operation
public virtual IAsyncResult BeginRemoveBackendConfig(RemoveBackendConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveBackendConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveBackendConfig.
///
/// Returns a RemoveBackendConfigResult from AmplifyBackend.
/// REST API Reference for RemoveBackendConfig Operation
public virtual RemoveBackendConfigResponse EndRemoveBackendConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBackendAPI
///
/// Updates an existing backend API resource.
///
/// Container for the necessary parameters to execute the UpdateBackendAPI service method.
///
/// The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for UpdateBackendAPI Operation
public virtual UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBackendAPI operation.
///
///
/// Container for the necessary parameters to execute the UpdateBackendAPI operation on AmazonAmplifyBackendClient.
/// 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 EndUpdateBackendAPI
/// operation.
/// REST API Reference for UpdateBackendAPI Operation
public virtual IAsyncResult BeginUpdateBackendAPI(UpdateBackendAPIRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBackendAPI operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBackendAPI.
///
/// Returns a UpdateBackendAPIResult from AmplifyBackend.
/// REST API Reference for UpdateBackendAPI Operation
public virtual UpdateBackendAPIResponse EndUpdateBackendAPI(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBackendAuth
///
/// Updates an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the UpdateBackendAuth service method.
///
/// The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for UpdateBackendAuth Operation
public virtual UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBackendAuth operation.
///
///
/// Container for the necessary parameters to execute the UpdateBackendAuth operation on AmazonAmplifyBackendClient.
/// 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 EndUpdateBackendAuth
/// operation.
/// REST API Reference for UpdateBackendAuth Operation
public virtual IAsyncResult BeginUpdateBackendAuth(UpdateBackendAuthRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBackendAuth operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBackendAuth.
///
/// Returns a UpdateBackendAuthResult from AmplifyBackend.
/// REST API Reference for UpdateBackendAuth Operation
public virtual UpdateBackendAuthResponse EndUpdateBackendAuth(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBackendConfig
///
/// Updates the AWS resources required to access the Amplify Admin UI.
///
/// Container for the necessary parameters to execute the UpdateBackendConfig service method.
///
/// The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for UpdateBackendConfig Operation
public virtual UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBackendConfig operation.
///
///
/// Container for the necessary parameters to execute the UpdateBackendConfig operation on AmazonAmplifyBackendClient.
/// 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 EndUpdateBackendConfig
/// operation.
/// REST API Reference for UpdateBackendConfig Operation
public virtual IAsyncResult BeginUpdateBackendConfig(UpdateBackendConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBackendConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBackendConfig.
///
/// Returns a UpdateBackendConfigResult from AmplifyBackend.
/// REST API Reference for UpdateBackendConfig Operation
public virtual UpdateBackendConfigResponse EndUpdateBackendConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBackendJob
///
/// Updates a specific job.
///
/// Container for the necessary parameters to execute the UpdateBackendJob service method.
///
/// The response from the UpdateBackendJob service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for UpdateBackendJob Operation
public virtual UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBackendJob operation.
///
///
/// Container for the necessary parameters to execute the UpdateBackendJob operation on AmazonAmplifyBackendClient.
/// 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 EndUpdateBackendJob
/// operation.
/// REST API Reference for UpdateBackendJob Operation
public virtual IAsyncResult BeginUpdateBackendJob(UpdateBackendJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBackendJob operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBackendJob.
///
/// Returns a UpdateBackendJobResult from AmplifyBackend.
/// REST API Reference for UpdateBackendJob Operation
public virtual UpdateBackendJobResponse EndUpdateBackendJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBackendStorage
///
/// Updates an existing backend storage resource.
///
/// Container for the necessary parameters to execute the UpdateBackendStorage service method.
///
/// The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.
///
/// An error returned if a request is not formed properly.
///
///
/// An error returned if there's a temporary issue with the service.
///
///
/// An error returned when a specific resource type is not found.
///
///
/// An error that is returned when a limit of a specific type has been exceeded.
///
/// REST API Reference for UpdateBackendStorage Operation
public virtual UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBackendStorage operation.
///
///
/// Container for the necessary parameters to execute the UpdateBackendStorage operation on AmazonAmplifyBackendClient.
/// 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 EndUpdateBackendStorage
/// operation.
/// REST API Reference for UpdateBackendStorage Operation
public virtual IAsyncResult BeginUpdateBackendStorage(UpdateBackendStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBackendStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBackendStorage.
///
/// Returns a UpdateBackendStorageResult from AmplifyBackend.
/// REST API Reference for UpdateBackendStorage Operation
public virtual UpdateBackendStorageResponse EndUpdateBackendStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}