/* * 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.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(); #if BCL45 || 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 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 #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 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 /// /// 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. /// /// 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 CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGatewayRoute operation. /// /// /// Container for the necessary parameters to execute the CreateGatewayRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGatewayRoute /// operation. /// REST API Reference for CreateGatewayRoute Operation public virtual IAsyncResult BeginCreateGatewayRoute(CreateGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGatewayRoute operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGatewayRoute. /// /// Returns a CreateGatewayRouteResult from AppMesh. /// REST API Reference for CreateGatewayRoute Operation public virtual CreateGatewayRouteResponse EndCreateGatewayRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateMesh /// /// 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. /// /// 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 CreateMeshResponse CreateMesh(CreateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateMesh operation. /// /// /// Container for the necessary parameters to execute the CreateMesh operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMesh /// operation. /// REST API Reference for CreateMesh Operation public virtual IAsyncResult BeginCreateMesh(CreateMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateMesh operation. /// /// /// The IAsyncResult returned by the call to BeginCreateMesh. /// /// Returns a CreateMeshResult from AppMesh. /// REST API Reference for CreateMesh Operation public virtual CreateMeshResponse EndCreateMesh(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRoute /// /// 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. /// /// 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 CreateRouteResponse CreateRoute(CreateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRoute operation. /// /// /// Container for the necessary parameters to execute the CreateRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRoute /// operation. /// REST API Reference for CreateRoute Operation public virtual IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRoute operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRoute. /// /// Returns a CreateRouteResult from AppMesh. /// REST API Reference for CreateRoute Operation public virtual CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVirtualGateway /// /// 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. /// /// 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 CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateVirtualGateway operation. /// /// /// Container for the necessary parameters to execute the CreateVirtualGateway operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualGateway /// operation. /// REST API Reference for CreateVirtualGateway Operation public virtual IAsyncResult BeginCreateVirtualGateway(CreateVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVirtualGateway operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVirtualGateway. /// /// Returns a CreateVirtualGatewayResult from AppMesh. /// REST API Reference for CreateVirtualGateway Operation public virtual CreateVirtualGatewayResponse EndCreateVirtualGateway(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVirtualNode /// /// 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. /// /// 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 CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateVirtualNode operation. /// /// /// Container for the necessary parameters to execute the CreateVirtualNode operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualNode /// operation. /// REST API Reference for CreateVirtualNode Operation public virtual IAsyncResult BeginCreateVirtualNode(CreateVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVirtualNode operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVirtualNode. /// /// Returns a CreateVirtualNodeResult from AppMesh. /// REST API Reference for CreateVirtualNode Operation public virtual CreateVirtualNodeResponse EndCreateVirtualNode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVirtualRouter /// /// 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. /// /// 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 CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateVirtualRouter operation. /// /// /// Container for the necessary parameters to execute the CreateVirtualRouter operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualRouter /// operation. /// REST API Reference for CreateVirtualRouter Operation public virtual IAsyncResult BeginCreateVirtualRouter(CreateVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVirtualRouter operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVirtualRouter. /// /// Returns a CreateVirtualRouterResult from AppMesh. /// REST API Reference for CreateVirtualRouter Operation public virtual CreateVirtualRouterResponse EndCreateVirtualRouter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVirtualService /// /// 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. /// /// 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 CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateVirtualService operation. /// /// /// Container for the necessary parameters to execute the CreateVirtualService operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualService /// operation. /// REST API Reference for CreateVirtualService Operation public virtual IAsyncResult BeginCreateVirtualService(CreateVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVirtualService operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVirtualService. /// /// Returns a CreateVirtualServiceResult from AppMesh. /// REST API Reference for CreateVirtualService Operation public virtual CreateVirtualServiceResponse EndCreateVirtualService(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteGatewayRoute /// /// Deletes an existing gateway route. /// /// Container for the necessary parameters to execute the DeleteGatewayRoute service method. /// /// 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 DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteGatewayRoute operation. /// /// /// Container for the necessary parameters to execute the DeleteGatewayRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGatewayRoute /// operation. /// REST API Reference for DeleteGatewayRoute Operation public virtual IAsyncResult BeginDeleteGatewayRoute(DeleteGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteGatewayRoute operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGatewayRoute. /// /// Returns a DeleteGatewayRouteResult from AppMesh. /// REST API Reference for DeleteGatewayRoute Operation public virtual DeleteGatewayRouteResponse EndDeleteGatewayRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteMesh /// /// 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. /// /// 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 DeleteMeshResponse DeleteMesh(DeleteMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteMesh operation. /// /// /// Container for the necessary parameters to execute the DeleteMesh operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMesh /// operation. /// REST API Reference for DeleteMesh Operation public virtual IAsyncResult BeginDeleteMesh(DeleteMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteMesh operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteMesh. /// /// Returns a DeleteMeshResult from AppMesh. /// REST API Reference for DeleteMesh Operation public virtual DeleteMeshResponse EndDeleteMesh(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRoute /// /// Deletes an existing route. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// 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 DeleteRouteResponse DeleteRoute(DeleteRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRoute operation. /// /// /// Container for the necessary parameters to execute the DeleteRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRoute /// operation. /// REST API Reference for DeleteRoute Operation public virtual IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRoute operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRoute. /// /// Returns a DeleteRouteResult from AppMesh. /// REST API Reference for DeleteRoute Operation public virtual DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVirtualGateway /// /// 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. /// /// 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 DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteVirtualGateway operation. /// /// /// Container for the necessary parameters to execute the DeleteVirtualGateway operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualGateway /// operation. /// REST API Reference for DeleteVirtualGateway Operation public virtual IAsyncResult BeginDeleteVirtualGateway(DeleteVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVirtualGateway operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVirtualGateway. /// /// Returns a DeleteVirtualGatewayResult from AppMesh. /// REST API Reference for DeleteVirtualGateway Operation public virtual DeleteVirtualGatewayResponse EndDeleteVirtualGateway(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVirtualNode /// /// 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. /// /// 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 DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteVirtualNode operation. /// /// /// Container for the necessary parameters to execute the DeleteVirtualNode operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualNode /// operation. /// REST API Reference for DeleteVirtualNode Operation public virtual IAsyncResult BeginDeleteVirtualNode(DeleteVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVirtualNode operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVirtualNode. /// /// Returns a DeleteVirtualNodeResult from AppMesh. /// REST API Reference for DeleteVirtualNode Operation public virtual DeleteVirtualNodeResponse EndDeleteVirtualNode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVirtualRouter /// /// 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. /// /// 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 DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteVirtualRouter operation. /// /// /// Container for the necessary parameters to execute the DeleteVirtualRouter operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualRouter /// operation. /// REST API Reference for DeleteVirtualRouter Operation public virtual IAsyncResult BeginDeleteVirtualRouter(DeleteVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVirtualRouter operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVirtualRouter. /// /// Returns a DeleteVirtualRouterResult from AppMesh. /// REST API Reference for DeleteVirtualRouter Operation public virtual DeleteVirtualRouterResponse EndDeleteVirtualRouter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVirtualService /// /// Deletes an existing virtual service. /// /// Container for the necessary parameters to execute the DeleteVirtualService service method. /// /// 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 DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteVirtualService operation. /// /// /// Container for the necessary parameters to execute the DeleteVirtualService operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualService /// operation. /// REST API Reference for DeleteVirtualService Operation public virtual IAsyncResult BeginDeleteVirtualService(DeleteVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVirtualService operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVirtualService. /// /// Returns a DeleteVirtualServiceResult from AppMesh. /// REST API Reference for DeleteVirtualService Operation public virtual DeleteVirtualServiceResponse EndDeleteVirtualService(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeGatewayRoute /// /// Describes an existing gateway route. /// /// Container for the necessary parameters to execute the DescribeGatewayRoute service method. /// /// 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 DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeGatewayRoute operation. /// /// /// Container for the necessary parameters to execute the DescribeGatewayRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGatewayRoute /// operation. /// REST API Reference for DescribeGatewayRoute Operation public virtual IAsyncResult BeginDescribeGatewayRoute(DescribeGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeGatewayRoute operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeGatewayRoute. /// /// Returns a DescribeGatewayRouteResult from AppMesh. /// REST API Reference for DescribeGatewayRoute Operation public virtual DescribeGatewayRouteResponse EndDescribeGatewayRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeMesh /// /// Describes an existing service mesh. /// /// Container for the necessary parameters to execute the DescribeMesh service method. /// /// 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 DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeMesh operation. /// /// /// Container for the necessary parameters to execute the DescribeMesh operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMesh /// operation. /// REST API Reference for DescribeMesh Operation public virtual IAsyncResult BeginDescribeMesh(DescribeMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeMesh operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMesh. /// /// Returns a DescribeMeshResult from AppMesh. /// REST API Reference for DescribeMesh Operation public virtual DescribeMeshResponse EndDescribeMesh(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRoute /// /// Describes an existing route. /// /// Container for the necessary parameters to execute the DescribeRoute service method. /// /// 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 DescribeRouteResponse DescribeRoute(DescribeRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRoute operation. /// /// /// Container for the necessary parameters to execute the DescribeRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRoute /// operation. /// REST API Reference for DescribeRoute Operation public virtual IAsyncResult BeginDescribeRoute(DescribeRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRoute operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRoute. /// /// Returns a DescribeRouteResult from AppMesh. /// REST API Reference for DescribeRoute Operation public virtual DescribeRouteResponse EndDescribeRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVirtualGateway /// /// Describes an existing virtual gateway. /// /// Container for the necessary parameters to execute the DescribeVirtualGateway service method. /// /// 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 DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeVirtualGateway operation. /// /// /// Container for the necessary parameters to execute the DescribeVirtualGateway operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualGateway /// operation. /// REST API Reference for DescribeVirtualGateway Operation public virtual IAsyncResult BeginDescribeVirtualGateway(DescribeVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVirtualGateway operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVirtualGateway. /// /// Returns a DescribeVirtualGatewayResult from AppMesh. /// REST API Reference for DescribeVirtualGateway Operation public virtual DescribeVirtualGatewayResponse EndDescribeVirtualGateway(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVirtualNode /// /// Describes an existing virtual node. /// /// Container for the necessary parameters to execute the DescribeVirtualNode service method. /// /// 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 DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeVirtualNode operation. /// /// /// Container for the necessary parameters to execute the DescribeVirtualNode operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualNode /// operation. /// REST API Reference for DescribeVirtualNode Operation public virtual IAsyncResult BeginDescribeVirtualNode(DescribeVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVirtualNode operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVirtualNode. /// /// Returns a DescribeVirtualNodeResult from AppMesh. /// REST API Reference for DescribeVirtualNode Operation public virtual DescribeVirtualNodeResponse EndDescribeVirtualNode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVirtualRouter /// /// Describes an existing virtual router. /// /// Container for the necessary parameters to execute the DescribeVirtualRouter service method. /// /// 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 DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeVirtualRouter operation. /// /// /// Container for the necessary parameters to execute the DescribeVirtualRouter operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualRouter /// operation. /// REST API Reference for DescribeVirtualRouter Operation public virtual IAsyncResult BeginDescribeVirtualRouter(DescribeVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVirtualRouter operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVirtualRouter. /// /// Returns a DescribeVirtualRouterResult from AppMesh. /// REST API Reference for DescribeVirtualRouter Operation public virtual DescribeVirtualRouterResponse EndDescribeVirtualRouter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVirtualService /// /// Describes an existing virtual service. /// /// Container for the necessary parameters to execute the DescribeVirtualService service method. /// /// 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 DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeVirtualService operation. /// /// /// Container for the necessary parameters to execute the DescribeVirtualService operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualService /// operation. /// REST API Reference for DescribeVirtualService Operation public virtual IAsyncResult BeginDescribeVirtualService(DescribeVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVirtualService operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVirtualService. /// /// Returns a DescribeVirtualServiceResult from AppMesh. /// REST API Reference for DescribeVirtualService Operation public virtual DescribeVirtualServiceResponse EndDescribeVirtualService(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGatewayRoutes /// /// 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. /// /// 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 ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGatewayRoutes operation. /// /// /// Container for the necessary parameters to execute the ListGatewayRoutes operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGatewayRoutes /// operation. /// REST API Reference for ListGatewayRoutes Operation public virtual IAsyncResult BeginListGatewayRoutes(ListGatewayRoutesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGatewayRoutes operation. /// /// /// The IAsyncResult returned by the call to BeginListGatewayRoutes. /// /// Returns a ListGatewayRoutesResult from AppMesh. /// REST API Reference for ListGatewayRoutes Operation public virtual ListGatewayRoutesResponse EndListGatewayRoutes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMeshes /// /// Returns a list of existing service meshes. /// /// Container for the necessary parameters to execute the ListMeshes service method. /// /// 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 ListMeshesResponse ListMeshes(ListMeshesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMeshes operation. /// /// /// Container for the necessary parameters to execute the ListMeshes operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMeshes /// operation. /// REST API Reference for ListMeshes Operation public virtual IAsyncResult BeginListMeshes(ListMeshesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMeshes operation. /// /// /// The IAsyncResult returned by the call to BeginListMeshes. /// /// Returns a ListMeshesResult from AppMesh. /// REST API Reference for ListMeshes Operation public virtual ListMeshesResponse EndListMeshes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRoutes /// /// Returns a list of existing routes in a service mesh. /// /// Container for the necessary parameters to execute the ListRoutes service method. /// /// 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 ListRoutesResponse ListRoutes(ListRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRoutes operation. /// /// /// Container for the necessary parameters to execute the ListRoutes operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRoutes /// operation. /// REST API Reference for ListRoutes Operation public virtual IAsyncResult BeginListRoutes(ListRoutesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRoutes operation. /// /// /// The IAsyncResult returned by the call to BeginListRoutes. /// /// Returns a ListRoutesResult from AppMesh. /// REST API Reference for ListRoutes Operation public virtual ListRoutesResponse EndListRoutes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// List the tags for an App Mesh resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// 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 ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from AppMesh. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVirtualGateways /// /// Returns a list of existing virtual gateways in a service mesh. /// /// Container for the necessary parameters to execute the ListVirtualGateways service method. /// /// 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 ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListVirtualGateways operation. /// /// /// Container for the necessary parameters to execute the ListVirtualGateways operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualGateways /// operation. /// REST API Reference for ListVirtualGateways Operation public virtual IAsyncResult BeginListVirtualGateways(ListVirtualGatewaysRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVirtualGateways operation. /// /// /// The IAsyncResult returned by the call to BeginListVirtualGateways. /// /// Returns a ListVirtualGatewaysResult from AppMesh. /// REST API Reference for ListVirtualGateways Operation public virtual ListVirtualGatewaysResponse EndListVirtualGateways(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVirtualNodes /// /// Returns a list of existing virtual nodes. /// /// Container for the necessary parameters to execute the ListVirtualNodes service method. /// /// 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 ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListVirtualNodes operation. /// /// /// Container for the necessary parameters to execute the ListVirtualNodes operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualNodes /// operation. /// REST API Reference for ListVirtualNodes Operation public virtual IAsyncResult BeginListVirtualNodes(ListVirtualNodesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVirtualNodes operation. /// /// /// The IAsyncResult returned by the call to BeginListVirtualNodes. /// /// Returns a ListVirtualNodesResult from AppMesh. /// REST API Reference for ListVirtualNodes Operation public virtual ListVirtualNodesResponse EndListVirtualNodes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVirtualRouters /// /// Returns a list of existing virtual routers in a service mesh. /// /// Container for the necessary parameters to execute the ListVirtualRouters service method. /// /// 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 ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListVirtualRouters operation. /// /// /// Container for the necessary parameters to execute the ListVirtualRouters operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualRouters /// operation. /// REST API Reference for ListVirtualRouters Operation public virtual IAsyncResult BeginListVirtualRouters(ListVirtualRoutersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVirtualRouters operation. /// /// /// The IAsyncResult returned by the call to BeginListVirtualRouters. /// /// Returns a ListVirtualRoutersResult from AppMesh. /// REST API Reference for ListVirtualRouters Operation public virtual ListVirtualRoutersResponse EndListVirtualRouters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVirtualServices /// /// Returns a list of existing virtual services in a service mesh. /// /// Container for the necessary parameters to execute the ListVirtualServices service method. /// /// 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 ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListVirtualServices operation. /// /// /// Container for the necessary parameters to execute the ListVirtualServices operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualServices /// operation. /// REST API Reference for ListVirtualServices Operation public virtual IAsyncResult BeginListVirtualServices(ListVirtualServicesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVirtualServices operation. /// /// /// The IAsyncResult returned by the call to BeginListVirtualServices. /// /// Returns a ListVirtualServicesResult from AppMesh. /// REST API Reference for ListVirtualServices Operation public virtual ListVirtualServicesResponse EndListVirtualServices(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// 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. /// /// 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 TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from AppMesh. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Deletes specified tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// 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 UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from AppMesh. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateGatewayRoute /// /// 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. /// /// 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 UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateGatewayRoute operation. /// /// /// Container for the necessary parameters to execute the UpdateGatewayRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGatewayRoute /// operation. /// REST API Reference for UpdateGatewayRoute Operation public virtual IAsyncResult BeginUpdateGatewayRoute(UpdateGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateGatewayRoute operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateGatewayRoute. /// /// Returns a UpdateGatewayRouteResult from AppMesh. /// REST API Reference for UpdateGatewayRoute Operation public virtual UpdateGatewayRouteResponse EndUpdateGatewayRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateMesh /// /// Updates an existing service mesh. /// /// Container for the necessary parameters to execute the UpdateMesh service method. /// /// 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 UpdateMeshResponse UpdateMesh(UpdateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateMesh operation. /// /// /// Container for the necessary parameters to execute the UpdateMesh operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMesh /// operation. /// REST API Reference for UpdateMesh Operation public virtual IAsyncResult BeginUpdateMesh(UpdateMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateMesh operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateMesh. /// /// Returns a UpdateMeshResult from AppMesh. /// REST API Reference for UpdateMesh Operation public virtual UpdateMeshResponse EndUpdateMesh(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRoute /// /// Updates an existing route for a specified service mesh and virtual router. /// /// Container for the necessary parameters to execute the UpdateRoute service method. /// /// 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 UpdateRouteResponse UpdateRoute(UpdateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRoute operation. /// /// /// Container for the necessary parameters to execute the UpdateRoute operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRoute /// operation. /// REST API Reference for UpdateRoute Operation public virtual IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRoute operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRoute. /// /// Returns a UpdateRouteResult from AppMesh. /// REST API Reference for UpdateRoute Operation public virtual UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVirtualGateway /// /// Updates an existing virtual gateway in a specified service mesh. /// /// Container for the necessary parameters to execute the UpdateVirtualGateway service method. /// /// 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 UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateVirtualGateway operation. /// /// /// Container for the necessary parameters to execute the UpdateVirtualGateway operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualGateway /// operation. /// REST API Reference for UpdateVirtualGateway Operation public virtual IAsyncResult BeginUpdateVirtualGateway(UpdateVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVirtualGateway operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVirtualGateway. /// /// Returns a UpdateVirtualGatewayResult from AppMesh. /// REST API Reference for UpdateVirtualGateway Operation public virtual UpdateVirtualGatewayResponse EndUpdateVirtualGateway(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVirtualNode /// /// Updates an existing virtual node in a specified service mesh. /// /// Container for the necessary parameters to execute the UpdateVirtualNode service method. /// /// 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 UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateVirtualNode operation. /// /// /// Container for the necessary parameters to execute the UpdateVirtualNode operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualNode /// operation. /// REST API Reference for UpdateVirtualNode Operation public virtual IAsyncResult BeginUpdateVirtualNode(UpdateVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVirtualNode operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVirtualNode. /// /// Returns a UpdateVirtualNodeResult from AppMesh. /// REST API Reference for UpdateVirtualNode Operation public virtual UpdateVirtualNodeResponse EndUpdateVirtualNode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVirtualRouter /// /// Updates an existing virtual router in a specified service mesh. /// /// Container for the necessary parameters to execute the UpdateVirtualRouter service method. /// /// 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 UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateVirtualRouter operation. /// /// /// Container for the necessary parameters to execute the UpdateVirtualRouter operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualRouter /// operation. /// REST API Reference for UpdateVirtualRouter Operation public virtual IAsyncResult BeginUpdateVirtualRouter(UpdateVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVirtualRouter operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVirtualRouter. /// /// Returns a UpdateVirtualRouterResult from AppMesh. /// REST API Reference for UpdateVirtualRouter Operation public virtual UpdateVirtualRouterResponse EndUpdateVirtualRouter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVirtualService /// /// Updates an existing virtual service in a specified service mesh. /// /// Container for the necessary parameters to execute the UpdateVirtualService service method. /// /// 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 UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateVirtualService operation. /// /// /// Container for the necessary parameters to execute the UpdateVirtualService operation on AmazonAppMeshClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualService /// operation. /// REST API Reference for UpdateVirtualService Operation public virtual IAsyncResult BeginUpdateVirtualService(UpdateVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVirtualService operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVirtualService. /// /// Returns a UpdateVirtualServiceResult from AppMesh. /// REST API Reference for UpdateVirtualService Operation public virtual UpdateVirtualServiceResponse EndUpdateVirtualService(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }