/*
* 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 apprunner-2020-05-15.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.AppRunner.Model;
using Amazon.AppRunner.Model.Internal.MarshallTransformations;
using Amazon.AppRunner.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppRunner
{
///
/// Implementation for accessing AppRunner
///
/// App Runner
///
/// App Runner is an application service that provides a fast, simple, and cost-effective
/// way to go directly from an existing container image or source code to a running service
/// in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies,
/// decide which compute service to use, or understand how to provision and configure
/// Amazon Web Services resources.
///
///
///
/// App Runner connects directly to your container registry or source code repository.
/// It provides an automatic delivery pipeline with fully managed operations, high performance,
/// scalability, and security.
///
///
///
/// For more information about App Runner, see the App
/// Runner Developer Guide. For release information, see the App
/// Runner Release Notes.
///
///
///
/// To install the Software Development Kits (SDKs), Integrated Development Environment
/// (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.
///
///
///
/// Endpoints
///
///
///
/// For a list of Region-specific endpoints that App Runner supports, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
public partial class AmazonAppRunnerClient : AmazonServiceClient, IAmazonAppRunner
{
private static IServiceMetadata serviceMetadata = new AmazonAppRunnerMetadata();
private IAppRunnerPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAppRunnerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppRunnerPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonAppRunnerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonAppRunnerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRunnerConfig()) { }
///
/// Constructs AmazonAppRunnerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonAppRunnerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRunnerConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAppRunnerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonAppRunnerClient Configuration Object
public AmazonAppRunnerClient(AmazonAppRunnerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppRunnerClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppRunnerClient(AWSCredentials credentials)
: this(credentials, new AmazonAppRunnerConfig())
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppRunnerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppRunnerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Credentials and an
/// AmazonAppRunnerClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppRunnerClient Configuration Object
public AmazonAppRunnerClient(AWSCredentials credentials, AmazonAppRunnerConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRunnerConfig())
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRunnerConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRunnerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppRunnerClient Configuration Object
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppRunnerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRunnerConfig())
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRunnerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppRunnerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRunnerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppRunnerClient Configuration Object
public AmazonAppRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppRunnerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAppRunnerEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateCustomDomain
///
/// Associate your own domain name with the App Runner subdomain URL of your App Runner
/// service.
///
///
///
/// After you call AssociateCustomDomain
and receive a successful response,
/// use the information in the CustomDomain record that's returned to add CNAME
/// records to your Domain Name System (DNS). For each mapped domain name, add a mapping
/// to the target App Runner subdomain and one or more certificate validation records.
/// App Runner then performs DNS validation to verify that you own or control the domain
/// name that you associated. App Runner tracks domain validity in a certificate stored
/// in AWS Certificate Manager
/// (ACM).
///
///
/// Container for the necessary parameters to execute the AssociateCustomDomain service method.
///
/// The response from the AssociateCustomDomain service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
/// REST API Reference for AssociateCustomDomain Operation
public virtual AssociateCustomDomainResponse AssociateCustomDomain(AssociateCustomDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateCustomDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateCustomDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associate your own domain name with the App Runner subdomain URL of your App Runner
/// service.
///
///
///
/// After you call AssociateCustomDomain
and receive a successful response,
/// use the information in the CustomDomain record that's returned to add CNAME
/// records to your Domain Name System (DNS). For each mapped domain name, add a mapping
/// to the target App Runner subdomain and one or more certificate validation records.
/// App Runner then performs DNS validation to verify that you own or control the domain
/// name that you associated. App Runner tracks domain validity in a certificate stored
/// in AWS Certificate Manager
/// (ACM).
///
///
/// Container for the necessary parameters to execute the AssociateCustomDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateCustomDomain service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
/// REST API Reference for AssociateCustomDomain Operation
public virtual Task AssociateCustomDomainAsync(AssociateCustomDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateCustomDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateCustomDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAutoScalingConfiguration
///
/// Create an App Runner automatic scaling configuration resource. App Runner requires
/// this resource when you create or update App Runner services and you require non-default
/// auto scaling settings. You can share an auto scaling configuration across multiple
/// services.
///
///
///
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same AutoScalingConfigurationName
. The call returns incremental
/// AutoScalingConfigurationRevision
values. When you create a service and
/// configure an auto scaling configuration resource, the service uses the latest active
/// revision of the auto scaling configuration by default. You can optionally configure
/// the service to use a specific revision.
///
///
///
/// Configure a higher MinSize
to increase the spread of your App Runner
/// service over more Availability Zones in the Amazon Web Services Region. The tradeoff
/// is a higher minimal cost.
///
///
///
/// Configure a lower MaxSize
to control your cost. The tradeoff is lower
/// responsiveness during peak demand.
///
///
/// Container for the necessary parameters to execute the CreateAutoScalingConfiguration service method.
///
/// The response from the CreateAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateAutoScalingConfiguration Operation
public virtual CreateAutoScalingConfigurationResponse CreateAutoScalingConfiguration(CreateAutoScalingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAutoScalingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner automatic scaling configuration resource. App Runner requires
/// this resource when you create or update App Runner services and you require non-default
/// auto scaling settings. You can share an auto scaling configuration across multiple
/// services.
///
///
///
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same AutoScalingConfigurationName
. The call returns incremental
/// AutoScalingConfigurationRevision
values. When you create a service and
/// configure an auto scaling configuration resource, the service uses the latest active
/// revision of the auto scaling configuration by default. You can optionally configure
/// the service to use a specific revision.
///
///
///
/// Configure a higher MinSize
to increase the spread of your App Runner
/// service over more Availability Zones in the Amazon Web Services Region. The tradeoff
/// is a higher minimal cost.
///
///
///
/// Configure a lower MaxSize
to control your cost. The tradeoff is lower
/// responsiveness during peak demand.
///
///
/// Container for the necessary parameters to execute the CreateAutoScalingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateAutoScalingConfiguration Operation
public virtual Task CreateAutoScalingConfigurationAsync(CreateAutoScalingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAutoScalingConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateConnection
///
/// Create an App Runner connection resource. App Runner requires a connection resource
/// when you create App Runner services that access private repositories from certain
/// third-party providers. You can share a connection across multiple services.
///
///
///
/// A connection resource is needed to access GitHub repositories. GitHub requires a user
/// interface approval process through the App Runner console before you can use the connection.
///
///
/// Container for the necessary parameters to execute the CreateConnection service method.
///
/// The response from the CreateConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateConnection Operation
public virtual CreateConnectionResponse CreateConnection(CreateConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner connection resource. App Runner requires a connection resource
/// when you create App Runner services that access private repositories from certain
/// third-party providers. You can share a connection across multiple services.
///
///
///
/// A connection resource is needed to access GitHub repositories. GitHub requires a user
/// interface approval process through the App Runner console before you can use the connection.
///
///
/// Container for the necessary parameters to execute the CreateConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateConnection Operation
public virtual Task CreateConnectionAsync(CreateConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateObservabilityConfiguration
///
/// Create an App Runner observability configuration resource. App Runner requires this
/// resource when you create or update App Runner services and you want to enable non-default
/// observability features. You can share an observability configuration across multiple
/// services.
///
///
///
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same ObservabilityConfigurationName
. The call returns incremental
/// ObservabilityConfigurationRevision
values. When you create a service
/// and configure an observability configuration resource, the service uses the latest
/// active revision of the observability configuration by default. You can optionally
/// configure the service to use a specific revision.
///
///
///
/// The observability configuration resource is designed to configure multiple features
/// (currently one feature, tracing). This action takes optional parameters that describe
/// the configuration of these features (currently one parameter, TraceConfiguration
).
/// If you don't specify a feature parameter, App Runner doesn't enable the feature.
///
///
/// Container for the necessary parameters to execute the CreateObservabilityConfiguration service method.
///
/// The response from the CreateObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateObservabilityConfiguration Operation
public virtual CreateObservabilityConfigurationResponse CreateObservabilityConfiguration(CreateObservabilityConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateObservabilityConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner observability configuration resource. App Runner requires this
/// resource when you create or update App Runner services and you want to enable non-default
/// observability features. You can share an observability configuration across multiple
/// services.
///
///
///
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same ObservabilityConfigurationName
. The call returns incremental
/// ObservabilityConfigurationRevision
values. When you create a service
/// and configure an observability configuration resource, the service uses the latest
/// active revision of the observability configuration by default. You can optionally
/// configure the service to use a specific revision.
///
///
///
/// The observability configuration resource is designed to configure multiple features
/// (currently one feature, tracing). This action takes optional parameters that describe
/// the configuration of these features (currently one parameter, TraceConfiguration
).
/// If you don't specify a feature parameter, App Runner doesn't enable the feature.
///
///
/// Container for the necessary parameters to execute the CreateObservabilityConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateObservabilityConfiguration Operation
public virtual Task CreateObservabilityConfigurationAsync(CreateObservabilityConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateObservabilityConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateService
///
/// Create an App Runner service. After the service is created, the action also automatically
/// starts a deployment.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations
/// call to track the operation's progress.
///
///
/// Container for the necessary parameters to execute the CreateService service method.
///
/// The response from the CreateService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateService Operation
public virtual CreateServiceResponse CreateService(CreateServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner service. After the service is created, the action also automatically
/// starts a deployment.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations
/// call to track the operation's progress.
///
///
/// Container for the necessary parameters to execute the CreateService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateService Operation
public virtual Task CreateServiceAsync(CreateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVpcConnector
///
/// Create an App Runner VPC connector resource. App Runner requires this resource when
/// you want to associate your App Runner service to a custom Amazon Virtual Private Cloud
/// (Amazon VPC).
///
/// Container for the necessary parameters to execute the CreateVpcConnector service method.
///
/// The response from the CreateVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateVpcConnector Operation
public virtual CreateVpcConnectorResponse CreateVpcConnector(CreateVpcConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner VPC connector resource. App Runner requires this resource when
/// you want to associate your App Runner service to a custom Amazon Virtual Private Cloud
/// (Amazon VPC).
///
/// Container for the necessary parameters to execute the CreateVpcConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateVpcConnector Operation
public virtual Task CreateVpcConnectorAsync(CreateVpcConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcConnectorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVpcIngressConnection
///
/// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
/// when you want to associate your App Runner service with an Amazon VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
///
/// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateVpcIngressConnection Operation
public virtual CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
/// when you want to associate your App Runner service with an Amazon VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// App Runner can't create this resource. You've reached your account quota for this
/// resource type.
///
///
///
/// For App Runner per-resource quotas, see App
/// Runner endpoints and quotas in the Amazon Web Services General Reference.
///
///
/// REST API Reference for CreateVpcIngressConnection Operation
public virtual Task CreateVpcIngressConnectionAsync(CreateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteAutoScalingConfiguration
///
/// Delete an App Runner automatic scaling configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteAutoScalingConfiguration service method.
///
/// The response from the DeleteAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteAutoScalingConfiguration Operation
public virtual DeleteAutoScalingConfigurationResponse DeleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAutoScalingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner automatic scaling configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteAutoScalingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteAutoScalingConfiguration Operation
public virtual Task DeleteAutoScalingConfigurationAsync(DeleteAutoScalingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAutoScalingConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteConnection
///
/// Delete an App Runner connection. You must first ensure that there are no running App
/// Runner services that use this connection. If there are any, the DeleteConnection
/// action fails.
///
/// Container for the necessary parameters to execute the DeleteConnection service method.
///
/// The response from the DeleteConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteConnection Operation
public virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner connection. You must first ensure that there are no running App
/// Runner services that use this connection. If there are any, the DeleteConnection
/// action fails.
///
/// Container for the necessary parameters to execute the DeleteConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteConnection Operation
public virtual Task DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteObservabilityConfiguration
///
/// Delete an App Runner observability configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteObservabilityConfiguration service method.
///
/// The response from the DeleteObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteObservabilityConfiguration Operation
public virtual DeleteObservabilityConfigurationResponse DeleteObservabilityConfiguration(DeleteObservabilityConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObservabilityConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner observability configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteObservabilityConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteObservabilityConfiguration Operation
public virtual Task DeleteObservabilityConfigurationAsync(DeleteObservabilityConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObservabilityConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteService
///
/// Delete an App Runner service.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
///
/// Make sure that you don't have any active VPCIngressConnections associated with the
/// service you want to delete.
///
///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
/// The response from the DeleteService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteService Operation
public virtual DeleteServiceResponse DeleteService(DeleteServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner service.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
///
/// Make sure that you don't have any active VPCIngressConnections associated with the
/// service you want to delete.
///
///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteService Operation
public virtual Task DeleteServiceAsync(DeleteServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVpcConnector
///
/// Delete an App Runner VPC connector resource. You can't delete a connector that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteVpcConnector service method.
///
/// The response from the DeleteVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteVpcConnector Operation
public virtual DeleteVpcConnectorResponse DeleteVpcConnector(DeleteVpcConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner VPC connector resource. You can't delete a connector that's used
/// by one or more App Runner services.
///
/// Container for the necessary parameters to execute the DeleteVpcConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteVpcConnector Operation
public virtual Task DeleteVpcConnectorAsync(DeleteVpcConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcConnectorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVpcIngressConnection
///
/// Delete an App Runner VPC Ingress Connection resource that's associated with an App
/// Runner service. The VPC Ingress Connection must be in one of the following states
/// to be deleted:
///
/// -
///
///
AVAILABLE
///
/// -
///
///
FAILED_CREATION
///
/// -
///
///
FAILED_UPDATE
///
/// -
///
///
FAILED_DELETION
///
///
///
/// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
///
/// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteVpcIngressConnection Operation
public virtual DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an App Runner VPC Ingress Connection resource that's associated with an App
/// Runner service. The VPC Ingress Connection must be in one of the following states
/// to be deleted:
///
/// -
///
///
AVAILABLE
///
/// -
///
///
FAILED_CREATION
///
/// -
///
///
FAILED_UPDATE
///
/// -
///
///
FAILED_DELETION
///
///
///
/// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DeleteVpcIngressConnection Operation
public virtual Task DeleteVpcIngressConnectionAsync(DeleteVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAutoScalingConfiguration
///
/// Return a full description of an App Runner automatic scaling configuration resource.
///
/// Container for the necessary parameters to execute the DescribeAutoScalingConfiguration service method.
///
/// The response from the DescribeAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeAutoScalingConfiguration Operation
public virtual DescribeAutoScalingConfigurationResponse DescribeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAutoScalingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a full description of an App Runner automatic scaling configuration resource.
///
/// Container for the necessary parameters to execute the DescribeAutoScalingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAutoScalingConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeAutoScalingConfiguration Operation
public virtual Task DescribeAutoScalingConfigurationAsync(DescribeAutoScalingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAutoScalingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAutoScalingConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomDomains
///
/// Return a description of custom domain names that are associated with an App Runner
/// service.
///
/// Container for the necessary parameters to execute the DescribeCustomDomains service method.
///
/// The response from the DescribeCustomDomains service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeCustomDomains Operation
public virtual DescribeCustomDomainsResponse DescribeCustomDomains(DescribeCustomDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a description of custom domain names that are associated with an App Runner
/// service.
///
/// Container for the necessary parameters to execute the DescribeCustomDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomDomains service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeCustomDomains Operation
public virtual Task DescribeCustomDomainsAsync(DescribeCustomDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeObservabilityConfiguration
///
/// Return a full description of an App Runner observability configuration resource.
///
/// Container for the necessary parameters to execute the DescribeObservabilityConfiguration service method.
///
/// The response from the DescribeObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeObservabilityConfiguration Operation
public virtual DescribeObservabilityConfigurationResponse DescribeObservabilityConfiguration(DescribeObservabilityConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeObservabilityConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a full description of an App Runner observability configuration resource.
///
/// Container for the necessary parameters to execute the DescribeObservabilityConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeObservabilityConfiguration service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeObservabilityConfiguration Operation
public virtual Task DescribeObservabilityConfigurationAsync(DescribeObservabilityConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeObservabilityConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeObservabilityConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeService
///
/// Return a full description of an App Runner service.
///
/// Container for the necessary parameters to execute the DescribeService service method.
///
/// The response from the DescribeService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeService Operation
public virtual DescribeServiceResponse DescribeService(DescribeServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a full description of an App Runner service.
///
/// Container for the necessary parameters to execute the DescribeService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeService Operation
public virtual Task DescribeServiceAsync(DescribeServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVpcConnector
///
/// Return a description of an App Runner VPC connector resource.
///
/// Container for the necessary parameters to execute the DescribeVpcConnector service method.
///
/// The response from the DescribeVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeVpcConnector Operation
public virtual DescribeVpcConnectorResponse DescribeVpcConnector(DescribeVpcConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a description of an App Runner VPC connector resource.
///
/// Container for the necessary parameters to execute the DescribeVpcConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVpcConnector service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeVpcConnector Operation
public virtual Task DescribeVpcConnectorAsync(DescribeVpcConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcConnectorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVpcIngressConnection
///
/// Return a full description of an App Runner VPC Ingress Connection resource.
///
/// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
///
/// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeVpcIngressConnection Operation
public virtual DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a full description of an App Runner VPC Ingress Connection resource.
///
/// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DescribeVpcIngressConnection Operation
public virtual Task DescribeVpcIngressConnectionAsync(DescribeVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateCustomDomain
///
/// Disassociate a custom domain name from an App Runner service.
///
///
///
/// Certificates tracking domain validity are associated with a custom domain and are
/// stored in AWS Certificate
/// Manager (ACM). These certificates aren't deleted as part of this action. App Runner
/// delays certificate deletion for 30 days after a domain is disassociated from your
/// service.
///
///
/// Container for the necessary parameters to execute the DisassociateCustomDomain service method.
///
/// The response from the DisassociateCustomDomain service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DisassociateCustomDomain Operation
public virtual DisassociateCustomDomainResponse DisassociateCustomDomain(DisassociateCustomDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateCustomDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateCustomDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociate a custom domain name from an App Runner service.
///
///
///
/// Certificates tracking domain validity are associated with a custom domain and are
/// stored in AWS Certificate
/// Manager (ACM). These certificates aren't deleted as part of this action. App Runner
/// delays certificate deletion for 30 days after a domain is disassociated from your
/// service.
///
///
/// Container for the necessary parameters to execute the DisassociateCustomDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateCustomDomain service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for DisassociateCustomDomain Operation
public virtual Task DisassociateCustomDomainAsync(DisassociateCustomDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateCustomDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateCustomDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAutoScalingConfigurations
///
/// Returns a list of active App Runner automatic scaling configurations in your Amazon
/// Web Services account. You can query the revisions for a specific configuration name
/// or the revisions for all active configurations in your account. You can optionally
/// query only the latest revision of each requested name.
///
///
///
/// To retrieve a full description of a particular configuration revision, call and provide
/// one of the ARNs returned by ListAutoScalingConfigurations
.
///
///
/// Container for the necessary parameters to execute the ListAutoScalingConfigurations service method.
///
/// The response from the ListAutoScalingConfigurations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListAutoScalingConfigurations Operation
public virtual ListAutoScalingConfigurationsResponse ListAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAutoScalingConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAutoScalingConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of active App Runner automatic scaling configurations in your Amazon
/// Web Services account. You can query the revisions for a specific configuration name
/// or the revisions for all active configurations in your account. You can optionally
/// query only the latest revision of each requested name.
///
///
///
/// To retrieve a full description of a particular configuration revision, call and provide
/// one of the ARNs returned by ListAutoScalingConfigurations
.
///
///
/// Container for the necessary parameters to execute the ListAutoScalingConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAutoScalingConfigurations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListAutoScalingConfigurations Operation
public virtual Task ListAutoScalingConfigurationsAsync(ListAutoScalingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAutoScalingConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAutoScalingConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListConnections
///
/// Returns a list of App Runner connections that are associated with your Amazon Web
/// Services account.
///
/// Container for the necessary parameters to execute the ListConnections service method.
///
/// The response from the ListConnections service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListConnections Operation
public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConnectionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of App Runner connections that are associated with your Amazon Web
/// Services account.
///
/// Container for the necessary parameters to execute the ListConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListConnections service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListConnections Operation
public virtual Task ListConnectionsAsync(ListConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConnectionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObservabilityConfigurations
///
/// Returns a list of active App Runner observability configurations in your Amazon Web
/// Services account. You can query the revisions for a specific configuration name or
/// the revisions for all active configurations in your account. You can optionally query
/// only the latest revision of each requested name.
///
///
///
/// To retrieve a full description of a particular configuration revision, call and provide
/// one of the ARNs returned by ListObservabilityConfigurations
.
///
///
/// Container for the necessary parameters to execute the ListObservabilityConfigurations service method.
///
/// The response from the ListObservabilityConfigurations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListObservabilityConfigurations Operation
public virtual ListObservabilityConfigurationsResponse ListObservabilityConfigurations(ListObservabilityConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObservabilityConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObservabilityConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of active App Runner observability configurations in your Amazon Web
/// Services account. You can query the revisions for a specific configuration name or
/// the revisions for all active configurations in your account. You can optionally query
/// only the latest revision of each requested name.
///
///
///
/// To retrieve a full description of a particular configuration revision, call and provide
/// one of the ARNs returned by ListObservabilityConfigurations
.
///
///
/// Container for the necessary parameters to execute the ListObservabilityConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListObservabilityConfigurations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListObservabilityConfigurations Operation
public virtual Task ListObservabilityConfigurationsAsync(ListObservabilityConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObservabilityConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObservabilityConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOperations
///
/// Return a list of operations that occurred on an App Runner service.
///
///
///
/// The resulting list of OperationSummary objects is sorted in reverse chronological
/// order. The first object on the list represents the last started operation.
///
///
/// Container for the necessary parameters to execute the ListOperations service method.
///
/// The response from the ListOperations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ListOperations Operation
public virtual ListOperationsResponse ListOperations(ListOperationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a list of operations that occurred on an App Runner service.
///
///
///
/// The resulting list of OperationSummary objects is sorted in reverse chronological
/// order. The first object on the list represents the last started operation.
///
///
/// Container for the necessary parameters to execute the ListOperations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOperations service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ListOperations Operation
public virtual Task ListOperationsAsync(ListOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListServices
///
/// Returns a list of running App Runner services in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListServices service method.
///
/// The response from the ListServices service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListServices Operation
public virtual ListServicesResponse ListServices(ListServicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of running App Runner services in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListServices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServices service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListServices Operation
public virtual Task ListServicesAsync(ListServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// List tags that are associated with for an App Runner resource. The response contains
/// a list of tag key-value pairs.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List tags that are associated with for an App Runner resource. The response contains
/// a list of tag key-value pairs.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVpcConnectors
///
/// Returns a list of App Runner VPC connectors in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListVpcConnectors service method.
///
/// The response from the ListVpcConnectors service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListVpcConnectors Operation
public virtual ListVpcConnectorsResponse ListVpcConnectors(ListVpcConnectorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcConnectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcConnectorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of App Runner VPC connectors in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListVpcConnectors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcConnectors service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListVpcConnectors Operation
public virtual Task ListVpcConnectorsAsync(ListVpcConnectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcConnectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcConnectorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVpcIngressConnections
///
/// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
///
/// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListVpcIngressConnections Operation
public virtual ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
/// REST API Reference for ListVpcIngressConnections Operation
public virtual Task ListVpcIngressConnectionsAsync(ListVpcIngressConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PauseService
///
/// Pause an active App Runner service. App Runner reduces compute capacity for the service
/// to zero and loses state (for example, ephemeral storage is removed).
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the PauseService service method.
///
/// The response from the PauseService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for PauseService Operation
public virtual PauseServiceResponse PauseService(PauseServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PauseServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = PauseServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Pause an active App Runner service. App Runner reduces compute capacity for the service
/// to zero and loses state (for example, ephemeral storage is removed).
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the PauseService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PauseService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for PauseService Operation
public virtual Task PauseServiceAsync(PauseServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PauseServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = PauseServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResumeService
///
/// Resume an active App Runner service. App Runner provisions compute capacity for the
/// service.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the ResumeService service method.
///
/// The response from the ResumeService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ResumeService Operation
public virtual ResumeServiceResponse ResumeService(ResumeServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Resume an active App Runner service. App Runner provisions compute capacity for the
/// service.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the ResumeService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResumeService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for ResumeService Operation
public virtual Task ResumeServiceAsync(ResumeServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartDeployment
///
/// Initiate a manual deployment of the latest commit in a source code repository or the
/// latest image in a source image repository to an App Runner service.
///
///
///
/// For a source code repository, App Runner retrieves the commit and builds a Docker
/// image. For a source image repository, App Runner retrieves the latest Docker image.
/// In both cases, App Runner then deploys the new image to your service and starts a
/// new container instance.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the StartDeployment service method.
///
/// The response from the StartDeployment service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for StartDeployment Operation
public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiate a manual deployment of the latest commit in a source code repository or the
/// latest image in a source image repository to an App Runner service.
///
///
///
/// For a source code repository, App Runner retrieves the commit and builds a Docker
/// image. For a source image repository, App Runner retrieves the latest Docker image.
/// In both cases, App Runner then deploys the new image to your service and starts a
/// new container instance.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the StartDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDeployment service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for StartDeployment Operation
public virtual Task StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value
/// pair.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value
/// pair.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Remove tags from an App Runner resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Remove tags from an App Runner resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateService
///
/// Update an App Runner service. You can update the source configuration and instance
/// configuration of the service. You can also update the ARN of the auto scaling configuration
/// resource that's associated with the service. However, you can't change the name or
/// the encryption configuration of the service. These can be set only when you create
/// the service.
///
///
///
/// To update the tags applied to your service, use the separate actions TagResource
/// and UntagResource.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the UpdateService service method.
///
/// The response from the UpdateService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UpdateService Operation
public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update an App Runner service. You can update the source configuration and instance
/// configuration of the service. You can also update the ARN of the auto scaling configuration
/// resource that's associated with the service. However, you can't change the name or
/// the encryption configuration of the service. These can be set only when you create
/// the service.
///
///
///
/// To update the tags applied to your service, use the separate actions TagResource
/// and UntagResource.
///
///
///
/// This is an asynchronous operation. On a successful call, you can use the returned
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
///
/// Container for the necessary parameters to execute the UpdateService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateService service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UpdateService Operation
public virtual Task UpdateServiceAsync(UpdateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVpcIngressConnection
///
/// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
/// must be in one of the following states to be updated:
///
/// -
///
/// AVAILABLE
///
///
-
///
/// FAILED_CREATION
///
///
-
///
/// FAILED_UPDATE
///
///
///
/// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
///
/// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UpdateVpcIngressConnection Operation
public virtual UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
/// must be in one of the following states to be updated:
///
/// -
///
/// AVAILABLE
///
///
-
///
/// FAILED_CREATION
///
///
-
///
/// FAILED_UPDATE
///
///
///
/// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
///
/// An unexpected service exception occurred.
///
///
/// One or more input parameters aren't valid. Refer to the API action's document page,
/// correct the input parameters, and try the action again.
///
///
/// You can't perform this action when the resource is in its current state.
///
///
/// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
/// Web Services account.
///
/// REST API Reference for UpdateVpcIngressConnection Operation
public virtual Task UpdateVpcIngressConnectionAsync(UpdateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}