/* * 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 apigateway-2015-07-09.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.APIGateway.Model; using Amazon.APIGateway.Model.Internal.MarshallTransformations; using Amazon.APIGateway.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.APIGateway { /// /// Implementation for accessing APIGateway /// /// Amazon API Gateway /// /// Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and /// web application back ends. API Gateway allows developers to securely connect mobile /// and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly /// addressable web services that are hosted outside of AWS. /// /// public partial class AmazonAPIGatewayClient : AmazonServiceClient, IAmazonAPIGateway { private static IServiceMetadata serviceMetadata = new AmazonAPIGatewayMetadata(); #region Constructors /// /// Constructs AmazonAPIGatewayClient 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 AmazonAPIGatewayClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAPIGatewayConfig()) { } /// /// Constructs AmazonAPIGatewayClient 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 AmazonAPIGatewayClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAPIGatewayConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAPIGatewayClient 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 AmazonAPIGatewayClient Configuration Object public AmazonAPIGatewayClient(AmazonAPIGatewayConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonAPIGatewayClient with AWS Credentials /// /// AWS Credentials public AmazonAPIGatewayClient(AWSCredentials credentials) : this(credentials, new AmazonAPIGatewayConfig()) { } /// /// Constructs AmazonAPIGatewayClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonAPIGatewayClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAPIGatewayConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAPIGatewayClient with AWS Credentials and an /// AmazonAPIGatewayClient Configuration object. /// /// AWS Credentials /// The AmazonAPIGatewayClient Configuration Object public AmazonAPIGatewayClient(AWSCredentials credentials, AmazonAPIGatewayConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAPIGatewayConfig()) { } /// /// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAPIGatewayConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonAPIGatewayClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAPIGatewayClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonAPIGatewayClient Configuration Object public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAPIGatewayConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAPIGatewayConfig()) { } /// /// Constructs AmazonAPIGatewayClient 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 AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAPIGatewayConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAPIGatewayClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAPIGatewayClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonAPIGatewayClient Configuration Object public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAPIGatewayConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAPIGatewayPaginatorFactory _paginators; /// /// Paginators for the service /// public IAPIGatewayPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new APIGatewayPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.AddHandlerAfter(new Amazon.APIGateway.Internal.AmazonAPIGatewayPostMarshallHandler()); pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonAPIGatewayEndpointResolver()); } /// /// 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 CreateApiKey internal virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create an ApiKey resource. /// /// Container for the necessary parameters to execute the CreateApiKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApiKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateApiKey Operation public virtual Task CreateApiKeyAsync(CreateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAuthorizer internal virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a new Authorizer resource to an existing RestApi resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 CreateBasePathMapping internal virtual CreateBasePathMappingResponse CreateBasePathMapping(CreateBasePathMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBasePathMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new BasePathMapping resource. /// /// Container for the necessary parameters to execute the CreateBasePathMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBasePathMapping service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateBasePathMapping Operation public virtual Task CreateBasePathMappingAsync(CreateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBasePathMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDeployment internal virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Deployment resource, which makes a specified RestApi callable over the internet. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The requested service is not available. For details see the accompanying error message. /// Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 CreateDocumentationPart internal virtual CreateDocumentationPartResponse CreateDocumentationPart(CreateDocumentationPartRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDocumentationPartResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a documentation part. /// /// Container for the necessary parameters to execute the CreateDocumentationPart service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDocumentationPart service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateDocumentationPart Operation public virtual Task CreateDocumentationPartAsync(CreateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDocumentationPartResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDocumentationVersion internal virtual CreateDocumentationVersionResponse CreateDocumentationVersion(CreateDocumentationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDocumentationVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a documentation version /// /// Container for the necessary parameters to execute the CreateDocumentationVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDocumentationVersion service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateDocumentationVersion Operation public virtual Task CreateDocumentationVersionAsync(CreateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDocumentationVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDomainName internal virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 CreateModel internal virtual CreateModelResponse CreateModel(CreateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a new Model resource to an existing RestApi resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 CreateRequestValidator internal virtual CreateRequestValidatorResponse CreateRequestValidator(CreateRequestValidatorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRequestValidatorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a RequestValidator of a given RestApi. /// /// Container for the necessary parameters to execute the CreateRequestValidator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRequestValidator service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateRequestValidator Operation public virtual Task CreateRequestValidatorAsync(CreateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRequestValidatorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateResource internal virtual CreateResourceResponse CreateResource(CreateResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Resource resource. /// /// Container for the necessary parameters to execute the CreateResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateResource service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateResource Operation public virtual Task CreateResourceAsync(CreateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRestApi internal virtual CreateRestApiResponse CreateRestApi(CreateRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new RestApi resource. /// /// Container for the necessary parameters to execute the CreateRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateRestApi Operation public virtual Task CreateRestApiAsync(CreateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStage internal virtual CreateStageResponse CreateStage(CreateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new Stage resource that references a pre-existing Deployment for the 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 CreateUsagePlan internal virtual CreateUsagePlanResponse CreateUsagePlan(CreateUsagePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a usage plan with the throttle and quota limits, as well as the associated /// API stages, specified in the payload. /// /// Container for the necessary parameters to execute the CreateUsagePlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUsagePlan service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateUsagePlan Operation public virtual Task CreateUsagePlanAsync(CreateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateUsagePlanKey internal virtual CreateUsagePlanKeyResponse CreateUsagePlanKey(CreateUsagePlanKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsagePlanKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a usage plan key for adding an existing API key to a usage plan. /// /// Container for the necessary parameters to execute the CreateUsagePlanKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUsagePlanKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for CreateUsagePlanKey Operation public virtual Task CreateUsagePlanKeyAsync(CreateUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsagePlanKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcLink internal 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, under the caller's account in a selected region, in an asynchronous /// operation that typically takes 2-4 minutes to complete and become operational. The /// caller must have permissions to create and update VPC Endpoint services. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteApiKey internal virtual DeleteApiKeyResponse DeleteApiKey(DeleteApiKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the ApiKey resource. /// /// Container for the necessary parameters to execute the DeleteApiKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApiKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteApiKey Operation public virtual Task DeleteApiKeyAsync(DeleteApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAuthorizer internal virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing Authorizer resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteBasePathMapping internal virtual DeleteBasePathMappingResponse DeleteBasePathMapping(DeleteBasePathMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBasePathMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the BasePathMapping resource. /// /// Container for the necessary parameters to execute the DeleteBasePathMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBasePathMapping service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteBasePathMapping Operation public virtual Task DeleteBasePathMappingAsync(DeleteBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBasePathMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteClientCertificate internal virtual DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the ClientCertificate resource. /// /// Container for the necessary parameters to execute the DeleteClientCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteClientCertificate service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteClientCertificate Operation public virtual Task DeleteClientCertificateAsync(DeleteClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDeployment internal virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Deployment resource. Deleting a deployment will only succeed if there are /// no Stage resources associated with it. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteDocumentationPart internal virtual DeleteDocumentationPartResponse DeleteDocumentationPart(DeleteDocumentationPartRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDocumentationPartResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a documentation part /// /// Container for the necessary parameters to execute the DeleteDocumentationPart service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDocumentationPart service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteDocumentationPart Operation public virtual Task DeleteDocumentationPartAsync(DeleteDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDocumentationPartResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDocumentationVersion internal virtual DeleteDocumentationVersionResponse DeleteDocumentationVersion(DeleteDocumentationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDocumentationVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a documentation version. /// /// Container for the necessary parameters to execute the DeleteDocumentationVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDocumentationVersion service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteDocumentationVersion Operation public virtual Task DeleteDocumentationVersionAsync(DeleteDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDocumentationVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDomainName internal virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the DomainName resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteGatewayResponse internal virtual DeleteGatewayResponseResponse DeleteGatewayResponse(DeleteGatewayResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Clears any customization of a GatewayResponse of a specified response type on the /// given RestApi and resets it with the default settings. /// /// Container for the necessary parameters to execute the DeleteGatewayResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteGatewayResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteGatewayResponse Operation public virtual Task DeleteGatewayResponseAsync(DeleteGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIntegration internal virtual DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a delete 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a delete integration response. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteMethod internal virtual DeleteMethodResponse DeleteMethod(DeleteMethodRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMethodResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing Method resource. /// /// Container for the necessary parameters to execute the DeleteMethod service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteMethod service method, as returned by APIGateway. /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteMethod Operation public virtual Task DeleteMethodAsync(DeleteMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMethodResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteMethodResponse internal virtual DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing MethodResponse resource. /// /// Container for the necessary parameters to execute the DeleteMethodResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteMethodResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteMethodResponse Operation public virtual Task DeleteMethodResponseAsync(DeleteMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteModel internal 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteRequestValidator internal virtual DeleteRequestValidatorResponse DeleteRequestValidator(DeleteRequestValidatorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRequestValidatorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a RequestValidator of a given RestApi. /// /// Container for the necessary parameters to execute the DeleteRequestValidator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRequestValidator service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteRequestValidator Operation public virtual Task DeleteRequestValidatorAsync(DeleteRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRequestValidatorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteResource internal virtual DeleteResourceResponse DeleteResource(DeleteResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Resource resource. /// /// Container for the necessary parameters to execute the DeleteResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResource service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteResource Operation public virtual Task DeleteResourceAsync(DeleteResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRestApi internal virtual DeleteRestApiResponse DeleteRestApi(DeleteRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified API. /// /// Container for the necessary parameters to execute the DeleteRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteRestApi Operation public virtual Task DeleteRestApiAsync(DeleteRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStage internal virtual DeleteStageResponse DeleteStage(DeleteStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Stage resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 DeleteUsagePlan internal virtual DeleteUsagePlanResponse DeleteUsagePlan(DeleteUsagePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsagePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a usage plan of a given plan Id. /// /// Container for the necessary parameters to execute the DeleteUsagePlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUsagePlan service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteUsagePlan Operation public virtual Task DeleteUsagePlanAsync(DeleteUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsagePlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteUsagePlanKey internal virtual DeleteUsagePlanKeyResponse DeleteUsagePlanKey(DeleteUsagePlanKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsagePlanKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a usage plan key and remove the underlying API key from the associated usage /// plan. /// /// Container for the necessary parameters to execute the DeleteUsagePlanKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUsagePlanKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for DeleteUsagePlanKey Operation public virtual Task DeleteUsagePlanKeyAsync(DeleteUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsagePlanKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcLink internal virtual DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing VpcLink of a specified identifier. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 FlushStageAuthorizersCache internal virtual FlushStageAuthorizersCacheResponse FlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = FlushStageAuthorizersCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = FlushStageAuthorizersCacheResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Flushes all authorizer cache entries on a stage. /// /// Container for the necessary parameters to execute the FlushStageAuthorizersCache service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the FlushStageAuthorizersCache service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for FlushStageAuthorizersCache Operation public virtual Task FlushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = FlushStageAuthorizersCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = FlushStageAuthorizersCacheResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region FlushStageCache internal virtual FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Flushes a stage's cache. /// /// Container for the necessary parameters to execute the FlushStageCache service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the FlushStageCache service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for FlushStageCache Operation public virtual Task FlushStageCacheAsync(FlushStageCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GenerateClientCertificate internal virtual GenerateClientCertificateResponse GenerateClientCertificate(GenerateClientCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateClientCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Generates a ClientCertificate resource. /// /// Container for the necessary parameters to execute the GenerateClientCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GenerateClientCertificate service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GenerateClientCertificate Operation public virtual Task GenerateClientCertificateAsync(GenerateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateClientCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAccount internal virtual GetAccountResponse GetAccount(GetAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the current Account resource. /// /// Container for the necessary parameters to execute the GetAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAccount service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetAccount Operation public virtual Task GetAccountAsync(GetAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApiKey internal virtual GetApiKeyResponse GetApiKey(GetApiKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the current ApiKey resource. /// /// Container for the necessary parameters to execute the GetApiKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApiKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetApiKey Operation public virtual Task GetApiKeyAsync(GetApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetApiKeys internal virtual GetApiKeysResponse GetApiKeys(GetApiKeysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiKeysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the current ApiKeys resource. /// /// Container for the necessary parameters to execute the GetApiKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApiKeys service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetApiKeys Operation public virtual Task GetApiKeysAsync(GetApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApiKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApiKeysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAuthorizer internal virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describe an existing Authorizer resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describe an existing Authorizers resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetBasePathMapping internal virtual GetBasePathMappingResponse GetBasePathMapping(GetBasePathMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBasePathMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describe a BasePathMapping resource. /// /// Container for the necessary parameters to execute the GetBasePathMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBasePathMapping service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetBasePathMapping Operation public virtual Task GetBasePathMappingAsync(GetBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBasePathMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBasePathMappings internal virtual GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a collection of BasePathMapping resources. /// /// Container for the necessary parameters to execute the GetBasePathMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBasePathMappings service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetBasePathMappings Operation public virtual Task GetBasePathMappingsAsync(GetBasePathMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetClientCertificate internal virtual GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the current ClientCertificate resource. /// /// Container for the necessary parameters to execute the GetClientCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetClientCertificate service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetClientCertificate Operation public virtual Task GetClientCertificateAsync(GetClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetClientCertificates internal virtual GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a collection of ClientCertificate resources. /// /// Container for the necessary parameters to execute the GetClientCertificates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetClientCertificates service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetClientCertificates Operation public virtual Task GetClientCertificatesAsync(GetClientCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDeployment internal virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a Deployment resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The requested service is not available. For details see the accompanying error message. /// Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a Deployments collection. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The requested service is not available. For details see the accompanying error message. /// Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetDocumentationPart internal virtual GetDocumentationPartResponse GetDocumentationPart(GetDocumentationPartRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationPartResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a documentation part. /// /// Container for the necessary parameters to execute the GetDocumentationPart service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDocumentationPart service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetDocumentationPart Operation public virtual Task GetDocumentationPartAsync(GetDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationPartResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDocumentationParts internal virtual GetDocumentationPartsResponse GetDocumentationParts(GetDocumentationPartsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationPartsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationPartsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets documentation parts. /// /// Container for the necessary parameters to execute the GetDocumentationParts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDocumentationParts service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetDocumentationParts Operation public virtual Task GetDocumentationPartsAsync(GetDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationPartsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationPartsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDocumentationVersion internal virtual GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a documentation version. /// /// Container for the necessary parameters to execute the GetDocumentationVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDocumentationVersion service method, as returned by APIGateway. /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetDocumentationVersion Operation public virtual Task GetDocumentationVersionAsync(GetDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDocumentationVersions internal virtual GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets documentation versions. /// /// Container for the necessary parameters to execute the GetDocumentationVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDocumentationVersions service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetDocumentationVersions Operation public virtual Task GetDocumentationVersionsAsync(GetDocumentationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDomainName internal virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a domain name that is contained in a simpler, more intuitive URL that can /// be called. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a collection of DomainName resources. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetExport internal virtual GetExportResponse GetExport(GetExportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Exports a deployed version of a RestApi in a specified format. /// /// Container for the necessary parameters to execute the GetExport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetExport service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetExport Operation public virtual Task GetExportAsync(GetExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetGatewayResponse internal virtual GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a GatewayResponse of a specified response type on the given RestApi. /// /// Container for the necessary parameters to execute the GetGatewayResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetGatewayResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetGatewayResponse Operation public virtual Task GetGatewayResponseAsync(GetGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetGatewayResponses internal virtual GetGatewayResponsesResponse GetGatewayResponses(GetGatewayResponsesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGatewayResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGatewayResponsesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the GatewayResponses collection on the given RestApi. If an API developer has /// not added any definitions for gateway responses, the result will be the API Gateway-generated /// default GatewayResponses collection for the supported response types. /// /// Container for the necessary parameters to execute the GetGatewayResponses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetGatewayResponses service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetGatewayResponses Operation public virtual Task GetGatewayResponsesAsync(GetGatewayResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetGatewayResponsesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGatewayResponsesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIntegration internal virtual GetIntegrationResponse GetIntegration(GetIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get the integration settings. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a get integration response. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetMethod internal virtual GetMethodResponse GetMethod(GetMethodRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMethodResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describe an existing Method resource. /// /// Container for the necessary parameters to execute the GetMethod service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMethod service method, as returned by APIGateway. /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetMethod Operation public virtual Task GetMethodAsync(GetMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMethodResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMethodResponse internal virtual GetMethodResponseResponse GetMethodResponse(GetMethodResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMethodResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a MethodResponse resource. /// /// Container for the necessary parameters to execute the GetMethodResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMethodResponse service method, as returned by APIGateway. /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetMethodResponse Operation public virtual Task GetMethodResponseAsync(GetMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMethodResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModel internal virtual GetModelResponse GetModel(GetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an existing model defined for a RestApi resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetModelsResponse GetModels(GetModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes existing Models defined for a RestApi resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Generates a sample mapping template that can be used to transform a payload into the /// structure of a model. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetRequestValidator internal virtual GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a RequestValidator of a given RestApi. /// /// Container for the necessary parameters to execute the GetRequestValidator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRequestValidator service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetRequestValidator Operation public virtual Task GetRequestValidatorAsync(GetRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRequestValidators internal virtual GetRequestValidatorsResponse GetRequestValidators(GetRequestValidatorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRequestValidatorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRequestValidatorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the RequestValidators collection of a given RestApi. /// /// Container for the necessary parameters to execute the GetRequestValidators service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRequestValidators service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetRequestValidators Operation public virtual Task GetRequestValidatorsAsync(GetRequestValidatorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRequestValidatorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRequestValidatorsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResource internal virtual GetResourceResponse GetResource(GetResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists information about a resource. /// /// Container for the necessary parameters to execute the GetResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResource service method, as returned by APIGateway. /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetResource Operation public virtual Task GetResourceAsync(GetResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResources internal virtual GetResourcesResponse GetResources(GetResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists information about a collection of Resource resources. /// /// Container for the necessary parameters to execute the GetResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResources service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetResources Operation public virtual Task GetResourcesAsync(GetResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRestApi internal virtual GetRestApiResponse GetRestApi(GetRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the RestApi resource in the collection. /// /// Container for the necessary parameters to execute the GetRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetRestApi Operation public virtual Task GetRestApiAsync(GetRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRestApis internal virtual GetRestApisResponse GetRestApis(GetRestApisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRestApisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRestApisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the RestApis resources for your collection. /// /// Container for the necessary parameters to execute the GetRestApis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRestApis service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetRestApis Operation public virtual Task GetRestApisAsync(GetRestApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRestApisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRestApisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSdk internal virtual GetSdkResponse GetSdk(GetSdkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Generates a client SDK for a RestApi and Stage. /// /// Container for the necessary parameters to execute the GetSdk service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSdk service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetSdk Operation public virtual Task GetSdkAsync(GetSdkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSdkType internal virtual GetSdkTypeResponse GetSdkType(GetSdkTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an SDK type. /// /// Container for the necessary parameters to execute the GetSdkType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSdkType service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetSdkType Operation public virtual Task GetSdkTypeAsync(GetSdkTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSdkTypes internal virtual GetSdkTypesResponse GetSdkTypes(GetSdkTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets SDK types /// /// Container for the necessary parameters to execute the GetSdkTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSdkTypes service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetSdkTypes Operation public virtual Task GetSdkTypesAsync(GetSdkTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSdkTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSdkTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStage internal virtual GetStageResponse GetStage(GetStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a Stage resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetStagesResponse GetStages(GetStagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStagesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more Stage resources. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetTagsResponse GetTags(GetTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the Tags collection for a given resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 GetUsage internal virtual GetUsageResponse GetUsage(GetUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the usage data of a usage plan in a specified time interval. /// /// Container for the necessary parameters to execute the GetUsage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUsage service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetUsage Operation public virtual Task GetUsageAsync(GetUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsagePlan internal virtual GetUsagePlanResponse GetUsagePlan(GetUsagePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a usage plan of a given plan identifier. /// /// Container for the necessary parameters to execute the GetUsagePlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUsagePlan service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetUsagePlan Operation public virtual Task GetUsagePlanAsync(GetUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsagePlanKey internal virtual GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a usage plan key of a given key identifier. /// /// Container for the necessary parameters to execute the GetUsagePlanKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUsagePlanKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetUsagePlanKey Operation public virtual Task GetUsagePlanKeyAsync(GetUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsagePlanKeys internal virtual GetUsagePlanKeysResponse GetUsagePlanKeys(GetUsagePlanKeysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanKeysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all the usage plan keys representing the API keys added to a specified usage /// plan. /// /// Container for the necessary parameters to execute the GetUsagePlanKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUsagePlanKeys service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetUsagePlanKeys Operation public virtual Task GetUsagePlanKeysAsync(GetUsagePlanKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlanKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlanKeysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsagePlans internal virtual GetUsagePlansResponse GetUsagePlans(GetUsagePlansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlansRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlansResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all the usage plans of the caller's account. /// /// Container for the necessary parameters to execute the GetUsagePlans service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUsagePlans service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for GetUsagePlans Operation public virtual Task GetUsagePlansAsync(GetUsagePlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsagePlansRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsagePlansResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpcLink internal virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a specified VPC link under the caller's account in a region. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the VpcLinks collection under the caller's account in a selected region. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 ImportApiKeys internal virtual ImportApiKeysResponse ImportApiKeys(ImportApiKeysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApiKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApiKeysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Import API keys from an external source, such as a CSV-formatted file. /// /// Container for the necessary parameters to execute the ImportApiKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportApiKeys service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for ImportApiKeys Operation public virtual Task ImportApiKeysAsync(ImportApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApiKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApiKeysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportDocumentationParts internal virtual ImportDocumentationPartsResponse ImportDocumentationParts(ImportDocumentationPartsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportDocumentationPartsRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportDocumentationPartsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Imports documentation parts /// /// Container for the necessary parameters to execute the ImportDocumentationParts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportDocumentationParts service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for ImportDocumentationParts Operation public virtual Task ImportDocumentationPartsAsync(ImportDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportDocumentationPartsRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportDocumentationPartsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportRestApi internal virtual ImportRestApiResponse ImportRestApi(ImportRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// A feature of the API Gateway control service for creating a new API from an external /// API definition file. /// /// Container for the necessary parameters to execute the ImportRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for ImportRestApi Operation public virtual Task ImportRestApiAsync(ImportRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutGatewayResponse internal virtual PutGatewayResponseResponse PutGatewayResponse(PutGatewayResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutGatewayResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a customization of a GatewayResponse of a specified response type and status /// code on the given RestApi. /// /// Container for the necessary parameters to execute the PutGatewayResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutGatewayResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutGatewayResponse Operation public virtual Task PutGatewayResponseAsync(PutGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutGatewayResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutIntegration internal virtual PutIntegrationResponse PutIntegration(PutIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets up a method's integration. /// /// Container for the necessary parameters to execute the PutIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutIntegration service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutIntegration Operation public virtual Task PutIntegrationAsync(PutIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIntegrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutIntegrationResponse internal virtual PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents a put integration. /// /// Container for the necessary parameters to execute the PutIntegrationResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutIntegrationResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutIntegrationResponse Operation public virtual Task PutIntegrationResponseAsync(PutIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutMethod internal virtual PutMethodResponse PutMethod(PutMethodRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMethodResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Add a method to an existing Resource resource. /// /// Container for the necessary parameters to execute the PutMethod service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutMethod service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutMethod Operation public virtual Task PutMethodAsync(PutMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMethodResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutMethodResponse internal virtual PutMethodResponseResponse PutMethodResponse(PutMethodResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMethodResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a MethodResponse to an existing Method resource. /// /// Container for the necessary parameters to execute the PutMethodResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutMethodResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutMethodResponse Operation public virtual Task PutMethodResponseAsync(PutMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMethodResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutRestApi internal virtual PutRestApiResponse PutRestApi(PutRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = PutRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// A feature of the API Gateway control service for updating an existing API with an /// input of external API definitions. The update can take the form of merging the supplied /// definition into the existing API or overwriting the existing API. /// /// Container for the necessary parameters to execute the PutRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for PutRestApi Operation public virtual Task PutRestApiAsync(PutRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = PutRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or updates a tag on a given resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 TestInvokeAuthorizer internal virtual TestInvokeAuthorizerResponse TestInvokeAuthorizer(TestInvokeAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Simulate the execution of an Authorizer in your RestApi with headers, parameters, /// and an incoming request body. /// /// Container for the necessary parameters to execute the TestInvokeAuthorizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestInvokeAuthorizer service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for TestInvokeAuthorizer Operation public virtual Task TestInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestInvokeMethod internal virtual TestInvokeMethodResponse TestInvokeMethod(TestInvokeMethodRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeMethodResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Simulate the invocation of a Method in your RestApi with headers, parameters, and /// an incoming request body. /// /// Container for the necessary parameters to execute the TestInvokeMethod service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestInvokeMethod service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for TestInvokeMethod Operation public virtual Task TestInvokeMethodAsync(TestInvokeMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeMethodResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a tag from a given resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateAccount internal virtual UpdateAccountResponse UpdateAccount(UpdateAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about the current Account resource. /// /// Container for the necessary parameters to execute the UpdateAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAccount service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateAccount Operation public virtual Task UpdateAccountAsync(UpdateAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateApiKey internal virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about an ApiKey resource. /// /// Container for the necessary parameters to execute the UpdateApiKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApiKey service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateApiKey Operation public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAuthorizer internal virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing Authorizer resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateBasePathMapping internal virtual UpdateBasePathMappingResponse UpdateBasePathMapping(UpdateBasePathMappingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBasePathMappingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about the BasePathMapping resource. /// /// Container for the necessary parameters to execute the UpdateBasePathMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateBasePathMapping service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateBasePathMapping Operation public virtual Task UpdateBasePathMappingAsync(UpdateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBasePathMappingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBasePathMappingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateClientCertificate internal virtual UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about an ClientCertificate resource. /// /// Container for the necessary parameters to execute the UpdateClientCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateClientCertificate service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateClientCertificate Operation public virtual Task UpdateClientCertificateAsync(UpdateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDeployment internal virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about a Deployment resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The requested service is not available. For details see the accompanying error message. /// Retry after the specified time period. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateDocumentationPart internal virtual UpdateDocumentationPartResponse UpdateDocumentationPart(UpdateDocumentationPartRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDocumentationPartResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a documentation part. /// /// Container for the necessary parameters to execute the UpdateDocumentationPart service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDocumentationPart service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateDocumentationPart Operation public virtual Task UpdateDocumentationPartAsync(UpdateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDocumentationPartRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDocumentationPartResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDocumentationVersion internal virtual UpdateDocumentationVersionResponse UpdateDocumentationVersion(UpdateDocumentationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDocumentationVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a documentation version. /// /// Container for the necessary parameters to execute the UpdateDocumentationVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDocumentationVersion service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateDocumentationVersion Operation public virtual Task UpdateDocumentationVersionAsync(UpdateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDocumentationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDocumentationVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDomainName internal virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about the DomainName resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateGatewayResponse internal virtual UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a GatewayResponse of a specified response type on the given RestApi. /// /// Container for the necessary parameters to execute the UpdateGatewayResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGatewayResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateGatewayResponse Operation public virtual Task UpdateGatewayResponseAsync(UpdateGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateIntegration internal virtual UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents an update 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 internal virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents an update integration response. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateMethod internal virtual UpdateMethodResponse UpdateMethod(UpdateMethodRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMethodResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing Method resource. /// /// Container for the necessary parameters to execute the UpdateMethod service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateMethod service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateMethod Operation public virtual Task UpdateMethodAsync(UpdateMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMethodRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMethodResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateMethodResponse internal virtual UpdateMethodResponseResponse UpdateMethodResponse(UpdateMethodResponseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMethodResponseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing MethodResponse resource. /// /// Container for the necessary parameters to execute the UpdateMethodResponse service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateMethodResponse service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateMethodResponse Operation public virtual Task UpdateMethodResponseAsync(UpdateMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMethodResponseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMethodResponseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateModel internal virtual UpdateModelResponse UpdateModel(UpdateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateRequestValidator internal virtual UpdateRequestValidatorResponse UpdateRequestValidator(UpdateRequestValidatorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRequestValidatorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a RequestValidator of a given RestApi. /// /// Container for the necessary parameters to execute the UpdateRequestValidator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRequestValidator service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateRequestValidator Operation public virtual Task UpdateRequestValidatorAsync(UpdateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRequestValidatorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRequestValidatorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResource internal virtual UpdateResourceResponse UpdateResource(UpdateResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about a Resource resource. /// /// Container for the necessary parameters to execute the UpdateResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateResource service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateResource Operation public virtual Task UpdateResourceAsync(UpdateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRestApi internal virtual UpdateRestApiResponse UpdateRestApi(UpdateRestApiRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRestApiResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about the specified API. /// /// Container for the necessary parameters to execute the UpdateRestApi service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRestApi service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateRestApi Operation public virtual Task UpdateRestApiAsync(UpdateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRestApiRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRestApiResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStage internal virtual UpdateStageResponse UpdateStage(UpdateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes information about a Stage resource. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 UpdateUsage internal virtual UpdateUsageResponse UpdateUsage(UpdateUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUsageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Grants a temporary extension to the remaining quota of a usage plan associated with /// a specified API key. /// /// Container for the necessary parameters to execute the UpdateUsage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUsage service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateUsage Operation public virtual Task UpdateUsageAsync(UpdateUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUsageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUsagePlan internal virtual UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a usage plan of a given plan Id. /// /// Container for the necessary parameters to execute the UpdateUsagePlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUsagePlan service method, as returned by APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// REST API Reference for UpdateUsagePlan Operation public virtual Task UpdateUsagePlanAsync(UpdateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateVpcLink internal virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing VpcLink of a specified identifier. /// /// 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 APIGateway. /// /// The submitted request is not valid, for example, the input is incomplete or incorrect. /// See the accompanying error message for details. /// /// /// The request configuration has conflicts. For details, see the accompanying error message. /// /// /// The request exceeded the rate limit. Retry after the specified time period. /// /// /// The requested resource is not found. Make sure that the request URI is correct. /// /// /// The request has reached its throttling limit. Retry after the specified time period. /// /// /// The request is denied because the caller has insufficient permissions. /// /// 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 } }