/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
private IAmplifyBackendPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAmplifyBackendPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AmplifyBackendPaginatorFactory(this);
}
return this._paginators;
}
}
#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);
}
///
/// This operation clones an existing backend.
///
/// Container for the necessary parameters to execute the CloneBackend service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CloneBackendAsync(CloneBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CloneBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateBackendAsync(CreateBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Creates a new backend API resource.
///
/// Container for the necessary parameters to execute the CreateBackendAPI service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateBackendAPIAsync(CreateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Creates a new backend authentication resource.
///
/// Container for the necessary parameters to execute the CreateBackendAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateBackendAuthAsync(CreateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Creates a config object for a backend.
///
/// Container for the necessary parameters to execute the CreateBackendConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateBackendConfigAsync(CreateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Creates a backend storage resource.
///
/// Container for the necessary parameters to execute the CreateBackendStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateBackendStorageAsync(CreateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateTokenAsync(CreateTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Removes an existing environment from your Amplify project.
///
/// Container for the necessary parameters to execute the DeleteBackend service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteBackendAsync(DeleteBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Deletes an existing backend API resource.
///
/// Container for the necessary parameters to execute the DeleteBackendAPI service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteBackendAPIAsync(DeleteBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Deletes an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the DeleteBackendAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteBackendAuthAsync(DeleteBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Removes the specified backend storage resource.
///
/// Container for the necessary parameters to execute the DeleteBackendStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteBackendStorageAsync(DeleteBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Deletes the challenge token based on the given appId and sessionId.
///
/// Container for the necessary parameters to execute the DeleteToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteTokenAsync(DeleteTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Generates a model schema for an existing backend API resource.
///
/// Container for the necessary parameters to execute the GenerateBackendAPIModels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GenerateBackendAPIModelsAsync(GenerateBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Provides project-level details for your Amplify UI project.
///
/// Container for the necessary parameters to execute the GetBackend service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendAsync(GetBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Gets the details for a backend API.
///
/// Container for the necessary parameters to execute the GetBackendAPI service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendAPIAsync(GetBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Gets a model introspection schema for an existing backend API resource.
///
/// Container for the necessary parameters to execute the GetBackendAPIModels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendAPIModelsAsync(GetBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Gets a backend auth details.
///
/// Container for the necessary parameters to execute the GetBackendAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendAuthAsync(GetBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Returns information about a specific job.
///
/// Container for the necessary parameters to execute the GetBackendJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendJobAsync(GetBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Gets details for a backend storage resource.
///
/// Container for the necessary parameters to execute the GetBackendStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetBackendStorageAsync(GetBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Gets the challenge token based on the given appId and sessionId.
///
/// Container for the necessary parameters to execute the GetToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetTokenAsync(GetTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Imports an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the ImportBackendAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ImportBackendAuthAsync(ImportBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Imports an existing backend storage resource.
///
/// Container for the necessary parameters to execute the ImportBackendStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ImportBackendStorageAsync(ImportBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Lists the jobs for the backend of an Amplify app.
///
/// Container for the necessary parameters to execute the ListBackendJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListBackendJobsAsync(ListBackendJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// The list of S3 buckets in your account.
///
/// Container for the necessary parameters to execute the ListS3Buckets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListS3BucketsAsync(ListS3BucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Removes all backend environments from your Amplify project.
///
/// Container for the necessary parameters to execute the RemoveAllBackends service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task RemoveAllBackendsAsync(RemoveAllBackendsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Removes the AWS resources required to access the Amplify Admin UI.
///
/// Container for the necessary parameters to execute the RemoveBackendConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task RemoveBackendConfigAsync(RemoveBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Updates an existing backend API resource.
///
/// Container for the necessary parameters to execute the UpdateBackendAPI service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateBackendAPIAsync(UpdateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Updates an existing backend authentication resource.
///
/// Container for the necessary parameters to execute the UpdateBackendAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateBackendAuthAsync(UpdateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Updates the AWS resources required to access the Amplify Admin UI.
///
/// Container for the necessary parameters to execute the UpdateBackendConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateBackendConfigAsync(UpdateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Updates a specific job.
///
/// Container for the necessary parameters to execute the UpdateBackendJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateBackendJobAsync(UpdateBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Updates an existing backend storage resource.
///
/// Container for the necessary parameters to execute the UpdateBackendStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateBackendStorageAsync(UpdateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}