/*
* 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 appmesh-2019-01-25.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AppMesh.Model;
using Amazon.AppMesh.Model.Internal.MarshallTransformations;
using Amazon.AppMesh.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppMesh
{
///
/// Implementation for accessing AppMesh
///
/// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor
/// and control microservices. App Mesh standardizes how your microservices communicate,
/// giving you end-to-end visibility and helping to ensure high availability for your
/// applications.
///
///
///
/// App Mesh gives you consistent visibility and network traffic controls for every microservice
/// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS,
/// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2.
///
///
///
/// App Mesh supports microservice applications that use service discovery naming for
/// their components. For more information about service discovery on Amazon ECS, see
/// Service
/// Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes
/// kube-dns
and coredns
are supported. For more information,
/// see DNS
/// for Services and Pods in the Kubernetes documentation.
///
///
///
public partial class AmazonAppMeshClient : AmazonServiceClient, IAmazonAppMesh
{
private static IServiceMetadata serviceMetadata = new AmazonAppMeshMetadata();
#region Constructors
///
/// Constructs AmazonAppMeshClient 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 AmazonAppMeshClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig()) { }
///
/// Constructs AmazonAppMeshClient 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 AmazonAppMeshClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAppMeshClient 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 AmazonAppMeshClient Configuration Object
public AmazonAppMeshClient(AmazonAppMeshConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppMeshClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppMeshClient(AWSCredentials credentials)
: this(credentials, new AmazonAppMeshConfig())
{
}
///
/// Constructs AmazonAppMeshClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppMeshClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppMeshConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppMeshClient with AWS Credentials and an
/// AmazonAppMeshClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppMeshClient Configuration Object
public AmazonAppMeshClient(AWSCredentials credentials, AmazonAppMeshConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig())
{
}
///
/// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppMeshClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppMeshClient Configuration Object
public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppMeshConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig())
{
}
///
/// Constructs AmazonAppMeshClient 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 AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppMeshClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppMeshClient Configuration Object
public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppMeshConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAppMeshPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAppMeshPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppMeshPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAppMeshEndpointResolver());
}
///
/// 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 CreateGatewayRoute
internal virtual CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a gateway route.
///
///
///
/// A gateway route is attached to a virtual gateway and routes traffic to an existing
/// virtual service. If a route matches a request, it can distribute traffic to a target
/// virtual service.
///
///
///
/// For more information about gateway routes, see Gateway
/// routes.
///
///
/// Container for the necessary parameters to execute the CreateGatewayRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGatewayRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateGatewayRoute Operation
public virtual Task CreateGatewayRouteAsync(CreateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateMesh
internal virtual CreateMeshResponse CreateMesh(CreateMeshRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a service mesh.
///
///
///
/// A service mesh is a logical boundary for network traffic between services that are
/// represented by resources within the mesh. After you create your service mesh, you
/// can create virtual services, virtual nodes, virtual routers, and routes to distribute
/// traffic between the applications in your mesh.
///
///
///
/// For more information about service meshes, see Service
/// meshes.
///
///
/// Container for the necessary parameters to execute the CreateMesh service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateMesh service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateMesh Operation
public virtual Task CreateMeshAsync(CreateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateRoute
internal virtual CreateRouteResponse CreateRoute(CreateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a route that is associated with a virtual router.
///
///
///
/// You can route several different protocols and define a retry policy for a route.
/// Traffic can be routed to one or more virtual nodes.
///
///
///
/// For more information about routes, see Routes.
///
///
/// Container for the necessary parameters to execute the CreateRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateRoute Operation
public virtual Task CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVirtualGateway
internal virtual CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a virtual gateway.
///
///
///
/// A virtual gateway allows resources outside your mesh to communicate to resources that
/// are inside your mesh. The virtual gateway represents an Envoy proxy running in an
/// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual
/// node, which represents an Envoy running with an application, a virtual gateway represents
/// Envoy deployed by itself.
///
///
///
/// For more information about virtual gateways, see Virtual
/// gateways.
///
///
/// Container for the necessary parameters to execute the CreateVirtualGateway service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVirtualGateway service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateVirtualGateway Operation
public virtual Task CreateVirtualGatewayAsync(CreateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVirtualNode
internal virtual CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a virtual node within a service mesh.
///
///
///
/// A virtual node acts as a logical pointer to a particular task group, such as an Amazon
/// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify
/// the service discovery information for your task group, and whether the proxy running
/// in a task group will communicate with other proxies using Transport Layer Security
/// (TLS).
///
///
///
/// You define a listener
for any inbound traffic that your virtual node
/// expects. Any virtual service that your virtual node expects to communicate to is specified
/// as a backend
.
///
///
///
/// The response metadata for your new virtual node contains the arn
that
/// is associated with the virtual node. Set this value to the full ARN; for example,
/// arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp
)
/// as the APPMESH_RESOURCE_ARN
environment variable for your task group's
/// Envoy proxy container in your task definition or pod spec. This is then mapped to
/// the node.id
and node.cluster
Envoy parameters.
///
///
///
/// By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN
/// when Envoy is referring to itself in metrics and traces. You can override this behavior
/// by setting the APPMESH_RESOURCE_CLUSTER
environment variable with your
/// own name.
///
///
///
/// For more information about virtual nodes, see Virtual
/// nodes. You must be using 1.15.0
or later of the Envoy image when
/// setting these variables. For more information aboutApp Mesh Envoy variables, see Envoy image
/// in the App Mesh User Guide.
///
///
/// Container for the necessary parameters to execute the CreateVirtualNode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVirtualNode service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateVirtualNode Operation
public virtual Task CreateVirtualNodeAsync(CreateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVirtualRouter
internal virtual CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a virtual router within a service mesh.
///
///
///
/// Specify a listener
for any inbound traffic that your virtual router receives.
/// Create a virtual router for each protocol and port that you need to route. Virtual
/// routers handle traffic for one or more virtual services within your mesh. After you
/// create your virtual router, create and associate routes for your virtual router that
/// direct incoming requests to different virtual nodes.
///
///
///
/// For more information about virtual routers, see Virtual
/// routers.
///
///
/// Container for the necessary parameters to execute the CreateVirtualRouter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVirtualRouter service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateVirtualRouter Operation
public virtual Task CreateVirtualRouterAsync(CreateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVirtualService
internal virtual CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a virtual service within a service mesh.
///
///
///
/// A virtual service is an abstraction of a real service that is provided by a virtual
/// node directly or indirectly by means of a virtual router. Dependent services call
/// your virtual service by its virtualServiceName
, and those requests are
/// routed to the virtual node or virtual router that is specified as the provider for
/// the virtual service.
///
///
///
/// For more information about virtual services, see Virtual
/// services.
///
///
/// Container for the necessary parameters to execute the CreateVirtualService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVirtualService service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for CreateVirtualService Operation
public virtual Task CreateVirtualServiceAsync(CreateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteGatewayRoute
internal virtual DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing gateway route.
///
/// Container for the necessary parameters to execute the DeleteGatewayRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGatewayRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteGatewayRoute Operation
public virtual Task DeleteGatewayRouteAsync(DeleteGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteMesh
internal virtual DeleteMeshResponse DeleteMesh(DeleteMeshRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing service mesh.
///
///
///
/// You must delete all resources (virtual services, routes, virtual routers, and virtual
/// nodes) in the service mesh before you can delete the mesh itself.
///
///
/// Container for the necessary parameters to execute the DeleteMesh service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteMesh service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteMesh Operation
public virtual Task DeleteMeshAsync(DeleteMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteRoute
internal virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing route.
///
/// Container for the necessary parameters to execute the DeleteRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteRoute Operation
public virtual Task DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVirtualGateway
internal virtual DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
/// routes are associated to it.
///
/// Container for the necessary parameters to execute the DeleteVirtualGateway service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVirtualGateway service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteVirtualGateway Operation
public virtual Task DeleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVirtualNode
internal virtual DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing virtual node.
///
///
///
/// You must delete any virtual services that list a virtual node as a service provider
/// before you can delete the virtual node itself.
///
///
/// Container for the necessary parameters to execute the DeleteVirtualNode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVirtualNode service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteVirtualNode Operation
public virtual Task DeleteVirtualNodeAsync(DeleteVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVirtualRouter
internal virtual DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing virtual router.
///
///
///
/// You must delete any routes associated with the virtual router before you can delete
/// the router itself.
///
///
/// Container for the necessary parameters to execute the DeleteVirtualRouter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVirtualRouter service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteVirtualRouter Operation
public virtual Task DeleteVirtualRouterAsync(DeleteVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVirtualService
internal virtual DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an existing virtual service.
///
/// Container for the necessary parameters to execute the DeleteVirtualService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVirtualService service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// You can't delete the specified resource because it's in use or required by another
/// resource.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DeleteVirtualService Operation
public virtual Task DeleteVirtualServiceAsync(DeleteVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeGatewayRoute
internal virtual DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing gateway route.
///
/// Container for the necessary parameters to execute the DescribeGatewayRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeGatewayRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeGatewayRoute Operation
public virtual Task DescribeGatewayRouteAsync(DescribeGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeMesh
internal virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing service mesh.
///
/// Container for the necessary parameters to execute the DescribeMesh service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMesh service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeMesh Operation
public virtual Task DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRoute
internal virtual DescribeRouteResponse DescribeRoute(DescribeRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing route.
///
/// Container for the necessary parameters to execute the DescribeRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeRoute Operation
public virtual Task DescribeRouteAsync(DescribeRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVirtualGateway
internal virtual DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing virtual gateway.
///
/// Container for the necessary parameters to execute the DescribeVirtualGateway service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVirtualGateway service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeVirtualGateway Operation
public virtual Task DescribeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVirtualNode
internal virtual DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing virtual node.
///
/// Container for the necessary parameters to execute the DescribeVirtualNode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVirtualNode service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeVirtualNode Operation
public virtual Task DescribeVirtualNodeAsync(DescribeVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVirtualRouter
internal virtual DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing virtual router.
///
/// Container for the necessary parameters to execute the DescribeVirtualRouter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVirtualRouter service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeVirtualRouter Operation
public virtual Task DescribeVirtualRouterAsync(DescribeVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVirtualService
internal virtual DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an existing virtual service.
///
/// Container for the necessary parameters to execute the DescribeVirtualService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVirtualService service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for DescribeVirtualService Operation
public virtual Task DescribeVirtualServiceAsync(DescribeVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListGatewayRoutes
internal virtual ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing gateway routes that are associated to a virtual gateway.
///
/// Container for the necessary parameters to execute the ListGatewayRoutes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListGatewayRoutes service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListGatewayRoutes Operation
public virtual Task ListGatewayRoutesAsync(ListGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMeshes
internal virtual ListMeshesResponse ListMeshes(ListMeshesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMeshesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing service meshes.
///
/// Container for the necessary parameters to execute the ListMeshes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMeshes service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListMeshes Operation
public virtual Task ListMeshesAsync(ListMeshesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMeshesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRoutes
internal virtual ListRoutesResponse ListRoutes(ListRoutesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing routes in a service mesh.
///
/// Container for the necessary parameters to execute the ListRoutes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRoutes service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListRoutes Operation
public virtual Task ListRoutesAsync(ListRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the tags for an App Mesh resource.
///
/// 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 AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// 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 ListVirtualGateways
internal virtual ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing virtual gateways in a service mesh.
///
/// Container for the necessary parameters to execute the ListVirtualGateways service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVirtualGateways service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListVirtualGateways Operation
public virtual Task ListVirtualGatewaysAsync(ListVirtualGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVirtualNodes
internal virtual ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing virtual nodes.
///
/// Container for the necessary parameters to execute the ListVirtualNodes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVirtualNodes service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListVirtualNodes Operation
public virtual Task ListVirtualNodesAsync(ListVirtualNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVirtualRouters
internal virtual ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing virtual routers in a service mesh.
///
/// Container for the necessary parameters to execute the ListVirtualRouters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVirtualRouters service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListVirtualRouters Operation
public virtual Task ListVirtualRoutersAsync(ListVirtualRoutersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVirtualServices
internal virtual ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of existing virtual services in a service mesh.
///
/// Container for the necessary parameters to execute the ListVirtualServices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVirtualServices service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for ListVirtualServices Operation
public virtual Task ListVirtualServicesAsync(ListVirtualServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified tags to a resource with the specified resourceArn
.
/// If existing tags on a resource aren't specified in the request parameters, they aren't
/// changed. When a resource is deleted, the tags associated with that resource are also
/// deleted.
///
/// 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 AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
///
/// The request exceeds the maximum allowed number of tags allowed per resource. The current
/// limit is 50 user tags per resource. You must reduce the number of tags in the request.
/// None of the tags in this request were applied.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes specified tags from a 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 AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// 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 UpdateGatewayRoute
internal virtual UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing gateway route that is associated to a specified virtual gateway
/// in a service mesh.
///
/// Container for the necessary parameters to execute the UpdateGatewayRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateGatewayRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateGatewayRoute Operation
public virtual Task UpdateGatewayRouteAsync(UpdateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateMesh
internal virtual UpdateMeshResponse UpdateMesh(UpdateMeshRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing service mesh.
///
/// Container for the necessary parameters to execute the UpdateMesh service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMesh service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateMesh Operation
public virtual Task UpdateMeshAsync(UpdateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateRoute
internal virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing route for a specified service mesh and virtual router.
///
/// Container for the necessary parameters to execute the UpdateRoute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRoute service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateRoute Operation
public virtual Task UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVirtualGateway
internal virtual UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing virtual gateway in a specified service mesh.
///
/// Container for the necessary parameters to execute the UpdateVirtualGateway service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVirtualGateway service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateVirtualGateway Operation
public virtual Task UpdateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVirtualNode
internal virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing virtual node in a specified service mesh.
///
/// Container for the necessary parameters to execute the UpdateVirtualNode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVirtualNode service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateVirtualNode Operation
public virtual Task UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVirtualRouter
internal virtual UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing virtual router in a specified service mesh.
///
/// Container for the necessary parameters to execute the UpdateVirtualRouter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVirtualRouter service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateVirtualRouter Operation
public virtual Task UpdateVirtualRouterAsync(UpdateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVirtualService
internal virtual UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing virtual service in a specified service mesh.
///
/// Container for the necessary parameters to execute the UpdateVirtualService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVirtualService service method, as returned by AppMesh.
///
/// The request syntax was malformed. Check your request syntax and try again.
///
///
/// The request contains a client token that was used for a previous update resource call
/// with different specifications. Try the request again with a new client token.
///
///
/// You don't have permissions to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// You have exceeded a service limit for your account. For more information, see Service
/// Limits in the App Mesh User Guide.
///
///
/// The specified resource doesn't exist. Check your request syntax and try again.
///
///
/// The request has failed due to a temporary failure of the service.
///
///
/// The maximum request rate permitted by the App Mesh APIs has been exceeded for your
/// account. For best results, use an increasing or variable sleep interval between requests.
///
/// REST API Reference for UpdateVirtualService Operation
public virtual Task UpdateVirtualServiceAsync(UpdateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}