/*
* 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 amplify-2017-07-25.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.Amplify.Model;
using Amazon.Amplify.Model.Internal.MarshallTransformations;
using Amazon.Amplify.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Amplify
{
///
/// Implementation for accessing Amplify
///
/// Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
/// The Amplify Console provides a continuous delivery and hosting service for web applications.
/// For more information, see the Amplify
/// Console User Guide. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// Amplify Framework.
///
public partial class AmazonAmplifyClient : AmazonServiceClient, IAmazonAmplify
{
private static IServiceMetadata serviceMetadata = new AmazonAmplifyMetadata();
#region Constructors
///
/// Constructs AmazonAmplifyClient 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 AmazonAmplifyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig()) { }
///
/// Constructs AmazonAmplifyClient 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 AmazonAmplifyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAmplifyClient 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 AmazonAmplifyClient Configuration Object
public AmazonAmplifyClient(AmazonAmplifyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAmplifyClient with AWS Credentials
///
/// AWS Credentials
public AmazonAmplifyClient(AWSCredentials credentials)
: this(credentials, new AmazonAmplifyConfig())
{
}
///
/// Constructs AmazonAmplifyClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAmplifyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAmplifyClient with AWS Credentials and an
/// AmazonAmplifyClient Configuration object.
///
/// AWS Credentials
/// The AmazonAmplifyClient Configuration Object
public AmazonAmplifyClient(AWSCredentials credentials, AmazonAmplifyConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig())
{
}
///
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAmplifyClient Configuration Object
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig())
{
}
///
/// Constructs AmazonAmplifyClient 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 AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAmplifyClient Configuration Object
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAmplifyEndpointResolver());
}
///
/// 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 CreateApp
internal virtual CreateAppResponse CreateApp(CreateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new Amplify app.
///
/// Container for the necessary parameters to execute the CreateApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApp service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateApp Operation
public virtual Task CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBackendEnvironment
internal virtual CreateBackendEnvironmentResponse CreateBackendEnvironment(CreateBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new backend environment for an Amplify app.
///
/// Container for the necessary parameters to execute the CreateBackendEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBackendEnvironment service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateBackendEnvironment Operation
public virtual Task CreateBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBranch
internal virtual CreateBranchResponse CreateBranch(CreateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new branch for an Amplify app.
///
/// Container for the necessary parameters to execute the CreateBranch service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBranch service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateBranch Operation
public virtual Task CreateBranchAsync(CreateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDeployment
internal virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
///
/// Container for the necessary parameters to execute the CreateDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDeployment service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateDeployment Operation
public virtual Task CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDomainAssociation
internal virtual CreateDomainAssociationResponse CreateDomainAssociation(CreateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
///
/// Container for the necessary parameters to execute the CreateDomainAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomainAssociation service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateDomainAssociation Operation
public virtual Task CreateDomainAssociationAsync(CreateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateWebhook
internal virtual CreateWebhookResponse CreateWebhook(CreateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new webhook on an Amplify app.
///
/// Container for the necessary parameters to execute the CreateWebhook service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWebhook service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for CreateWebhook Operation
public virtual Task CreateWebhookAsync(CreateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApp
internal virtual DeleteAppResponse DeleteApp(DeleteAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing Amplify app specified by an app ID.
///
/// Container for the necessary parameters to execute the DeleteApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApp service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteApp Operation
public virtual Task DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBackendEnvironment
internal virtual DeleteBackendEnvironmentResponse DeleteBackendEnvironment(DeleteBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a backend environment for an Amplify app.
///
/// Container for the necessary parameters to execute the DeleteBackendEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBackendEnvironment service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteBackendEnvironment Operation
public virtual Task DeleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBranch
internal virtual DeleteBranchResponse DeleteBranch(DeleteBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a branch for an Amplify app.
///
/// Container for the necessary parameters to execute the DeleteBranch service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBranch service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteBranch Operation
public virtual Task DeleteBranchAsync(DeleteBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDomainAssociation
internal virtual DeleteDomainAssociationResponse DeleteDomainAssociation(DeleteDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a domain association for an Amplify app.
///
/// Container for the necessary parameters to execute the DeleteDomainAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomainAssociation service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteDomainAssociation Operation
public virtual Task DeleteDomainAssociationAsync(DeleteDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteJob
internal virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a job for a branch of an Amplify app.
///
/// Container for the necessary parameters to execute the DeleteJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteJob service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteJob Operation
public virtual Task DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteWebhook
internal virtual DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a webhook.
///
/// Container for the necessary parameters to execute the DeleteWebhook service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWebhook service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for DeleteWebhook Operation
public virtual Task DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GenerateAccessLogs
internal virtual GenerateAccessLogsResponse GenerateAccessLogs(GenerateAccessLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the website access logs for a specific time range using a presigned URL.
///
/// Container for the necessary parameters to execute the GenerateAccessLogs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GenerateAccessLogs service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GenerateAccessLogs Operation
public virtual Task GenerateAccessLogsAsync(GenerateAccessLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetApp
internal virtual GetAppResponse GetApp(GetAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns an existing Amplify app by appID.
///
/// Container for the necessary parameters to execute the GetApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApp service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetApp Operation
public virtual Task GetAppAsync(GetAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetArtifactUrl
internal virtual GetArtifactUrlResponse GetArtifactUrl(GetArtifactUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the artifact info that corresponds to an artifact id.
///
/// Container for the necessary parameters to execute the GetArtifactUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetArtifactUrl service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetArtifactUrl Operation
public virtual Task GetArtifactUrlAsync(GetArtifactUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetBackendEnvironment
internal virtual GetBackendEnvironmentResponse GetBackendEnvironment(GetBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a backend environment for an Amplify app.
///
/// Container for the necessary parameters to execute the GetBackendEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBackendEnvironment service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetBackendEnvironment Operation
public virtual Task GetBackendEnvironmentAsync(GetBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetBranch
internal virtual GetBranchResponse GetBranch(GetBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a branch for an Amplify app.
///
/// Container for the necessary parameters to execute the GetBranch service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBranch service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetBranch Operation
public virtual Task GetBranchAsync(GetBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDomainAssociation
internal virtual GetDomainAssociationResponse GetDomainAssociation(GetDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the domain information for an Amplify app.
///
/// Container for the necessary parameters to execute the GetDomainAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDomainAssociation service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetDomainAssociation Operation
public virtual Task GetDomainAssociationAsync(GetDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetJob
internal virtual GetJobResponse GetJob(GetJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a job for a branch of an Amplify app.
///
/// Container for the necessary parameters to execute the GetJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetJob service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetJob Operation
public virtual Task GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetWebhook
internal virtual GetWebhookResponse GetWebhook(GetWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the webhook information that corresponds to a specified webhook ID.
///
/// Container for the necessary parameters to execute the GetWebhook service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetWebhook service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for GetWebhook Operation
public virtual Task GetWebhookAsync(GetWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApps
internal virtual ListAppsResponse ListApps(ListAppsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of the existing Amplify apps.
///
/// Container for the necessary parameters to execute the ListApps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApps service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListApps Operation
public virtual Task ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListArtifacts
internal virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of artifacts for a specified app, branch, and job.
///
/// Container for the necessary parameters to execute the ListArtifacts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListArtifacts service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListArtifacts Operation
public virtual Task ListArtifactsAsync(ListArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBackendEnvironments
internal virtual ListBackendEnvironmentsResponse ListBackendEnvironments(ListBackendEnvironmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the backend environments for an Amplify app.
///
/// Container for the necessary parameters to execute the ListBackendEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBackendEnvironments service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListBackendEnvironments Operation
public virtual Task ListBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBranches
internal virtual ListBranchesResponse ListBranches(ListBranchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the branches of an Amplify app.
///
/// Container for the necessary parameters to execute the ListBranches service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBranches service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListBranches Operation
public virtual Task ListBranchesAsync(ListBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomainAssociations
internal virtual ListDomainAssociationsResponse ListDomainAssociations(ListDomainAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the domain associations for an Amplify app.
///
/// Container for the necessary parameters to execute the ListDomainAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainAssociations service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListDomainAssociations Operation
public virtual Task ListDomainAssociationsAsync(ListDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListJobs
internal virtual ListJobsResponse ListJobs(ListJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the jobs for a branch of an Amplify app.
///
/// Container for the necessary parameters to execute the ListJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListJobs service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListJobs Operation
public virtual Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a non-existent resource.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListWebhooks
internal virtual ListWebhooksResponse ListWebhooks(ListWebhooksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of webhooks for an Amplify app.
///
/// Container for the necessary parameters to execute the ListWebhooks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWebhooks service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for ListWebhooks Operation
public virtual Task ListWebhooksAsync(ListWebhooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartDeployment
internal virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
///
/// Container for the necessary parameters to execute the StartDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDeployment service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for StartDeployment Operation
public virtual Task StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartJob
internal virtual StartJobResponse StartJob(StartJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a new job for a branch of an Amplify app.
///
/// Container for the necessary parameters to execute the StartJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartJob service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for StartJob Operation
public virtual Task StartJobAsync(StartJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopJob
internal virtual StopJobResponse StopJob(StopJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops a job that is in progress for a branch of an Amplify app.
///
/// Container for the necessary parameters to execute the StopJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopJob service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// A resource could not be created because service quotas were exceeded.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for StopJob Operation
public virtual Task StopJobAsync(StopJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Tags the resource with a tag key and value.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a non-existent resource.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Untags a resource with a specified Amazon Resource Name (ARN).
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An operation failed due to a non-existent resource.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApp
internal virtual UpdateAppResponse UpdateApp(UpdateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing Amplify app.
///
/// Container for the necessary parameters to execute the UpdateApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApp service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for UpdateApp Operation
public virtual Task UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateBranch
internal virtual UpdateBranchResponse UpdateBranch(UpdateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a branch for an Amplify app.
///
/// Container for the necessary parameters to execute the UpdateBranch service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateBranch service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for UpdateBranch Operation
public virtual Task UpdateBranchAsync(UpdateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDomainAssociation
internal virtual UpdateDomainAssociationResponse UpdateDomainAssociation(UpdateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new domain association for an Amplify app.
///
/// Container for the necessary parameters to execute the UpdateDomainAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomainAssociation service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for UpdateDomainAssociation Operation
public virtual Task UpdateDomainAssociationAsync(UpdateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateWebhook
internal virtual UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a webhook.
///
/// Container for the necessary parameters to execute the UpdateWebhook service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateWebhook service method, as returned by Amplify.
///
/// A request contains unexpected data.
///
///
/// An operation failed because a dependent service threw an exception.
///
///
/// The service failed to perform an operation due to an internal issue.
///
///
/// An entity was not found during an operation.
///
///
/// An operation failed due to a lack of access.
///
/// REST API Reference for UpdateWebhook Operation
public virtual Task UpdateWebhookAsync(UpdateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}