/* * 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.ApiGatewayV2.Model; using Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations; using Amazon.ApiGatewayV2.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ApiGatewayV2 { /// /// Implementation for accessing ApiGatewayV2 /// /// Amazon API Gateway V2 /// public partial class AmazonApiGatewayV2Client : AmazonServiceClient, IAmazonApiGatewayV2 { private static IServiceMetadata serviceMetadata = new AmazonApiGatewayV2Metadata(); #region Constructors /// /// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config()) { } /// /// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object public AmazonApiGatewayV2Client(AmazonApiGatewayV2Config config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonApiGatewayV2Client with AWS Credentials /// /// AWS Credentials public AmazonApiGatewayV2Client(AWSCredentials credentials) : this(credentials, new AmazonApiGatewayV2Config()) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonApiGatewayV2Client(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonApiGatewayV2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Credentials and an /// AmazonApiGatewayV2Client Configuration object. /// /// AWS Credentials /// The AmazonApiGatewayV2Client Configuration Object public AmazonApiGatewayV2Client(AWSCredentials credentials, AmazonApiGatewayV2Config clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config()) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config() {RegionEndpoint=region}) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayV2Client Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonApiGatewayV2Client Configuration Object public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayV2Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config()) { } /// /// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayV2Client Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonApiGatewayV2Client Configuration Object public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayV2Config 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 AmazonApiGatewayV2EndpointResolver()); } /// /// 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 CreateApi /// /// Creates an Api resource. /// /// Container for the necessary parameters to execute the CreateApi service method. /// /// The response from the CreateApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateApi Operation public virtual CreateApiResponse CreateApi(CreateApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Api resource. /// /// Container for the necessary parameters to execute the CreateApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateApi Operation public virtual Task CreateApiAsync(CreateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateApiMapping /// /// Creates an API mapping. /// /// Container for the necessary parameters to execute the CreateApiMapping service method. /// /// The response from the CreateApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateApiMapping Operation public virtual CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an API mapping. /// /// Container for the necessary parameters to execute the CreateApiMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateApiMapping Operation public virtual Task CreateApiMappingAsync(CreateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAuthorizer /// /// Creates an Authorizer for an API. /// /// Container for the necessary parameters to execute the CreateAuthorizer service method. /// /// The response from the CreateAuthorizer service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateAuthorizer Operation public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Authorizer for an API. /// /// Container for the necessary parameters to execute the CreateAuthorizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAuthorizer service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateAuthorizer Operation public virtual Task CreateAuthorizerAsync(CreateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDeployment /// /// Creates a Deployment for an API. /// /// Container for the necessary parameters to execute the CreateDeployment service method. /// /// The response from the CreateDeployment service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateDeployment Operation public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Deployment for an API. /// /// Container for the necessary parameters to execute the CreateDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDeployment service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateDeployment Operation public virtual Task CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDomainName /// /// Creates a domain name. /// /// Container for the necessary parameters to execute the CreateDomainName service method. /// /// The response from the CreateDomainName service method, as returned by ApiGatewayV2. /// /// /// /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateDomainName Operation public virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a domain name. /// /// Container for the necessary parameters to execute the CreateDomainName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDomainName service method, as returned by ApiGatewayV2. /// /// /// /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateDomainName Operation public virtual Task CreateDomainNameAsync(CreateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIntegration /// /// Creates an Integration. /// /// Container for the necessary parameters to execute the CreateIntegration service method. /// /// The response from the CreateIntegration service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateIntegration Operation public virtual CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Integration. /// /// Container for the necessary parameters to execute the CreateIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIntegration service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateIntegration Operation public virtual Task CreateIntegrationAsync(CreateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIntegrationResponse /// /// Creates an IntegrationResponses. /// /// Container for the necessary parameters to execute the CreateIntegrationResponse service method. /// /// The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateIntegrationResponse Operation public virtual CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an IntegrationResponses. /// /// Container for the necessary parameters to execute the CreateIntegrationResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateIntegrationResponse Operation public virtual Task CreateIntegrationResponseAsync(CreateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateModel /// /// Creates a Model for an API. /// /// Container for the necessary parameters to execute the CreateModel service method. /// /// The response from the CreateModel service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateModel Operation public virtual CreateModelResponse CreateModel(CreateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Model for an API. /// /// Container for the necessary parameters to execute the CreateModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateModel service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateModel Operation public virtual Task CreateModelAsync(CreateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRoute /// /// Creates a Route for an API. /// /// Container for the necessary parameters to execute the CreateRoute service method. /// /// The response from the CreateRoute service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// 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); } /// /// Creates a Route for an API. /// /// Container for the necessary parameters to execute the CreateRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRoute service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateRoute Operation public virtual Task CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRouteResponse /// /// Creates a RouteResponse for a Route. /// /// Container for the necessary parameters to execute the CreateRouteResponse service method. /// /// The response from the CreateRouteResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateRouteResponse Operation public virtual CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a RouteResponse for a Route. /// /// Container for the necessary parameters to execute the CreateRouteResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRouteResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateRouteResponse Operation public virtual Task CreateRouteResponseAsync(CreateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStage /// /// Creates a Stage for an API. /// /// Container for the necessary parameters to execute the CreateStage service method. /// /// The response from the CreateStage service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateStage Operation public virtual CreateStageResponse CreateStage(CreateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Stage for an API. /// /// Container for the necessary parameters to execute the CreateStage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStage service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateStage Operation public virtual Task CreateStageAsync(CreateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcLink /// /// Creates a VPC link. /// /// Container for the necessary parameters to execute the CreateVpcLink service method. /// /// The response from the CreateVpcLink service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateVpcLink Operation public virtual CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPC link. /// /// Container for the necessary parameters to execute the CreateVpcLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcLink service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for CreateVpcLink Operation public virtual Task CreateVpcLinkAsync(CreateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAccessLogSettings /// /// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, /// delete its AccessLogSettings. /// /// Container for the necessary parameters to execute the DeleteAccessLogSettings service method. /// /// The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteAccessLogSettings Operation public virtual DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, /// delete its AccessLogSettings. /// /// Container for the necessary parameters to execute the DeleteAccessLogSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteAccessLogSettings Operation public virtual Task DeleteAccessLogSettingsAsync(DeleteAccessLogSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteApi /// /// Deletes an Api resource. /// /// Container for the necessary parameters to execute the DeleteApi service method. /// /// The response from the DeleteApi service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteApi Operation public virtual DeleteApiResponse DeleteApi(DeleteApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Api resource. /// /// Container for the necessary parameters to execute the DeleteApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApi service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteApi Operation public virtual Task DeleteApiAsync(DeleteApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteApiMapping /// /// Deletes an API mapping. /// /// Container for the necessary parameters to execute the DeleteApiMapping service method. /// /// The response from the DeleteApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteApiMapping Operation public virtual DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an API mapping. /// /// Container for the necessary parameters to execute the DeleteApiMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteApiMapping Operation public virtual Task DeleteApiMappingAsync(DeleteApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAuthorizer /// /// Deletes an Authorizer. /// /// Container for the necessary parameters to execute the DeleteAuthorizer service method. /// /// The response from the DeleteAuthorizer service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteAuthorizer Operation public virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Authorizer. /// /// Container for the necessary parameters to execute the DeleteAuthorizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAuthorizer service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteAuthorizer Operation public virtual Task DeleteAuthorizerAsync(DeleteAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCorsConfiguration /// /// Deletes a CORS configuration. /// /// Container for the necessary parameters to execute the DeleteCorsConfiguration service method. /// /// The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteCorsConfiguration Operation public virtual DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a CORS configuration. /// /// Container for the necessary parameters to execute the DeleteCorsConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteCorsConfiguration Operation public virtual Task DeleteCorsConfigurationAsync(DeleteCorsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDeployment /// /// Deletes a Deployment. /// /// Container for the necessary parameters to execute the DeleteDeployment service method. /// /// The response from the DeleteDeployment service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteDeployment Operation public virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Deployment. /// /// Container for the necessary parameters to execute the DeleteDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDeployment service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteDeployment Operation public virtual Task DeleteDeploymentAsync(DeleteDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDomainName /// /// Deletes a domain name. /// /// Container for the necessary parameters to execute the DeleteDomainName service method. /// /// The response from the DeleteDomainName service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteDomainName Operation public virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a domain name. /// /// Container for the necessary parameters to execute the DeleteDomainName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDomainName service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteDomainName Operation public virtual Task DeleteDomainNameAsync(DeleteDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIntegration /// /// Deletes an Integration. /// /// Container for the necessary parameters to execute the DeleteIntegration service method. /// /// The response from the DeleteIntegration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteIntegration Operation public virtual DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Integration. /// /// Container for the necessary parameters to execute the DeleteIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIntegration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteIntegration Operation public virtual Task DeleteIntegrationAsync(DeleteIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIntegrationResponse /// /// Deletes an IntegrationResponses. /// /// Container for the necessary parameters to execute the DeleteIntegrationResponse service method. /// /// The response from the DeleteIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteIntegrationResponse Operation public virtual DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an IntegrationResponses. /// /// Container for the necessary parameters to execute the DeleteIntegrationResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteIntegrationResponse Operation public virtual Task DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteModel /// /// Deletes a Model. /// /// Container for the necessary parameters to execute the DeleteModel service method. /// /// The response from the DeleteModel service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteModel Operation public virtual DeleteModelResponse DeleteModel(DeleteModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Model. /// /// Container for the necessary parameters to execute the DeleteModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteModel service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteModel Operation public virtual Task DeleteModelAsync(DeleteModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRoute /// /// Deletes a Route. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// The response from the DeleteRoute service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// 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); } /// /// Deletes a Route. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRoute service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRoute Operation public virtual Task DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRouteRequestParameter /// /// Deletes a route request parameter. Supported only for WebSocket APIs. /// /// Container for the necessary parameters to execute the DeleteRouteRequestParameter service method. /// /// The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteRequestParameter Operation public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a route request parameter. Supported only for WebSocket APIs. /// /// Container for the necessary parameters to execute the DeleteRouteRequestParameter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteRequestParameter Operation public virtual Task DeleteRouteRequestParameterAsync(DeleteRouteRequestParameterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRouteResponse /// /// Deletes a RouteResponse. /// /// Container for the necessary parameters to execute the DeleteRouteResponse service method. /// /// The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteResponse Operation public virtual DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a RouteResponse. /// /// Container for the necessary parameters to execute the DeleteRouteResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteResponse Operation public virtual Task DeleteRouteResponseAsync(DeleteRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRouteSettings /// /// Deletes the RouteSettings for a stage. /// /// Container for the necessary parameters to execute the DeleteRouteSettings service method. /// /// The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteSettings Operation public virtual DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the RouteSettings for a stage. /// /// Container for the necessary parameters to execute the DeleteRouteSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteRouteSettings Operation public virtual Task DeleteRouteSettingsAsync(DeleteRouteSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStage /// /// Deletes a Stage. /// /// Container for the necessary parameters to execute the DeleteStage service method. /// /// The response from the DeleteStage service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteStage Operation public virtual DeleteStageResponse DeleteStage(DeleteStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Stage. /// /// Container for the necessary parameters to execute the DeleteStage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStage service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteStage Operation public virtual Task DeleteStageAsync(DeleteStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcLink /// /// Deletes a VPC link. /// /// Container for the necessary parameters to execute the DeleteVpcLink service method. /// /// The response from the DeleteVpcLink service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteVpcLink Operation public virtual DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a VPC link. /// /// Container for the necessary parameters to execute the DeleteVpcLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpcLink service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for DeleteVpcLink Operation public virtual Task DeleteVpcLinkAsync(DeleteVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportApi /// /// /// /// Container for the necessary parameters to execute the ExportApi service method. /// /// The response from the ExportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ExportApi Operation public virtual ExportApiResponse ExportApi(ExportApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// Container for the necessary parameters to execute the ExportApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ExportApi Operation public virtual Task ExportApiAsync(ExportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApi /// /// Gets an Api resource. /// /// Container for the necessary parameters to execute the GetApi service method. /// /// The response from the GetApi service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApi Operation public virtual GetApiResponse GetApi(GetApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an Api resource. /// /// Container for the necessary parameters to execute the GetApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApi service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApi Operation public virtual Task GetApiAsync(GetApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApiMapping /// /// Gets an API mapping. /// /// Container for the necessary parameters to execute the GetApiMapping service method. /// /// The response from the GetApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApiMapping Operation public virtual GetApiMappingResponse GetApiMapping(GetApiMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an API mapping. /// /// Container for the necessary parameters to execute the GetApiMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApiMapping Operation public virtual Task GetApiMappingAsync(GetApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApiMappings /// /// Gets API mappings. /// /// Container for the necessary parameters to execute the GetApiMappings service method. /// /// The response from the GetApiMappings service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApiMappings Operation public virtual GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets API mappings. /// /// Container for the necessary parameters to execute the GetApiMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApiMappings service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApiMappings Operation public virtual Task GetApiMappingsAsync(GetApiMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApis /// /// Gets a collection of Api resources. /// /// Container for the necessary parameters to execute the GetApis service method. /// /// The response from the GetApis service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApis Operation public virtual GetApisResponse GetApis(GetApisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a collection of Api resources. /// /// Container for the necessary parameters to execute the GetApis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApis service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetApis Operation public virtual Task GetApisAsync(GetApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAuthorizer /// /// Gets an Authorizer. /// /// Container for the necessary parameters to execute the GetAuthorizer service method. /// /// The response from the GetAuthorizer service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetAuthorizer Operation public virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an Authorizer. /// /// Container for the necessary parameters to execute the GetAuthorizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAuthorizer service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetAuthorizer Operation public virtual Task GetAuthorizerAsync(GetAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAuthorizers /// /// Gets the Authorizers for an API. /// /// Container for the necessary parameters to execute the GetAuthorizers service method. /// /// The response from the GetAuthorizers service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetAuthorizers Operation public virtual GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Authorizers for an API. /// /// Container for the necessary parameters to execute the GetAuthorizers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAuthorizers service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetAuthorizers Operation public virtual Task GetAuthorizersAsync(GetAuthorizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDeployment /// /// Gets a Deployment. /// /// Container for the necessary parameters to execute the GetDeployment service method. /// /// The response from the GetDeployment service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDeployment Operation public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a Deployment. /// /// Container for the necessary parameters to execute the GetDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeployment service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDeployment Operation public virtual Task GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDeployments /// /// Gets the Deployments for an API. /// /// Container for the necessary parameters to execute the GetDeployments service method. /// /// The response from the GetDeployments service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDeployments Operation public virtual GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Deployments for an API. /// /// Container for the necessary parameters to execute the GetDeployments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeployments service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDeployments Operation public virtual Task GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDomainName /// /// Gets a domain name. /// /// Container for the necessary parameters to execute the GetDomainName service method. /// /// The response from the GetDomainName service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDomainName Operation public virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a domain name. /// /// Container for the necessary parameters to execute the GetDomainName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDomainName service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDomainName Operation public virtual Task GetDomainNameAsync(GetDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDomainNames /// /// Gets the domain names for an AWS account. /// /// Container for the necessary parameters to execute the GetDomainNames service method. /// /// The response from the GetDomainNames service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDomainNames Operation public virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the domain names for an AWS account. /// /// Container for the necessary parameters to execute the GetDomainNames service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDomainNames service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetDomainNames Operation public virtual Task GetDomainNamesAsync(GetDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIntegration /// /// Gets an Integration. /// /// Container for the necessary parameters to execute the GetIntegration service method. /// /// The response from the GetIntegration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegration Operation public virtual GetIntegrationResponse GetIntegration(GetIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an Integration. /// /// Container for the necessary parameters to execute the GetIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIntegration service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegration Operation public virtual Task GetIntegrationAsync(GetIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIntegrationResponse /// /// Gets an IntegrationResponses. /// /// Container for the necessary parameters to execute the GetIntegrationResponse service method. /// /// The response from the GetIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrationResponse Operation public virtual GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an IntegrationResponses. /// /// Container for the necessary parameters to execute the GetIntegrationResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrationResponse Operation public virtual Task GetIntegrationResponseAsync(GetIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIntegrationResponses /// /// Gets the IntegrationResponses for an Integration. /// /// Container for the necessary parameters to execute the GetIntegrationResponses service method. /// /// The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrationResponses Operation public virtual GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the IntegrationResponses for an Integration. /// /// Container for the necessary parameters to execute the GetIntegrationResponses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrationResponses Operation public virtual Task GetIntegrationResponsesAsync(GetIntegrationResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIntegrations /// /// Gets the Integrations for an API. /// /// Container for the necessary parameters to execute the GetIntegrations service method. /// /// The response from the GetIntegrations service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrations Operation public virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Integrations for an API. /// /// Container for the necessary parameters to execute the GetIntegrations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIntegrations service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetIntegrations Operation public virtual Task GetIntegrationsAsync(GetIntegrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModel /// /// Gets a Model. /// /// Container for the necessary parameters to execute the GetModel service method. /// /// The response from the GetModel service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModel Operation public virtual GetModelResponse GetModel(GetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a Model. /// /// Container for the necessary parameters to execute the GetModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetModel service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModel Operation public virtual Task GetModelAsync(GetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModels /// /// Gets the Models for an API. /// /// Container for the necessary parameters to execute the GetModels service method. /// /// The response from the GetModels service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModels Operation public virtual GetModelsResponse GetModels(GetModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Models for an API. /// /// Container for the necessary parameters to execute the GetModels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetModels service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModels Operation public virtual Task GetModelsAsync(GetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModelTemplate /// /// Gets a model template. /// /// Container for the necessary parameters to execute the GetModelTemplate service method. /// /// The response from the GetModelTemplate service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModelTemplate Operation public virtual GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a model template. /// /// Container for the necessary parameters to execute the GetModelTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetModelTemplate service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetModelTemplate Operation public virtual Task GetModelTemplateAsync(GetModelTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRoute /// /// Gets a Route. /// /// Container for the necessary parameters to execute the GetRoute service method. /// /// The response from the GetRoute service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRoute Operation public virtual GetRouteResponse GetRoute(GetRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a Route. /// /// Container for the necessary parameters to execute the GetRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRoute service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRoute Operation public virtual Task GetRouteAsync(GetRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRouteResponse /// /// Gets a RouteResponse. /// /// Container for the necessary parameters to execute the GetRouteResponse service method. /// /// The response from the GetRouteResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRouteResponse Operation public virtual GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a RouteResponse. /// /// Container for the necessary parameters to execute the GetRouteResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRouteResponse service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRouteResponse Operation public virtual Task GetRouteResponseAsync(GetRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRouteResponses /// /// Gets the RouteResponses for a Route. /// /// Container for the necessary parameters to execute the GetRouteResponses service method. /// /// The response from the GetRouteResponses service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRouteResponses Operation public virtual GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the RouteResponses for a Route. /// /// Container for the necessary parameters to execute the GetRouteResponses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRouteResponses service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRouteResponses Operation public virtual Task GetRouteResponsesAsync(GetRouteResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRoutes /// /// Gets the Routes for an API. /// /// Container for the necessary parameters to execute the GetRoutes service method. /// /// The response from the GetRoutes service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRoutes Operation public virtual GetRoutesResponse GetRoutes(GetRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Routes for an API. /// /// Container for the necessary parameters to execute the GetRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRoutes service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetRoutes Operation public virtual Task GetRoutesAsync(GetRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStage /// /// Gets a Stage. /// /// Container for the necessary parameters to execute the GetStage service method. /// /// The response from the GetStage service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetStage Operation public virtual GetStageResponse GetStage(GetStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a Stage. /// /// Container for the necessary parameters to execute the GetStage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStage service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetStage Operation public virtual Task GetStageAsync(GetStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStages /// /// Gets the Stages for an API. /// /// Container for the necessary parameters to execute the GetStages service method. /// /// The response from the GetStages service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetStages Operation public virtual GetStagesResponse GetStages(GetStagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStagesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Stages for an API. /// /// Container for the necessary parameters to execute the GetStages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStages service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetStages Operation public virtual Task GetStagesAsync(GetStagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetStagesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTags /// /// Gets a collection of Tag resources. /// /// Container for the necessary parameters to execute the GetTags service method. /// /// The response from the GetTags service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetTags Operation public virtual GetTagsResponse GetTags(GetTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a collection of Tag resources. /// /// Container for the necessary parameters to execute the GetTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTags service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetTags Operation public virtual Task GetTagsAsync(GetTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpcLink /// /// Gets a VPC link. /// /// Container for the necessary parameters to execute the GetVpcLink service method. /// /// The response from the GetVpcLink service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetVpcLink Operation public virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a VPC link. /// /// Container for the necessary parameters to execute the GetVpcLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpcLink service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetVpcLink Operation public virtual Task GetVpcLinkAsync(GetVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpcLinks /// /// Gets a collection of VPC links. /// /// Container for the necessary parameters to execute the GetVpcLinks service method. /// /// The response from the GetVpcLinks service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetVpcLinks Operation public virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a collection of VPC links. /// /// Container for the necessary parameters to execute the GetVpcLinks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpcLinks service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for GetVpcLinks Operation public virtual Task GetVpcLinksAsync(GetVpcLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportApi /// /// Imports an API. /// /// Container for the necessary parameters to execute the ImportApi service method. /// /// The response from the ImportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ImportApi Operation public virtual ImportApiResponse ImportApi(ImportApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Imports an API. /// /// Container for the necessary parameters to execute the ImportApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ImportApi Operation public virtual Task ImportApiAsync(ImportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReimportApi /// /// Puts an Api resource. /// /// Container for the necessary parameters to execute the ReimportApi service method. /// /// The response from the ReimportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ReimportApi Operation public virtual ReimportApiResponse ReimportApi(ReimportApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReimportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Puts an Api resource. /// /// Container for the necessary parameters to execute the ReimportApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReimportApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ReimportApi Operation public virtual Task ReimportApiAsync(ReimportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReimportApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetAuthorizersCache /// /// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs. /// /// Container for the necessary parameters to execute the ResetAuthorizersCache service method. /// /// The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ResetAuthorizersCache Operation public virtual ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs. /// /// Container for the necessary parameters to execute the ResetAuthorizersCache service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2. /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for ResetAuthorizersCache Operation public virtual Task ResetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// Creates a new Tag resource to represent a tag. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// 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); } /// /// Creates a new Tag resource to represent a tag. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource /// /// Deletes a Tag. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// 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); } /// /// Deletes a Tag. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateApi /// /// Updates an Api resource. /// /// Container for the necessary parameters to execute the UpdateApi service method. /// /// The response from the UpdateApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateApi Operation public virtual UpdateApiResponse UpdateApi(UpdateApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an Api resource. /// /// Container for the necessary parameters to execute the UpdateApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApi service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateApi Operation public virtual Task UpdateApiAsync(UpdateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateApiMapping /// /// The API mapping. /// /// Container for the necessary parameters to execute the UpdateApiMapping service method. /// /// The response from the UpdateApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateApiMapping Operation public virtual UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// The API mapping. /// /// Container for the necessary parameters to execute the UpdateApiMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApiMapping service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateApiMapping Operation public virtual Task UpdateApiMappingAsync(UpdateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAuthorizer /// /// Updates an Authorizer. /// /// Container for the necessary parameters to execute the UpdateAuthorizer service method. /// /// The response from the UpdateAuthorizer service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateAuthorizer Operation public virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an Authorizer. /// /// Container for the necessary parameters to execute the UpdateAuthorizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAuthorizer service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateAuthorizer Operation public virtual Task UpdateAuthorizerAsync(UpdateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDeployment /// /// Updates a Deployment. /// /// Container for the necessary parameters to execute the UpdateDeployment service method. /// /// The response from the UpdateDeployment service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateDeployment Operation public virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a Deployment. /// /// Container for the necessary parameters to execute the UpdateDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDeployment service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateDeployment Operation public virtual Task UpdateDeploymentAsync(UpdateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDomainName /// /// Updates a domain name. /// /// Container for the necessary parameters to execute the UpdateDomainName service method. /// /// The response from the UpdateDomainName service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateDomainName Operation public virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a domain name. /// /// Container for the necessary parameters to execute the UpdateDomainName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDomainName service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateDomainName Operation public virtual Task UpdateDomainNameAsync(UpdateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateIntegration /// /// Updates an Integration. /// /// Container for the necessary parameters to execute the UpdateIntegration service method. /// /// The response from the UpdateIntegration service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateIntegration Operation public virtual UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an Integration. /// /// Container for the necessary parameters to execute the UpdateIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateIntegration service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateIntegration Operation public virtual Task UpdateIntegrationAsync(UpdateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateIntegrationResponse /// /// Updates an IntegrationResponses. /// /// Container for the necessary parameters to execute the UpdateIntegrationResponse service method. /// /// The response from the UpdateIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateIntegrationResponse Operation public virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an IntegrationResponses. /// /// Container for the necessary parameters to execute the UpdateIntegrationResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateIntegrationResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateIntegrationResponse Operation public virtual Task UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateModel /// /// Updates a Model. /// /// Container for the necessary parameters to execute the UpdateModel service method. /// /// The response from the UpdateModel service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateModel Operation public virtual UpdateModelResponse UpdateModel(UpdateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a Model. /// /// Container for the necessary parameters to execute the UpdateModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateModel service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateModel Operation public virtual Task UpdateModelAsync(UpdateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRoute /// /// Updates a Route. /// /// Container for the necessary parameters to execute the UpdateRoute service method. /// /// The response from the UpdateRoute service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// 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); } /// /// Updates a Route. /// /// Container for the necessary parameters to execute the UpdateRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRoute service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateRoute Operation public virtual Task UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRouteResponse /// /// Updates a RouteResponse. /// /// Container for the necessary parameters to execute the UpdateRouteResponse service method. /// /// The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateRouteResponse Operation public virtual UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a RouteResponse. /// /// Container for the necessary parameters to execute the UpdateRouteResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateRouteResponse Operation public virtual Task UpdateRouteResponseAsync(UpdateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStage /// /// Updates a Stage. /// /// Container for the necessary parameters to execute the UpdateStage service method. /// /// The response from the UpdateStage service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateStage Operation public virtual UpdateStageResponse UpdateStage(UpdateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a Stage. /// /// Container for the necessary parameters to execute the UpdateStage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStage service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateStage Operation public virtual Task UpdateStageAsync(UpdateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateVpcLink /// /// Updates a VPC link. /// /// Container for the necessary parameters to execute the UpdateVpcLink service method. /// /// The response from the UpdateVpcLink service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateVpcLink Operation public virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a VPC link. /// /// Container for the necessary parameters to execute the UpdateVpcLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateVpcLink service method, as returned by ApiGatewayV2. /// /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// /// /// The resource specified in the request was not found. See the message field for more /// information. /// /// /// A limit has been exceeded. See the accompanying error message for details. /// /// REST API Reference for UpdateVpcLink Operation public virtual Task UpdateVpcLinkAsync(UpdateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }