repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* 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.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Amplify.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Amplify.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Webhook Object
/// </summary>
public class WebhookUnmarshaller : IUnmarshaller<Webhook, XmlUnmarshallerContext>, IUnmarshaller<Webhook, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Webhook IUnmarshaller<Webhook, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Webhook Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Webhook unmarshalledObject = new Webhook();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("branchName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.BranchName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("webhookArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.WebhookArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("webhookId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.WebhookId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("webhookUrl", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.WebhookUrl = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static WebhookUnmarshaller _instance = new WebhookUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static WebhookUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 128 |
aws-sdk-net | aws | C# | /*
* 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.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
{
/// <summary>
/// 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial class AmazonAmplifyClient : AmazonServiceClient, IAmazonAmplify
{
private static IServiceMetadata serviceMetadata = new AmazonAmplifyMetadata();
#region Constructors
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAmplifyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig()) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig{RegionEndpoint = region}) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AmazonAmplifyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAmplifyClient(AWSCredentials credentials)
: this(credentials, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AWSCredentials credentials, AmazonAmplifyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAmplifyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateApp
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual CreateAppResponse CreateApp(CreateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return Invoke<CreateAppResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual IAsyncResult BeginCreateApp(CreateAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApp.</param>
///
/// <returns>Returns a CreateAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual CreateAppResponse EndCreateApp(IAsyncResult asyncResult)
{
return EndInvoke<CreateAppResponse>(asyncResult);
}
#endregion
#region CreateBackendEnvironment
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual CreateBackendEnvironmentResponse CreateBackendEnvironment(CreateBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<CreateBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual IAsyncResult BeginCreateBackendEnvironment(CreateBackendEnvironmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendEnvironment.</param>
///
/// <returns>Returns a CreateBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual CreateBackendEnvironmentResponse EndCreateBackendEnvironment(IAsyncResult asyncResult)
{
return EndInvoke<CreateBackendEnvironmentResponse>(asyncResult);
}
#endregion
#region CreateBranch
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual CreateBranchResponse CreateBranch(CreateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return Invoke<CreateBranchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual IAsyncResult BeginCreateBranch(CreateBranchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBranch.</param>
///
/// <returns>Returns a CreateBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual CreateBranchResponse EndCreateBranch(IAsyncResult asyncResult)
{
return EndInvoke<CreateBranchResponse>(asyncResult);
}
#endregion
#region CreateDeployment
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke<CreateDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual IAsyncResult BeginCreateDeployment(CreateDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDeployment.</param>
///
/// <returns>Returns a CreateDeploymentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult)
{
return EndInvoke<CreateDeploymentResponse>(asyncResult);
}
#endregion
#region CreateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual CreateDomainAssociationResponse CreateDomainAssociation(CreateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return Invoke<CreateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual IAsyncResult BeginCreateDomainAssociation(CreateDomainAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDomainAssociation.</param>
///
/// <returns>Returns a CreateDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual CreateDomainAssociationResponse EndCreateDomainAssociation(IAsyncResult asyncResult)
{
return EndInvoke<CreateDomainAssociationResponse>(asyncResult);
}
#endregion
#region CreateWebhook
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual CreateWebhookResponse CreateWebhook(CreateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return Invoke<CreateWebhookResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual IAsyncResult BeginCreateWebhook(CreateWebhookRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateWebhook.</param>
///
/// <returns>Returns a CreateWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual CreateWebhookResponse EndCreateWebhook(IAsyncResult asyncResult)
{
return EndInvoke<CreateWebhookResponse>(asyncResult);
}
#endregion
#region DeleteApp
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual DeleteAppResponse DeleteApp(DeleteAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return Invoke<DeleteAppResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual IAsyncResult BeginDeleteApp(DeleteAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApp.</param>
///
/// <returns>Returns a DeleteAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual DeleteAppResponse EndDeleteApp(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAppResponse>(asyncResult);
}
#endregion
#region DeleteBackendEnvironment
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual DeleteBackendEnvironmentResponse DeleteBackendEnvironment(DeleteBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<DeleteBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual IAsyncResult BeginDeleteBackendEnvironment(DeleteBackendEnvironmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendEnvironment.</param>
///
/// <returns>Returns a DeleteBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual DeleteBackendEnvironmentResponse EndDeleteBackendEnvironment(IAsyncResult asyncResult)
{
return EndInvoke<DeleteBackendEnvironmentResponse>(asyncResult);
}
#endregion
#region DeleteBranch
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual DeleteBranchResponse DeleteBranch(DeleteBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return Invoke<DeleteBranchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual IAsyncResult BeginDeleteBranch(DeleteBranchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBranch.</param>
///
/// <returns>Returns a DeleteBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual DeleteBranchResponse EndDeleteBranch(IAsyncResult asyncResult)
{
return EndInvoke<DeleteBranchResponse>(asyncResult);
}
#endregion
#region DeleteDomainAssociation
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual DeleteDomainAssociationResponse DeleteDomainAssociation(DeleteDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return Invoke<DeleteDomainAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual IAsyncResult BeginDeleteDomainAssociation(DeleteDomainAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDomainAssociation.</param>
///
/// <returns>Returns a DeleteDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual DeleteDomainAssociationResponse EndDeleteDomainAssociation(IAsyncResult asyncResult)
{
return EndInvoke<DeleteDomainAssociationResponse>(asyncResult);
}
#endregion
#region DeleteJob
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke<DeleteJobResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual IAsyncResult BeginDeleteJob(DeleteJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteJob.</param>
///
/// <returns>Returns a DeleteJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual DeleteJobResponse EndDeleteJob(IAsyncResult asyncResult)
{
return EndInvoke<DeleteJobResponse>(asyncResult);
}
#endregion
#region DeleteWebhook
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return Invoke<DeleteWebhookResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual IAsyncResult BeginDeleteWebhook(DeleteWebhookRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteWebhook.</param>
///
/// <returns>Returns a DeleteWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual DeleteWebhookResponse EndDeleteWebhook(IAsyncResult asyncResult)
{
return EndInvoke<DeleteWebhookResponse>(asyncResult);
}
#endregion
#region GenerateAccessLogs
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual GenerateAccessLogsResponse GenerateAccessLogs(GenerateAccessLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return Invoke<GenerateAccessLogsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GenerateAccessLogs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGenerateAccessLogs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual IAsyncResult BeginGenerateAccessLogs(GenerateAccessLogsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GenerateAccessLogs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGenerateAccessLogs.</param>
///
/// <returns>Returns a GenerateAccessLogsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual GenerateAccessLogsResponse EndGenerateAccessLogs(IAsyncResult asyncResult)
{
return EndInvoke<GenerateAccessLogsResponse>(asyncResult);
}
#endregion
#region GetApp
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual GetAppResponse GetApp(GetAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return Invoke<GetAppResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual IAsyncResult BeginGetApp(GetAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApp.</param>
///
/// <returns>Returns a GetAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual GetAppResponse EndGetApp(IAsyncResult asyncResult)
{
return EndInvoke<GetAppResponse>(asyncResult);
}
#endregion
#region GetArtifactUrl
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual GetArtifactUrlResponse GetArtifactUrl(GetArtifactUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return Invoke<GetArtifactUrlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetArtifactUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetArtifactUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual IAsyncResult BeginGetArtifactUrl(GetArtifactUrlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetArtifactUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetArtifactUrl.</param>
///
/// <returns>Returns a GetArtifactUrlResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual GetArtifactUrlResponse EndGetArtifactUrl(IAsyncResult asyncResult)
{
return EndInvoke<GetArtifactUrlResponse>(asyncResult);
}
#endregion
#region GetBackendEnvironment
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual GetBackendEnvironmentResponse GetBackendEnvironment(GetBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<GetBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual IAsyncResult BeginGetBackendEnvironment(GetBackendEnvironmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendEnvironment.</param>
///
/// <returns>Returns a GetBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual GetBackendEnvironmentResponse EndGetBackendEnvironment(IAsyncResult asyncResult)
{
return EndInvoke<GetBackendEnvironmentResponse>(asyncResult);
}
#endregion
#region GetBranch
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual GetBranchResponse GetBranch(GetBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return Invoke<GetBranchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual IAsyncResult BeginGetBranch(GetBranchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBranch.</param>
///
/// <returns>Returns a GetBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual GetBranchResponse EndGetBranch(IAsyncResult asyncResult)
{
return EndInvoke<GetBranchResponse>(asyncResult);
}
#endregion
#region GetDomainAssociation
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual GetDomainAssociationResponse GetDomainAssociation(GetDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return Invoke<GetDomainAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual IAsyncResult BeginGetDomainAssociation(GetDomainAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDomainAssociation.</param>
///
/// <returns>Returns a GetDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual GetDomainAssociationResponse EndGetDomainAssociation(IAsyncResult asyncResult)
{
return EndInvoke<GetDomainAssociationResponse>(asyncResult);
}
#endregion
#region GetJob
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual GetJobResponse GetJob(GetJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return Invoke<GetJobResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual IAsyncResult BeginGetJob(GetJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetJob.</param>
///
/// <returns>Returns a GetJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual GetJobResponse EndGetJob(IAsyncResult asyncResult)
{
return EndInvoke<GetJobResponse>(asyncResult);
}
#endregion
#region GetWebhook
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual GetWebhookResponse GetWebhook(GetWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return Invoke<GetWebhookResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual IAsyncResult BeginGetWebhook(GetWebhookRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetWebhook.</param>
///
/// <returns>Returns a GetWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual GetWebhookResponse EndGetWebhook(IAsyncResult asyncResult)
{
return EndInvoke<GetWebhookResponse>(asyncResult);
}
#endregion
#region ListApps
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual ListAppsResponse ListApps(ListAppsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return Invoke<ListAppsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListApps operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListApps operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApps
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual IAsyncResult BeginListApps(ListAppsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListApps operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApps.</param>
///
/// <returns>Returns a ListAppsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual ListAppsResponse EndListApps(IAsyncResult asyncResult)
{
return EndInvoke<ListAppsResponse>(asyncResult);
}
#endregion
#region ListArtifacts
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return Invoke<ListArtifactsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListArtifacts operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListArtifacts
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual IAsyncResult BeginListArtifacts(ListArtifactsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListArtifacts operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListArtifacts.</param>
///
/// <returns>Returns a ListArtifactsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual ListArtifactsResponse EndListArtifacts(IAsyncResult asyncResult)
{
return EndInvoke<ListArtifactsResponse>(asyncResult);
}
#endregion
#region ListBackendEnvironments
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual ListBackendEnvironmentsResponse ListBackendEnvironments(ListBackendEnvironmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return Invoke<ListBackendEnvironmentsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListBackendEnvironments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBackendEnvironments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual IAsyncResult BeginListBackendEnvironments(ListBackendEnvironmentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListBackendEnvironments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBackendEnvironments.</param>
///
/// <returns>Returns a ListBackendEnvironmentsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual ListBackendEnvironmentsResponse EndListBackendEnvironments(IAsyncResult asyncResult)
{
return EndInvoke<ListBackendEnvironmentsResponse>(asyncResult);
}
#endregion
#region ListBranches
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual ListBranchesResponse ListBranches(ListBranchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return Invoke<ListBranchesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListBranches operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListBranches operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBranches
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual IAsyncResult BeginListBranches(ListBranchesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListBranches operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBranches.</param>
///
/// <returns>Returns a ListBranchesResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual ListBranchesResponse EndListBranches(IAsyncResult asyncResult)
{
return EndInvoke<ListBranchesResponse>(asyncResult);
}
#endregion
#region ListDomainAssociations
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual ListDomainAssociationsResponse ListDomainAssociations(ListDomainAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return Invoke<ListDomainAssociationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListDomainAssociations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainAssociations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual IAsyncResult BeginListDomainAssociations(ListDomainAssociationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListDomainAssociations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDomainAssociations.</param>
///
/// <returns>Returns a ListDomainAssociationsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual ListDomainAssociationsResponse EndListDomainAssociations(IAsyncResult asyncResult)
{
return EndInvoke<ListDomainAssociationsResponse>(asyncResult);
}
#endregion
#region ListJobs
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual ListJobsResponse ListJobs(ListJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return Invoke<ListJobsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListJobs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListJobs operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJobs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual IAsyncResult BeginListJobs(ListJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListJobs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListJobs.</param>
///
/// <returns>Returns a ListJobsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual ListJobsResponse EndListJobs(IAsyncResult asyncResult)
{
return EndInvoke<ListJobsResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region ListWebhooks
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual ListWebhooksResponse ListWebhooks(ListWebhooksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return Invoke<ListWebhooksResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListWebhooks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWebhooks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual IAsyncResult BeginListWebhooks(ListWebhooksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListWebhooks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListWebhooks.</param>
///
/// <returns>Returns a ListWebhooksResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual ListWebhooksResponse EndListWebhooks(IAsyncResult asyncResult)
{
return EndInvoke<ListWebhooksResponse>(asyncResult);
}
#endregion
#region StartDeployment
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return Invoke<StartDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartDeployment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual IAsyncResult BeginStartDeployment(StartDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartDeployment.</param>
///
/// <returns>Returns a StartDeploymentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual StartDeploymentResponse EndStartDeployment(IAsyncResult asyncResult)
{
return EndInvoke<StartDeploymentResponse>(asyncResult);
}
#endregion
#region StartJob
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual StartJobResponse StartJob(StartJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return Invoke<StartJobResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual IAsyncResult BeginStartJob(StartJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartJob.</param>
///
/// <returns>Returns a StartJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual StartJobResponse EndStartJob(IAsyncResult asyncResult)
{
return EndInvoke<StartJobResponse>(asyncResult);
}
#endregion
#region StopJob
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual StopJobResponse StopJob(StopJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return Invoke<StopJobResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StopJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual IAsyncResult BeginStopJob(StopJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StopJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopJob.</param>
///
/// <returns>Returns a StopJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual StopJobResponse EndStopJob(IAsyncResult asyncResult)
{
return EndInvoke<StopJobResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateApp
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual UpdateAppResponse UpdateApp(UpdateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return Invoke<UpdateAppResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual IAsyncResult BeginUpdateApp(UpdateAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApp.</param>
///
/// <returns>Returns a UpdateAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual UpdateAppResponse EndUpdateApp(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAppResponse>(asyncResult);
}
#endregion
#region UpdateBranch
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual UpdateBranchResponse UpdateBranch(UpdateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return Invoke<UpdateBranchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual IAsyncResult BeginUpdateBranch(UpdateBranchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBranch.</param>
///
/// <returns>Returns a UpdateBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual UpdateBranchResponse EndUpdateBranch(IAsyncResult asyncResult)
{
return EndInvoke<UpdateBranchResponse>(asyncResult);
}
#endregion
#region UpdateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual UpdateDomainAssociationResponse UpdateDomainAssociation(UpdateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return Invoke<UpdateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual IAsyncResult BeginUpdateDomainAssociation(UpdateDomainAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDomainAssociation.</param>
///
/// <returns>Returns a UpdateDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual UpdateDomainAssociationResponse EndUpdateDomainAssociation(IAsyncResult asyncResult)
{
return EndInvoke<UpdateDomainAssociationResponse>(asyncResult);
}
#endregion
#region UpdateWebhook
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return Invoke<UpdateWebhookResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual IAsyncResult BeginUpdateWebhook(UpdateWebhookRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateWebhook.</param>
///
/// <returns>Returns a UpdateWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual UpdateWebhookResponse EndUpdateWebhook(IAsyncResult asyncResult)
{
return EndInvoke<UpdateWebhookResponse>(asyncResult);
}
#endregion
}
} | 2,748 |
aws-sdk-net | aws | C# | /*
* 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.Collections.Generic;
using Amazon.Runtime;
using Amazon.Amplify.Model;
namespace Amazon.Amplify
{
/// <summary>
/// Interface 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial interface IAmazonAmplify : IAmazonService, IDisposable
{
#region CreateApp
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
CreateAppResponse CreateApp(CreateAppRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
IAsyncResult BeginCreateApp(CreateAppRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApp.</param>
///
/// <returns>Returns a CreateAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
CreateAppResponse EndCreateApp(IAsyncResult asyncResult);
#endregion
#region CreateBackendEnvironment
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
CreateBackendEnvironmentResponse CreateBackendEnvironment(CreateBackendEnvironmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
IAsyncResult BeginCreateBackendEnvironment(CreateBackendEnvironmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendEnvironment.</param>
///
/// <returns>Returns a CreateBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
CreateBackendEnvironmentResponse EndCreateBackendEnvironment(IAsyncResult asyncResult);
#endregion
#region CreateBranch
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
CreateBranchResponse CreateBranch(CreateBranchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
IAsyncResult BeginCreateBranch(CreateBranchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBranch.</param>
///
/// <returns>Returns a CreateBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
CreateBranchResponse EndCreateBranch(IAsyncResult asyncResult);
#endregion
#region CreateDeployment
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
IAsyncResult BeginCreateDeployment(CreateDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDeployment.</param>
///
/// <returns>Returns a CreateDeploymentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult);
#endregion
#region CreateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
CreateDomainAssociationResponse CreateDomainAssociation(CreateDomainAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
IAsyncResult BeginCreateDomainAssociation(CreateDomainAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDomainAssociation.</param>
///
/// <returns>Returns a CreateDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
CreateDomainAssociationResponse EndCreateDomainAssociation(IAsyncResult asyncResult);
#endregion
#region CreateWebhook
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
CreateWebhookResponse CreateWebhook(CreateWebhookRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
IAsyncResult BeginCreateWebhook(CreateWebhookRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateWebhook.</param>
///
/// <returns>Returns a CreateWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
CreateWebhookResponse EndCreateWebhook(IAsyncResult asyncResult);
#endregion
#region DeleteApp
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
DeleteAppResponse DeleteApp(DeleteAppRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
IAsyncResult BeginDeleteApp(DeleteAppRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApp.</param>
///
/// <returns>Returns a DeleteAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
DeleteAppResponse EndDeleteApp(IAsyncResult asyncResult);
#endregion
#region DeleteBackendEnvironment
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
DeleteBackendEnvironmentResponse DeleteBackendEnvironment(DeleteBackendEnvironmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
IAsyncResult BeginDeleteBackendEnvironment(DeleteBackendEnvironmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendEnvironment.</param>
///
/// <returns>Returns a DeleteBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
DeleteBackendEnvironmentResponse EndDeleteBackendEnvironment(IAsyncResult asyncResult);
#endregion
#region DeleteBranch
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
DeleteBranchResponse DeleteBranch(DeleteBranchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
IAsyncResult BeginDeleteBranch(DeleteBranchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBranch.</param>
///
/// <returns>Returns a DeleteBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
DeleteBranchResponse EndDeleteBranch(IAsyncResult asyncResult);
#endregion
#region DeleteDomainAssociation
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
DeleteDomainAssociationResponse DeleteDomainAssociation(DeleteDomainAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
IAsyncResult BeginDeleteDomainAssociation(DeleteDomainAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDomainAssociation.</param>
///
/// <returns>Returns a DeleteDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
DeleteDomainAssociationResponse EndDeleteDomainAssociation(IAsyncResult asyncResult);
#endregion
#region DeleteJob
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
DeleteJobResponse DeleteJob(DeleteJobRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
IAsyncResult BeginDeleteJob(DeleteJobRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteJob.</param>
///
/// <returns>Returns a DeleteJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
DeleteJobResponse EndDeleteJob(IAsyncResult asyncResult);
#endregion
#region DeleteWebhook
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
IAsyncResult BeginDeleteWebhook(DeleteWebhookRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteWebhook.</param>
///
/// <returns>Returns a DeleteWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
DeleteWebhookResponse EndDeleteWebhook(IAsyncResult asyncResult);
#endregion
#region GenerateAccessLogs
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
GenerateAccessLogsResponse GenerateAccessLogs(GenerateAccessLogsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GenerateAccessLogs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGenerateAccessLogs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
IAsyncResult BeginGenerateAccessLogs(GenerateAccessLogsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GenerateAccessLogs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGenerateAccessLogs.</param>
///
/// <returns>Returns a GenerateAccessLogsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
GenerateAccessLogsResponse EndGenerateAccessLogs(IAsyncResult asyncResult);
#endregion
#region GetApp
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
GetAppResponse GetApp(GetAppRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
IAsyncResult BeginGetApp(GetAppRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApp.</param>
///
/// <returns>Returns a GetAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
GetAppResponse EndGetApp(IAsyncResult asyncResult);
#endregion
#region GetArtifactUrl
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
GetArtifactUrlResponse GetArtifactUrl(GetArtifactUrlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetArtifactUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetArtifactUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
IAsyncResult BeginGetArtifactUrl(GetArtifactUrlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetArtifactUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetArtifactUrl.</param>
///
/// <returns>Returns a GetArtifactUrlResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
GetArtifactUrlResponse EndGetArtifactUrl(IAsyncResult asyncResult);
#endregion
#region GetBackendEnvironment
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
GetBackendEnvironmentResponse GetBackendEnvironment(GetBackendEnvironmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetBackendEnvironment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBackendEnvironment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
IAsyncResult BeginGetBackendEnvironment(GetBackendEnvironmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetBackendEnvironment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendEnvironment.</param>
///
/// <returns>Returns a GetBackendEnvironmentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
GetBackendEnvironmentResponse EndGetBackendEnvironment(IAsyncResult asyncResult);
#endregion
#region GetBranch
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
GetBranchResponse GetBranch(GetBranchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
IAsyncResult BeginGetBranch(GetBranchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBranch.</param>
///
/// <returns>Returns a GetBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
GetBranchResponse EndGetBranch(IAsyncResult asyncResult);
#endregion
#region GetDomainAssociation
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
GetDomainAssociationResponse GetDomainAssociation(GetDomainAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
IAsyncResult BeginGetDomainAssociation(GetDomainAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDomainAssociation.</param>
///
/// <returns>Returns a GetDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
GetDomainAssociationResponse EndGetDomainAssociation(IAsyncResult asyncResult);
#endregion
#region GetJob
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
GetJobResponse GetJob(GetJobRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
IAsyncResult BeginGetJob(GetJobRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetJob.</param>
///
/// <returns>Returns a GetJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
GetJobResponse EndGetJob(IAsyncResult asyncResult);
#endregion
#region GetWebhook
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
GetWebhookResponse GetWebhook(GetWebhookRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
IAsyncResult BeginGetWebhook(GetWebhookRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetWebhook.</param>
///
/// <returns>Returns a GetWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
GetWebhookResponse EndGetWebhook(IAsyncResult asyncResult);
#endregion
#region ListApps
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
ListAppsResponse ListApps(ListAppsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListApps operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListApps operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApps
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
IAsyncResult BeginListApps(ListAppsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListApps operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApps.</param>
///
/// <returns>Returns a ListAppsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
ListAppsResponse EndListApps(IAsyncResult asyncResult);
#endregion
#region ListArtifacts
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
ListArtifactsResponse ListArtifacts(ListArtifactsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListArtifacts operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListArtifacts
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
IAsyncResult BeginListArtifacts(ListArtifactsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListArtifacts operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListArtifacts.</param>
///
/// <returns>Returns a ListArtifactsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
ListArtifactsResponse EndListArtifacts(IAsyncResult asyncResult);
#endregion
#region ListBackendEnvironments
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
ListBackendEnvironmentsResponse ListBackendEnvironments(ListBackendEnvironmentsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListBackendEnvironments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBackendEnvironments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
IAsyncResult BeginListBackendEnvironments(ListBackendEnvironmentsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListBackendEnvironments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBackendEnvironments.</param>
///
/// <returns>Returns a ListBackendEnvironmentsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
ListBackendEnvironmentsResponse EndListBackendEnvironments(IAsyncResult asyncResult);
#endregion
#region ListBranches
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
ListBranchesResponse ListBranches(ListBranchesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListBranches operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListBranches operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBranches
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
IAsyncResult BeginListBranches(ListBranchesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListBranches operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBranches.</param>
///
/// <returns>Returns a ListBranchesResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
ListBranchesResponse EndListBranches(IAsyncResult asyncResult);
#endregion
#region ListDomainAssociations
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
ListDomainAssociationsResponse ListDomainAssociations(ListDomainAssociationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListDomainAssociations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainAssociations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
IAsyncResult BeginListDomainAssociations(ListDomainAssociationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListDomainAssociations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDomainAssociations.</param>
///
/// <returns>Returns a ListDomainAssociationsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
ListDomainAssociationsResponse EndListDomainAssociations(IAsyncResult asyncResult);
#endregion
#region ListJobs
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
ListJobsResponse ListJobs(ListJobsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListJobs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListJobs operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJobs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
IAsyncResult BeginListJobs(ListJobsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListJobs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListJobs.</param>
///
/// <returns>Returns a ListJobsResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
ListJobsResponse EndListJobs(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region ListWebhooks
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
ListWebhooksResponse ListWebhooks(ListWebhooksRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListWebhooks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWebhooks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
IAsyncResult BeginListWebhooks(ListWebhooksRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListWebhooks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListWebhooks.</param>
///
/// <returns>Returns a ListWebhooksResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
ListWebhooksResponse EndListWebhooks(IAsyncResult asyncResult);
#endregion
#region StartDeployment
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
StartDeploymentResponse StartDeployment(StartDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartDeployment operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
IAsyncResult BeginStartDeployment(StartDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartDeployment.</param>
///
/// <returns>Returns a StartDeploymentResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
StartDeploymentResponse EndStartDeployment(IAsyncResult asyncResult);
#endregion
#region StartJob
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
StartJobResponse StartJob(StartJobRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
IAsyncResult BeginStartJob(StartJobRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartJob.</param>
///
/// <returns>Returns a StartJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
StartJobResponse EndStartJob(IAsyncResult asyncResult);
#endregion
#region StopJob
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
StopJobResponse StopJob(StopJobRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StopJob operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopJob operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopJob
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
IAsyncResult BeginStopJob(StopJobRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StopJob operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopJob.</param>
///
/// <returns>Returns a StopJobResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
StopJobResponse EndStopJob(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateApp
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
UpdateAppResponse UpdateApp(UpdateAppRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateApp operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApp operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApp
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
IAsyncResult BeginUpdateApp(UpdateAppRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateApp operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApp.</param>
///
/// <returns>Returns a UpdateAppResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
UpdateAppResponse EndUpdateApp(IAsyncResult asyncResult);
#endregion
#region UpdateBranch
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
UpdateBranchResponse UpdateBranch(UpdateBranchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateBranch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBranch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
IAsyncResult BeginUpdateBranch(UpdateBranchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateBranch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBranch.</param>
///
/// <returns>Returns a UpdateBranchResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
UpdateBranchResponse EndUpdateBranch(IAsyncResult asyncResult);
#endregion
#region UpdateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
UpdateDomainAssociationResponse UpdateDomainAssociation(UpdateDomainAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateDomainAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
IAsyncResult BeginUpdateDomainAssociation(UpdateDomainAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateDomainAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDomainAssociation.</param>
///
/// <returns>Returns a UpdateDomainAssociationResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
UpdateDomainAssociationResponse EndUpdateDomainAssociation(IAsyncResult asyncResult);
#endregion
#region UpdateWebhook
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateWebhook operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook operation on AmazonAmplifyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWebhook
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
IAsyncResult BeginUpdateWebhook(UpdateWebhookRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateWebhook operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateWebhook.</param>
///
/// <returns>Returns a UpdateWebhookResult from Amplify.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
UpdateWebhookResponse EndUpdateWebhook(IAsyncResult asyncResult);
#endregion
}
} | 2,022 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial class AmazonAmplifyClient : AmazonServiceClient, IAmazonAmplify
{
private static IServiceMetadata serviceMetadata = new AmazonAmplifyMetadata();
#region Constructors
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAmplifyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig()) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig{RegionEndpoint = region}) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AmazonAmplifyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAmplifyClient(AWSCredentials credentials)
: this(credentials, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AWSCredentials credentials, AmazonAmplifyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAmplifyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateApp
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual CreateAppResponse CreateApp(CreateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return Invoke<CreateAppResponse>(request, options);
}
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual Task<CreateAppResponse> CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppResponse>(request, options, cancellationToken);
}
#endregion
#region CreateBackendEnvironment
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual CreateBackendEnvironmentResponse CreateBackendEnvironment(CreateBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<CreateBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual Task<CreateBackendEnvironmentResponse> CreateBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateBackendEnvironmentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateBranch
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual CreateBranchResponse CreateBranch(CreateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return Invoke<CreateBranchResponse>(request, options);
}
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual Task<CreateBranchResponse> CreateBranchAsync(CreateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return InvokeAsync<CreateBranchResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDeployment
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke<CreateDeploymentResponse>(request, options);
}
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<CreateDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual CreateDomainAssociationResponse CreateDomainAssociation(CreateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return Invoke<CreateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual Task<CreateDomainAssociationResponse> CreateDomainAssociationAsync(CreateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<CreateDomainAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateWebhook
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual CreateWebhookResponse CreateWebhook(CreateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return Invoke<CreateWebhookResponse>(request, options);
}
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual Task<CreateWebhookResponse> CreateWebhookAsync(CreateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return InvokeAsync<CreateWebhookResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApp
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual DeleteAppResponse DeleteApp(DeleteAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return Invoke<DeleteAppResponse>(request, options);
}
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual Task<DeleteAppResponse> DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteBackendEnvironment
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual DeleteBackendEnvironmentResponse DeleteBackendEnvironment(DeleteBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<DeleteBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual Task<DeleteBackendEnvironmentResponse> DeleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteBackendEnvironmentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteBranch
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual DeleteBranchResponse DeleteBranch(DeleteBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return Invoke<DeleteBranchResponse>(request, options);
}
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual Task<DeleteBranchResponse> DeleteBranchAsync(DeleteBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return InvokeAsync<DeleteBranchResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDomainAssociation
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual DeleteDomainAssociationResponse DeleteDomainAssociation(DeleteDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return Invoke<DeleteDomainAssociationResponse>(request, options);
}
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual Task<DeleteDomainAssociationResponse> DeleteDomainAssociationAsync(DeleteDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDomainAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteJob
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke<DeleteJobResponse>(request, options);
}
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual Task<DeleteJobResponse> DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return InvokeAsync<DeleteJobResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteWebhook
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return Invoke<DeleteWebhookResponse>(request, options);
}
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual Task<DeleteWebhookResponse> DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return InvokeAsync<DeleteWebhookResponse>(request, options, cancellationToken);
}
#endregion
#region GenerateAccessLogs
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual GenerateAccessLogsResponse GenerateAccessLogs(GenerateAccessLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return Invoke<GenerateAccessLogsResponse>(request, options);
}
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual Task<GenerateAccessLogsResponse> GenerateAccessLogsAsync(GenerateAccessLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return InvokeAsync<GenerateAccessLogsResponse>(request, options, cancellationToken);
}
#endregion
#region GetApp
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual GetAppResponse GetApp(GetAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return Invoke<GetAppResponse>(request, options);
}
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual Task<GetAppResponse> GetAppAsync(GetAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return InvokeAsync<GetAppResponse>(request, options, cancellationToken);
}
#endregion
#region GetArtifactUrl
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual GetArtifactUrlResponse GetArtifactUrl(GetArtifactUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return Invoke<GetArtifactUrlResponse>(request, options);
}
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual Task<GetArtifactUrlResponse> GetArtifactUrlAsync(GetArtifactUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetArtifactUrlResponse>(request, options, cancellationToken);
}
#endregion
#region GetBackendEnvironment
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual GetBackendEnvironmentResponse GetBackendEnvironment(GetBackendEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return Invoke<GetBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual Task<GetBackendEnvironmentResponse> GetBackendEnvironmentAsync(GetBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<GetBackendEnvironmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetBranch
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual GetBranchResponse GetBranch(GetBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return Invoke<GetBranchResponse>(request, options);
}
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual Task<GetBranchResponse> GetBranchAsync(GetBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return InvokeAsync<GetBranchResponse>(request, options, cancellationToken);
}
#endregion
#region GetDomainAssociation
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual GetDomainAssociationResponse GetDomainAssociation(GetDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return Invoke<GetDomainAssociationResponse>(request, options);
}
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual Task<GetDomainAssociationResponse> GetDomainAssociationAsync(GetDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<GetDomainAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region GetJob
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual GetJobResponse GetJob(GetJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return Invoke<GetJobResponse>(request, options);
}
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual Task<GetJobResponse> GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return InvokeAsync<GetJobResponse>(request, options, cancellationToken);
}
#endregion
#region GetWebhook
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual GetWebhookResponse GetWebhook(GetWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return Invoke<GetWebhookResponse>(request, options);
}
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual Task<GetWebhookResponse> GetWebhookAsync(GetWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return InvokeAsync<GetWebhookResponse>(request, options, cancellationToken);
}
#endregion
#region ListApps
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual ListAppsResponse ListApps(ListAppsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return Invoke<ListAppsResponse>(request, options);
}
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual Task<ListAppsResponse> ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return InvokeAsync<ListAppsResponse>(request, options, cancellationToken);
}
#endregion
#region ListArtifacts
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return Invoke<ListArtifactsResponse>(request, options);
}
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual Task<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return InvokeAsync<ListArtifactsResponse>(request, options, cancellationToken);
}
#endregion
#region ListBackendEnvironments
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual ListBackendEnvironmentsResponse ListBackendEnvironments(ListBackendEnvironmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return Invoke<ListBackendEnvironmentsResponse>(request, options);
}
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual Task<ListBackendEnvironmentsResponse> ListBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListBackendEnvironmentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListBranches
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual ListBranchesResponse ListBranches(ListBranchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return Invoke<ListBranchesResponse>(request, options);
}
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual Task<ListBranchesResponse> ListBranchesAsync(ListBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return InvokeAsync<ListBranchesResponse>(request, options, cancellationToken);
}
#endregion
#region ListDomainAssociations
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual ListDomainAssociationsResponse ListDomainAssociations(ListDomainAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return Invoke<ListDomainAssociationsResponse>(request, options);
}
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual Task<ListDomainAssociationsResponse> ListDomainAssociationsAsync(ListDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return InvokeAsync<ListDomainAssociationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListJobs
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual ListJobsResponse ListJobs(ListJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return Invoke<ListJobsResponse>(request, options);
}
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual Task<ListJobsResponse> ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return InvokeAsync<ListJobsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region ListWebhooks
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual ListWebhooksResponse ListWebhooks(ListWebhooksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return Invoke<ListWebhooksResponse>(request, options);
}
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual Task<ListWebhooksResponse> ListWebhooksAsync(ListWebhooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return InvokeAsync<ListWebhooksResponse>(request, options, cancellationToken);
}
#endregion
#region StartDeployment
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return Invoke<StartDeploymentResponse>(request, options);
}
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<StartDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region StartJob
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual StartJobResponse StartJob(StartJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return Invoke<StartJobResponse>(request, options);
}
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual Task<StartJobResponse> StartJobAsync(StartJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return InvokeAsync<StartJobResponse>(request, options, cancellationToken);
}
#endregion
#region StopJob
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual StopJobResponse StopJob(StopJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return Invoke<StopJobResponse>(request, options);
}
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual Task<StopJobResponse> StopJobAsync(StopJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return InvokeAsync<StopJobResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateApp
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual UpdateAppResponse UpdateApp(UpdateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return Invoke<UpdateAppResponse>(request, options);
}
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual Task<UpdateAppResponse> UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAppResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateBranch
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual UpdateBranchResponse UpdateBranch(UpdateBranchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return Invoke<UpdateBranchResponse>(request, options);
}
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual Task<UpdateBranchResponse> UpdateBranchAsync(UpdateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return InvokeAsync<UpdateBranchResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual UpdateDomainAssociationResponse UpdateDomainAssociation(UpdateDomainAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return Invoke<UpdateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual Task<UpdateDomainAssociationResponse> UpdateDomainAssociationAsync(UpdateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDomainAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateWebhook
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return Invoke<UpdateWebhookResponse>(request, options);
}
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual Task<UpdateWebhookResponse> UpdateWebhookAsync(UpdateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return InvokeAsync<UpdateWebhookResponse>(request, options, cancellationToken);
}
#endregion
}
} | 2,763 |
aws-sdk-net | aws | C# | /*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Amplify.Model;
namespace Amazon.Amplify
{
/// <summary>
/// Interface 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial interface IAmazonAmplify : IAmazonService, IDisposable
{
#region CreateApp
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
CreateAppResponse CreateApp(CreateAppRequest request);
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
Task<CreateAppResponse> CreateAppAsync(CreateAppRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBackendEnvironment
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
CreateBackendEnvironmentResponse CreateBackendEnvironment(CreateBackendEnvironmentRequest request);
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
Task<CreateBackendEnvironmentResponse> CreateBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBranch
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
CreateBranchResponse CreateBranch(CreateBranchRequest request);
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
Task<CreateBranchResponse> CreateBranchAsync(CreateBranchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request);
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
CreateDomainAssociationResponse CreateDomainAssociation(CreateDomainAssociationRequest request);
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
Task<CreateDomainAssociationResponse> CreateDomainAssociationAsync(CreateDomainAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateWebhook
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
CreateWebhookResponse CreateWebhook(CreateWebhookRequest request);
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
Task<CreateWebhookResponse> CreateWebhookAsync(CreateWebhookRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApp
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
DeleteAppResponse DeleteApp(DeleteAppRequest request);
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
Task<DeleteAppResponse> DeleteAppAsync(DeleteAppRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBackendEnvironment
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
DeleteBackendEnvironmentResponse DeleteBackendEnvironment(DeleteBackendEnvironmentRequest request);
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
Task<DeleteBackendEnvironmentResponse> DeleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBranch
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
DeleteBranchResponse DeleteBranch(DeleteBranchRequest request);
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
Task<DeleteBranchResponse> DeleteBranchAsync(DeleteBranchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainAssociation
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
DeleteDomainAssociationResponse DeleteDomainAssociation(DeleteDomainAssociationRequest request);
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
Task<DeleteDomainAssociationResponse> DeleteDomainAssociationAsync(DeleteDomainAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteJob
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
DeleteJobResponse DeleteJob(DeleteJobRequest request);
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
Task<DeleteJobResponse> DeleteJobAsync(DeleteJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteWebhook
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request);
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
Task<DeleteWebhookResponse> DeleteWebhookAsync(DeleteWebhookRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GenerateAccessLogs
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
GenerateAccessLogsResponse GenerateAccessLogs(GenerateAccessLogsRequest request);
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
Task<GenerateAccessLogsResponse> GenerateAccessLogsAsync(GenerateAccessLogsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApp
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
GetAppResponse GetApp(GetAppRequest request);
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
Task<GetAppResponse> GetAppAsync(GetAppRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetArtifactUrl
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
GetArtifactUrlResponse GetArtifactUrl(GetArtifactUrlRequest request);
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
Task<GetArtifactUrlResponse> GetArtifactUrlAsync(GetArtifactUrlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBackendEnvironment
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
GetBackendEnvironmentResponse GetBackendEnvironment(GetBackendEnvironmentRequest request);
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
Task<GetBackendEnvironmentResponse> GetBackendEnvironmentAsync(GetBackendEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBranch
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
GetBranchResponse GetBranch(GetBranchRequest request);
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
Task<GetBranchResponse> GetBranchAsync(GetBranchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainAssociation
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
GetDomainAssociationResponse GetDomainAssociation(GetDomainAssociationRequest request);
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
Task<GetDomainAssociationResponse> GetDomainAssociationAsync(GetDomainAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetJob
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
GetJobResponse GetJob(GetJobRequest request);
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
Task<GetJobResponse> GetJobAsync(GetJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetWebhook
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
GetWebhookResponse GetWebhook(GetWebhookRequest request);
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
Task<GetWebhookResponse> GetWebhookAsync(GetWebhookRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApps
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
ListAppsResponse ListApps(ListAppsRequest request);
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
Task<ListAppsResponse> ListAppsAsync(ListAppsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListArtifacts
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
ListArtifactsResponse ListArtifacts(ListArtifactsRequest request);
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
Task<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBackendEnvironments
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
ListBackendEnvironmentsResponse ListBackendEnvironments(ListBackendEnvironmentsRequest request);
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
Task<ListBackendEnvironmentsResponse> ListBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBranches
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
ListBranchesResponse ListBranches(ListBranchesRequest request);
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
Task<ListBranchesResponse> ListBranchesAsync(ListBranchesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDomainAssociations
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
ListDomainAssociationsResponse ListDomainAssociations(ListDomainAssociationsRequest request);
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
Task<ListDomainAssociationsResponse> ListDomainAssociationsAsync(ListDomainAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListJobs
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
ListJobsResponse ListJobs(ListJobsRequest request);
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
Task<ListJobsResponse> ListJobsAsync(ListJobsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListWebhooks
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
ListWebhooksResponse ListWebhooks(ListWebhooksRequest request);
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
Task<ListWebhooksResponse> ListWebhooksAsync(ListWebhooksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartDeployment
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
StartDeploymentResponse StartDeployment(StartDeploymentRequest request);
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartJob
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
StartJobResponse StartJob(StartJobRequest request);
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
Task<StartJobResponse> StartJobAsync(StartJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopJob
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
StopJobResponse StopJob(StopJobRequest request);
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
Task<StopJobResponse> StopJobAsync(StopJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApp
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
UpdateAppResponse UpdateApp(UpdateAppRequest request);
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
Task<UpdateAppResponse> UpdateAppAsync(UpdateAppRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBranch
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
UpdateBranchResponse UpdateBranch(UpdateBranchRequest request);
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
Task<UpdateBranchResponse> UpdateBranchAsync(UpdateBranchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
UpdateDomainAssociationResponse UpdateDomainAssociation(UpdateDomainAssociationRequest request);
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
Task<UpdateDomainAssociationResponse> UpdateDomainAssociationAsync(UpdateDomainAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateWebhook
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request);
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
Task<UpdateWebhookResponse> UpdateWebhookAsync(UpdateWebhookRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 2,073 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial class AmazonAmplifyClient : AmazonServiceClient, IAmazonAmplify
{
private static IServiceMetadata serviceMetadata = new AmazonAmplifyMetadata();
#region Constructors
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAmplifyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig()) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyConfig{RegionEndpoint = region}) { }
/// <summary>
/// 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.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AmazonAmplifyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAmplifyClient(AWSCredentials credentials)
: this(credentials, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Credentials and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(AWSCredentials credentials, AmazonAmplifyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig())
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAmplifyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAmplifyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonAmplifyClient Configuration Object</param>
public AmazonAmplifyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customizes the runtime pipeline.
/// </summary>
/// <param name="pipeline">Runtime pipeline for the current client.</param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAmplifyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
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<CreateAppResponse>(request, options);
}
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
public virtual Task<CreateAppResponse> CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppResponse>(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<CreateBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
public virtual Task<CreateBackendEnvironmentResponse> CreateBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateBackendEnvironmentResponse>(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<CreateBranchResponse>(request, options);
}
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
public virtual Task<CreateBranchResponse> CreateBranchAsync(CreateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance;
return InvokeAsync<CreateBranchResponse>(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<CreateDeploymentResponse>(request, options);
}
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<CreateDeploymentResponse>(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<CreateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
public virtual Task<CreateDomainAssociationResponse> CreateDomainAssociationAsync(CreateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<CreateDomainAssociationResponse>(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<CreateWebhookResponse>(request, options);
}
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
public virtual Task<CreateWebhookResponse> CreateWebhookAsync(CreateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance;
return InvokeAsync<CreateWebhookResponse>(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<DeleteAppResponse>(request, options);
}
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
public virtual Task<DeleteAppResponse> DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppResponse>(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<DeleteBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
public virtual Task<DeleteBackendEnvironmentResponse> DeleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteBackendEnvironmentResponse>(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<DeleteBranchResponse>(request, options);
}
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
public virtual Task<DeleteBranchResponse> DeleteBranchAsync(DeleteBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance;
return InvokeAsync<DeleteBranchResponse>(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<DeleteDomainAssociationResponse>(request, options);
}
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
public virtual Task<DeleteDomainAssociationResponse> DeleteDomainAssociationAsync(DeleteDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDomainAssociationResponse>(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<DeleteJobResponse>(request, options);
}
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
public virtual Task<DeleteJobResponse> DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return InvokeAsync<DeleteJobResponse>(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<DeleteWebhookResponse>(request, options);
}
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
public virtual Task<DeleteWebhookResponse> DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance;
return InvokeAsync<DeleteWebhookResponse>(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<GenerateAccessLogsResponse>(request, options);
}
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
public virtual Task<GenerateAccessLogsResponse> GenerateAccessLogsAsync(GenerateAccessLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateAccessLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateAccessLogsResponseUnmarshaller.Instance;
return InvokeAsync<GenerateAccessLogsResponse>(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<GetAppResponse>(request, options);
}
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
public virtual Task<GetAppResponse> GetAppAsync(GetAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppResponseUnmarshaller.Instance;
return InvokeAsync<GetAppResponse>(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<GetArtifactUrlResponse>(request, options);
}
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
public virtual Task<GetArtifactUrlResponse> GetArtifactUrlAsync(GetArtifactUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetArtifactUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetArtifactUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetArtifactUrlResponse>(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<GetBackendEnvironmentResponse>(request, options);
}
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
public virtual Task<GetBackendEnvironmentResponse> GetBackendEnvironmentAsync(GetBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBackendEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBackendEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync<GetBackendEnvironmentResponse>(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<GetBranchResponse>(request, options);
}
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
public virtual Task<GetBranchResponse> GetBranchAsync(GetBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance;
return InvokeAsync<GetBranchResponse>(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<GetDomainAssociationResponse>(request, options);
}
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
public virtual Task<GetDomainAssociationResponse> GetDomainAssociationAsync(GetDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<GetDomainAssociationResponse>(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<GetJobResponse>(request, options);
}
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
public virtual Task<GetJobResponse> GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return InvokeAsync<GetJobResponse>(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<GetWebhookResponse>(request, options);
}
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
public virtual Task<GetWebhookResponse> GetWebhookAsync(GetWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWebhookResponseUnmarshaller.Instance;
return InvokeAsync<GetWebhookResponse>(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<ListAppsResponse>(request, options);
}
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
public virtual Task<ListAppsResponse> ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return InvokeAsync<ListAppsResponse>(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<ListArtifactsResponse>(request, options);
}
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
public virtual Task<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return InvokeAsync<ListArtifactsResponse>(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<ListBackendEnvironmentsResponse>(request, options);
}
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
public virtual Task<ListBackendEnvironmentsResponse> ListBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBackendEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBackendEnvironmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListBackendEnvironmentsResponse>(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<ListBranchesResponse>(request, options);
}
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
public virtual Task<ListBranchesResponse> ListBranchesAsync(ListBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBranchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance;
return InvokeAsync<ListBranchesResponse>(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<ListDomainAssociationsResponse>(request, options);
}
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
public virtual Task<ListDomainAssociationsResponse> ListDomainAssociationsAsync(ListDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainAssociationsResponseUnmarshaller.Instance;
return InvokeAsync<ListDomainAssociationsResponse>(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<ListJobsResponse>(request, options);
}
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
public virtual Task<ListJobsResponse> ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return InvokeAsync<ListJobsResponse>(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<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(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<ListWebhooksResponse>(request, options);
}
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
public virtual Task<ListWebhooksResponse> ListWebhooksAsync(ListWebhooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance;
return InvokeAsync<ListWebhooksResponse>(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<StartDeploymentResponse>(request, options);
}
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
public virtual Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<StartDeploymentResponse>(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<StartJobResponse>(request, options);
}
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
public virtual Task<StartJobResponse> StartJobAsync(StartJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance;
return InvokeAsync<StartJobResponse>(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<StopJobResponse>(request, options);
}
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
public virtual Task<StopJobResponse> StopJobAsync(StopJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return InvokeAsync<StopJobResponse>(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<TagResourceResponse>(request, options);
}
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(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<UntagResourceResponse>(request, options);
}
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(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<UpdateAppResponse>(request, options);
}
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
public virtual Task<UpdateAppResponse> UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAppResponse>(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<UpdateBranchResponse>(request, options);
}
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
public virtual Task<UpdateBranchResponse> UpdateBranchAsync(UpdateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBranchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBranchResponseUnmarshaller.Instance;
return InvokeAsync<UpdateBranchResponse>(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<UpdateDomainAssociationResponse>(request, options);
}
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
public virtual Task<UpdateDomainAssociationResponse> UpdateDomainAssociationAsync(UpdateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainAssociationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDomainAssociationResponse>(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<UpdateWebhookResponse>(request, options);
}
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
public virtual Task<UpdateWebhookResponse> UpdateWebhookAsync(UpdateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance;
return InvokeAsync<UpdateWebhookResponse>(request, options, cancellationToken);
}
#endregion
}
} | 2,011 |
aws-sdk-net | aws | C# | /*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Amplify.Model;
namespace Amazon.Amplify
{
/// <summary>
/// Interface 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 <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
/// Console User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries,
/// tools, and documentation for client app development. For more information, see the
/// <a href="https://docs.amplify.aws/">Amplify Framework.</a>
/// </summary>
public partial interface IAmazonAmplify : IAmazonService, IDisposable
{
#region CreateApp
/// <summary>
/// Creates a new Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp">REST API Reference for CreateApp Operation</seealso>
Task<CreateAppResponse> CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBackendEnvironment
/// <summary>
/// Creates a new backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment">REST API Reference for CreateBackendEnvironment Operation</seealso>
Task<CreateBackendEnvironmentResponse> CreateBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBranch
/// <summary>
/// Creates a new branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch">REST API Reference for CreateBranch Operation</seealso>
Task<CreateBranchResponse> CreateBranchAsync(CreateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation">REST API Reference for CreateDomainAssociation Operation</seealso>
Task<CreateDomainAssociationResponse> CreateDomainAssociationAsync(CreateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateWebhook
/// <summary>
/// Creates a new webhook on an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook">REST API Reference for CreateWebhook Operation</seealso>
Task<CreateWebhookResponse> CreateWebhookAsync(CreateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApp
/// <summary>
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp">REST API Reference for DeleteApp Operation</seealso>
Task<DeleteAppResponse> DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBackendEnvironment
/// <summary>
/// Deletes a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment">REST API Reference for DeleteBackendEnvironment Operation</seealso>
Task<DeleteBackendEnvironmentResponse> DeleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBranch
/// <summary>
/// Deletes a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch">REST API Reference for DeleteBranch Operation</seealso>
Task<DeleteBranchResponse> DeleteBranchAsync(DeleteBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainAssociation
/// <summary>
/// Deletes a domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation">REST API Reference for DeleteDomainAssociation Operation</seealso>
Task<DeleteDomainAssociationResponse> DeleteDomainAssociationAsync(DeleteDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteJob
/// <summary>
/// Deletes a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob">REST API Reference for DeleteJob Operation</seealso>
Task<DeleteJobResponse> DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteWebhook
/// <summary>
/// Deletes a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook">REST API Reference for DeleteWebhook Operation</seealso>
Task<DeleteWebhookResponse> DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GenerateAccessLogs
/// <summary>
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateAccessLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateAccessLogs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs">REST API Reference for GenerateAccessLogs Operation</seealso>
Task<GenerateAccessLogsResponse> GenerateAccessLogsAsync(GenerateAccessLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApp
/// <summary>
/// Returns an existing Amplify app by appID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp">REST API Reference for GetApp Operation</seealso>
Task<GetAppResponse> GetAppAsync(GetAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetArtifactUrl
/// <summary>
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetArtifactUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetArtifactUrl service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl">REST API Reference for GetArtifactUrl Operation</seealso>
Task<GetArtifactUrlResponse> GetArtifactUrlAsync(GetArtifactUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBackendEnvironment
/// <summary>
/// Returns a backend environment for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBackendEnvironment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBackendEnvironment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment">REST API Reference for GetBackendEnvironment Operation</seealso>
Task<GetBackendEnvironmentResponse> GetBackendEnvironmentAsync(GetBackendEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBranch
/// <summary>
/// Returns a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch">REST API Reference for GetBranch Operation</seealso>
Task<GetBranchResponse> GetBranchAsync(GetBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainAssociation
/// <summary>
/// Returns the domain information for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation">REST API Reference for GetDomainAssociation Operation</seealso>
Task<GetDomainAssociationResponse> GetDomainAssociationAsync(GetDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetJob
/// <summary>
/// Returns a job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob">REST API Reference for GetJob Operation</seealso>
Task<GetJobResponse> GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetWebhook
/// <summary>
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook">REST API Reference for GetWebhook Operation</seealso>
Task<GetWebhookResponse> GetWebhookAsync(GetWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApps
/// <summary>
/// Returns a list of the existing Amplify apps.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApps service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApps service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps">REST API Reference for ListApps Operation</seealso>
Task<ListAppsResponse> ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListArtifacts
/// <summary>
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListArtifacts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListArtifacts service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts">REST API Reference for ListArtifacts Operation</seealso>
Task<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBackendEnvironments
/// <summary>
/// Lists the backend environments for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBackendEnvironments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBackendEnvironments service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments">REST API Reference for ListBackendEnvironments Operation</seealso>
Task<ListBackendEnvironmentsResponse> ListBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBranches
/// <summary>
/// Lists the branches of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListBranches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListBranches service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches">REST API Reference for ListBranches Operation</seealso>
Task<ListBranchesResponse> ListBranchesAsync(ListBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDomainAssociations
/// <summary>
/// Returns the domain associations for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListDomainAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListDomainAssociations service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations">REST API Reference for ListDomainAssociations Operation</seealso>
Task<ListDomainAssociationsResponse> ListDomainAssociationsAsync(ListDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListJobs
/// <summary>
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListJobs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListJobs service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs">REST API Reference for ListJobs Operation</seealso>
Task<ListJobsResponse> ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListWebhooks
/// <summary>
/// Returns a list of webhooks for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListWebhooks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListWebhooks service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks">REST API Reference for ListWebhooks Operation</seealso>
Task<ListWebhooksResponse> ListWebhooksAsync(ListWebhooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartDeployment
/// <summary>
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartDeployment service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment">REST API Reference for StartDeployment Operation</seealso>
Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartJob
/// <summary>
/// Starts a new job for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob">REST API Reference for StartJob Operation</seealso>
Task<StartJobResponse> StartJobAsync(StartJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopJob
/// <summary>
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopJob service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopJob service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.LimitExceededException">
/// A resource could not be created because service quotas were exceeded.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob">REST API Reference for StopJob Operation</seealso>
Task<StopJobResponse> StopJobAsync(StopJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags the resource with a tag key and value.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.ResourceNotFoundException">
/// An operation failed due to a non-existent resource.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApp
/// <summary>
/// Updates an existing Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApp service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApp service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp">REST API Reference for UpdateApp Operation</seealso>
Task<UpdateAppResponse> UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBranch
/// <summary>
/// Updates a branch for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBranch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBranch service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch">REST API Reference for UpdateBranch Operation</seealso>
Task<UpdateBranchResponse> UpdateBranchAsync(UpdateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainAssociation
/// <summary>
/// Creates a new domain association for an Amplify app.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainAssociation service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation">REST API Reference for UpdateDomainAssociation Operation</seealso>
Task<UpdateDomainAssociationResponse> UpdateDomainAssociationAsync(UpdateDomainAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateWebhook
/// <summary>
/// Updates a webhook.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateWebhook service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateWebhook service method, as returned by Amplify.</returns>
/// <exception cref="Amazon.Amplify.Model.BadRequestException">
/// A request contains unexpected data.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.DependentServiceFailureException">
/// An operation failed because a dependent service threw an exception.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.InternalFailureException">
/// The service failed to perform an operation due to an internal issue.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.NotFoundException">
/// An entity was not found during an operation.
/// </exception>
/// <exception cref="Amazon.Amplify.Model.UnauthorizedException">
/// An operation failed due to a lack of access.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook">REST API Reference for UpdateWebhook Operation</seealso>
Task<UpdateWebhookResponse> UpdateWebhookAsync(UpdateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 1,206 |
aws-sdk-net | aws | C# | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Amplify")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Amplify. Amplify is a fully managed continuous deployment and hosting service for modern web apps.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS Amplify. Amplify is a fully managed continuous deployment and hosting service for modern web apps.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS Amplify. Amplify is a fully managed continuous deployment and hosting service for modern web apps.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS Amplify. Amplify is a fully managed continuous deployment and hosting service for modern web apps.")]
#else
#error Unknown platform constant - unable to set correct AssemblyDescription
#endif
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.127")]
[assembly: System.CLSCompliant(true)]
#if BCL
[assembly: System.Security.AllowPartiallyTrustedCallers]
#endif | 51 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.AmplifyBackend.Internal;
namespace Amazon.AmplifyBackend
{
/// <summary>
/// Configuration for accessing Amazon AmplifyBackend service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonAmplifyBackendConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.101.98");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonAmplifyBackendConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAmplifyBackendDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "amplifybackend";
this.EndpointProvider = new AmazonAmplifyBackendEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "amplifybackend";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2020-08-11";
}
}
/// <summary>
/// Gets the value of UserAgent property.
/// </summary>
public override string UserAgent
{
get
{
return _userAgent;
}
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.AmplifyBackend
{
/// <summary>
/// Configuration for accessing Amazon AmplifyBackend service
/// </summary>
public static class AmazonAmplifyBackendDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// AmplifyBackend
/// </summary>
public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations()
{
return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration>
{
Standard,
InRegion,
CrossRegion,
Mobile,
Auto,
Legacy
});
}
/// <summary>
/// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Standard,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.InRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.CrossRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Mobile,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:30
ConnectTimeout = TimeSpan.FromMilliseconds(30000L),
// 0:00:30
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>
/// </summary>
public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Auto,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>
/// </summary>
public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Legacy,
RetryMode = RequestRetryMode.Legacy,
StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy,
ConnectTimeout = null,
TlsNegotiationTimeout = null,
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
}
} | 146 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.AmplifyBackend.Endpoints
{
/// <summary>
/// Contains parameters used for resolving AmplifyBackend endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AmplifyBackendEndpointProvider and AmplifyBackendEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AmplifyBackendEndpointParameters : EndpointParameters
{
/// <summary>
/// AmplifyBackendEndpointParameters constructor
/// </summary>
public AmplifyBackendEndpointParameters()
{
UseDualStack = false;
UseFIPS = false;
}
/// <summary>
/// Region parameter
/// </summary>
public string Region
{
get { return (string)this["Region"]; }
set { this["Region"] = value; }
}
/// <summary>
/// UseDualStack parameter
/// </summary>
public bool? UseDualStack
{
get { return (bool?)this["UseDualStack"]; }
set { this["UseDualStack"] = value; }
}
/// <summary>
/// UseFIPS parameter
/// </summary>
public bool? UseFIPS
{
get { return (bool?)this["UseFIPS"]; }
set { this["UseFIPS"] = value; }
}
/// <summary>
/// Endpoint parameter
/// </summary>
public string Endpoint
{
get { return (string)this["Endpoint"]; }
set { this["Endpoint"] = value; }
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.AmplifyBackend
{
///<summary>
/// Common exception for the AmplifyBackend service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAmplifyBackendException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAmplifyBackendException
/// </summary>
/// <param name="message"></param>
public AmazonAmplifyBackendException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyBackendException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAmplifyBackendException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyBackendException
/// </summary>
/// <param name="innerException"></param>
public AmazonAmplifyBackendException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyBackendException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAmplifyBackendException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyBackendException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAmplifyBackendException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode)
{
}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AmazonAmplifyBackendException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected AmazonAmplifyBackendException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
} | 105 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.Runtime;
namespace Amazon.AmplifyBackend
{
/// <summary>
/// Constants used for properties of type AdditionalConstraintsElement.
/// </summary>
public class AdditionalConstraintsElement : ConstantClass
{
/// <summary>
/// Constant REQUIRE_DIGIT for AdditionalConstraintsElement
/// </summary>
public static readonly AdditionalConstraintsElement REQUIRE_DIGIT = new AdditionalConstraintsElement("REQUIRE_DIGIT");
/// <summary>
/// Constant REQUIRE_LOWERCASE for AdditionalConstraintsElement
/// </summary>
public static readonly AdditionalConstraintsElement REQUIRE_LOWERCASE = new AdditionalConstraintsElement("REQUIRE_LOWERCASE");
/// <summary>
/// Constant REQUIRE_SYMBOL for AdditionalConstraintsElement
/// </summary>
public static readonly AdditionalConstraintsElement REQUIRE_SYMBOL = new AdditionalConstraintsElement("REQUIRE_SYMBOL");
/// <summary>
/// Constant REQUIRE_UPPERCASE for AdditionalConstraintsElement
/// </summary>
public static readonly AdditionalConstraintsElement REQUIRE_UPPERCASE = new AdditionalConstraintsElement("REQUIRE_UPPERCASE");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public AdditionalConstraintsElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static AdditionalConstraintsElement FindValue(string value)
{
return FindValue<AdditionalConstraintsElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator AdditionalConstraintsElement(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type AuthenticatedElement.
/// </summary>
public class AuthenticatedElement : ConstantClass
{
/// <summary>
/// Constant CREATE_AND_UPDATE for AuthenticatedElement
/// </summary>
public static readonly AuthenticatedElement CREATE_AND_UPDATE = new AuthenticatedElement("CREATE_AND_UPDATE");
/// <summary>
/// Constant DELETE for AuthenticatedElement
/// </summary>
public static readonly AuthenticatedElement DELETE = new AuthenticatedElement("DELETE");
/// <summary>
/// Constant READ for AuthenticatedElement
/// </summary>
public static readonly AuthenticatedElement READ = new AuthenticatedElement("READ");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public AuthenticatedElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static AuthenticatedElement FindValue(string value)
{
return FindValue<AuthenticatedElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator AuthenticatedElement(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type AuthResources.
/// </summary>
public class AuthResources : ConstantClass
{
/// <summary>
/// Constant IDENTITY_POOL_AND_USER_POOL for AuthResources
/// </summary>
public static readonly AuthResources IDENTITY_POOL_AND_USER_POOL = new AuthResources("IDENTITY_POOL_AND_USER_POOL");
/// <summary>
/// Constant USER_POOL_ONLY for AuthResources
/// </summary>
public static readonly AuthResources USER_POOL_ONLY = new AuthResources("USER_POOL_ONLY");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public AuthResources(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static AuthResources FindValue(string value)
{
return FindValue<AuthResources>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator AuthResources(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DeliveryMethod.
/// </summary>
public class DeliveryMethod : ConstantClass
{
/// <summary>
/// Constant EMAIL for DeliveryMethod
/// </summary>
public static readonly DeliveryMethod EMAIL = new DeliveryMethod("EMAIL");
/// <summary>
/// Constant SMS for DeliveryMethod
/// </summary>
public static readonly DeliveryMethod SMS = new DeliveryMethod("SMS");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public DeliveryMethod(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static DeliveryMethod FindValue(string value)
{
return FindValue<DeliveryMethod>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator DeliveryMethod(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type MFAMode.
/// </summary>
public class MFAMode : ConstantClass
{
/// <summary>
/// Constant OFF for MFAMode
/// </summary>
public static readonly MFAMode OFF = new MFAMode("OFF");
/// <summary>
/// Constant ON for MFAMode
/// </summary>
public static readonly MFAMode ON = new MFAMode("ON");
/// <summary>
/// Constant OPTIONAL for MFAMode
/// </summary>
public static readonly MFAMode OPTIONAL = new MFAMode("OPTIONAL");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public MFAMode(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static MFAMode FindValue(string value)
{
return FindValue<MFAMode>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator MFAMode(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type MfaTypesElement.
/// </summary>
public class MfaTypesElement : ConstantClass
{
/// <summary>
/// Constant SMS for MfaTypesElement
/// </summary>
public static readonly MfaTypesElement SMS = new MfaTypesElement("SMS");
/// <summary>
/// Constant TOTP for MfaTypesElement
/// </summary>
public static readonly MfaTypesElement TOTP = new MfaTypesElement("TOTP");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public MfaTypesElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static MfaTypesElement FindValue(string value)
{
return FindValue<MfaTypesElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator MfaTypesElement(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Mode.
/// </summary>
public class Mode : ConstantClass
{
/// <summary>
/// Constant AMAZON_COGNITO_USER_POOLS for Mode
/// </summary>
public static readonly Mode AMAZON_COGNITO_USER_POOLS = new Mode("AMAZON_COGNITO_USER_POOLS");
/// <summary>
/// Constant API_KEY for Mode
/// </summary>
public static readonly Mode API_KEY = new Mode("API_KEY");
/// <summary>
/// Constant AWS_IAM for Mode
/// </summary>
public static readonly Mode AWS_IAM = new Mode("AWS_IAM");
/// <summary>
/// Constant OPENID_CONNECT for Mode
/// </summary>
public static readonly Mode OPENID_CONNECT = new Mode("OPENID_CONNECT");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public Mode(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static Mode FindValue(string value)
{
return FindValue<Mode>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator Mode(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OAuthGrantType.
/// </summary>
public class OAuthGrantType : ConstantClass
{
/// <summary>
/// Constant CODE for OAuthGrantType
/// </summary>
public static readonly OAuthGrantType CODE = new OAuthGrantType("CODE");
/// <summary>
/// Constant IMPLICIT for OAuthGrantType
/// </summary>
public static readonly OAuthGrantType IMPLICIT = new OAuthGrantType("IMPLICIT");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public OAuthGrantType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static OAuthGrantType FindValue(string value)
{
return FindValue<OAuthGrantType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator OAuthGrantType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OAuthScopesElement.
/// </summary>
public class OAuthScopesElement : ConstantClass
{
/// <summary>
/// Constant AWS_COGNITO_SIGNIN_USER_ADMIN for OAuthScopesElement
/// </summary>
public static readonly OAuthScopesElement AWS_COGNITO_SIGNIN_USER_ADMIN = new OAuthScopesElement("AWS_COGNITO_SIGNIN_USER_ADMIN");
/// <summary>
/// Constant EMAIL for OAuthScopesElement
/// </summary>
public static readonly OAuthScopesElement EMAIL = new OAuthScopesElement("EMAIL");
/// <summary>
/// Constant OPENID for OAuthScopesElement
/// </summary>
public static readonly OAuthScopesElement OPENID = new OAuthScopesElement("OPENID");
/// <summary>
/// Constant PHONE for OAuthScopesElement
/// </summary>
public static readonly OAuthScopesElement PHONE = new OAuthScopesElement("PHONE");
/// <summary>
/// Constant PROFILE for OAuthScopesElement
/// </summary>
public static readonly OAuthScopesElement PROFILE = new OAuthScopesElement("PROFILE");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public OAuthScopesElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static OAuthScopesElement FindValue(string value)
{
return FindValue<OAuthScopesElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator OAuthScopesElement(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type RequiredSignUpAttributesElement.
/// </summary>
public class RequiredSignUpAttributesElement : ConstantClass
{
/// <summary>
/// Constant ADDRESS for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement ADDRESS = new RequiredSignUpAttributesElement("ADDRESS");
/// <summary>
/// Constant BIRTHDATE for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement BIRTHDATE = new RequiredSignUpAttributesElement("BIRTHDATE");
/// <summary>
/// Constant EMAIL for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement EMAIL = new RequiredSignUpAttributesElement("EMAIL");
/// <summary>
/// Constant FAMILY_NAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement FAMILY_NAME = new RequiredSignUpAttributesElement("FAMILY_NAME");
/// <summary>
/// Constant GENDER for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement GENDER = new RequiredSignUpAttributesElement("GENDER");
/// <summary>
/// Constant GIVEN_NAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement GIVEN_NAME = new RequiredSignUpAttributesElement("GIVEN_NAME");
/// <summary>
/// Constant LOCALE for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement LOCALE = new RequiredSignUpAttributesElement("LOCALE");
/// <summary>
/// Constant MIDDLE_NAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement MIDDLE_NAME = new RequiredSignUpAttributesElement("MIDDLE_NAME");
/// <summary>
/// Constant NAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement NAME = new RequiredSignUpAttributesElement("NAME");
/// <summary>
/// Constant NICKNAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement NICKNAME = new RequiredSignUpAttributesElement("NICKNAME");
/// <summary>
/// Constant PHONE_NUMBER for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement PHONE_NUMBER = new RequiredSignUpAttributesElement("PHONE_NUMBER");
/// <summary>
/// Constant PICTURE for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement PICTURE = new RequiredSignUpAttributesElement("PICTURE");
/// <summary>
/// Constant PREFERRED_USERNAME for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement PREFERRED_USERNAME = new RequiredSignUpAttributesElement("PREFERRED_USERNAME");
/// <summary>
/// Constant PROFILE for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement PROFILE = new RequiredSignUpAttributesElement("PROFILE");
/// <summary>
/// Constant UPDATED_AT for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement UPDATED_AT = new RequiredSignUpAttributesElement("UPDATED_AT");
/// <summary>
/// Constant WEBSITE for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement WEBSITE = new RequiredSignUpAttributesElement("WEBSITE");
/// <summary>
/// Constant ZONE_INFO for RequiredSignUpAttributesElement
/// </summary>
public static readonly RequiredSignUpAttributesElement ZONE_INFO = new RequiredSignUpAttributesElement("ZONE_INFO");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public RequiredSignUpAttributesElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static RequiredSignUpAttributesElement FindValue(string value)
{
return FindValue<RequiredSignUpAttributesElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator RequiredSignUpAttributesElement(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ResolutionStrategy.
/// </summary>
public class ResolutionStrategy : ConstantClass
{
/// <summary>
/// Constant AUTOMERGE for ResolutionStrategy
/// </summary>
public static readonly ResolutionStrategy AUTOMERGE = new ResolutionStrategy("AUTOMERGE");
/// <summary>
/// Constant LAMBDA for ResolutionStrategy
/// </summary>
public static readonly ResolutionStrategy LAMBDA = new ResolutionStrategy("LAMBDA");
/// <summary>
/// Constant NONE for ResolutionStrategy
/// </summary>
public static readonly ResolutionStrategy NONE = new ResolutionStrategy("NONE");
/// <summary>
/// Constant OPTIMISTIC_CONCURRENCY for ResolutionStrategy
/// </summary>
public static readonly ResolutionStrategy OPTIMISTIC_CONCURRENCY = new ResolutionStrategy("OPTIMISTIC_CONCURRENCY");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ResolutionStrategy(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ResolutionStrategy FindValue(string value)
{
return FindValue<ResolutionStrategy>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ResolutionStrategy(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Service.
/// </summary>
public class Service : ConstantClass
{
/// <summary>
/// Constant COGNITO for Service
/// </summary>
public static readonly Service COGNITO = new Service("COGNITO");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public Service(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static Service FindValue(string value)
{
return FindValue<Service>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator Service(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ServiceName.
/// </summary>
public class ServiceName : ConstantClass
{
/// <summary>
/// Constant S3 for ServiceName
/// </summary>
public static readonly ServiceName S3 = new ServiceName("S3");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ServiceName(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ServiceName FindValue(string value)
{
return FindValue<ServiceName>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ServiceName(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SignInMethod.
/// </summary>
public class SignInMethod : ConstantClass
{
/// <summary>
/// Constant EMAIL for SignInMethod
/// </summary>
public static readonly SignInMethod EMAIL = new SignInMethod("EMAIL");
/// <summary>
/// Constant EMAIL_AND_PHONE_NUMBER for SignInMethod
/// </summary>
public static readonly SignInMethod EMAIL_AND_PHONE_NUMBER = new SignInMethod("EMAIL_AND_PHONE_NUMBER");
/// <summary>
/// Constant PHONE_NUMBER for SignInMethod
/// </summary>
public static readonly SignInMethod PHONE_NUMBER = new SignInMethod("PHONE_NUMBER");
/// <summary>
/// Constant USERNAME for SignInMethod
/// </summary>
public static readonly SignInMethod USERNAME = new SignInMethod("USERNAME");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public SignInMethod(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static SignInMethod FindValue(string value)
{
return FindValue<SignInMethod>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator SignInMethod(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Status.
/// </summary>
public class Status : ConstantClass
{
/// <summary>
/// Constant LATEST for Status
/// </summary>
public static readonly Status LATEST = new Status("LATEST");
/// <summary>
/// Constant STALE for Status
/// </summary>
public static readonly Status STALE = new Status("STALE");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public Status(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static Status FindValue(string value)
{
return FindValue<Status>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator Status(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type UnAuthenticatedElement.
/// </summary>
public class UnAuthenticatedElement : ConstantClass
{
/// <summary>
/// Constant CREATE_AND_UPDATE for UnAuthenticatedElement
/// </summary>
public static readonly UnAuthenticatedElement CREATE_AND_UPDATE = new UnAuthenticatedElement("CREATE_AND_UPDATE");
/// <summary>
/// Constant DELETE for UnAuthenticatedElement
/// </summary>
public static readonly UnAuthenticatedElement DELETE = new UnAuthenticatedElement("DELETE");
/// <summary>
/// Constant READ for UnAuthenticatedElement
/// </summary>
public static readonly UnAuthenticatedElement READ = new UnAuthenticatedElement("READ");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public UnAuthenticatedElement(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static UnAuthenticatedElement FindValue(string value)
{
return FindValue<UnAuthenticatedElement>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator UnAuthenticatedElement(string value)
{
return FindValue(value);
}
}
} | 934 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn;
namespace Amazon.AmplifyBackend.Internal
{
/// <summary>
/// Amazon AmplifyBackend endpoint provider.
/// Resolves endpoint for given set of AmplifyBackendEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAmplifyBackendEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AmplifyBackendEndpointParameters
/// </summary>
public Endpoint ResolveEndpoint(EndpointParameters parameters)
{
if (parameters == null)
throw new ArgumentNullException("parameters");
if (parameters["Region"] == null)
throw new AmazonClientException("Region parameter must be set for endpoint resolution");
if (parameters["UseDualStack"] == null)
throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution");
if (parameters["UseFIPS"] == null)
throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution");
var refs = new Dictionary<string, object>()
{
["Region"] = parameters["Region"],
["UseDualStack"] = parameters["UseDualStack"],
["UseFIPS"] = parameters["UseFIPS"],
["Endpoint"] = parameters["Endpoint"],
};
if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (IsSet(refs["Endpoint"]))
{
if (Equals(refs["UseFIPS"], true))
{
throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported");
}
if (Equals(refs["UseDualStack"], true))
{
throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported");
}
return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://amplifybackend-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both");
}
if (Equals(refs["UseFIPS"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")))
{
return new Endpoint(Interpolate(@"https://amplifybackend-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS");
}
if (Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://amplifybackend.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack");
}
return new Endpoint(Interpolate(@"https://amplifybackend.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("Cannot resolve endpoint");
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.AmplifyBackend.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.AmplifyBackend.Endpoints;
#pragma warning disable 1591
namespace Amazon.AmplifyBackend.Internal
{
/// <summary>
/// Amazon AmplifyBackend endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AmplifyBackend service requests.
/// Collects values for AmplifyBackendEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AmplifyBackendEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAmplifyBackendEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAmplifyBackendConfig)requestContext.ClientConfig;
var result = new AmplifyBackendEndpointParameters();
result.Region = config.RegionEndpoint?.SystemName;
result.UseDualStack = config.UseDualstackEndpoint;
result.UseFIPS = config.UseFIPSEndpoint;
result.Endpoint = config.ServiceURL;
// The region needs to be determined from the ServiceURL if not set.
var regionEndpoint = config.RegionEndpoint;
if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL))
{
var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL);
result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName;
}
// To support legacy endpoint overridding rules in the endpoints.json
if (result.Region == "us-east-1-regional")
{
result.Region = "us-east-1";
}
// Use AlternateEndpoint region override if set
if (requestContext.Request.AlternateEndpoint != null)
{
result.Region = requestContext.Request.AlternateEndpoint.SystemName;
}
// Assign staticContextParams and contextParam per operation
return result;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Internal
{
/// <summary>
/// Service metadata for Amazon AmplifyBackend service
/// </summary>
public partial class AmazonAmplifyBackendMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "AmplifyBackend";
}
}
/// <summary>
/// Gets the dictionary that gives mapping of renamed operations
/// </summary>
public System.Collections.Generic.IDictionary<string, string> OperationNameMapping
{
get
{
return new System.Collections.Generic.Dictionary<string, string>(0)
{
};
}
}
}
} | 55 |
aws-sdk-net | aws | C# | /*
* 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 Amazon.Runtime;
namespace Amazon.AmplifyBackend
{
/// <summary>
/// Base class for AmplifyBackend operation requests.
/// </summary>
public partial class AmazonAmplifyBackendRequest : AmazonWebServiceRequest
{
}
} | 30 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The authentication settings for accessing provisioned data models in your Amplify
/// project.
/// </summary>
public partial class BackendAPIAppSyncAuthSettings
{
private string _cognitoUserPoolId;
private string _description;
private double? _expirationTime;
private string _openIDAuthTTL;
private string _openIDClientId;
private string _openIDIatTTL;
private string _openIDIssueURL;
private string _openIDProviderName;
/// <summary>
/// Gets and sets the property CognitoUserPoolId.
/// <para>
/// The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting
/// to access your data models.
/// </para>
/// </summary>
public string CognitoUserPoolId
{
get { return this._cognitoUserPoolId; }
set { this._cognitoUserPoolId = value; }
}
// Check to see if CognitoUserPoolId property is set
internal bool IsSetCognitoUserPoolId()
{
return this._cognitoUserPoolId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The API key description for API_KEY, if it was used as an authentication mechanism
/// to access your data models.
/// </para>
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property ExpirationTime.
/// <para>
/// The API key expiration time for API_KEY, if it was used as an authentication mechanism
/// to access your data models.
/// </para>
/// </summary>
public double ExpirationTime
{
get { return this._expirationTime.GetValueOrDefault(); }
set { this._expirationTime = value; }
}
// Check to see if ExpirationTime property is set
internal bool IsSetExpirationTime()
{
return this._expirationTime.HasValue;
}
/// <summary>
/// Gets and sets the property OpenIDAuthTTL.
/// <para>
/// The expiry time for the OpenID authentication mechanism.
/// </para>
/// </summary>
public string OpenIDAuthTTL
{
get { return this._openIDAuthTTL; }
set { this._openIDAuthTTL = value; }
}
// Check to see if OpenIDAuthTTL property is set
internal bool IsSetOpenIDAuthTTL()
{
return this._openIDAuthTTL != null;
}
/// <summary>
/// Gets and sets the property OpenIDClientId.
/// <para>
/// The clientID for openID, if openID was used as an authentication setting to access
/// your data models.
/// </para>
/// </summary>
public string OpenIDClientId
{
get { return this._openIDClientId; }
set { this._openIDClientId = value; }
}
// Check to see if OpenIDClientId property is set
internal bool IsSetOpenIDClientId()
{
return this._openIDClientId != null;
}
/// <summary>
/// Gets and sets the property OpenIDIatTTL.
/// <para>
/// The expiry time for the OpenID authentication mechanism.
/// </para>
/// </summary>
public string OpenIDIatTTL
{
get { return this._openIDIatTTL; }
set { this._openIDIatTTL = value; }
}
// Check to see if OpenIDIatTTL property is set
internal bool IsSetOpenIDIatTTL()
{
return this._openIDIatTTL != null;
}
/// <summary>
/// Gets and sets the property OpenIDIssueURL.
/// <para>
/// The openID issuer URL, if openID was used as an authentication setting to access your
/// data models.
/// </para>
/// </summary>
public string OpenIDIssueURL
{
get { return this._openIDIssueURL; }
set { this._openIDIssueURL = value; }
}
// Check to see if OpenIDIssueURL property is set
internal bool IsSetOpenIDIssueURL()
{
return this._openIDIssueURL != null;
}
/// <summary>
/// Gets and sets the property OpenIDProviderName.
/// <para>
/// The OpenID provider name, if OpenID was used as an authentication mechanism to access
/// your data models.
/// </para>
/// </summary>
public string OpenIDProviderName
{
get { return this._openIDProviderName; }
set { this._openIDProviderName = value; }
}
// Check to see if OpenIDProviderName property is set
internal bool IsSetOpenIDProviderName()
{
return this._openIDProviderName != null;
}
}
} | 197 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes the auth types for your configured data models.
/// </summary>
public partial class BackendAPIAuthType
{
private Mode _mode;
private BackendAPIAppSyncAuthSettings _settings;
/// <summary>
/// Gets and sets the property Mode.
/// <para>
/// Describes the authentication mode.
/// </para>
/// </summary>
public Mode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
/// <summary>
/// Gets and sets the property Settings.
/// <para>
/// Describes settings for the authentication mode.
/// </para>
/// </summary>
public BackendAPIAppSyncAuthSettings Settings
{
get { return this._settings; }
set { this._settings = value; }
}
// Check to see if Settings property is set
internal bool IsSetSettings()
{
return this._settings != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes the conflict resolution configuration for your data model configured in
/// your Amplify project.
/// </summary>
public partial class BackendAPIConflictResolution
{
private ResolutionStrategy _resolutionStrategy;
/// <summary>
/// Gets and sets the property ResolutionStrategy.
/// <para>
/// The strategy for conflict resolution.
/// </para>
/// </summary>
public ResolutionStrategy ResolutionStrategy
{
get { return this._resolutionStrategy; }
set { this._resolutionStrategy = value; }
}
// Check to see if ResolutionStrategy property is set
internal bool IsSetResolutionStrategy()
{
return this._resolutionStrategy != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The resource config for the data model, configured as a part of the Amplify project.
/// </summary>
public partial class BackendAPIResourceConfig
{
private List<BackendAPIAuthType> _additionalAuthTypes = new List<BackendAPIAuthType>();
private string _apiName;
private BackendAPIConflictResolution _conflictResolution;
private BackendAPIAuthType _defaultAuthType;
private string _service;
private string _transformSchema;
/// <summary>
/// Gets and sets the property AdditionalAuthTypes.
/// <para>
/// Additional authentication methods used to interact with your data models.
/// </para>
/// </summary>
public List<BackendAPIAuthType> AdditionalAuthTypes
{
get { return this._additionalAuthTypes; }
set { this._additionalAuthTypes = value; }
}
// Check to see if AdditionalAuthTypes property is set
internal bool IsSetAdditionalAuthTypes()
{
return this._additionalAuthTypes != null && this._additionalAuthTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property ApiName.
/// <para>
/// The API name used to interact with the data model, configured as a part of your Amplify
/// project.
/// </para>
/// </summary>
public string ApiName
{
get { return this._apiName; }
set { this._apiName = value; }
}
// Check to see if ApiName property is set
internal bool IsSetApiName()
{
return this._apiName != null;
}
/// <summary>
/// Gets and sets the property ConflictResolution.
/// <para>
/// The conflict resolution strategy for your data stored in the data models.
/// </para>
/// </summary>
public BackendAPIConflictResolution ConflictResolution
{
get { return this._conflictResolution; }
set { this._conflictResolution = value; }
}
// Check to see if ConflictResolution property is set
internal bool IsSetConflictResolution()
{
return this._conflictResolution != null;
}
/// <summary>
/// Gets and sets the property DefaultAuthType.
/// <para>
/// The default authentication type for interacting with the configured data models in
/// your Amplify project.
/// </para>
/// </summary>
public BackendAPIAuthType DefaultAuthType
{
get { return this._defaultAuthType; }
set { this._defaultAuthType = value; }
}
// Check to see if DefaultAuthType property is set
internal bool IsSetDefaultAuthType()
{
return this._defaultAuthType != null;
}
/// <summary>
/// Gets and sets the property Service.
/// <para>
/// The service used to provision and interact with the data model.
/// </para>
/// </summary>
public string Service
{
get { return this._service; }
set { this._service = value; }
}
// Check to see if Service property is set
internal bool IsSetService()
{
return this._service != null;
}
/// <summary>
/// Gets and sets the property TransformSchema.
/// <para>
/// The definition of the data model in the annotated transform of the GraphQL schema.
/// </para>
/// </summary>
public string TransformSchema
{
get { return this._transformSchema; }
set { this._transformSchema = value; }
}
// Check to see if TransformSchema property is set
internal bool IsSetTransformSchema()
{
return this._transformSchema != null;
}
}
} | 154 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes Apple social federation configurations for allowing your app users to sign
/// in using OAuth.
/// </summary>
public partial class BackendAuthAppleProviderConfig
{
private string _clientId;
private string _keyId;
private string _privateKey;
private string _teamId;
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// Describes the client_id (also called Services ID) that comes from Apple.
/// </para>
/// </summary>
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property KeyId.
/// <para>
/// Describes the key_id that comes from Apple.
/// </para>
/// </summary>
public string KeyId
{
get { return this._keyId; }
set { this._keyId = value; }
}
// Check to see if KeyId property is set
internal bool IsSetKeyId()
{
return this._keyId != null;
}
/// <summary>
/// Gets and sets the property PrivateKey.
/// <para>
/// Describes the private_key that comes from Apple.
/// </para>
/// </summary>
public string PrivateKey
{
get { return this._privateKey; }
set { this._privateKey = value; }
}
// Check to see if PrivateKey property is set
internal bool IsSetPrivateKey()
{
return this._privateKey != null;
}
/// <summary>
/// Gets and sets the property TeamId.
/// <para>
/// Describes the team_id that comes from Apple.
/// </para>
/// </summary>
public string TeamId
{
get { return this._teamId; }
set { this._teamId = value; }
}
// Check to see if TeamId property is set
internal bool IsSetTeamId()
{
return this._teamId != null;
}
}
} | 115 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes third-party social federation configurations for allowing your app users
/// to sign in using OAuth.
/// </summary>
public partial class BackendAuthSocialProviderConfig
{
private string _clientId;
private string _clientSecret;
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// Describes the client_id, which can be obtained from the third-party social federation
/// provider.
/// </para>
/// </summary>
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property ClientSecret.
/// <para>
/// Describes the client_secret, which can be obtained from third-party social federation
/// providers.
/// </para>
/// </summary>
public string ClientSecret
{
get { return this._clientSecret; }
set { this._clientSecret = value; }
}
// Check to see if ClientSecret property is set
internal bool IsSetClientSecret()
{
return this._clientSecret != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The response object for this operation.
/// </summary>
public partial class BackendJobRespObj
{
private string _appId;
private string _backendEnvironmentName;
private string _createTime;
private string _error;
private string _jobId;
private string _operation;
private string _status;
private string _updateTime;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property CreateTime.
/// <para>
/// The time when the job was created.
/// </para>
/// </summary>
public string CreateTime
{
get { return this._createTime; }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property UpdateTime.
/// <para>
/// The time when the job was last updated.
/// </para>
/// </summary>
public string UpdateTime
{
get { return this._updateTime; }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime != null;
}
}
} | 192 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes the read, write, and delete permissions users have against your storage
/// S3 bucket.
/// </summary>
public partial class BackendStoragePermissions
{
private List<string> _authenticated = new List<string>();
private List<string> _unAuthenticated = new List<string>();
/// <summary>
/// Gets and sets the property Authenticated.
/// <para>
/// Lists all authenticated user read, write, and delete permissions for your S3 bucket.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Authenticated
{
get { return this._authenticated; }
set { this._authenticated = value; }
}
// Check to see if Authenticated property is set
internal bool IsSetAuthenticated()
{
return this._authenticated != null && this._authenticated.Count > 0;
}
/// <summary>
/// Gets and sets the property UnAuthenticated.
/// <para>
/// Lists all unauthenticated user read, write, and delete permissions for your S3 bucket.
/// </para>
/// </summary>
public List<string> UnAuthenticated
{
get { return this._unAuthenticated; }
set { this._unAuthenticated = value; }
}
// Check to see if UnAuthenticated property is set
internal bool IsSetUnAuthenticated()
{
return this._unAuthenticated != null && this._unAuthenticated.Count > 0;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// An error returned if a request is not formed properly.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class BadRequestException : AmazonAmplifyBackendException
{
/// <summary>
/// Constructs a new BadRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public BadRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public BadRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="innerException"></param>
public BadRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the BadRequestException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CloneBackend operation.
/// This operation clones an existing backend.
/// </summary>
public partial class CloneBackendRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _targetEnvironmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property TargetEnvironmentName.
/// <para>
/// The name of the destination backend environment to be created.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string TargetEnvironmentName
{
get { return this._targetEnvironmentName; }
set { this._targetEnvironmentName = value; }
}
// Check to see if TargetEnvironmentName property is set
internal bool IsSetTargetEnvironmentName()
{
return this._targetEnvironmentName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CloneBackend operation.
/// </summary>
public partial class CloneBackendResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateBackendAPI operation.
/// Creates a new backend API resource.
/// </summary>
public partial class CreateBackendAPIRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private BackendAPIResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public BackendAPIResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateBackendAPI operation.
/// </summary>
public partial class CreateBackendAPIResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// <b>(DEPRECATED)</b> Describes the forgot password policy for authenticating into the
/// Amplify app.
/// </summary>
public partial class CreateBackendAuthForgotPasswordConfig
{
private DeliveryMethod _deliveryMethod;
private EmailSettings _emailSettings;
private SmsSettings _smsSettings;
/// <summary>
/// Gets and sets the property DeliveryMethod.
/// <para>
/// <b>(DEPRECATED)</b> Describes which mode to use (either SMS or email) to deliver messages
/// to app users who want to recover their password.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DeliveryMethod DeliveryMethod
{
get { return this._deliveryMethod; }
set { this._deliveryMethod = value; }
}
// Check to see if DeliveryMethod property is set
internal bool IsSetDeliveryMethod()
{
return this._deliveryMethod != null;
}
/// <summary>
/// Gets and sets the property EmailSettings.
/// <para>
/// <b>(DEPRECATED)</b> The configuration for the email sent when an app user forgets
/// their password.
/// </para>
/// </summary>
public EmailSettings EmailSettings
{
get { return this._emailSettings; }
set { this._emailSettings = value; }
}
// Check to see if EmailSettings property is set
internal bool IsSetEmailSettings()
{
return this._emailSettings != null;
}
/// <summary>
/// Gets and sets the property SmsSettings.
/// <para>
/// <b>(DEPRECATED)</b> The configuration for the SMS message sent when an app user forgets
/// their password.
/// </para>
/// </summary>
public SmsSettings SmsSettings
{
get { return this._smsSettings; }
set { this._smsSettings = value; }
}
// Check to see if SmsSettings property is set
internal bool IsSetSmsSettings()
{
return this._smsSettings != null;
}
}
} | 100 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes authorization configurations for the auth resources, configured as a part
/// of your Amplify project.
/// </summary>
public partial class CreateBackendAuthIdentityPoolConfig
{
private string _identityPoolName;
private bool? _unauthenticatedLogin;
/// <summary>
/// Gets and sets the property IdentityPoolName.
/// <para>
/// Name of the Amazon Cognito identity pool used for authorization.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string IdentityPoolName
{
get { return this._identityPoolName; }
set { this._identityPoolName = value; }
}
// Check to see if IdentityPoolName property is set
internal bool IsSetIdentityPoolName()
{
return this._identityPoolName != null;
}
/// <summary>
/// Gets and sets the property UnauthenticatedLogin.
/// <para>
/// Set to true or false based on whether you want to enable guest authorization to your
/// Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool UnauthenticatedLogin
{
get { return this._unauthenticatedLogin.GetValueOrDefault(); }
set { this._unauthenticatedLogin = value; }
}
// Check to see if UnauthenticatedLogin property is set
internal bool IsSetUnauthenticatedLogin()
{
return this._unauthenticatedLogin.HasValue;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes whether to apply multi-factor authentication policies for your Amazon Cognito
/// user pool configured as a part of your Amplify project.
/// </summary>
public partial class CreateBackendAuthMFAConfig
{
private MFAMode _mfaMode;
private Settings _settings;
/// <summary>
/// Gets and sets the property MFAMode.
/// <para>
/// Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your
/// Amplify project.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public MFAMode MFAMode
{
get { return this._mfaMode; }
set { this._mfaMode = value; }
}
// Check to see if MFAMode property is set
internal bool IsSetMFAMode()
{
return this._mfaMode != null;
}
/// <summary>
/// Gets and sets the property Settings.
/// <para>
/// Describes the configuration settings and methods for your Amplify app users to use
/// MFA.
/// </para>
/// </summary>
public Settings Settings
{
get { return this._settings; }
set { this._settings = value; }
}
// Check to see if Settings property is set
internal bool IsSetSettings()
{
return this._settings != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Creates the OAuth configuration for your Amplify project.
/// </summary>
public partial class CreateBackendAuthOAuthConfig
{
private string _domainPrefix;
private OAuthGrantType _oAuthGrantType;
private List<string> _oAuthScopes = new List<string>();
private List<string> _redirectSignInURIs = new List<string>();
private List<string> _redirectSignOutURIs = new List<string>();
private SocialProviderSettings _socialProviderSettings;
/// <summary>
/// Gets and sets the property DomainPrefix.
/// <para>
/// The domain prefix for your Amplify app.
/// </para>
/// </summary>
public string DomainPrefix
{
get { return this._domainPrefix; }
set { this._domainPrefix = value; }
}
// Check to see if DomainPrefix property is set
internal bool IsSetDomainPrefix()
{
return this._domainPrefix != null;
}
/// <summary>
/// Gets and sets the property OAuthGrantType.
/// <para>
/// The OAuth grant type that you use to allow app users to authenticate from your Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public OAuthGrantType OAuthGrantType
{
get { return this._oAuthGrantType; }
set { this._oAuthGrantType = value; }
}
// Check to see if OAuthGrantType property is set
internal bool IsSetOAuthGrantType()
{
return this._oAuthGrantType != null;
}
/// <summary>
/// Gets and sets the property OAuthScopes.
/// <para>
/// List of OAuth-related flows used to allow your app users to authenticate from your
/// Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> OAuthScopes
{
get { return this._oAuthScopes; }
set { this._oAuthScopes = value; }
}
// Check to see if OAuthScopes property is set
internal bool IsSetOAuthScopes()
{
return this._oAuthScopes != null && this._oAuthScopes.Count > 0;
}
/// <summary>
/// Gets and sets the property RedirectSignInURIs.
/// <para>
/// The redirected URI for signing in to your Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> RedirectSignInURIs
{
get { return this._redirectSignInURIs; }
set { this._redirectSignInURIs = value; }
}
// Check to see if RedirectSignInURIs property is set
internal bool IsSetRedirectSignInURIs()
{
return this._redirectSignInURIs != null && this._redirectSignInURIs.Count > 0;
}
/// <summary>
/// Gets and sets the property RedirectSignOutURIs.
/// <para>
/// Redirect URLs that OAuth uses when a user signs out of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> RedirectSignOutURIs
{
get { return this._redirectSignOutURIs; }
set { this._redirectSignOutURIs = value; }
}
// Check to see if RedirectSignOutURIs property is set
internal bool IsSetRedirectSignOutURIs()
{
return this._redirectSignOutURIs != null && this._redirectSignOutURIs.Count > 0;
}
/// <summary>
/// Gets and sets the property SocialProviderSettings.
/// <para>
/// The settings for using social providers to access your Amplify app.
/// </para>
/// </summary>
public SocialProviderSettings SocialProviderSettings
{
get { return this._socialProviderSettings; }
set { this._socialProviderSettings = value; }
}
// Check to see if SocialProviderSettings property is set
internal bool IsSetSocialProviderSettings()
{
return this._socialProviderSettings != null;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The password policy configuration for the backend to your Amplify project.
/// </summary>
public partial class CreateBackendAuthPasswordPolicyConfig
{
private List<string> _additionalConstraints = new List<string>();
private double? _minimumLength;
/// <summary>
/// Gets and sets the property AdditionalConstraints.
/// <para>
/// Additional constraints for the password used to access the backend of your Amplify
/// project.
/// </para>
/// </summary>
public List<string> AdditionalConstraints
{
get { return this._additionalConstraints; }
set { this._additionalConstraints = value; }
}
// Check to see if AdditionalConstraints property is set
internal bool IsSetAdditionalConstraints()
{
return this._additionalConstraints != null && this._additionalConstraints.Count > 0;
}
/// <summary>
/// Gets and sets the property MinimumLength.
/// <para>
/// The minimum length of the password used to access the backend of your Amplify project.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public double MinimumLength
{
get { return this._minimumLength.GetValueOrDefault(); }
set { this._minimumLength = value; }
}
// Check to see if MinimumLength property is set
internal bool IsSetMinimumLength()
{
return this._minimumLength.HasValue;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateBackendAuth operation.
/// Creates a new backend authentication resource.
/// </summary>
public partial class CreateBackendAuthRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private CreateBackendAuthResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for this request object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CreateBackendAuthResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Defines the resource configuration when creating an auth resource in your Amplify
/// project.
/// </summary>
public partial class CreateBackendAuthResourceConfig
{
private AuthResources _authResources;
private CreateBackendAuthIdentityPoolConfig _identityPoolConfigs;
private Service _service;
private CreateBackendAuthUserPoolConfig _userPoolConfigs;
/// <summary>
/// Gets and sets the property AuthResources.
/// <para>
/// Defines whether you want to configure only authentication or both authentication and
/// authorization settings.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AuthResources AuthResources
{
get { return this._authResources; }
set { this._authResources = value; }
}
// Check to see if AuthResources property is set
internal bool IsSetAuthResources()
{
return this._authResources != null;
}
/// <summary>
/// Gets and sets the property IdentityPoolConfigs.
/// <para>
/// Describes the authorization configuration for the Amazon Cognito identity pool, provisioned
/// as a part of your auth resource in the Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthIdentityPoolConfig IdentityPoolConfigs
{
get { return this._identityPoolConfigs; }
set { this._identityPoolConfigs = value; }
}
// Check to see if IdentityPoolConfigs property is set
internal bool IsSetIdentityPoolConfigs()
{
return this._identityPoolConfigs != null;
}
/// <summary>
/// Gets and sets the property Service.
/// <para>
/// Defines the service name to use when configuring an authentication resource in your
/// Amplify project.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Service Service
{
get { return this._service; }
set { this._service = value; }
}
// Check to see if Service property is set
internal bool IsSetService()
{
return this._service != null;
}
/// <summary>
/// Gets and sets the property UserPoolConfigs.
/// <para>
/// Describes authentication configuration for the Amazon Cognito user pool, provisioned
/// as a part of your auth resource in the Amplify project.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CreateBackendAuthUserPoolConfig UserPoolConfigs
{
get { return this._userPoolConfigs; }
set { this._userPoolConfigs = value; }
}
// Check to see if UserPoolConfigs property is set
internal bool IsSetUserPoolConfigs()
{
return this._userPoolConfigs != null;
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateBackendAuth operation.
/// </summary>
public partial class CreateBackendAuthResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes the Amazon Cognito user pool configuration for the auth resource to be configured
/// for your Amplify project.
/// </summary>
public partial class CreateBackendAuthUserPoolConfig
{
private CreateBackendAuthForgotPasswordConfig _forgotPassword;
private CreateBackendAuthMFAConfig _mfa;
private CreateBackendAuthOAuthConfig _oAuth;
private CreateBackendAuthPasswordPolicyConfig _passwordPolicy;
private List<string> _requiredSignUpAttributes = new List<string>();
private SignInMethod _signInMethod;
private string _userPoolName;
private CreateBackendAuthVerificationMessageConfig _verificationMessage;
/// <summary>
/// Gets and sets the property ForgotPassword.
/// <para>
/// <b>(DEPRECATED)</b> Describes the forgotten password policy for your Amazon Cognito
/// user pool, configured as a part of your Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthForgotPasswordConfig ForgotPassword
{
get { return this._forgotPassword; }
set { this._forgotPassword = value; }
}
// Check to see if ForgotPassword property is set
internal bool IsSetForgotPassword()
{
return this._forgotPassword != null;
}
/// <summary>
/// Gets and sets the property Mfa.
/// <para>
/// Describes whether to apply multi-factor authentication policies for your Amazon Cognito
/// user pool configured as a part of your Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthMFAConfig Mfa
{
get { return this._mfa; }
set { this._mfa = value; }
}
// Check to see if Mfa property is set
internal bool IsSetMfa()
{
return this._mfa != null;
}
/// <summary>
/// Gets and sets the property OAuth.
/// <para>
/// Describes the OAuth policy and rules for your Amazon Cognito user pool, configured
/// as a part of your Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthOAuthConfig OAuth
{
get { return this._oAuth; }
set { this._oAuth = value; }
}
// Check to see if OAuth property is set
internal bool IsSetOAuth()
{
return this._oAuth != null;
}
/// <summary>
/// Gets and sets the property PasswordPolicy.
/// <para>
/// Describes the password policy for your Amazon Cognito user pool, configured as a part
/// of your Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthPasswordPolicyConfig PasswordPolicy
{
get { return this._passwordPolicy; }
set { this._passwordPolicy = value; }
}
// Check to see if PasswordPolicy property is set
internal bool IsSetPasswordPolicy()
{
return this._passwordPolicy != null;
}
/// <summary>
/// Gets and sets the property RequiredSignUpAttributes.
/// <para>
/// The required attributes to sign up new users in the user pool.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> RequiredSignUpAttributes
{
get { return this._requiredSignUpAttributes; }
set { this._requiredSignUpAttributes = value; }
}
// Check to see if RequiredSignUpAttributes property is set
internal bool IsSetRequiredSignUpAttributes()
{
return this._requiredSignUpAttributes != null && this._requiredSignUpAttributes.Count > 0;
}
/// <summary>
/// Gets and sets the property SignInMethod.
/// <para>
/// Describes the sign-in methods that your Amplify app users use to log in using the
/// Amazon Cognito user pool, configured as a part of your Amplify project.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SignInMethod SignInMethod
{
get { return this._signInMethod; }
set { this._signInMethod = value; }
}
// Check to see if SignInMethod property is set
internal bool IsSetSignInMethod()
{
return this._signInMethod != null;
}
/// <summary>
/// Gets and sets the property UserPoolName.
/// <para>
/// The Amazon Cognito user pool name.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string UserPoolName
{
get { return this._userPoolName; }
set { this._userPoolName = value; }
}
// Check to see if UserPoolName property is set
internal bool IsSetUserPoolName()
{
return this._userPoolName != null;
}
/// <summary>
/// Gets and sets the property VerificationMessage.
/// <para>
/// Describes the email or SMS verification message for your Amazon Cognito user pool,
/// configured as a part of your Amplify project.
/// </para>
/// </summary>
public CreateBackendAuthVerificationMessageConfig VerificationMessage
{
get { return this._verificationMessage; }
set { this._verificationMessage = value; }
}
// Check to see if VerificationMessage property is set
internal bool IsSetVerificationMessage()
{
return this._verificationMessage != null;
}
}
} | 200 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Creates an email or SMS verification message for the auth resource configured for
/// your Amplify project.
/// </summary>
public partial class CreateBackendAuthVerificationMessageConfig
{
private DeliveryMethod _deliveryMethod;
private EmailSettings _emailSettings;
private SmsSettings _smsSettings;
/// <summary>
/// Gets and sets the property DeliveryMethod.
/// <para>
/// The type of verification message to send.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DeliveryMethod DeliveryMethod
{
get { return this._deliveryMethod; }
set { this._deliveryMethod = value; }
}
// Check to see if DeliveryMethod property is set
internal bool IsSetDeliveryMethod()
{
return this._deliveryMethod != null;
}
/// <summary>
/// Gets and sets the property EmailSettings.
/// <para>
/// The settings for the email message.
/// </para>
/// </summary>
public EmailSettings EmailSettings
{
get { return this._emailSettings; }
set { this._emailSettings = value; }
}
// Check to see if EmailSettings property is set
internal bool IsSetEmailSettings()
{
return this._emailSettings != null;
}
/// <summary>
/// Gets and sets the property SmsSettings.
/// <para>
/// The settings for the SMS message.
/// </para>
/// </summary>
public SmsSettings SmsSettings
{
get { return this._smsSettings; }
set { this._smsSettings = value; }
}
// Check to see if SmsSettings property is set
internal bool IsSetSmsSettings()
{
return this._smsSettings != null;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateBackendConfig operation.
/// Creates a config object for a backend.
/// </summary>
public partial class CreateBackendConfigRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendManagerAppId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendManagerAppId.
/// <para>
/// The app ID for the backend manager.
/// </para>
/// </summary>
public string BackendManagerAppId
{
get { return this._backendManagerAppId; }
set { this._backendManagerAppId = value; }
}
// Check to see if BackendManagerAppId property is set
internal bool IsSetBackendManagerAppId()
{
return this._backendManagerAppId != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateBackendConfig operation.
/// </summary>
public partial class CreateBackendConfigResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateBackend operation.
/// This operation creates a backend for an Amplify app. Backends are automatically created
/// at the time of app creation.
/// </summary>
public partial class CreateBackendRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _appName;
private string _backendEnvironmentName;
private ResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AppName.
/// <para>
/// The name of the app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppName
{
get { return this._appName; }
set { this._appName = value; }
}
// Check to see if AppName property is set
internal bool IsSetAppName()
{
return this._appName != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for creating a backend.
/// </para>
/// </summary>
public ResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of the resource.
/// </para>
/// </summary>
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateBackend operation.
/// </summary>
public partial class CreateBackendResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateBackendStorage operation.
/// Creates a backend storage resource.
/// </summary>
public partial class CreateBackendStorageRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private CreateBackendStorageResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for creating backend storage.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CreateBackendStorageResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of the storage resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The resource configuration for creating backend storage.
/// </summary>
public partial class CreateBackendStorageResourceConfig
{
private string _bucketName;
private BackendStoragePermissions _permissions;
private ServiceName _serviceName;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The name of the S3 bucket.
/// </para>
/// </summary>
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property Permissions.
/// <para>
/// The authorization configuration for the storage S3 bucket.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public BackendStoragePermissions Permissions
{
get { return this._permissions; }
set { this._permissions = value; }
}
// Check to see if Permissions property is set
internal bool IsSetPermissions()
{
return this._permissions != null;
}
/// <summary>
/// Gets and sets the property ServiceName.
/// <para>
/// The name of the storage service.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ServiceName ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateBackendStorage operation.
/// </summary>
public partial class CreateBackendStorageResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the CreateToken operation.
/// Generates a one-time challenge code to authenticate a user into your Amplify Admin
/// UI.
/// </summary>
public partial class CreateTokenRequest : AmazonAmplifyBackendRequest
{
private string _appId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the CreateToken operation.
/// </summary>
public partial class CreateTokenResponse : AmazonWebServiceResponse
{
private string _appId;
private string _challengeCode;
private string _sessionId;
private string _ttl;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ChallengeCode.
/// <para>
/// One-time challenge code for authenticating into the Amplify Admin UI.
/// </para>
/// </summary>
public string ChallengeCode
{
get { return this._challengeCode; }
set { this._challengeCode = value; }
}
// Check to see if ChallengeCode property is set
internal bool IsSetChallengeCode()
{
return this._challengeCode != null;
}
/// <summary>
/// Gets and sets the property SessionId.
/// <para>
/// A unique ID provided when creating a new challenge token.
/// </para>
/// </summary>
public string SessionId
{
get { return this._sessionId; }
set { this._sessionId = value; }
}
// Check to see if SessionId property is set
internal bool IsSetSessionId()
{
return this._sessionId != null;
}
/// <summary>
/// Gets and sets the property Ttl.
/// <para>
/// The expiry time for the one-time generated token code.
/// </para>
/// </summary>
public string Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the DeleteBackendAPI operation.
/// Deletes an existing backend API resource.
/// </summary>
public partial class DeleteBackendAPIRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private BackendAPIResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// Defines the resource configuration for the data model in your Amplify project.
/// </para>
/// </summary>
public BackendAPIResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the DeleteBackendAPI operation.
/// </summary>
public partial class DeleteBackendAPIResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the DeleteBackendAuth operation.
/// Deletes an existing backend authentication resource.
/// </summary>
public partial class DeleteBackendAuthRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the DeleteBackendAuth operation.
/// </summary>
public partial class DeleteBackendAuthResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the DeleteBackend operation.
/// Removes an existing environment from your Amplify project.
/// </summary>
public partial class DeleteBackendRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the DeleteBackend operation.
/// </summary>
public partial class DeleteBackendResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the DeleteBackendStorage operation.
/// Removes the specified backend storage resource.
/// </summary>
public partial class DeleteBackendStorageRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
private ServiceName _serviceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of the storage resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
/// <summary>
/// Gets and sets the property ServiceName.
/// <para>
/// The name of the storage service.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ServiceName ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the DeleteBackendStorage operation.
/// </summary>
public partial class DeleteBackendStorageResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the DeleteToken operation.
/// Deletes the challenge token based on the given appId and sessionId.
/// </summary>
public partial class DeleteTokenRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _sessionId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property SessionId.
/// <para>
/// The session ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SessionId
{
get { return this._sessionId; }
set { this._sessionId = value; }
}
// Check to see if SessionId property is set
internal bool IsSetSessionId()
{
return this._sessionId != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the DeleteToken operation.
/// </summary>
public partial class DeleteTokenResponse : AmazonWebServiceResponse
{
private bool? _isSuccess;
/// <summary>
/// Gets and sets the property IsSuccess.
/// <para>
/// Indicates whether the request succeeded or failed.
/// </para>
/// </summary>
public bool IsSuccess
{
get { return this._isSuccess.GetValueOrDefault(); }
set { this._isSuccess = value; }
}
// Check to see if IsSuccess property is set
internal bool IsSetIsSuccess()
{
return this._isSuccess.HasValue;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The configuration for the email sent when an app user forgets their password.
/// </summary>
public partial class EmailSettings
{
private string _emailMessage;
private string _emailSubject;
/// <summary>
/// Gets and sets the property EmailMessage.
/// <para>
/// The contents of the email message.
/// </para>
/// </summary>
public string EmailMessage
{
get { return this._emailMessage; }
set { this._emailMessage = value; }
}
// Check to see if EmailMessage property is set
internal bool IsSetEmailMessage()
{
return this._emailMessage != null;
}
/// <summary>
/// Gets and sets the property EmailSubject.
/// <para>
/// The contents of the subject line of the email message.
/// </para>
/// </summary>
public string EmailSubject
{
get { return this._emailSubject; }
set { this._emailSubject = value; }
}
// Check to see if EmailSubject property is set
internal bool IsSetEmailSubject()
{
return this._emailSubject != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// An error returned if there's a temporary issue with the service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class GatewayTimeoutException : AmazonAmplifyBackendException
{
/// <summary>
/// Constructs a new GatewayTimeoutException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public GatewayTimeoutException(string message)
: base(message) {}
/// <summary>
/// Construct instance of GatewayTimeoutException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public GatewayTimeoutException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of GatewayTimeoutException
/// </summary>
/// <param name="innerException"></param>
public GatewayTimeoutException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of GatewayTimeoutException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GatewayTimeoutException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of GatewayTimeoutException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GatewayTimeoutException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the GatewayTimeoutException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected GatewayTimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GenerateBackendAPIModels operation.
/// Generates a model schema for an existing backend API resource.
/// </summary>
public partial class GenerateBackendAPIModelsRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GenerateBackendAPIModels operation.
/// </summary>
public partial class GenerateBackendAPIModelsResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackendAPIModels operation.
/// Gets a model introspection schema for an existing backend API resource.
/// </summary>
public partial class GetBackendAPIModelsRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackendAPIModels operation.
/// </summary>
public partial class GetBackendAPIModelsResponse : AmazonWebServiceResponse
{
private string _modelIntrospectionSchema;
private string _models;
private Status _status;
/// <summary>
/// Gets and sets the property ModelIntrospectionSchema.
/// <para>
/// Stringified JSON of the model introspection schema for an existing backend API resource.
/// </para>
/// </summary>
public string ModelIntrospectionSchema
{
get { return this._modelIntrospectionSchema; }
set { this._modelIntrospectionSchema = value; }
}
// Check to see if ModelIntrospectionSchema property is set
internal bool IsSetModelIntrospectionSchema()
{
return this._modelIntrospectionSchema != null;
}
/// <summary>
/// Gets and sets the property Models.
/// <para>
/// Stringified JSON of the datastore model.
/// </para>
/// </summary>
public string Models
{
get { return this._models; }
set { this._models = value; }
}
// Check to see if Models property is set
internal bool IsSetModels()
{
return this._models != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public Status Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 95 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackendAPI operation.
/// Gets the details for a backend API.
/// </summary>
public partial class GetBackendAPIRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private BackendAPIResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// Defines the resource configuration for the data model in your Amplify project.
/// </para>
/// </summary>
public BackendAPIResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackendAPI operation.
/// </summary>
public partial class GetBackendAPIResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private BackendAPIResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for this response object.
/// </para>
/// </summary>
public BackendAPIResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 133 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackendAuth operation.
/// Gets a backend auth details.
/// </summary>
public partial class GetBackendAuthRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackendAuth operation.
/// </summary>
public partial class GetBackendAuthResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private CreateBackendAuthResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for authorization requests to the backend of your Amplify
/// project.
/// </para>
/// </summary>
public CreateBackendAuthResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackendJob operation.
/// Returns information about a specific job.
/// </summary>
public partial class GetBackendJobRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackendJob operation.
/// </summary>
public partial class GetBackendJobResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _createTime;
private string _error;
private string _jobId;
private string _operation;
private string _status;
private string _updateTime;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property CreateTime.
/// <para>
/// The time when the job was created.
/// </para>
/// </summary>
public string CreateTime
{
get { return this._createTime; }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property UpdateTime.
/// <para>
/// The time when the job was last updated.
/// </para>
/// </summary>
public string UpdateTime
{
get { return this._updateTime; }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime != null;
}
}
} | 190 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackend operation.
/// Provides project-level details for your Amplify UI project.
/// </summary>
public partial class GetBackendRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackend operation.
/// </summary>
public partial class GetBackendResponse : AmazonWebServiceResponse
{
private string _amplifyFeatureFlags;
private string _amplifyMetaConfig;
private string _appId;
private string _appName;
private List<string> _backendEnvironmentList = new List<string>();
private string _backendEnvironmentName;
private string _error;
/// <summary>
/// Gets and sets the property AmplifyFeatureFlags.
/// <para>
/// A stringified version of the cli.json file for your Amplify project.
/// </para>
/// </summary>
public string AmplifyFeatureFlags
{
get { return this._amplifyFeatureFlags; }
set { this._amplifyFeatureFlags = value; }
}
// Check to see if AmplifyFeatureFlags property is set
internal bool IsSetAmplifyFeatureFlags()
{
return this._amplifyFeatureFlags != null;
}
/// <summary>
/// Gets and sets the property AmplifyMetaConfig.
/// <para>
/// A stringified version of the current configs for your Amplify project.
/// </para>
/// </summary>
public string AmplifyMetaConfig
{
get { return this._amplifyMetaConfig; }
set { this._amplifyMetaConfig = value; }
}
// Check to see if AmplifyMetaConfig property is set
internal bool IsSetAmplifyMetaConfig()
{
return this._amplifyMetaConfig != null;
}
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AppName.
/// <para>
/// The name of the app.
/// </para>
/// </summary>
public string AppName
{
get { return this._appName; }
set { this._appName = value; }
}
// Check to see if AppName property is set
internal bool IsSetAppName()
{
return this._appName != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentList.
/// <para>
/// A list of backend environments in an array.
/// </para>
/// </summary>
public List<string> BackendEnvironmentList
{
get { return this._backendEnvironmentList; }
set { this._backendEnvironmentList = value; }
}
// Check to see if BackendEnvironmentList property is set
internal bool IsSetBackendEnvironmentList()
{
return this._backendEnvironmentList != null && this._backendEnvironmentList.Count > 0;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request failed, this is the returned error.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
}
} | 171 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetBackendStorage operation.
/// Gets details for a backend storage resource.
/// </summary>
public partial class GetBackendStorageRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of the storage resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The details for a backend storage resource.
/// </summary>
public partial class GetBackendStorageResourceConfig
{
private string _bucketName;
private bool? _imported;
private BackendStoragePermissions _permissions;
private ServiceName _serviceName;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The name of the S3 bucket.
/// </para>
/// </summary>
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property Imported.
/// <para>
/// Returns True if the storage resource has been imported.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool Imported
{
get { return this._imported.GetValueOrDefault(); }
set { this._imported = value; }
}
// Check to see if Imported property is set
internal bool IsSetImported()
{
return this._imported.HasValue;
}
/// <summary>
/// Gets and sets the property Permissions.
/// <para>
/// The authorization configuration for the storage S3 bucket.
/// </para>
/// </summary>
public BackendStoragePermissions Permissions
{
get { return this._permissions; }
set { this._permissions = value; }
}
// Check to see if Permissions property is set
internal bool IsSetPermissions()
{
return this._permissions != null;
}
/// <summary>
/// Gets and sets the property ServiceName.
/// <para>
/// The name of the storage service.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ServiceName ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
}
} | 116 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetBackendStorage operation.
/// </summary>
public partial class GetBackendStorageResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private GetBackendStorageResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// The resource configuration for the backend storage resource.
/// </para>
/// </summary>
public GetBackendStorageResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of the storage resource.
/// </para>
/// </summary>
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the GetToken operation.
/// Gets the challenge token based on the given appId and sessionId.
/// </summary>
public partial class GetTokenRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _sessionId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property SessionId.
/// <para>
/// The session ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SessionId
{
get { return this._sessionId; }
set { this._sessionId = value; }
}
// Check to see if SessionId property is set
internal bool IsSetSessionId()
{
return this._sessionId != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the GetToken operation.
/// </summary>
public partial class GetTokenResponse : AmazonWebServiceResponse
{
private string _appId;
private string _challengeCode;
private string _sessionId;
private string _ttl;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ChallengeCode.
/// <para>
/// The one-time challenge code for authenticating into the Amplify Admin UI.
/// </para>
/// </summary>
public string ChallengeCode
{
get { return this._challengeCode; }
set { this._challengeCode = value; }
}
// Check to see if ChallengeCode property is set
internal bool IsSetChallengeCode()
{
return this._challengeCode != null;
}
/// <summary>
/// Gets and sets the property SessionId.
/// <para>
/// A unique ID provided when creating a new challenge token.
/// </para>
/// </summary>
public string SessionId
{
get { return this._sessionId; }
set { this._sessionId = value; }
}
// Check to see if SessionId property is set
internal bool IsSetSessionId()
{
return this._sessionId != null;
}
/// <summary>
/// Gets and sets the property Ttl.
/// <para>
/// The expiry time for the one-time generated token code.
/// </para>
/// </summary>
public string Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the ImportBackendAuth operation.
/// Imports an existing backend authentication resource.
/// </summary>
public partial class ImportBackendAuthRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _identityPoolId;
private string _nativeClientId;
private string _userPoolId;
private string _webClientId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property IdentityPoolId.
/// <para>
/// The ID of the Amazon Cognito identity pool.
/// </para>
/// </summary>
public string IdentityPoolId
{
get { return this._identityPoolId; }
set { this._identityPoolId = value; }
}
// Check to see if IdentityPoolId property is set
internal bool IsSetIdentityPoolId()
{
return this._identityPoolId != null;
}
/// <summary>
/// Gets and sets the property NativeClientId.
/// <para>
/// The ID of the Amazon Cognito native client.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string NativeClientId
{
get { return this._nativeClientId; }
set { this._nativeClientId = value; }
}
// Check to see if NativeClientId property is set
internal bool IsSetNativeClientId()
{
return this._nativeClientId != null;
}
/// <summary>
/// Gets and sets the property UserPoolId.
/// <para>
/// The ID of the Amazon Cognito user pool.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string UserPoolId
{
get { return this._userPoolId; }
set { this._userPoolId = value; }
}
// Check to see if UserPoolId property is set
internal bool IsSetUserPoolId()
{
return this._userPoolId != null;
}
/// <summary>
/// Gets and sets the property WebClientId.
/// <para>
/// The ID of the Amazon Cognito web client.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string WebClientId
{
get { return this._webClientId; }
set { this._webClientId = value; }
}
// Check to see if WebClientId property is set
internal bool IsSetWebClientId()
{
return this._webClientId != null;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the ImportBackendAuth operation.
/// </summary>
public partial class ImportBackendAuthResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the ImportBackendStorage operation.
/// Imports an existing backend storage resource.
/// </summary>
public partial class ImportBackendStorageRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _bucketName;
private ServiceName _serviceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The name of the S3 bucket.
/// </para>
/// </summary>
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property ServiceName.
/// <para>
/// The name of the storage service.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ServiceName ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the ImportBackendStorage operation.
/// </summary>
public partial class ImportBackendStorageResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the ListBackendJobs operation.
/// Lists the jobs for the backend of an Amplify app.
/// </summary>
public partial class ListBackendJobsRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private string _jobId;
private int? _maxResults;
private string _nextToken;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want in the response.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// Filters the list of response objects to include only those with the specified operation
/// name.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Filters the list of response objects to include only those with the specified status.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 176 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the ListBackendJobs operation.
/// </summary>
public partial class ListBackendJobsResponse : AmazonWebServiceResponse
{
private List<BackendJobRespObj> _jobs = new List<BackendJobRespObj>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Jobs.
/// <para>
/// An array of jobs and their properties.
/// </para>
/// </summary>
public List<BackendJobRespObj> Jobs
{
get { return this._jobs; }
set { this._jobs = value; }
}
// Check to see if Jobs property is set
internal bool IsSetJobs()
{
return this._jobs != null && this._jobs.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the ListS3Buckets operation.
/// The list of S3 buckets in your account.
/// </summary>
public partial class ListS3BucketsRequest : AmazonAmplifyBackendRequest
{
private string _nextToken;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// Reserved for future use.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the ListS3Buckets operation.
/// </summary>
public partial class ListS3BucketsResponse : AmazonWebServiceResponse
{
private List<S3BucketInfo> _buckets = new List<S3BucketInfo>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Buckets.
/// <para>
/// The list of S3 buckets.
/// </para>
/// </summary>
public List<S3BucketInfo> Buckets
{
get { return this._buckets; }
set { this._buckets = value; }
}
// Check to see if Buckets property is set
internal bool IsSetBuckets()
{
return this._buckets != null && this._buckets.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// Reserved for future use.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The request object for this operation.
/// </summary>
public partial class LoginAuthConfigReqObj
{
private string _awsCognitoIdentityPoolId;
private string _awsCognitoRegion;
private string _awsUserPoolsId;
private string _awsUserPoolsWebClientId;
/// <summary>
/// Gets and sets the property AwsCognitoIdentityPoolId.
/// <para>
/// The Amazon Cognito identity pool ID used for the Amplify Admin UI login authorization.
/// </para>
/// </summary>
public string AwsCognitoIdentityPoolId
{
get { return this._awsCognitoIdentityPoolId; }
set { this._awsCognitoIdentityPoolId = value; }
}
// Check to see if AwsCognitoIdentityPoolId property is set
internal bool IsSetAwsCognitoIdentityPoolId()
{
return this._awsCognitoIdentityPoolId != null;
}
/// <summary>
/// Gets and sets the property AwsCognitoRegion.
/// <para>
/// The AWS Region for the Amplify Admin UI login.
/// </para>
/// </summary>
public string AwsCognitoRegion
{
get { return this._awsCognitoRegion; }
set { this._awsCognitoRegion = value; }
}
// Check to see if AwsCognitoRegion property is set
internal bool IsSetAwsCognitoRegion()
{
return this._awsCognitoRegion != null;
}
/// <summary>
/// Gets and sets the property AwsUserPoolsId.
/// <para>
/// The Amazon Cognito user pool ID used for Amplify Admin UI login authentication.
/// </para>
/// </summary>
public string AwsUserPoolsId
{
get { return this._awsUserPoolsId; }
set { this._awsUserPoolsId = value; }
}
// Check to see if AwsUserPoolsId property is set
internal bool IsSetAwsUserPoolsId()
{
return this._awsUserPoolsId != null;
}
/// <summary>
/// Gets and sets the property AwsUserPoolsWebClientId.
/// <para>
/// The web client ID for the Amazon Cognito user pools.
/// </para>
/// </summary>
public string AwsUserPoolsWebClientId
{
get { return this._awsUserPoolsWebClientId; }
set { this._awsUserPoolsWebClientId = value; }
}
// Check to see if AwsUserPoolsWebClientId property is set
internal bool IsSetAwsUserPoolsWebClientId()
{
return this._awsUserPoolsWebClientId != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// An error returned when a specific resource type is not found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class NotFoundException : AmazonAmplifyBackendException
{
private string _resourceType;
/// <summary>
/// Constructs a new NotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public NotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public NotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="innerException"></param>
public NotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public NotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public NotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the NotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected NotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.ResourceType = (string)info.GetValue("ResourceType", typeof(string));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("ResourceType", this.ResourceType);
}
#endif
/// <summary>
/// Gets and sets the property ResourceType.
/// <para>
/// The type of resource that is not found.
/// </para>
/// </summary>
public string ResourceType
{
get { return this._resourceType; }
set { this._resourceType = value; }
}
// Check to see if ResourceType property is set
internal bool IsSetResourceType()
{
return this._resourceType != null;
}
}
} | 145 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the RemoveAllBackends operation.
/// Removes all backend environments from your Amplify project.
/// </summary>
public partial class RemoveAllBackendsRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private bool? _cleanAmplifyApp;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property CleanAmplifyApp.
/// <para>
/// Cleans up the Amplify Console app if this value is set to true.
/// </para>
/// </summary>
public bool CleanAmplifyApp
{
get { return this._cleanAmplifyApp.GetValueOrDefault(); }
set { this._cleanAmplifyApp = value; }
}
// Check to see if CleanAmplifyApp property is set
internal bool IsSetCleanAmplifyApp()
{
return this._cleanAmplifyApp.HasValue;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the RemoveAllBackends operation.
/// </summary>
public partial class RemoveAllBackendsResponse : AmazonWebServiceResponse
{
private string _appId;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 133 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the RemoveBackendConfig operation.
/// Removes the AWS resources required to access the Amplify Admin UI.
/// </summary>
public partial class RemoveBackendConfigRequest : AmazonAmplifyBackendRequest
{
private string _appId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the RemoveBackendConfig operation.
/// </summary>
public partial class RemoveBackendConfigResponse : AmazonWebServiceResponse
{
private string _error;
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Defines the resource configuration for the data model in your Amplify project.
/// </summary>
public partial class ResourceConfig
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Describes the metadata of the S3 bucket.
/// </summary>
public partial class S3BucketInfo
{
private string _creationDate;
private string _name;
/// <summary>
/// Gets and sets the property CreationDate.
/// <para>
/// The creation date of the S3 bucket.
/// </para>
/// </summary>
public string CreationDate
{
get { return this._creationDate; }
set { this._creationDate = value; }
}
// Check to see if CreationDate property is set
internal bool IsSetCreationDate()
{
return this._creationDate != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the S3 bucket.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The settings of your MFA configuration for the backend of your Amplify project.
/// </summary>
public partial class Settings
{
private List<string> _mfaTypes = new List<string>();
private string _smsMessage;
/// <summary>
/// Gets and sets the property MfaTypes.
/// <para>
/// The supported MFA types.
/// </para>
/// </summary>
public List<string> MfaTypes
{
get { return this._mfaTypes; }
set { this._mfaTypes = value; }
}
// Check to see if MfaTypes property is set
internal bool IsSetMfaTypes()
{
return this._mfaTypes != null && this._mfaTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property SmsMessage.
/// <para>
/// The body of the SMS message.
/// </para>
/// </summary>
public string SmsMessage
{
get { return this._smsMessage; }
set { this._smsMessage = value; }
}
// Check to see if SmsMessage property is set
internal bool IsSetSmsMessage()
{
return this._smsMessage != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// SMS settings for authentication.
/// </summary>
public partial class SmsSettings
{
private string _smsMessage;
/// <summary>
/// Gets and sets the property SmsMessage.
/// <para>
/// The contents of the SMS message.
/// </para>
/// </summary>
public string SmsMessage
{
get { return this._smsMessage; }
set { this._smsMessage = value; }
}
// Check to see if SmsMessage property is set
internal bool IsSetSmsMessage()
{
return this._smsMessage != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// The settings for using the social identity providers for access to your Amplify app.
/// </summary>
public partial class SocialProviderSettings
{
private BackendAuthSocialProviderConfig _facebook;
private BackendAuthSocialProviderConfig _google;
private BackendAuthSocialProviderConfig _loginWithAmazon;
private BackendAuthAppleProviderConfig _signInWithApple;
/// <summary>
/// Gets and sets the property Facebook.
/// </summary>
public BackendAuthSocialProviderConfig Facebook
{
get { return this._facebook; }
set { this._facebook = value; }
}
// Check to see if Facebook property is set
internal bool IsSetFacebook()
{
return this._facebook != null;
}
/// <summary>
/// Gets and sets the property Google.
/// </summary>
public BackendAuthSocialProviderConfig Google
{
get { return this._google; }
set { this._google = value; }
}
// Check to see if Google property is set
internal bool IsSetGoogle()
{
return this._google != null;
}
/// <summary>
/// Gets and sets the property LoginWithAmazon.
/// </summary>
public BackendAuthSocialProviderConfig LoginWithAmazon
{
get { return this._loginWithAmazon; }
set { this._loginWithAmazon = value; }
}
// Check to see if LoginWithAmazon property is set
internal bool IsSetLoginWithAmazon()
{
return this._loginWithAmazon != null;
}
/// <summary>
/// Gets and sets the property SignInWithApple.
/// </summary>
public BackendAuthAppleProviderConfig SignInWithApple
{
get { return this._signInWithApple; }
set { this._signInWithApple = value; }
}
// Check to see if SignInWithApple property is set
internal bool IsSetSignInWithApple()
{
return this._signInWithApple != null;
}
}
} | 102 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// An error that is returned when a limit of a specific type has been exceeded.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class TooManyRequestsException : AmazonAmplifyBackendException
{
private string _limitType;
/// <summary>
/// Constructs a new TooManyRequestsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public TooManyRequestsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of TooManyRequestsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public TooManyRequestsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of TooManyRequestsException
/// </summary>
/// <param name="innerException"></param>
public TooManyRequestsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of TooManyRequestsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public TooManyRequestsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of TooManyRequestsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public TooManyRequestsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the TooManyRequestsException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected TooManyRequestsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.LimitType = (string)info.GetValue("LimitType", typeof(string));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("LimitType", this.LimitType);
}
#endif
/// <summary>
/// Gets and sets the property LimitType.
/// <para>
/// The type of limit that was exceeded.
/// </para>
/// </summary>
public string LimitType
{
get { return this._limitType; }
set { this._limitType = value; }
}
// Check to see if LimitType property is set
internal bool IsSetLimitType()
{
return this._limitType != null;
}
}
} | 145 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// Container for the parameters to the UpdateBackendAPI operation.
/// Updates an existing backend API resource.
/// </summary>
public partial class UpdateBackendAPIRequest : AmazonAmplifyBackendRequest
{
private string _appId;
private string _backendEnvironmentName;
private BackendAPIResourceConfig _resourceConfig;
private string _resourceName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property ResourceConfig.
/// <para>
/// Defines the resource configuration for the data model in your Amplify project.
/// </para>
/// </summary>
public BackendAPIResourceConfig ResourceConfig
{
get { return this._resourceConfig; }
set { this._resourceConfig = value; }
}
// Check to see if ResourceConfig property is set
internal bool IsSetResourceConfig()
{
return this._resourceConfig != null;
}
/// <summary>
/// Gets and sets the property ResourceName.
/// <para>
/// The name of this resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyBackend.Model
{
/// <summary>
/// This is the response object from the UpdateBackendAPI operation.
/// </summary>
public partial class UpdateBackendAPIResponse : AmazonWebServiceResponse
{
private string _appId;
private string _backendEnvironmentName;
private string _error;
private string _jobId;
private string _operation;
private string _status;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The app ID.
/// </para>
/// </summary>
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentName.
/// <para>
/// The name of the backend environment.
/// </para>
/// </summary>
public string BackendEnvironmentName
{
get { return this._backendEnvironmentName; }
set { this._backendEnvironmentName = value; }
}
// Check to see if BackendEnvironmentName property is set
internal bool IsSetBackendEnvironmentName()
{
return this._backendEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// If the request fails, this error is returned.
/// </para>
/// </summary>
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The ID for the job.
/// </para>
/// </summary>
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property Operation.
/// <para>
/// The name of the operation.
/// </para>
/// </summary>
public string Operation
{
get { return this._operation; }
set { this._operation = value; }
}
// Check to see if Operation property is set
internal bool IsSetOperation()
{
return this._operation != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the request.
/// </para>
/// </summary>
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.