All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.apigateway.APIGatewayAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon API Gateway module holds the client classes that are used for communicating with Amazon API Gateway

There is a newer version: 2.0.0-preview-11
Show newest version
/*
 * Copyright 2013-2018 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.
 */

package software.amazon.awssdk.services.apigateway;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.apigateway.model.CreateApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.CreateApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.CreateAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.CreateAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.CreateBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.CreateBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.CreateModelRequest;
import software.amazon.awssdk.services.apigateway.model.CreateModelResponse;
import software.amazon.awssdk.services.apigateway.model.CreateRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.CreateRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.CreateResourceRequest;
import software.amazon.awssdk.services.apigateway.model.CreateResourceResponse;
import software.amazon.awssdk.services.apigateway.model.CreateRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.CreateRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.CreateStageRequest;
import software.amazon.awssdk.services.apigateway.model.CreateStageResponse;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteModelRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteModelResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteResourceRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteResourceResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteStageRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteStageResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.FlushStageAuthorizersCacheRequest;
import software.amazon.awssdk.services.apigateway.model.FlushStageAuthorizersCacheResponse;
import software.amazon.awssdk.services.apigateway.model.FlushStageCacheRequest;
import software.amazon.awssdk.services.apigateway.model.FlushStageCacheResponse;
import software.amazon.awssdk.services.apigateway.model.GenerateClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.GenerateClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.GetAccountRequest;
import software.amazon.awssdk.services.apigateway.model.GetAccountResponse;
import software.amazon.awssdk.services.apigateway.model.GetApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.GetApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.GetApiKeysRequest;
import software.amazon.awssdk.services.apigateway.model.GetApiKeysResponse;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizersRequest;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizersResponse;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingsRequest;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingsResponse;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificatesRequest;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificatesResponse;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.GetDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.GetDomainNamesRequest;
import software.amazon.awssdk.services.apigateway.model.GetDomainNamesResponse;
import software.amazon.awssdk.services.apigateway.model.GetExportRequest;
import software.amazon.awssdk.services.apigateway.model.GetExportResponse;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponsesRequest;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponsesResponse;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetMethodRequest;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponse;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelTemplateRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelTemplateResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelsRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelsResponse;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorsRequest;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorsResponse;
import software.amazon.awssdk.services.apigateway.model.GetResourceRequest;
import software.amazon.awssdk.services.apigateway.model.GetResourceResponse;
import software.amazon.awssdk.services.apigateway.model.GetResourcesRequest;
import software.amazon.awssdk.services.apigateway.model.GetResourcesResponse;
import software.amazon.awssdk.services.apigateway.model.GetRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.GetRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.GetRestApisRequest;
import software.amazon.awssdk.services.apigateway.model.GetRestApisResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypeRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypeResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypesRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypesResponse;
import software.amazon.awssdk.services.apigateway.model.GetStageRequest;
import software.amazon.awssdk.services.apigateway.model.GetStageResponse;
import software.amazon.awssdk.services.apigateway.model.GetStagesRequest;
import software.amazon.awssdk.services.apigateway.model.GetStagesResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeysRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeysResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlansRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlansResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsageRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsageResponse;
import software.amazon.awssdk.services.apigateway.model.ImportApiKeysRequest;
import software.amazon.awssdk.services.apigateway.model.ImportApiKeysResponse;
import software.amazon.awssdk.services.apigateway.model.ImportDocumentationPartsRequest;
import software.amazon.awssdk.services.apigateway.model.ImportDocumentationPartsResponse;
import software.amazon.awssdk.services.apigateway.model.ImportRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.ImportRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.PutGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutMethodRequest;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponse;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.PutRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.TestInvokeAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.TestInvokeAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.TestInvokeMethodRequest;
import software.amazon.awssdk.services.apigateway.model.TestInvokeMethodResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateAccountRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateAccountResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateModelRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateModelResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateResourceRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateResourceResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateStageRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateStageResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateUsageRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateUsageResponse;
import software.amazon.awssdk.utils.SdkAutoCloseable;

/**
 * Service client for accessing null asynchronously. This can be created using the static {@link #builder()} method.
 *
 * Amazon API Gateway
 * 

* Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon * 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. *

*/ @Generated("software.amazon.awssdk:codegen") public interface APIGatewayAsyncClient extends SdkClient, SdkAutoCloseable { String SERVICE_NAME = "apigateway"; /** * Create a {@link APIGatewayAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.core.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from * the {@link software.amazon.awssdk.core.auth.DefaultCredentialsProvider}. */ static APIGatewayAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link APIGatewayAsyncClient}. */ static APIGatewayAsyncClientBuilder builder() { return new DefaultAPIGatewayAsyncClientBuilder(); } /** *

* Create an ApiKey resource. *

* * * @param createApiKeyRequest * Request to create an ApiKey resource. * @return A Java Future containing the result of the CreateApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateApiKey */ default CompletableFuture createApiKey(CreateApiKeyRequest createApiKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Create an ApiKey resource. *

*
* This is a convenience which creates an instance of the {@link CreateApiKeyRequest.Builder} avoiding the need to * create one manually via {@link CreateApiKeyRequest#builder()} * * @param createApiKeyRequest * a {@link Consumer} that will call methods on {@link CreateApiKeyRequest.Builder}. * @return A Java Future containing the result of the CreateApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateApiKey */ default CompletableFuture createApiKey(Consumer createApiKeyRequest) { return createApiKey(CreateApiKeyRequest.builder().apply(createApiKeyRequest).build()); } /** *

* Adds a new Authorizer resource to an existing RestApi resource. *

* * * @param createAuthorizerRequest * Request to add a new Authorizer to an existing RestApi resource. * @return A Java Future containing the result of the CreateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateAuthorizer */ default CompletableFuture createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a new Authorizer resource to an existing RestApi resource. *

*
* This is a convenience which creates an instance of the {@link CreateAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link CreateAuthorizerRequest#builder()} * * @param createAuthorizerRequest * a {@link Consumer} that will call methods on {@link CreateAuthorizerRequest.Builder}. * @return A Java Future containing the result of the CreateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateAuthorizer */ default CompletableFuture createAuthorizer( Consumer createAuthorizerRequest) { return createAuthorizer(CreateAuthorizerRequest.builder().apply(createAuthorizerRequest).build()); } /** *

* Creates a new BasePathMapping resource. *

* * @param createBasePathMappingRequest * Requests Amazon API Gateway to create a new BasePathMapping resource. * @return A Java Future containing the result of the CreateBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateBasePathMapping */ default CompletableFuture createBasePathMapping( CreateBasePathMappingRequest createBasePathMappingRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new BasePathMapping resource. *

*
* This is a convenience which creates an instance of the {@link CreateBasePathMappingRequest.Builder} avoiding the * need to create one manually via {@link CreateBasePathMappingRequest#builder()} * * @param createBasePathMappingRequest * a {@link Consumer} that will call methods on {@link CreateBasePathMappingRequest.Builder}. * @return A Java Future containing the result of the CreateBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateBasePathMapping */ default CompletableFuture createBasePathMapping( Consumer createBasePathMappingRequest) { return createBasePathMapping(CreateBasePathMappingRequest.builder().apply(createBasePathMappingRequest).build()); } /** *

* Creates a Deployment resource, which makes a specified RestApi callable over the internet. *

* * @param createDeploymentRequest * Requests Amazon API Gateway to create a Deployment resource. * @return A Java Future containing the result of the CreateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDeployment */ default CompletableFuture createDeployment(CreateDeploymentRequest createDeploymentRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Deployment resource, which makes a specified RestApi callable over the internet. *

*
* This is a convenience which creates an instance of the {@link CreateDeploymentRequest.Builder} avoiding the need * to create one manually via {@link CreateDeploymentRequest#builder()} * * @param createDeploymentRequest * a {@link Consumer} that will call methods on {@link CreateDeploymentRequest.Builder}. * @return A Java Future containing the result of the CreateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDeployment */ default CompletableFuture createDeployment( Consumer createDeploymentRequest) { return createDeployment(CreateDeploymentRequest.builder().apply(createDeploymentRequest).build()); } /** * Invokes the CreateDocumentationPart operation asynchronously. * * @param createDocumentationPartRequest * Creates a new documentation part of a given API. * @return A Java Future containing the result of the CreateDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDocumentationPart */ default CompletableFuture createDocumentationPart( CreateDocumentationPartRequest createDocumentationPartRequest) { throw new UnsupportedOperationException(); } /** * Invokes the CreateDocumentationPart operation asynchronously.
* This is a convenience which creates an instance of the {@link CreateDocumentationPartRequest.Builder} avoiding * the need to create one manually via {@link CreateDocumentationPartRequest#builder()} * * @param createDocumentationPartRequest * a {@link Consumer} that will call methods on {@link CreateDocumentationPartRequest.Builder}. * @return A Java Future containing the result of the CreateDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDocumentationPart */ default CompletableFuture createDocumentationPart( Consumer createDocumentationPartRequest) { return createDocumentationPart(CreateDocumentationPartRequest.builder().apply(createDocumentationPartRequest).build()); } /** * Invokes the CreateDocumentationVersion operation asynchronously. * * @param createDocumentationVersionRequest * Creates a new documentation version of a given API. * @return A Java Future containing the result of the CreateDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDocumentationVersion */ default CompletableFuture createDocumentationVersion( CreateDocumentationVersionRequest createDocumentationVersionRequest) { throw new UnsupportedOperationException(); } /** * Invokes the CreateDocumentationVersion operation asynchronously.
* This is a convenience which creates an instance of the {@link CreateDocumentationVersionRequest.Builder} avoiding * the need to create one manually via {@link CreateDocumentationVersionRequest#builder()} * * @param createDocumentationVersionRequest * a {@link Consumer} that will call methods on {@link CreateDocumentationVersionRequest.Builder}. * @return A Java Future containing the result of the CreateDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDocumentationVersion */ default CompletableFuture createDocumentationVersion( Consumer createDocumentationVersionRequest) { return createDocumentationVersion(CreateDocumentationVersionRequest.builder().apply(createDocumentationVersionRequest) .build()); } /** *

* Creates a new domain name. *

* * @param createDomainNameRequest * A request to create a new domain name. * @return A Java Future containing the result of the CreateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDomainName */ default CompletableFuture createDomainName(CreateDomainNameRequest createDomainNameRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new domain name. *

*
* This is a convenience which creates an instance of the {@link CreateDomainNameRequest.Builder} avoiding the need * to create one manually via {@link CreateDomainNameRequest#builder()} * * @param createDomainNameRequest * a {@link Consumer} that will call methods on {@link CreateDomainNameRequest.Builder}. * @return A Java Future containing the result of the CreateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateDomainName */ default CompletableFuture createDomainName( Consumer createDomainNameRequest) { return createDomainName(CreateDomainNameRequest.builder().apply(createDomainNameRequest).build()); } /** *

* Adds a new Model resource to an existing RestApi resource. *

* * @param createModelRequest * Request to add a new Model to an existing RestApi resource. * @return A Java Future containing the result of the CreateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateModel */ default CompletableFuture createModel(CreateModelRequest createModelRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a new Model resource to an existing RestApi resource. *

*
* This is a convenience which creates an instance of the {@link CreateModelRequest.Builder} avoiding the need to * create one manually via {@link CreateModelRequest#builder()} * * @param createModelRequest * a {@link Consumer} that will call methods on {@link CreateModelRequest.Builder}. * @return A Java Future containing the result of the CreateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateModel */ default CompletableFuture createModel(Consumer createModelRequest) { return createModel(CreateModelRequest.builder().apply(createModelRequest).build()); } /** *

* Creates a ReqeustValidator of a given RestApi. *

* * @param createRequestValidatorRequest * Creates a RequestValidator of a given RestApi. * @return A Java Future containing the result of the CreateRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateRequestValidator */ default CompletableFuture createRequestValidator( CreateRequestValidatorRequest createRequestValidatorRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a ReqeustValidator of a given RestApi. *

*
* This is a convenience which creates an instance of the {@link CreateRequestValidatorRequest.Builder} avoiding the * need to create one manually via {@link CreateRequestValidatorRequest#builder()} * * @param createRequestValidatorRequest * a {@link Consumer} that will call methods on {@link CreateRequestValidatorRequest.Builder}. * @return A Java Future containing the result of the CreateRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateRequestValidator */ default CompletableFuture createRequestValidator( Consumer createRequestValidatorRequest) { return createRequestValidator(CreateRequestValidatorRequest.builder().apply(createRequestValidatorRequest).build()); } /** *

* Creates a Resource resource. *

* * @param createResourceRequest * Requests Amazon API Gateway to create a Resource resource. * @return A Java Future containing the result of the CreateResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateResource */ default CompletableFuture createResource(CreateResourceRequest createResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Resource resource. *

*
* This is a convenience which creates an instance of the {@link CreateResourceRequest.Builder} avoiding the need to * create one manually via {@link CreateResourceRequest#builder()} * * @param createResourceRequest * a {@link Consumer} that will call methods on {@link CreateResourceRequest.Builder}. * @return A Java Future containing the result of the CreateResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateResource */ default CompletableFuture createResource(Consumer createResourceRequest) { return createResource(CreateResourceRequest.builder().apply(createResourceRequest).build()); } /** *

* Creates a new RestApi resource. *

* * @param createRestApiRequest * The POST Request to add a new RestApi resource to your collection. * @return A Java Future containing the result of the CreateRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateRestApi */ default CompletableFuture createRestApi(CreateRestApiRequest createRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new RestApi resource. *

*
* This is a convenience which creates an instance of the {@link CreateRestApiRequest.Builder} avoiding the need to * create one manually via {@link CreateRestApiRequest#builder()} * * @param createRestApiRequest * a {@link Consumer} that will call methods on {@link CreateRestApiRequest.Builder}. * @return A Java Future containing the result of the CreateRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateRestApi */ default CompletableFuture createRestApi(Consumer createRestApiRequest) { return createRestApi(CreateRestApiRequest.builder().apply(createRestApiRequest).build()); } /** *

* Creates a new Stage resource that references a pre-existing Deployment for the API. *

* * @param createStageRequest * Requests Amazon API Gateway to create a Stage resource. * @return A Java Future containing the result of the CreateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateStage */ default CompletableFuture createStage(CreateStageRequest createStageRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new Stage resource that references a pre-existing Deployment for the API. *

*
* This is a convenience which creates an instance of the {@link CreateStageRequest.Builder} avoiding the need to * create one manually via {@link CreateStageRequest#builder()} * * @param createStageRequest * a {@link Consumer} that will call methods on {@link CreateStageRequest.Builder}. * @return A Java Future containing the result of the CreateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateStage */ default CompletableFuture createStage(Consumer createStageRequest) { return createStage(CreateStageRequest.builder().apply(createStageRequest).build()); } /** *

* Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the * payload. *

* * @param createUsagePlanRequest * The POST request to create a usage plan with the name, description, throttle limits and quota limits, as * well as the associated API stages, specified in the payload. * @return A Java Future containing the result of the CreateUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateUsagePlan */ default CompletableFuture createUsagePlan(CreateUsagePlanRequest createUsagePlanRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the * payload. *

*
* This is a convenience which creates an instance of the {@link CreateUsagePlanRequest.Builder} avoiding the need * to create one manually via {@link CreateUsagePlanRequest#builder()} * * @param createUsagePlanRequest * a {@link Consumer} that will call methods on {@link CreateUsagePlanRequest.Builder}. * @return A Java Future containing the result of the CreateUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateUsagePlan */ default CompletableFuture createUsagePlan( Consumer createUsagePlanRequest) { return createUsagePlan(CreateUsagePlanRequest.builder().apply(createUsagePlanRequest).build()); } /** *

* Creates a usage plan key for adding an existing API key to a usage plan. *

* * @param createUsagePlanKeyRequest * The POST request to create a usage plan key for adding an existing API key to a usage plan. * @return A Java Future containing the result of the CreateUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateUsagePlanKey */ default CompletableFuture createUsagePlanKey(CreateUsagePlanKeyRequest createUsagePlanKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a usage plan key for adding an existing API key to a usage plan. *

*
* This is a convenience which creates an instance of the {@link CreateUsagePlanKeyRequest.Builder} avoiding the * need to create one manually via {@link CreateUsagePlanKeyRequest#builder()} * * @param createUsagePlanKeyRequest * a {@link Consumer} that will call methods on {@link CreateUsagePlanKeyRequest.Builder}. * @return A Java Future containing the result of the CreateUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.CreateUsagePlanKey */ default CompletableFuture createUsagePlanKey( Consumer createUsagePlanKeyRequest) { return createUsagePlanKey(CreateUsagePlanKeyRequest.builder().apply(createUsagePlanKeyRequest).build()); } /** *

* Deletes the ApiKey resource. *

* * @param deleteApiKeyRequest * A request to delete the ApiKey resource. * @return A Java Future containing the result of the DeleteApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteApiKey */ default CompletableFuture deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the ApiKey resource. *

*
* This is a convenience which creates an instance of the {@link DeleteApiKeyRequest.Builder} avoiding the need to * create one manually via {@link DeleteApiKeyRequest#builder()} * * @param deleteApiKeyRequest * a {@link Consumer} that will call methods on {@link DeleteApiKeyRequest.Builder}. * @return A Java Future containing the result of the DeleteApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteApiKey */ default CompletableFuture deleteApiKey(Consumer deleteApiKeyRequest) { return deleteApiKey(DeleteApiKeyRequest.builder().apply(deleteApiKeyRequest).build()); } /** *

* Deletes an existing Authorizer resource. *

* * * @param deleteAuthorizerRequest * Request to delete an existing Authorizer resource. * @return A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteAuthorizer */ default CompletableFuture deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an existing Authorizer resource. *

*
* This is a convenience which creates an instance of the {@link DeleteAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link DeleteAuthorizerRequest#builder()} * * @param deleteAuthorizerRequest * a {@link Consumer} that will call methods on {@link DeleteAuthorizerRequest.Builder}. * @return A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteAuthorizer */ default CompletableFuture deleteAuthorizer( Consumer deleteAuthorizerRequest) { return deleteAuthorizer(DeleteAuthorizerRequest.builder().apply(deleteAuthorizerRequest).build()); } /** *

* Deletes the BasePathMapping resource. *

* * @param deleteBasePathMappingRequest * A request to delete the BasePathMapping resource. * @return A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteBasePathMapping */ default CompletableFuture deleteBasePathMapping( DeleteBasePathMappingRequest deleteBasePathMappingRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the BasePathMapping resource. *

*
* This is a convenience which creates an instance of the {@link DeleteBasePathMappingRequest.Builder} avoiding the * need to create one manually via {@link DeleteBasePathMappingRequest#builder()} * * @param deleteBasePathMappingRequest * a {@link Consumer} that will call methods on {@link DeleteBasePathMappingRequest.Builder}. * @return A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteBasePathMapping */ default CompletableFuture deleteBasePathMapping( Consumer deleteBasePathMappingRequest) { return deleteBasePathMapping(DeleteBasePathMappingRequest.builder().apply(deleteBasePathMappingRequest).build()); } /** *

* Deletes the ClientCertificate resource. *

* * @param deleteClientCertificateRequest * A request to delete the ClientCertificate resource. * @return A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteClientCertificate */ default CompletableFuture deleteClientCertificate( DeleteClientCertificateRequest deleteClientCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the ClientCertificate resource. *

*
* This is a convenience which creates an instance of the {@link DeleteClientCertificateRequest.Builder} avoiding * the need to create one manually via {@link DeleteClientCertificateRequest#builder()} * * @param deleteClientCertificateRequest * a {@link Consumer} that will call methods on {@link DeleteClientCertificateRequest.Builder}. * @return A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteClientCertificate */ default CompletableFuture deleteClientCertificate( Consumer deleteClientCertificateRequest) { return deleteClientCertificate(DeleteClientCertificateRequest.builder().apply(deleteClientCertificateRequest).build()); } /** *

* Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage * resources associated with it. *

* * @param deleteDeploymentRequest * Requests Amazon API Gateway to delete a Deployment resource. * @return A Java Future containing the result of the DeleteDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDeployment */ default CompletableFuture deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage * resources associated with it. *

*
* This is a convenience which creates an instance of the {@link DeleteDeploymentRequest.Builder} avoiding the need * to create one manually via {@link DeleteDeploymentRequest#builder()} * * @param deleteDeploymentRequest * a {@link Consumer} that will call methods on {@link DeleteDeploymentRequest.Builder}. * @return A Java Future containing the result of the DeleteDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDeployment */ default CompletableFuture deleteDeployment( Consumer deleteDeploymentRequest) { return deleteDeployment(DeleteDeploymentRequest.builder().apply(deleteDeploymentRequest).build()); } /** * Invokes the DeleteDocumentationPart operation asynchronously. * * @param deleteDocumentationPartRequest * Deletes an existing documentation part of an API. * @return A Java Future containing the result of the DeleteDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDocumentationPart */ default CompletableFuture deleteDocumentationPart( DeleteDocumentationPartRequest deleteDocumentationPartRequest) { throw new UnsupportedOperationException(); } /** * Invokes the DeleteDocumentationPart operation asynchronously.
* This is a convenience which creates an instance of the {@link DeleteDocumentationPartRequest.Builder} avoiding * the need to create one manually via {@link DeleteDocumentationPartRequest#builder()} * * @param deleteDocumentationPartRequest * a {@link Consumer} that will call methods on {@link DeleteDocumentationPartRequest.Builder}. * @return A Java Future containing the result of the DeleteDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDocumentationPart */ default CompletableFuture deleteDocumentationPart( Consumer deleteDocumentationPartRequest) { return deleteDocumentationPart(DeleteDocumentationPartRequest.builder().apply(deleteDocumentationPartRequest).build()); } /** * Invokes the DeleteDocumentationVersion operation asynchronously. * * @param deleteDocumentationVersionRequest * Deletes an existing documentation version of an API. * @return A Java Future containing the result of the DeleteDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDocumentationVersion */ default CompletableFuture deleteDocumentationVersion( DeleteDocumentationVersionRequest deleteDocumentationVersionRequest) { throw new UnsupportedOperationException(); } /** * Invokes the DeleteDocumentationVersion operation asynchronously.
* This is a convenience which creates an instance of the {@link DeleteDocumentationVersionRequest.Builder} avoiding * the need to create one manually via {@link DeleteDocumentationVersionRequest#builder()} * * @param deleteDocumentationVersionRequest * a {@link Consumer} that will call methods on {@link DeleteDocumentationVersionRequest.Builder}. * @return A Java Future containing the result of the DeleteDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDocumentationVersion */ default CompletableFuture deleteDocumentationVersion( Consumer deleteDocumentationVersionRequest) { return deleteDocumentationVersion(DeleteDocumentationVersionRequest.builder().apply(deleteDocumentationVersionRequest) .build()); } /** *

* Deletes the DomainName resource. *

* * @param deleteDomainNameRequest * A request to delete the DomainName resource. * @return A Java Future containing the result of the DeleteDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDomainName */ default CompletableFuture deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the DomainName resource. *

*
* This is a convenience which creates an instance of the {@link DeleteDomainNameRequest.Builder} avoiding the need * to create one manually via {@link DeleteDomainNameRequest#builder()} * * @param deleteDomainNameRequest * a {@link Consumer} that will call methods on {@link DeleteDomainNameRequest.Builder}. * @return A Java Future containing the result of the DeleteDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteDomainName */ default CompletableFuture deleteDomainName( Consumer deleteDomainNameRequest) { return deleteDomainName(DeleteDomainNameRequest.builder().apply(deleteDomainNameRequest).build()); } /** *

* Clears any customization of a GatewayResponse of a specified response type on the given RestApi and * resets it with the default settings. *

* * @param deleteGatewayResponseRequest * Clears any customization of a GatewayResponse of a specified response type on the given * RestApi and resets it with the default settings. * @return A Java Future containing the result of the DeleteGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteGatewayResponse */ default CompletableFuture deleteGatewayResponse( DeleteGatewayResponseRequest deleteGatewayResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Clears any customization of a GatewayResponse of a specified response type on the given RestApi and * resets it with the default settings. *

*
* This is a convenience which creates an instance of the {@link DeleteGatewayResponseRequest.Builder} avoiding the * need to create one manually via {@link DeleteGatewayResponseRequest#builder()} * * @param deleteGatewayResponseRequest * a {@link Consumer} that will call methods on {@link DeleteGatewayResponseRequest.Builder}. * @return A Java Future containing the result of the DeleteGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteGatewayResponse */ default CompletableFuture deleteGatewayResponse( Consumer deleteGatewayResponseRequest) { return deleteGatewayResponse(DeleteGatewayResponseRequest.builder().apply(deleteGatewayResponseRequest).build()); } /** *

* Represents a delete integration. *

* * @param deleteIntegrationRequest * Represents a delete integration request. * @return A Java Future containing the result of the DeleteIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteIntegration */ default CompletableFuture deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a delete integration. *

*
* This is a convenience which creates an instance of the {@link DeleteIntegrationRequest.Builder} avoiding the need * to create one manually via {@link DeleteIntegrationRequest#builder()} * * @param deleteIntegrationRequest * a {@link Consumer} that will call methods on {@link DeleteIntegrationRequest.Builder}. * @return A Java Future containing the result of the DeleteIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteIntegration */ default CompletableFuture deleteIntegration( Consumer deleteIntegrationRequest) { return deleteIntegration(DeleteIntegrationRequest.builder().apply(deleteIntegrationRequest).build()); } /** *

* Represents a delete integration response. *

* * @param deleteIntegrationResponseRequest * Represents a delete integration response request. * @return A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteIntegrationResponse */ default CompletableFuture deleteIntegrationResponse( DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a delete integration response. *

*
* This is a convenience which creates an instance of the {@link DeleteIntegrationResponseRequest.Builder} avoiding * the need to create one manually via {@link DeleteIntegrationResponseRequest#builder()} * * @param deleteIntegrationResponseRequest * a {@link Consumer} that will call methods on {@link DeleteIntegrationResponseRequest.Builder}. * @return A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteIntegrationResponse */ default CompletableFuture deleteIntegrationResponse( Consumer deleteIntegrationResponseRequest) { return deleteIntegrationResponse(DeleteIntegrationResponseRequest.builder().apply(deleteIntegrationResponseRequest) .build()); } /** *

* Deletes an existing Method resource. *

* * @param deleteMethodRequest * Request to delete an existing Method resource. * @return A Java Future containing the result of the DeleteMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteMethod */ default CompletableFuture deleteMethod(DeleteMethodRequest deleteMethodRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an existing Method resource. *

*
* This is a convenience which creates an instance of the {@link DeleteMethodRequest.Builder} avoiding the need to * create one manually via {@link DeleteMethodRequest#builder()} * * @param deleteMethodRequest * a {@link Consumer} that will call methods on {@link DeleteMethodRequest.Builder}. * @return A Java Future containing the result of the DeleteMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteMethod */ default CompletableFuture deleteMethod(Consumer deleteMethodRequest) { return deleteMethod(DeleteMethodRequest.builder().apply(deleteMethodRequest).build()); } /** *

* Deletes an existing MethodResponse resource. *

* * @param deleteMethodResponseRequest * A request to delete an existing MethodResponse resource. * @return A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteMethodResponse */ default CompletableFuture deleteMethodResponse( DeleteMethodResponseRequest deleteMethodResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an existing MethodResponse resource. *

*
* This is a convenience which creates an instance of the {@link DeleteMethodResponseRequest.Builder} avoiding the * need to create one manually via {@link DeleteMethodResponseRequest#builder()} * * @param deleteMethodResponseRequest * a {@link Consumer} that will call methods on {@link DeleteMethodResponseRequest.Builder}. * @return A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteMethodResponse */ default CompletableFuture deleteMethodResponse( Consumer deleteMethodResponseRequest) { return deleteMethodResponse(DeleteMethodResponseRequest.builder().apply(deleteMethodResponseRequest).build()); } /** *

* Deletes a model. *

* * @param deleteModelRequest * Request to delete an existing model in an existing RestApi resource. * @return A Java Future containing the result of the DeleteModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteModel */ default CompletableFuture deleteModel(DeleteModelRequest deleteModelRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a model. *

*
* This is a convenience which creates an instance of the {@link DeleteModelRequest.Builder} avoiding the need to * create one manually via {@link DeleteModelRequest#builder()} * * @param deleteModelRequest * a {@link Consumer} that will call methods on {@link DeleteModelRequest.Builder}. * @return A Java Future containing the result of the DeleteModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteModel */ default CompletableFuture deleteModel(Consumer deleteModelRequest) { return deleteModel(DeleteModelRequest.builder().apply(deleteModelRequest).build()); } /** *

* Deletes a RequestValidator of a given RestApi. *

* * @param deleteRequestValidatorRequest * Deletes a specified RequestValidator of a given RestApi. * @return A Java Future containing the result of the DeleteRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteRequestValidator */ default CompletableFuture deleteRequestValidator( DeleteRequestValidatorRequest deleteRequestValidatorRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a RequestValidator of a given RestApi. *

*
* This is a convenience which creates an instance of the {@link DeleteRequestValidatorRequest.Builder} avoiding the * need to create one manually via {@link DeleteRequestValidatorRequest#builder()} * * @param deleteRequestValidatorRequest * a {@link Consumer} that will call methods on {@link DeleteRequestValidatorRequest.Builder}. * @return A Java Future containing the result of the DeleteRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteRequestValidator */ default CompletableFuture deleteRequestValidator( Consumer deleteRequestValidatorRequest) { return deleteRequestValidator(DeleteRequestValidatorRequest.builder().apply(deleteRequestValidatorRequest).build()); } /** *

* Deletes a Resource resource. *

* * @param deleteResourceRequest * Request to delete a Resource. * @return A Java Future containing the result of the DeleteResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteResource */ default CompletableFuture deleteResource(DeleteResourceRequest deleteResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Resource resource. *

*
* This is a convenience which creates an instance of the {@link DeleteResourceRequest.Builder} avoiding the need to * create one manually via {@link DeleteResourceRequest#builder()} * * @param deleteResourceRequest * a {@link Consumer} that will call methods on {@link DeleteResourceRequest.Builder}. * @return A Java Future containing the result of the DeleteResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteResource */ default CompletableFuture deleteResource(Consumer deleteResourceRequest) { return deleteResource(DeleteResourceRequest.builder().apply(deleteResourceRequest).build()); } /** *

* Deletes the specified API. *

* * @param deleteRestApiRequest * Request to delete the specified API from your collection. * @return A Java Future containing the result of the DeleteRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteRestApi */ default CompletableFuture deleteRestApi(DeleteRestApiRequest deleteRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified API. *

*
* This is a convenience which creates an instance of the {@link DeleteRestApiRequest.Builder} avoiding the need to * create one manually via {@link DeleteRestApiRequest#builder()} * * @param deleteRestApiRequest * a {@link Consumer} that will call methods on {@link DeleteRestApiRequest.Builder}. * @return A Java Future containing the result of the DeleteRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteRestApi */ default CompletableFuture deleteRestApi(Consumer deleteRestApiRequest) { return deleteRestApi(DeleteRestApiRequest.builder().apply(deleteRestApiRequest).build()); } /** *

* Deletes a Stage resource. *

* * @param deleteStageRequest * Requests Amazon API Gateway to delete a Stage resource. * @return A Java Future containing the result of the DeleteStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteStage */ default CompletableFuture deleteStage(DeleteStageRequest deleteStageRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Stage resource. *

*
* This is a convenience which creates an instance of the {@link DeleteStageRequest.Builder} avoiding the need to * create one manually via {@link DeleteStageRequest#builder()} * * @param deleteStageRequest * a {@link Consumer} that will call methods on {@link DeleteStageRequest.Builder}. * @return A Java Future containing the result of the DeleteStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteStage */ default CompletableFuture deleteStage(Consumer deleteStageRequest) { return deleteStage(DeleteStageRequest.builder().apply(deleteStageRequest).build()); } /** *

* Deletes a usage plan of a given plan Id. *

* * @param deleteUsagePlanRequest * The DELETE request to delete a usage plan of a given plan Id. * @return A Java Future containing the result of the DeleteUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteUsagePlan */ default CompletableFuture deleteUsagePlan(DeleteUsagePlanRequest deleteUsagePlanRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a usage plan of a given plan Id. *

*
* This is a convenience which creates an instance of the {@link DeleteUsagePlanRequest.Builder} avoiding the need * to create one manually via {@link DeleteUsagePlanRequest#builder()} * * @param deleteUsagePlanRequest * a {@link Consumer} that will call methods on {@link DeleteUsagePlanRequest.Builder}. * @return A Java Future containing the result of the DeleteUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteUsagePlan */ default CompletableFuture deleteUsagePlan( Consumer deleteUsagePlanRequest) { return deleteUsagePlan(DeleteUsagePlanRequest.builder().apply(deleteUsagePlanRequest).build()); } /** *

* Deletes a usage plan key and remove the underlying API key from the associated usage plan. *

* * @param deleteUsagePlanKeyRequest * The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage * plan. * @return A Java Future containing the result of the DeleteUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteUsagePlanKey */ default CompletableFuture deleteUsagePlanKey(DeleteUsagePlanKeyRequest deleteUsagePlanKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a usage plan key and remove the underlying API key from the associated usage plan. *

*
* This is a convenience which creates an instance of the {@link DeleteUsagePlanKeyRequest.Builder} avoiding the * need to create one manually via {@link DeleteUsagePlanKeyRequest#builder()} * * @param deleteUsagePlanKeyRequest * a {@link Consumer} that will call methods on {@link DeleteUsagePlanKeyRequest.Builder}. * @return A Java Future containing the result of the DeleteUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.DeleteUsagePlanKey */ default CompletableFuture deleteUsagePlanKey( Consumer deleteUsagePlanKeyRequest) { return deleteUsagePlanKey(DeleteUsagePlanKeyRequest.builder().apply(deleteUsagePlanKeyRequest).build()); } /** *

* Flushes all authorizer cache entries on a stage. *

* * @param flushStageAuthorizersCacheRequest * Request to flush authorizer cache entries on a specified stage. * @return A Java Future containing the result of the FlushStageAuthorizersCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.FlushStageAuthorizersCache */ default CompletableFuture flushStageAuthorizersCache( FlushStageAuthorizersCacheRequest flushStageAuthorizersCacheRequest) { throw new UnsupportedOperationException(); } /** *

* Flushes all authorizer cache entries on a stage. *

*
* This is a convenience which creates an instance of the {@link FlushStageAuthorizersCacheRequest.Builder} avoiding * the need to create one manually via {@link FlushStageAuthorizersCacheRequest#builder()} * * @param flushStageAuthorizersCacheRequest * a {@link Consumer} that will call methods on {@link FlushStageAuthorizersCacheRequest.Builder}. * @return A Java Future containing the result of the FlushStageAuthorizersCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.FlushStageAuthorizersCache */ default CompletableFuture flushStageAuthorizersCache( Consumer flushStageAuthorizersCacheRequest) { return flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest.builder().apply(flushStageAuthorizersCacheRequest) .build()); } /** *

* Flushes a stage's cache. *

* * @param flushStageCacheRequest * Requests Amazon API Gateway to flush a stage's cache. * @return A Java Future containing the result of the FlushStageCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.FlushStageCache */ default CompletableFuture flushStageCache(FlushStageCacheRequest flushStageCacheRequest) { throw new UnsupportedOperationException(); } /** *

* Flushes a stage's cache. *

*
* This is a convenience which creates an instance of the {@link FlushStageCacheRequest.Builder} avoiding the need * to create one manually via {@link FlushStageCacheRequest#builder()} * * @param flushStageCacheRequest * a {@link Consumer} that will call methods on {@link FlushStageCacheRequest.Builder}. * @return A Java Future containing the result of the FlushStageCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.FlushStageCache */ default CompletableFuture flushStageCache( Consumer flushStageCacheRequest) { return flushStageCache(FlushStageCacheRequest.builder().apply(flushStageCacheRequest).build()); } /** *

* Generates a ClientCertificate resource. *

* * @param generateClientCertificateRequest * A request to generate a ClientCertificate resource. * @return A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GenerateClientCertificate */ default CompletableFuture generateClientCertificate( GenerateClientCertificateRequest generateClientCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Generates a ClientCertificate resource. *

*
* This is a convenience which creates an instance of the {@link GenerateClientCertificateRequest.Builder} avoiding * the need to create one manually via {@link GenerateClientCertificateRequest#builder()} * * @param generateClientCertificateRequest * a {@link Consumer} that will call methods on {@link GenerateClientCertificateRequest.Builder}. * @return A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GenerateClientCertificate */ default CompletableFuture generateClientCertificate( Consumer generateClientCertificateRequest) { return generateClientCertificate(GenerateClientCertificateRequest.builder().apply(generateClientCertificateRequest) .build()); } /** *

* Gets information about the current Account resource. *

* * @param getAccountRequest * Requests Amazon API Gateway to get information about the current Account resource. * @return A Java Future containing the result of the GetAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAccount */ default CompletableFuture getAccount(GetAccountRequest getAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the current Account resource. *

* * @return A Java Future containing the result of the GetAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAccount */ default CompletableFuture getAccount() { return getAccount(GetAccountRequest.builder().build()); } /** *

* Gets information about the current Account resource. *

*
* This is a convenience which creates an instance of the {@link GetAccountRequest.Builder} avoiding the need to * create one manually via {@link GetAccountRequest#builder()} * * @param getAccountRequest * a {@link Consumer} that will call methods on {@link GetAccountRequest.Builder}. * @return A Java Future containing the result of the GetAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAccount */ default CompletableFuture getAccount(Consumer getAccountRequest) { return getAccount(GetAccountRequest.builder().apply(getAccountRequest).build()); } /** *

* Gets information about the current ApiKey resource. *

* * @param getApiKeyRequest * A request to get information about the current ApiKey resource. * @return A Java Future containing the result of the GetApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetApiKey */ default CompletableFuture getApiKey(GetApiKeyRequest getApiKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the current ApiKey resource. *

*
* This is a convenience which creates an instance of the {@link GetApiKeyRequest.Builder} avoiding the need to * create one manually via {@link GetApiKeyRequest#builder()} * * @param getApiKeyRequest * a {@link Consumer} that will call methods on {@link GetApiKeyRequest.Builder}. * @return A Java Future containing the result of the GetApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetApiKey */ default CompletableFuture getApiKey(Consumer getApiKeyRequest) { return getApiKey(GetApiKeyRequest.builder().apply(getApiKeyRequest).build()); } /** *

* Gets information about the current ApiKeys resource. *

* * @param getApiKeysRequest * A request to get information about the current ApiKeys resource. * @return A Java Future containing the result of the GetApiKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetApiKeys */ default CompletableFuture getApiKeys(GetApiKeysRequest getApiKeysRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the current ApiKeys resource. *

* * @return A Java Future containing the result of the GetApiKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetApiKeys */ default CompletableFuture getApiKeys() { return getApiKeys(GetApiKeysRequest.builder().build()); } /** *

* Gets information about the current ApiKeys resource. *

*
* This is a convenience which creates an instance of the {@link GetApiKeysRequest.Builder} avoiding the need to * create one manually via {@link GetApiKeysRequest#builder()} * * @param getApiKeysRequest * a {@link Consumer} that will call methods on {@link GetApiKeysRequest.Builder}. * @return A Java Future containing the result of the GetApiKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetApiKeys */ default CompletableFuture getApiKeys(Consumer getApiKeysRequest) { return getApiKeys(GetApiKeysRequest.builder().apply(getApiKeysRequest).build()); } /** *

* Describe an existing Authorizer resource. *

* * * @param getAuthorizerRequest * Request to describe an existing Authorizer resource. * @return A Java Future containing the result of the GetAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAuthorizer */ default CompletableFuture getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an existing Authorizer resource. *

*
* This is a convenience which creates an instance of the {@link GetAuthorizerRequest.Builder} avoiding the need to * create one manually via {@link GetAuthorizerRequest#builder()} * * @param getAuthorizerRequest * a {@link Consumer} that will call methods on {@link GetAuthorizerRequest.Builder}. * @return A Java Future containing the result of the GetAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAuthorizer */ default CompletableFuture getAuthorizer(Consumer getAuthorizerRequest) { return getAuthorizer(GetAuthorizerRequest.builder().apply(getAuthorizerRequest).build()); } /** *

* Describe an existing Authorizers resource. *

* * * @param getAuthorizersRequest * Request to describe an existing Authorizers resource. * @return A Java Future containing the result of the GetAuthorizers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAuthorizers */ default CompletableFuture getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an existing Authorizers resource. *

*
* This is a convenience which creates an instance of the {@link GetAuthorizersRequest.Builder} avoiding the need to * create one manually via {@link GetAuthorizersRequest#builder()} * * @param getAuthorizersRequest * a {@link Consumer} that will call methods on {@link GetAuthorizersRequest.Builder}. * @return A Java Future containing the result of the GetAuthorizers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetAuthorizers */ default CompletableFuture getAuthorizers(Consumer getAuthorizersRequest) { return getAuthorizers(GetAuthorizersRequest.builder().apply(getAuthorizersRequest).build()); } /** *

* Describe a BasePathMapping resource. *

* * @param getBasePathMappingRequest * Request to describe a BasePathMapping resource. * @return A Java Future containing the result of the GetBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetBasePathMapping */ default CompletableFuture getBasePathMapping(GetBasePathMappingRequest getBasePathMappingRequest) { throw new UnsupportedOperationException(); } /** *

* Describe a BasePathMapping resource. *

*
* This is a convenience which creates an instance of the {@link GetBasePathMappingRequest.Builder} avoiding the * need to create one manually via {@link GetBasePathMappingRequest#builder()} * * @param getBasePathMappingRequest * a {@link Consumer} that will call methods on {@link GetBasePathMappingRequest.Builder}. * @return A Java Future containing the result of the GetBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetBasePathMapping */ default CompletableFuture getBasePathMapping( Consumer getBasePathMappingRequest) { return getBasePathMapping(GetBasePathMappingRequest.builder().apply(getBasePathMappingRequest).build()); } /** *

* Represents a collection of BasePathMapping resources. *

* * @param getBasePathMappingsRequest * A request to get information about a collection of BasePathMapping resources. * @return A Java Future containing the result of the GetBasePathMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetBasePathMappings */ default CompletableFuture getBasePathMappings( GetBasePathMappingsRequest getBasePathMappingsRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a collection of BasePathMapping resources. *

*
* This is a convenience which creates an instance of the {@link GetBasePathMappingsRequest.Builder} avoiding the * need to create one manually via {@link GetBasePathMappingsRequest#builder()} * * @param getBasePathMappingsRequest * a {@link Consumer} that will call methods on {@link GetBasePathMappingsRequest.Builder}. * @return A Java Future containing the result of the GetBasePathMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetBasePathMappings */ default CompletableFuture getBasePathMappings( Consumer getBasePathMappingsRequest) { return getBasePathMappings(GetBasePathMappingsRequest.builder().apply(getBasePathMappingsRequest).build()); } /** *

* Gets information about the current ClientCertificate resource. *

* * @param getClientCertificateRequest * A request to get information about the current ClientCertificate resource. * @return A Java Future containing the result of the GetClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetClientCertificate */ default CompletableFuture getClientCertificate( GetClientCertificateRequest getClientCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the current ClientCertificate resource. *

*
* This is a convenience which creates an instance of the {@link GetClientCertificateRequest.Builder} avoiding the * need to create one manually via {@link GetClientCertificateRequest#builder()} * * @param getClientCertificateRequest * a {@link Consumer} that will call methods on {@link GetClientCertificateRequest.Builder}. * @return A Java Future containing the result of the GetClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetClientCertificate */ default CompletableFuture getClientCertificate( Consumer getClientCertificateRequest) { return getClientCertificate(GetClientCertificateRequest.builder().apply(getClientCertificateRequest).build()); } /** *

* Gets a collection of ClientCertificate resources. *

* * @param getClientCertificatesRequest * A request to get information about a collection of ClientCertificate resources. * @return A Java Future containing the result of the GetClientCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetClientCertificates */ default CompletableFuture getClientCertificates( GetClientCertificatesRequest getClientCertificatesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a collection of ClientCertificate resources. *

* * @return A Java Future containing the result of the GetClientCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetClientCertificates */ default CompletableFuture getClientCertificates() { return getClientCertificates(GetClientCertificatesRequest.builder().build()); } /** *

* Gets a collection of ClientCertificate resources. *

*
* This is a convenience which creates an instance of the {@link GetClientCertificatesRequest.Builder} avoiding the * need to create one manually via {@link GetClientCertificatesRequest#builder()} * * @param getClientCertificatesRequest * a {@link Consumer} that will call methods on {@link GetClientCertificatesRequest.Builder}. * @return A Java Future containing the result of the GetClientCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetClientCertificates */ default CompletableFuture getClientCertificates( Consumer getClientCertificatesRequest) { return getClientCertificates(GetClientCertificatesRequest.builder().apply(getClientCertificatesRequest).build()); } /** *

* Gets information about a Deployment resource. *

* * @param getDeploymentRequest * Requests Amazon API Gateway to get information about a Deployment resource. * @return A Java Future containing the result of the GetDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDeployment */ default CompletableFuture getDeployment(GetDeploymentRequest getDeploymentRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Deployment resource. *

*
* This is a convenience which creates an instance of the {@link GetDeploymentRequest.Builder} avoiding the need to * create one manually via {@link GetDeploymentRequest#builder()} * * @param getDeploymentRequest * a {@link Consumer} that will call methods on {@link GetDeploymentRequest.Builder}. * @return A Java Future containing the result of the GetDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDeployment */ default CompletableFuture getDeployment(Consumer getDeploymentRequest) { return getDeployment(GetDeploymentRequest.builder().apply(getDeploymentRequest).build()); } /** *

* Gets information about a Deployments collection. *

* * @param getDeploymentsRequest * Requests Amazon API Gateway to get information about a Deployments collection. * @return A Java Future containing the result of the GetDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDeployments */ default CompletableFuture getDeployments(GetDeploymentsRequest getDeploymentsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Deployments collection. *

*
* This is a convenience which creates an instance of the {@link GetDeploymentsRequest.Builder} avoiding the need to * create one manually via {@link GetDeploymentsRequest#builder()} * * @param getDeploymentsRequest * a {@link Consumer} that will call methods on {@link GetDeploymentsRequest.Builder}. * @return A Java Future containing the result of the GetDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDeployments */ default CompletableFuture getDeployments(Consumer getDeploymentsRequest) { return getDeployments(GetDeploymentsRequest.builder().apply(getDeploymentsRequest).build()); } /** * Invokes the GetDocumentationPart operation asynchronously. * * @param getDocumentationPartRequest * Gets a specified documentation part of a given API. * @return A Java Future containing the result of the GetDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationPart */ default CompletableFuture getDocumentationPart( GetDocumentationPartRequest getDocumentationPartRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetDocumentationPart operation asynchronously.
* This is a convenience which creates an instance of the {@link GetDocumentationPartRequest.Builder} avoiding the * need to create one manually via {@link GetDocumentationPartRequest#builder()} * * @param getDocumentationPartRequest * a {@link Consumer} that will call methods on {@link GetDocumentationPartRequest.Builder}. * @return A Java Future containing the result of the GetDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationPart */ default CompletableFuture getDocumentationPart( Consumer getDocumentationPartRequest) { return getDocumentationPart(GetDocumentationPartRequest.builder().apply(getDocumentationPartRequest).build()); } /** * Invokes the GetDocumentationParts operation asynchronously. * * @param getDocumentationPartsRequest * Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API * entities (targets). * @return A Java Future containing the result of the GetDocumentationParts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationParts */ default CompletableFuture getDocumentationParts( GetDocumentationPartsRequest getDocumentationPartsRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetDocumentationParts operation asynchronously.
* This is a convenience which creates an instance of the {@link GetDocumentationPartsRequest.Builder} avoiding the * need to create one manually via {@link GetDocumentationPartsRequest#builder()} * * @param getDocumentationPartsRequest * a {@link Consumer} that will call methods on {@link GetDocumentationPartsRequest.Builder}. * @return A Java Future containing the result of the GetDocumentationParts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationParts */ default CompletableFuture getDocumentationParts( Consumer getDocumentationPartsRequest) { return getDocumentationParts(GetDocumentationPartsRequest.builder().apply(getDocumentationPartsRequest).build()); } /** * Invokes the GetDocumentationVersion operation asynchronously. * * @param getDocumentationVersionRequest * Gets a documentation snapshot of an API. * @return A Java Future containing the result of the GetDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationVersion */ default CompletableFuture getDocumentationVersion( GetDocumentationVersionRequest getDocumentationVersionRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetDocumentationVersion operation asynchronously.
* This is a convenience which creates an instance of the {@link GetDocumentationVersionRequest.Builder} avoiding * the need to create one manually via {@link GetDocumentationVersionRequest#builder()} * * @param getDocumentationVersionRequest * a {@link Consumer} that will call methods on {@link GetDocumentationVersionRequest.Builder}. * @return A Java Future containing the result of the GetDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationVersion */ default CompletableFuture getDocumentationVersion( Consumer getDocumentationVersionRequest) { return getDocumentationVersion(GetDocumentationVersionRequest.builder().apply(getDocumentationVersionRequest).build()); } /** * Invokes the GetDocumentationVersions operation asynchronously. * * @param getDocumentationVersionsRequest * Gets the documentation versions of an API. * @return A Java Future containing the result of the GetDocumentationVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationVersions */ default CompletableFuture getDocumentationVersions( GetDocumentationVersionsRequest getDocumentationVersionsRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetDocumentationVersions operation asynchronously.
* This is a convenience which creates an instance of the {@link GetDocumentationVersionsRequest.Builder} avoiding * the need to create one manually via {@link GetDocumentationVersionsRequest#builder()} * * @param getDocumentationVersionsRequest * a {@link Consumer} that will call methods on {@link GetDocumentationVersionsRequest.Builder}. * @return A Java Future containing the result of the GetDocumentationVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDocumentationVersions */ default CompletableFuture getDocumentationVersions( Consumer getDocumentationVersionsRequest) { return getDocumentationVersions(GetDocumentationVersionsRequest.builder().apply(getDocumentationVersionsRequest).build()); } /** *

* Represents a domain name that is contained in a simpler, more intuitive URL that can be called. *

* * @param getDomainNameRequest * Request to get the name of a DomainName resource. * @return A Java Future containing the result of the GetDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDomainName */ default CompletableFuture getDomainName(GetDomainNameRequest getDomainNameRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a domain name that is contained in a simpler, more intuitive URL that can be called. *

*
* This is a convenience which creates an instance of the {@link GetDomainNameRequest.Builder} avoiding the need to * create one manually via {@link GetDomainNameRequest#builder()} * * @param getDomainNameRequest * a {@link Consumer} that will call methods on {@link GetDomainNameRequest.Builder}. * @return A Java Future containing the result of the GetDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDomainName */ default CompletableFuture getDomainName(Consumer getDomainNameRequest) { return getDomainName(GetDomainNameRequest.builder().apply(getDomainNameRequest).build()); } /** *

* Represents a collection of DomainName resources. *

* * @param getDomainNamesRequest * Request to describe a collection of DomainName resources. * @return A Java Future containing the result of the GetDomainNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDomainNames */ default CompletableFuture getDomainNames(GetDomainNamesRequest getDomainNamesRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a collection of DomainName resources. *

* * @return A Java Future containing the result of the GetDomainNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDomainNames */ default CompletableFuture getDomainNames() { return getDomainNames(GetDomainNamesRequest.builder().build()); } /** *

* Represents a collection of DomainName resources. *

*
* This is a convenience which creates an instance of the {@link GetDomainNamesRequest.Builder} avoiding the need to * create one manually via {@link GetDomainNamesRequest#builder()} * * @param getDomainNamesRequest * a {@link Consumer} that will call methods on {@link GetDomainNamesRequest.Builder}. * @return A Java Future containing the result of the GetDomainNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetDomainNames */ default CompletableFuture getDomainNames(Consumer getDomainNamesRequest) { return getDomainNames(GetDomainNamesRequest.builder().apply(getDomainNamesRequest).build()); } /** *

* Exports a deployed version of a RestApi in a specified format. *

* * @param getExportRequest * Request a new export of a RestApi for a particular Stage. * @return A Java Future containing the result of the GetExport operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetExport */ default CompletableFuture getExport(GetExportRequest getExportRequest) { throw new UnsupportedOperationException(); } /** *

* Exports a deployed version of a RestApi in a specified format. *

*
* This is a convenience which creates an instance of the {@link GetExportRequest.Builder} avoiding the need to * create one manually via {@link GetExportRequest#builder()} * * @param getExportRequest * a {@link Consumer} that will call methods on {@link GetExportRequest.Builder}. * @return A Java Future containing the result of the GetExport operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetExport */ default CompletableFuture getExport(Consumer getExportRequest) { return getExport(GetExportRequest.builder().apply(getExportRequest).build()); } /** *

* Gets a GatewayResponse of a specified response type on the given RestApi. *

* * @param getGatewayResponseRequest * Gets a GatewayResponse of a specified response type on the given RestApi. * @return A Java Future containing the result of the GetGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetGatewayResponse */ default CompletableFuture getGatewayResponse(GetGatewayResponseRequest getGatewayResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a GatewayResponse of a specified response type on the given RestApi. *

*
* This is a convenience which creates an instance of the {@link GetGatewayResponseRequest.Builder} avoiding the * need to create one manually via {@link GetGatewayResponseRequest#builder()} * * @param getGatewayResponseRequest * a {@link Consumer} that will call methods on {@link GetGatewayResponseRequest.Builder}. * @return A Java Future containing the result of the GetGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetGatewayResponse */ default CompletableFuture getGatewayResponse( Consumer getGatewayResponseRequest) { return getGatewayResponse(GetGatewayResponseRequest.builder().apply(getGatewayResponseRequest).build()); } /** *

* 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 Amazon API Gateway-generated default * GatewayResponses collection for the supported response types. *

* * @param getGatewayResponsesRequest * 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 Amazon API Gateway-generated default * GatewayResponses collection for the supported response types. * @return A Java Future containing the result of the GetGatewayResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetGatewayResponses */ default CompletableFuture getGatewayResponses( GetGatewayResponsesRequest getGatewayResponsesRequest) { throw new UnsupportedOperationException(); } /** *

* 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 Amazon API Gateway-generated default * GatewayResponses collection for the supported response types. *

*
* This is a convenience which creates an instance of the {@link GetGatewayResponsesRequest.Builder} avoiding the * need to create one manually via {@link GetGatewayResponsesRequest#builder()} * * @param getGatewayResponsesRequest * a {@link Consumer} that will call methods on {@link GetGatewayResponsesRequest.Builder}. * @return A Java Future containing the result of the GetGatewayResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetGatewayResponses */ default CompletableFuture getGatewayResponses( Consumer getGatewayResponsesRequest) { return getGatewayResponses(GetGatewayResponsesRequest.builder().apply(getGatewayResponsesRequest).build()); } /** *

* Represents a get integration. *

* * @param getIntegrationRequest * Represents a get integration request. * @return A Java Future containing the result of the GetIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetIntegration */ default CompletableFuture getIntegration(GetIntegrationRequest getIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a get integration. *

*
* This is a convenience which creates an instance of the {@link GetIntegrationRequest.Builder} avoiding the need to * create one manually via {@link GetIntegrationRequest#builder()} * * @param getIntegrationRequest * a {@link Consumer} that will call methods on {@link GetIntegrationRequest.Builder}. * @return A Java Future containing the result of the GetIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetIntegration */ default CompletableFuture getIntegration(Consumer getIntegrationRequest) { return getIntegration(GetIntegrationRequest.builder().apply(getIntegrationRequest).build()); } /** *

* Represents a get integration response. *

* * @param getIntegrationResponseRequest * Represents a get integration response request. * @return A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetIntegrationResponse */ default CompletableFuture getIntegrationResponse( GetIntegrationResponseRequest getIntegrationResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a get integration response. *

*
* This is a convenience which creates an instance of the {@link GetIntegrationResponseRequest.Builder} avoiding the * need to create one manually via {@link GetIntegrationResponseRequest#builder()} * * @param getIntegrationResponseRequest * a {@link Consumer} that will call methods on {@link GetIntegrationResponseRequest.Builder}. * @return A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetIntegrationResponse */ default CompletableFuture getIntegrationResponse( Consumer getIntegrationResponseRequest) { return getIntegrationResponse(GetIntegrationResponseRequest.builder().apply(getIntegrationResponseRequest).build()); } /** *

* Describe an existing Method resource. *

* * @param getMethodRequest * Request to describe an existing Method resource. * @return A Java Future containing the result of the GetMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetMethod */ default CompletableFuture getMethod(GetMethodRequest getMethodRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an existing Method resource. *

*
* This is a convenience which creates an instance of the {@link GetMethodRequest.Builder} avoiding the need to * create one manually via {@link GetMethodRequest#builder()} * * @param getMethodRequest * a {@link Consumer} that will call methods on {@link GetMethodRequest.Builder}. * @return A Java Future containing the result of the GetMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetMethod */ default CompletableFuture getMethod(Consumer getMethodRequest) { return getMethod(GetMethodRequest.builder().apply(getMethodRequest).build()); } /** *

* Describes a MethodResponse resource. *

* * @param getMethodResponseRequest * Request to describe a MethodResponse resource. * @return A Java Future containing the result of the GetMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetMethodResponse */ default CompletableFuture getMethodResponse(GetMethodResponseRequest getMethodResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a MethodResponse resource. *

*
* This is a convenience which creates an instance of the {@link GetMethodResponseRequest.Builder} avoiding the need * to create one manually via {@link GetMethodResponseRequest#builder()} * * @param getMethodResponseRequest * a {@link Consumer} that will call methods on {@link GetMethodResponseRequest.Builder}. * @return A Java Future containing the result of the GetMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetMethodResponse */ default CompletableFuture getMethodResponse( Consumer getMethodResponseRequest) { return getMethodResponse(GetMethodResponseRequest.builder().apply(getMethodResponseRequest).build()); } /** *

* Describes an existing model defined for a RestApi resource. *

* * @param getModelRequest * Request to list information about a model in an existing RestApi resource. * @return A Java Future containing the result of the GetModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModel */ default CompletableFuture getModel(GetModelRequest getModelRequest) { throw new UnsupportedOperationException(); } /** *

* Describes an existing model defined for a RestApi resource. *

*
* This is a convenience which creates an instance of the {@link GetModelRequest.Builder} avoiding the need to * create one manually via {@link GetModelRequest#builder()} * * @param getModelRequest * a {@link Consumer} that will call methods on {@link GetModelRequest.Builder}. * @return A Java Future containing the result of the GetModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModel */ default CompletableFuture getModel(Consumer getModelRequest) { return getModel(GetModelRequest.builder().apply(getModelRequest).build()); } /** *

* Generates a sample mapping template that can be used to transform a payload into the structure of a model. *

* * @param getModelTemplateRequest * Request to generate a sample mapping template used to transform the payload. * @return A Java Future containing the result of the GetModelTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModelTemplate */ default CompletableFuture getModelTemplate(GetModelTemplateRequest getModelTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Generates a sample mapping template that can be used to transform a payload into the structure of a model. *

*
* This is a convenience which creates an instance of the {@link GetModelTemplateRequest.Builder} avoiding the need * to create one manually via {@link GetModelTemplateRequest#builder()} * * @param getModelTemplateRequest * a {@link Consumer} that will call methods on {@link GetModelTemplateRequest.Builder}. * @return A Java Future containing the result of the GetModelTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModelTemplate */ default CompletableFuture getModelTemplate( Consumer getModelTemplateRequest) { return getModelTemplate(GetModelTemplateRequest.builder().apply(getModelTemplateRequest).build()); } /** *

* Describes existing Models defined for a RestApi resource. *

* * @param getModelsRequest * Request to list existing Models defined for a RestApi resource. * @return A Java Future containing the result of the GetModels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModels */ default CompletableFuture getModels(GetModelsRequest getModelsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes existing Models defined for a RestApi resource. *

*
* This is a convenience which creates an instance of the {@link GetModelsRequest.Builder} avoiding the need to * create one manually via {@link GetModelsRequest#builder()} * * @param getModelsRequest * a {@link Consumer} that will call methods on {@link GetModelsRequest.Builder}. * @return A Java Future containing the result of the GetModels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetModels */ default CompletableFuture getModels(Consumer getModelsRequest) { return getModels(GetModelsRequest.builder().apply(getModelsRequest).build()); } /** *

* Gets a RequestValidator of a given RestApi. *

* * @param getRequestValidatorRequest * Gets a RequestValidator of a given RestApi. * @return A Java Future containing the result of the GetRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRequestValidator */ default CompletableFuture getRequestValidator( GetRequestValidatorRequest getRequestValidatorRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a RequestValidator of a given RestApi. *

*
* This is a convenience which creates an instance of the {@link GetRequestValidatorRequest.Builder} avoiding the * need to create one manually via {@link GetRequestValidatorRequest#builder()} * * @param getRequestValidatorRequest * a {@link Consumer} that will call methods on {@link GetRequestValidatorRequest.Builder}. * @return A Java Future containing the result of the GetRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRequestValidator */ default CompletableFuture getRequestValidator( Consumer getRequestValidatorRequest) { return getRequestValidator(GetRequestValidatorRequest.builder().apply(getRequestValidatorRequest).build()); } /** *

* Gets the RequestValidators collection of a given RestApi. *

* * @param getRequestValidatorsRequest * Gets the RequestValidators collection of a given RestApi. * @return A Java Future containing the result of the GetRequestValidators operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRequestValidators */ default CompletableFuture getRequestValidators( GetRequestValidatorsRequest getRequestValidatorsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the RequestValidators collection of a given RestApi. *

*
* This is a convenience which creates an instance of the {@link GetRequestValidatorsRequest.Builder} avoiding the * need to create one manually via {@link GetRequestValidatorsRequest#builder()} * * @param getRequestValidatorsRequest * a {@link Consumer} that will call methods on {@link GetRequestValidatorsRequest.Builder}. * @return A Java Future containing the result of the GetRequestValidators operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRequestValidators */ default CompletableFuture getRequestValidators( Consumer getRequestValidatorsRequest) { return getRequestValidators(GetRequestValidatorsRequest.builder().apply(getRequestValidatorsRequest).build()); } /** *

* Lists information about a resource. *

* * @param getResourceRequest * Request to list information about a resource. * @return A Java Future containing the result of the GetResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetResource */ default CompletableFuture getResource(GetResourceRequest getResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Lists information about a resource. *

*
* This is a convenience which creates an instance of the {@link GetResourceRequest.Builder} avoiding the need to * create one manually via {@link GetResourceRequest#builder()} * * @param getResourceRequest * a {@link Consumer} that will call methods on {@link GetResourceRequest.Builder}. * @return A Java Future containing the result of the GetResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetResource */ default CompletableFuture getResource(Consumer getResourceRequest) { return getResource(GetResourceRequest.builder().apply(getResourceRequest).build()); } /** *

* Lists information about a collection of Resource resources. *

* * @param getResourcesRequest * Request to list information about a collection of resources. * @return A Java Future containing the result of the GetResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetResources */ default CompletableFuture getResources(GetResourcesRequest getResourcesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists information about a collection of Resource resources. *

*
* This is a convenience which creates an instance of the {@link GetResourcesRequest.Builder} avoiding the need to * create one manually via {@link GetResourcesRequest#builder()} * * @param getResourcesRequest * a {@link Consumer} that will call methods on {@link GetResourcesRequest.Builder}. * @return A Java Future containing the result of the GetResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetResources */ default CompletableFuture getResources(Consumer getResourcesRequest) { return getResources(GetResourcesRequest.builder().apply(getResourcesRequest).build()); } /** *

* Lists the RestApi resource in the collection. *

* * @param getRestApiRequest * The GET request to list an existing RestApi defined for your collection. * @return A Java Future containing the result of the GetRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRestApi */ default CompletableFuture getRestApi(GetRestApiRequest getRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the RestApi resource in the collection. *

*
* This is a convenience which creates an instance of the {@link GetRestApiRequest.Builder} avoiding the need to * create one manually via {@link GetRestApiRequest#builder()} * * @param getRestApiRequest * a {@link Consumer} that will call methods on {@link GetRestApiRequest.Builder}. * @return A Java Future containing the result of the GetRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRestApi */ default CompletableFuture getRestApi(Consumer getRestApiRequest) { return getRestApi(GetRestApiRequest.builder().apply(getRestApiRequest).build()); } /** *

* Lists the RestApis resources for your collection. *

* * @param getRestApisRequest * The GET request to list existing RestApis defined for your collection. * @return A Java Future containing the result of the GetRestApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRestApis */ default CompletableFuture getRestApis(GetRestApisRequest getRestApisRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the RestApis resources for your collection. *

* * @return A Java Future containing the result of the GetRestApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRestApis */ default CompletableFuture getRestApis() { return getRestApis(GetRestApisRequest.builder().build()); } /** *

* Lists the RestApis resources for your collection. *

*
* This is a convenience which creates an instance of the {@link GetRestApisRequest.Builder} avoiding the need to * create one manually via {@link GetRestApisRequest#builder()} * * @param getRestApisRequest * a {@link Consumer} that will call methods on {@link GetRestApisRequest.Builder}. * @return A Java Future containing the result of the GetRestApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetRestApis */ default CompletableFuture getRestApis(Consumer getRestApisRequest) { return getRestApis(GetRestApisRequest.builder().apply(getRestApisRequest).build()); } /** *

* Generates a client SDK for a RestApi and Stage. *

* * @param getSdkRequest * Request a new generated client SDK for a RestApi and Stage. * @return A Java Future containing the result of the GetSdk operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdk */ default CompletableFuture getSdk(GetSdkRequest getSdkRequest) { throw new UnsupportedOperationException(); } /** *

* Generates a client SDK for a RestApi and Stage. *

*
* This is a convenience which creates an instance of the {@link GetSdkRequest.Builder} avoiding the need to create * one manually via {@link GetSdkRequest#builder()} * * @param getSdkRequest * a {@link Consumer} that will call methods on {@link GetSdkRequest.Builder}. * @return A Java Future containing the result of the GetSdk operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdk */ default CompletableFuture getSdk(Consumer getSdkRequest) { return getSdk(GetSdkRequest.builder().apply(getSdkRequest).build()); } /** * Invokes the GetSdkType operation asynchronously. * * @param getSdkTypeRequest * Get an SdkType instance. * @return A Java Future containing the result of the GetSdkType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdkType */ default CompletableFuture getSdkType(GetSdkTypeRequest getSdkTypeRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetSdkType operation asynchronously.
* This is a convenience which creates an instance of the {@link GetSdkTypeRequest.Builder} avoiding the need to * create one manually via {@link GetSdkTypeRequest#builder()} * * @param getSdkTypeRequest * a {@link Consumer} that will call methods on {@link GetSdkTypeRequest.Builder}. * @return A Java Future containing the result of the GetSdkType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdkType */ default CompletableFuture getSdkType(Consumer getSdkTypeRequest) { return getSdkType(GetSdkTypeRequest.builder().apply(getSdkTypeRequest).build()); } /** * Invokes the GetSdkTypes operation asynchronously. * * @param getSdkTypesRequest * Get the SdkTypes collection. * @return A Java Future containing the result of the GetSdkTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdkTypes */ default CompletableFuture getSdkTypes(GetSdkTypesRequest getSdkTypesRequest) { throw new UnsupportedOperationException(); } /** * Invokes the GetSdkTypes operation asynchronously. * * @return A Java Future containing the result of the GetSdkTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdkTypes */ default CompletableFuture getSdkTypes() { return getSdkTypes(GetSdkTypesRequest.builder().build()); } /** * Invokes the GetSdkTypes operation asynchronously.
* This is a convenience which creates an instance of the {@link GetSdkTypesRequest.Builder} avoiding the need to * create one manually via {@link GetSdkTypesRequest#builder()} * * @param getSdkTypesRequest * a {@link Consumer} that will call methods on {@link GetSdkTypesRequest.Builder}. * @return A Java Future containing the result of the GetSdkTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetSdkTypes */ default CompletableFuture getSdkTypes(Consumer getSdkTypesRequest) { return getSdkTypes(GetSdkTypesRequest.builder().apply(getSdkTypesRequest).build()); } /** *

* Gets information about a Stage resource. *

* * @param getStageRequest * Requests Amazon API Gateway to get information about a Stage resource. * @return A Java Future containing the result of the GetStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetStage */ default CompletableFuture getStage(GetStageRequest getStageRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Stage resource. *

*
* This is a convenience which creates an instance of the {@link GetStageRequest.Builder} avoiding the need to * create one manually via {@link GetStageRequest#builder()} * * @param getStageRequest * a {@link Consumer} that will call methods on {@link GetStageRequest.Builder}. * @return A Java Future containing the result of the GetStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetStage */ default CompletableFuture getStage(Consumer getStageRequest) { return getStage(GetStageRequest.builder().apply(getStageRequest).build()); } /** *

* Gets information about one or more Stage resources. *

* * @param getStagesRequest * Requests Amazon API Gateway to get information about one or more Stage resources. * @return A Java Future containing the result of the GetStages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetStages */ default CompletableFuture getStages(GetStagesRequest getStagesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about one or more Stage resources. *

*
* This is a convenience which creates an instance of the {@link GetStagesRequest.Builder} avoiding the need to * create one manually via {@link GetStagesRequest#builder()} * * @param getStagesRequest * a {@link Consumer} that will call methods on {@link GetStagesRequest.Builder}. * @return A Java Future containing the result of the GetStages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetStages */ default CompletableFuture getStages(Consumer getStagesRequest) { return getStages(GetStagesRequest.builder().apply(getStagesRequest).build()); } /** *

* Gets the usage data of a usage plan in a specified time interval. *

* * @param getUsageRequest * The GET request to get the usage data of a usage plan in a specified time interval. * @return A Java Future containing the result of the GetUsage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsage */ default CompletableFuture getUsage(GetUsageRequest getUsageRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the usage data of a usage plan in a specified time interval. *

*
* This is a convenience which creates an instance of the {@link GetUsageRequest.Builder} avoiding the need to * create one manually via {@link GetUsageRequest#builder()} * * @param getUsageRequest * a {@link Consumer} that will call methods on {@link GetUsageRequest.Builder}. * @return A Java Future containing the result of the GetUsage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsage */ default CompletableFuture getUsage(Consumer getUsageRequest) { return getUsage(GetUsageRequest.builder().apply(getUsageRequest).build()); } /** *

* Gets a usage plan of a given plan identifier. *

* * @param getUsagePlanRequest * The GET request to get a usage plan of a given plan identifier. * @return A Java Future containing the result of the GetUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlan */ default CompletableFuture getUsagePlan(GetUsagePlanRequest getUsagePlanRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a usage plan of a given plan identifier. *

*
* This is a convenience which creates an instance of the {@link GetUsagePlanRequest.Builder} avoiding the need to * create one manually via {@link GetUsagePlanRequest#builder()} * * @param getUsagePlanRequest * a {@link Consumer} that will call methods on {@link GetUsagePlanRequest.Builder}. * @return A Java Future containing the result of the GetUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlan */ default CompletableFuture getUsagePlan(Consumer getUsagePlanRequest) { return getUsagePlan(GetUsagePlanRequest.builder().apply(getUsagePlanRequest).build()); } /** *

* Gets a usage plan key of a given key identifier. *

* * @param getUsagePlanKeyRequest * The GET request to get a usage plan key of a given key identifier. * @return A Java Future containing the result of the GetUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlanKey */ default CompletableFuture getUsagePlanKey(GetUsagePlanKeyRequest getUsagePlanKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a usage plan key of a given key identifier. *

*
* This is a convenience which creates an instance of the {@link GetUsagePlanKeyRequest.Builder} avoiding the need * to create one manually via {@link GetUsagePlanKeyRequest#builder()} * * @param getUsagePlanKeyRequest * a {@link Consumer} that will call methods on {@link GetUsagePlanKeyRequest.Builder}. * @return A Java Future containing the result of the GetUsagePlanKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlanKey */ default CompletableFuture getUsagePlanKey( Consumer getUsagePlanKeyRequest) { return getUsagePlanKey(GetUsagePlanKeyRequest.builder().apply(getUsagePlanKeyRequest).build()); } /** *

* Gets all the usage plan keys representing the API keys added to a specified usage plan. *

* * @param getUsagePlanKeysRequest * The GET request to get all the usage plan keys representing the API keys added to a specified usage plan. * @return A Java Future containing the result of the GetUsagePlanKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlanKeys */ default CompletableFuture getUsagePlanKeys(GetUsagePlanKeysRequest getUsagePlanKeysRequest) { throw new UnsupportedOperationException(); } /** *

* Gets all the usage plan keys representing the API keys added to a specified usage plan. *

*
* This is a convenience which creates an instance of the {@link GetUsagePlanKeysRequest.Builder} avoiding the need * to create one manually via {@link GetUsagePlanKeysRequest#builder()} * * @param getUsagePlanKeysRequest * a {@link Consumer} that will call methods on {@link GetUsagePlanKeysRequest.Builder}. * @return A Java Future containing the result of the GetUsagePlanKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlanKeys */ default CompletableFuture getUsagePlanKeys( Consumer getUsagePlanKeysRequest) { return getUsagePlanKeys(GetUsagePlanKeysRequest.builder().apply(getUsagePlanKeysRequest).build()); } /** *

* Gets all the usage plans of the caller's account. *

* * @param getUsagePlansRequest * The GET request to get all the usage plans of the caller's account. * @return A Java Future containing the result of the GetUsagePlans operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlans */ default CompletableFuture getUsagePlans(GetUsagePlansRequest getUsagePlansRequest) { throw new UnsupportedOperationException(); } /** *

* Gets all the usage plans of the caller's account. *

* * @return A Java Future containing the result of the GetUsagePlans operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlans */ default CompletableFuture getUsagePlans() { return getUsagePlans(GetUsagePlansRequest.builder().build()); } /** *

* Gets all the usage plans of the caller's account. *

*
* This is a convenience which creates an instance of the {@link GetUsagePlansRequest.Builder} avoiding the need to * create one manually via {@link GetUsagePlansRequest#builder()} * * @param getUsagePlansRequest * a {@link Consumer} that will call methods on {@link GetUsagePlansRequest.Builder}. * @return A Java Future containing the result of the GetUsagePlans operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.GetUsagePlans */ default CompletableFuture getUsagePlans(Consumer getUsagePlansRequest) { return getUsagePlans(GetUsagePlansRequest.builder().apply(getUsagePlansRequest).build()); } /** *

* Import API keys from an external source, such as a CSV-formatted file. *

* * @param importApiKeysRequest * The POST request to import API keys from an external source, such as a CSV-formatted file. * @return A Java Future containing the result of the ImportApiKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportApiKeys */ default CompletableFuture importApiKeys(ImportApiKeysRequest importApiKeysRequest) { throw new UnsupportedOperationException(); } /** *

* Import API keys from an external source, such as a CSV-formatted file. *

*
* This is a convenience which creates an instance of the {@link ImportApiKeysRequest.Builder} avoiding the need to * create one manually via {@link ImportApiKeysRequest#builder()} * * @param importApiKeysRequest * a {@link Consumer} that will call methods on {@link ImportApiKeysRequest.Builder}. * @return A Java Future containing the result of the ImportApiKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportApiKeys */ default CompletableFuture importApiKeys(Consumer importApiKeysRequest) { return importApiKeys(ImportApiKeysRequest.builder().apply(importApiKeysRequest).build()); } /** * Invokes the ImportDocumentationParts operation asynchronously. * * @param importDocumentationPartsRequest * Import documentation parts from an external (e.g., Swagger) definition file. * @return A Java Future containing the result of the ImportDocumentationParts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportDocumentationParts */ default CompletableFuture importDocumentationParts( ImportDocumentationPartsRequest importDocumentationPartsRequest) { throw new UnsupportedOperationException(); } /** * Invokes the ImportDocumentationParts operation asynchronously.
* This is a convenience which creates an instance of the {@link ImportDocumentationPartsRequest.Builder} avoiding * the need to create one manually via {@link ImportDocumentationPartsRequest#builder()} * * @param importDocumentationPartsRequest * a {@link Consumer} that will call methods on {@link ImportDocumentationPartsRequest.Builder}. * @return A Java Future containing the result of the ImportDocumentationParts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportDocumentationParts */ default CompletableFuture importDocumentationParts( Consumer importDocumentationPartsRequest) { return importDocumentationParts(ImportDocumentationPartsRequest.builder().apply(importDocumentationPartsRequest).build()); } /** *

* A feature of the Amazon API Gateway control service for creating a new API from an external API definition file. *

* * @param importRestApiRequest * A POST request to import an API to Amazon API Gateway using an input of an API definition file. * @return A Java Future containing the result of the ImportRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportRestApi */ default CompletableFuture importRestApi(ImportRestApiRequest importRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* A feature of the Amazon API Gateway control service for creating a new API from an external API definition file. *

*
* This is a convenience which creates an instance of the {@link ImportRestApiRequest.Builder} avoiding the need to * create one manually via {@link ImportRestApiRequest#builder()} * * @param importRestApiRequest * a {@link Consumer} that will call methods on {@link ImportRestApiRequest.Builder}. * @return A Java Future containing the result of the ImportRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.ImportRestApi */ default CompletableFuture importRestApi(Consumer importRestApiRequest) { return importRestApi(ImportRestApiRequest.builder().apply(importRestApiRequest).build()); } /** *

* Creates a customization of a GatewayResponse of a specified response type and status code on the given * RestApi. *

* * @param putGatewayResponseRequest * Creates a customization of a GatewayResponse of a specified response type and status code on the * given RestApi. * @return A Java Future containing the result of the PutGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutGatewayResponse */ default CompletableFuture putGatewayResponse(PutGatewayResponseRequest putGatewayResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a customization of a GatewayResponse of a specified response type and status code on the given * RestApi. *

*
* This is a convenience which creates an instance of the {@link PutGatewayResponseRequest.Builder} avoiding the * need to create one manually via {@link PutGatewayResponseRequest#builder()} * * @param putGatewayResponseRequest * a {@link Consumer} that will call methods on {@link PutGatewayResponseRequest.Builder}. * @return A Java Future containing the result of the PutGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutGatewayResponse */ default CompletableFuture putGatewayResponse( Consumer putGatewayResponseRequest) { return putGatewayResponse(PutGatewayResponseRequest.builder().apply(putGatewayResponseRequest).build()); } /** *

* Sets up a method's integration. *

* * @param putIntegrationRequest * Sets up a method's integration. * @return A Java Future containing the result of the PutIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutIntegration */ default CompletableFuture putIntegration(PutIntegrationRequest putIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Sets up a method's integration. *

*
* This is a convenience which creates an instance of the {@link PutIntegrationRequest.Builder} avoiding the need to * create one manually via {@link PutIntegrationRequest#builder()} * * @param putIntegrationRequest * a {@link Consumer} that will call methods on {@link PutIntegrationRequest.Builder}. * @return A Java Future containing the result of the PutIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutIntegration */ default CompletableFuture putIntegration(Consumer putIntegrationRequest) { return putIntegration(PutIntegrationRequest.builder().apply(putIntegrationRequest).build()); } /** *

* Represents a put integration. *

* * @param putIntegrationResponseRequest * Represents a put integration response request. * @return A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutIntegrationResponse */ default CompletableFuture putIntegrationResponse( PutIntegrationResponseRequest putIntegrationResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Represents a put integration. *

*
* This is a convenience which creates an instance of the {@link PutIntegrationResponseRequest.Builder} avoiding the * need to create one manually via {@link PutIntegrationResponseRequest#builder()} * * @param putIntegrationResponseRequest * a {@link Consumer} that will call methods on {@link PutIntegrationResponseRequest.Builder}. * @return A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutIntegrationResponse */ default CompletableFuture putIntegrationResponse( Consumer putIntegrationResponseRequest) { return putIntegrationResponse(PutIntegrationResponseRequest.builder().apply(putIntegrationResponseRequest).build()); } /** *

* Add a method to an existing Resource resource. *

* * @param putMethodRequest * Request to add a method to an existing Resource resource. * @return A Java Future containing the result of the PutMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutMethod */ default CompletableFuture putMethod(PutMethodRequest putMethodRequest) { throw new UnsupportedOperationException(); } /** *

* Add a method to an existing Resource resource. *

*
* This is a convenience which creates an instance of the {@link PutMethodRequest.Builder} avoiding the need to * create one manually via {@link PutMethodRequest#builder()} * * @param putMethodRequest * a {@link Consumer} that will call methods on {@link PutMethodRequest.Builder}. * @return A Java Future containing the result of the PutMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutMethod */ default CompletableFuture putMethod(Consumer putMethodRequest) { return putMethod(PutMethodRequest.builder().apply(putMethodRequest).build()); } /** *

* Adds a MethodResponse to an existing Method resource. *

* * @param putMethodResponseRequest * Request to add a MethodResponse to an existing Method resource. * @return A Java Future containing the result of the PutMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutMethodResponse */ default CompletableFuture putMethodResponse(PutMethodResponseRequest putMethodResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a MethodResponse to an existing Method resource. *

*
* This is a convenience which creates an instance of the {@link PutMethodResponseRequest.Builder} avoiding the need * to create one manually via {@link PutMethodResponseRequest#builder()} * * @param putMethodResponseRequest * a {@link Consumer} that will call methods on {@link PutMethodResponseRequest.Builder}. * @return A Java Future containing the result of the PutMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutMethodResponse */ default CompletableFuture putMethodResponse( Consumer putMethodResponseRequest) { return putMethodResponse(PutMethodResponseRequest.builder().apply(putMethodResponseRequest).build()); } /** *

* A feature of the Amazon 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. *

* * @param putRestApiRequest * A PUT request to update an existing API, with external API definitions specified as the request body. * @return A Java Future containing the result of the PutRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutRestApi */ default CompletableFuture putRestApi(PutRestApiRequest putRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* A feature of the Amazon 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. *

*
* This is a convenience which creates an instance of the {@link PutRestApiRequest.Builder} avoiding the need to * create one manually via {@link PutRestApiRequest#builder()} * * @param putRestApiRequest * a {@link Consumer} that will call methods on {@link PutRestApiRequest.Builder}. * @return A Java Future containing the result of the PutRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.PutRestApi */ default CompletableFuture putRestApi(Consumer putRestApiRequest) { return putRestApi(PutRestApiRequest.builder().apply(putRestApiRequest).build()); } /** *

* Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming * request body. *

* * * @param testInvokeAuthorizerRequest * Make a request to simulate the execution of an Authorizer. * @return A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.TestInvokeAuthorizer */ default CompletableFuture testInvokeAuthorizer( TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming * request body. *

*
* This is a convenience which creates an instance of the {@link TestInvokeAuthorizerRequest.Builder} avoiding the * need to create one manually via {@link TestInvokeAuthorizerRequest#builder()} * * @param testInvokeAuthorizerRequest * a {@link Consumer} that will call methods on {@link TestInvokeAuthorizerRequest.Builder}. * @return A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.TestInvokeAuthorizer */ default CompletableFuture testInvokeAuthorizer( Consumer testInvokeAuthorizerRequest) { return testInvokeAuthorizer(TestInvokeAuthorizerRequest.builder().apply(testInvokeAuthorizerRequest).build()); } /** *

* Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming * request body. *

* * @param testInvokeMethodRequest * Make a request to simulate the execution of a Method. * @return A Java Future containing the result of the TestInvokeMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.TestInvokeMethod */ default CompletableFuture testInvokeMethod(TestInvokeMethodRequest testInvokeMethodRequest) { throw new UnsupportedOperationException(); } /** *

* Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming * request body. *

*
* This is a convenience which creates an instance of the {@link TestInvokeMethodRequest.Builder} avoiding the need * to create one manually via {@link TestInvokeMethodRequest#builder()} * * @param testInvokeMethodRequest * a {@link Consumer} that will call methods on {@link TestInvokeMethodRequest.Builder}. * @return A Java Future containing the result of the TestInvokeMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.TestInvokeMethod */ default CompletableFuture testInvokeMethod( Consumer testInvokeMethodRequest) { return testInvokeMethod(TestInvokeMethodRequest.builder().apply(testInvokeMethodRequest).build()); } /** *

* Changes information about the current Account resource. *

* * @param updateAccountRequest * Requests Amazon API Gateway to change information about the current Account resource. * @return A Java Future containing the result of the UpdateAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateAccount */ default CompletableFuture updateAccount(UpdateAccountRequest updateAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about the current Account resource. *

*
* This is a convenience which creates an instance of the {@link UpdateAccountRequest.Builder} avoiding the need to * create one manually via {@link UpdateAccountRequest#builder()} * * @param updateAccountRequest * a {@link Consumer} that will call methods on {@link UpdateAccountRequest.Builder}. * @return A Java Future containing the result of the UpdateAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateAccount */ default CompletableFuture updateAccount(Consumer updateAccountRequest) { return updateAccount(UpdateAccountRequest.builder().apply(updateAccountRequest).build()); } /** *

* Changes information about an ApiKey resource. *

* * @param updateApiKeyRequest * A request to change information about an ApiKey resource. * @return A Java Future containing the result of the UpdateApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateApiKey */ default CompletableFuture updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about an ApiKey resource. *

*
* This is a convenience which creates an instance of the {@link UpdateApiKeyRequest.Builder} avoiding the need to * create one manually via {@link UpdateApiKeyRequest#builder()} * * @param updateApiKeyRequest * a {@link Consumer} that will call methods on {@link UpdateApiKeyRequest.Builder}. * @return A Java Future containing the result of the UpdateApiKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateApiKey */ default CompletableFuture updateApiKey(Consumer updateApiKeyRequest) { return updateApiKey(UpdateApiKeyRequest.builder().apply(updateApiKeyRequest).build()); } /** *

* Updates an existing Authorizer resource. *

* * * @param updateAuthorizerRequest * Request to update an existing Authorizer resource. * @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateAuthorizer */ default CompletableFuture updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an existing Authorizer resource. *

*
* This is a convenience which creates an instance of the {@link UpdateAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link UpdateAuthorizerRequest#builder()} * * @param updateAuthorizerRequest * a {@link Consumer} that will call methods on {@link UpdateAuthorizerRequest.Builder}. * @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateAuthorizer */ default CompletableFuture updateAuthorizer( Consumer updateAuthorizerRequest) { return updateAuthorizer(UpdateAuthorizerRequest.builder().apply(updateAuthorizerRequest).build()); } /** *

* Changes information about the BasePathMapping resource. *

* * @param updateBasePathMappingRequest * A request to change information about the BasePathMapping resource. * @return A Java Future containing the result of the UpdateBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateBasePathMapping */ default CompletableFuture updateBasePathMapping( UpdateBasePathMappingRequest updateBasePathMappingRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about the BasePathMapping resource. *

*
* This is a convenience which creates an instance of the {@link UpdateBasePathMappingRequest.Builder} avoiding the * need to create one manually via {@link UpdateBasePathMappingRequest#builder()} * * @param updateBasePathMappingRequest * a {@link Consumer} that will call methods on {@link UpdateBasePathMappingRequest.Builder}. * @return A Java Future containing the result of the UpdateBasePathMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateBasePathMapping */ default CompletableFuture updateBasePathMapping( Consumer updateBasePathMappingRequest) { return updateBasePathMapping(UpdateBasePathMappingRequest.builder().apply(updateBasePathMappingRequest).build()); } /** *

* Changes information about an ClientCertificate resource. *

* * @param updateClientCertificateRequest * A request to change information about an ClientCertificate resource. * @return A Java Future containing the result of the UpdateClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateClientCertificate */ default CompletableFuture updateClientCertificate( UpdateClientCertificateRequest updateClientCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about an ClientCertificate resource. *

*
* This is a convenience which creates an instance of the {@link UpdateClientCertificateRequest.Builder} avoiding * the need to create one manually via {@link UpdateClientCertificateRequest#builder()} * * @param updateClientCertificateRequest * a {@link Consumer} that will call methods on {@link UpdateClientCertificateRequest.Builder}. * @return A Java Future containing the result of the UpdateClientCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateClientCertificate */ default CompletableFuture updateClientCertificate( Consumer updateClientCertificateRequest) { return updateClientCertificate(UpdateClientCertificateRequest.builder().apply(updateClientCertificateRequest).build()); } /** *

* Changes information about a Deployment resource. *

* * @param updateDeploymentRequest * Requests Amazon API Gateway to change information about a Deployment resource. * @return A Java Future containing the result of the UpdateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDeployment */ default CompletableFuture updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about a Deployment resource. *

*
* This is a convenience which creates an instance of the {@link UpdateDeploymentRequest.Builder} avoiding the need * to create one manually via {@link UpdateDeploymentRequest#builder()} * * @param updateDeploymentRequest * a {@link Consumer} that will call methods on {@link UpdateDeploymentRequest.Builder}. * @return A Java Future containing the result of the UpdateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ServiceUnavailableException The requested service is not available. For details see the accompanying * error message. Retry after the specified time period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDeployment */ default CompletableFuture updateDeployment( Consumer updateDeploymentRequest) { return updateDeployment(UpdateDeploymentRequest.builder().apply(updateDeploymentRequest).build()); } /** * Invokes the UpdateDocumentationPart operation asynchronously. * * @param updateDocumentationPartRequest * Updates an existing documentation part of a given API. * @return A Java Future containing the result of the UpdateDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDocumentationPart */ default CompletableFuture updateDocumentationPart( UpdateDocumentationPartRequest updateDocumentationPartRequest) { throw new UnsupportedOperationException(); } /** * Invokes the UpdateDocumentationPart operation asynchronously.
* This is a convenience which creates an instance of the {@link UpdateDocumentationPartRequest.Builder} avoiding * the need to create one manually via {@link UpdateDocumentationPartRequest#builder()} * * @param updateDocumentationPartRequest * a {@link Consumer} that will call methods on {@link UpdateDocumentationPartRequest.Builder}. * @return A Java Future containing the result of the UpdateDocumentationPart operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDocumentationPart */ default CompletableFuture updateDocumentationPart( Consumer updateDocumentationPartRequest) { return updateDocumentationPart(UpdateDocumentationPartRequest.builder().apply(updateDocumentationPartRequest).build()); } /** * Invokes the UpdateDocumentationVersion operation asynchronously. * * @param updateDocumentationVersionRequest * Updates an existing documentation version of an API. * @return A Java Future containing the result of the UpdateDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDocumentationVersion */ default CompletableFuture updateDocumentationVersion( UpdateDocumentationVersionRequest updateDocumentationVersionRequest) { throw new UnsupportedOperationException(); } /** * Invokes the UpdateDocumentationVersion operation asynchronously.
* This is a convenience which creates an instance of the {@link UpdateDocumentationVersionRequest.Builder} avoiding * the need to create one manually via {@link UpdateDocumentationVersionRequest#builder()} * * @param updateDocumentationVersionRequest * a {@link Consumer} that will call methods on {@link UpdateDocumentationVersionRequest.Builder}. * @return A Java Future containing the result of the UpdateDocumentationVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDocumentationVersion */ default CompletableFuture updateDocumentationVersion( Consumer updateDocumentationVersionRequest) { return updateDocumentationVersion(UpdateDocumentationVersionRequest.builder().apply(updateDocumentationVersionRequest) .build()); } /** *

* Changes information about the DomainName resource. *

* * @param updateDomainNameRequest * A request to change information about the DomainName resource. * @return A Java Future containing the result of the UpdateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDomainName */ default CompletableFuture updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about the DomainName resource. *

*
* This is a convenience which creates an instance of the {@link UpdateDomainNameRequest.Builder} avoiding the need * to create one manually via {@link UpdateDomainNameRequest#builder()} * * @param updateDomainNameRequest * a {@link Consumer} that will call methods on {@link UpdateDomainNameRequest.Builder}. * @return A Java Future containing the result of the UpdateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateDomainName */ default CompletableFuture updateDomainName( Consumer updateDomainNameRequest) { return updateDomainName(UpdateDomainNameRequest.builder().apply(updateDomainNameRequest).build()); } /** *

* Updates a GatewayResponse of a specified response type on the given RestApi. *

* * @param updateGatewayResponseRequest * Updates a GatewayResponse of a specified response type on the given RestApi. * @return A Java Future containing the result of the UpdateGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateGatewayResponse */ default CompletableFuture updateGatewayResponse( UpdateGatewayResponseRequest updateGatewayResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a GatewayResponse of a specified response type on the given RestApi. *

*
* This is a convenience which creates an instance of the {@link UpdateGatewayResponseRequest.Builder} avoiding the * need to create one manually via {@link UpdateGatewayResponseRequest#builder()} * * @param updateGatewayResponseRequest * a {@link Consumer} that will call methods on {@link UpdateGatewayResponseRequest.Builder}. * @return A Java Future containing the result of the UpdateGatewayResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateGatewayResponse */ default CompletableFuture updateGatewayResponse( Consumer updateGatewayResponseRequest) { return updateGatewayResponse(UpdateGatewayResponseRequest.builder().apply(updateGatewayResponseRequest).build()); } /** *

* Represents an update integration. *

* * @param updateIntegrationRequest * Represents an update integration request. * @return A Java Future containing the result of the UpdateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateIntegration */ default CompletableFuture updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Represents an update integration. *

*
* This is a convenience which creates an instance of the {@link UpdateIntegrationRequest.Builder} avoiding the need * to create one manually via {@link UpdateIntegrationRequest#builder()} * * @param updateIntegrationRequest * a {@link Consumer} that will call methods on {@link UpdateIntegrationRequest.Builder}. * @return A Java Future containing the result of the UpdateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateIntegration */ default CompletableFuture updateIntegration( Consumer updateIntegrationRequest) { return updateIntegration(UpdateIntegrationRequest.builder().apply(updateIntegrationRequest).build()); } /** *

* Represents an update integration response. *

* * @param updateIntegrationResponseRequest * Represents an update integration response request. * @return A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateIntegrationResponse */ default CompletableFuture updateIntegrationResponse( UpdateIntegrationResponseRequest updateIntegrationResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Represents an update integration response. *

*
* This is a convenience which creates an instance of the {@link UpdateIntegrationResponseRequest.Builder} avoiding * the need to create one manually via {@link UpdateIntegrationResponseRequest#builder()} * * @param updateIntegrationResponseRequest * a {@link Consumer} that will call methods on {@link UpdateIntegrationResponseRequest.Builder}. * @return A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateIntegrationResponse */ default CompletableFuture updateIntegrationResponse( Consumer updateIntegrationResponseRequest) { return updateIntegrationResponse(UpdateIntegrationResponseRequest.builder().apply(updateIntegrationResponseRequest) .build()); } /** *

* Updates an existing Method resource. *

* * @param updateMethodRequest * Request to update an existing Method resource. * @return A Java Future containing the result of the UpdateMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateMethod */ default CompletableFuture updateMethod(UpdateMethodRequest updateMethodRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an existing Method resource. *

*
* This is a convenience which creates an instance of the {@link UpdateMethodRequest.Builder} avoiding the need to * create one manually via {@link UpdateMethodRequest#builder()} * * @param updateMethodRequest * a {@link Consumer} that will call methods on {@link UpdateMethodRequest.Builder}. * @return A Java Future containing the result of the UpdateMethod operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateMethod */ default CompletableFuture updateMethod(Consumer updateMethodRequest) { return updateMethod(UpdateMethodRequest.builder().apply(updateMethodRequest).build()); } /** *

* Updates an existing MethodResponse resource. *

* * @param updateMethodResponseRequest * A request to update an existing MethodResponse resource. * @return A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateMethodResponse */ default CompletableFuture updateMethodResponse( UpdateMethodResponseRequest updateMethodResponseRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an existing MethodResponse resource. *

*
* This is a convenience which creates an instance of the {@link UpdateMethodResponseRequest.Builder} avoiding the * need to create one manually via {@link UpdateMethodResponseRequest#builder()} * * @param updateMethodResponseRequest * a {@link Consumer} that will call methods on {@link UpdateMethodResponseRequest.Builder}. * @return A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • LimitExceededException The request exceeded the rate limit. Retry after the specified time period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateMethodResponse */ default CompletableFuture updateMethodResponse( Consumer updateMethodResponseRequest) { return updateMethodResponse(UpdateMethodResponseRequest.builder().apply(updateMethodResponseRequest).build()); } /** *

* Changes information about a model. *

* * @param updateModelRequest * Request to update an existing model in an existing RestApi resource. * @return A Java Future containing the result of the UpdateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateModel */ default CompletableFuture updateModel(UpdateModelRequest updateModelRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about a model. *

*
* This is a convenience which creates an instance of the {@link UpdateModelRequest.Builder} avoiding the need to * create one manually via {@link UpdateModelRequest#builder()} * * @param updateModelRequest * a {@link Consumer} that will call methods on {@link UpdateModelRequest.Builder}. * @return A Java Future containing the result of the UpdateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateModel */ default CompletableFuture updateModel(Consumer updateModelRequest) { return updateModel(UpdateModelRequest.builder().apply(updateModelRequest).build()); } /** *

* Updates a RequestValidator of a given RestApi. *

* * @param updateRequestValidatorRequest * Updates a RequestValidator of a given RestApi. * @return A Java Future containing the result of the UpdateRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateRequestValidator */ default CompletableFuture updateRequestValidator( UpdateRequestValidatorRequest updateRequestValidatorRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a RequestValidator of a given RestApi. *

*
* This is a convenience which creates an instance of the {@link UpdateRequestValidatorRequest.Builder} avoiding the * need to create one manually via {@link UpdateRequestValidatorRequest#builder()} * * @param updateRequestValidatorRequest * a {@link Consumer} that will call methods on {@link UpdateRequestValidatorRequest.Builder}. * @return A Java Future containing the result of the UpdateRequestValidator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateRequestValidator */ default CompletableFuture updateRequestValidator( Consumer updateRequestValidatorRequest) { return updateRequestValidator(UpdateRequestValidatorRequest.builder().apply(updateRequestValidatorRequest).build()); } /** *

* Changes information about a Resource resource. *

* * @param updateResourceRequest * Request to change information about a Resource resource. * @return A Java Future containing the result of the UpdateResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateResource */ default CompletableFuture updateResource(UpdateResourceRequest updateResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about a Resource resource. *

*
* This is a convenience which creates an instance of the {@link UpdateResourceRequest.Builder} avoiding the need to * create one manually via {@link UpdateResourceRequest#builder()} * * @param updateResourceRequest * a {@link Consumer} that will call methods on {@link UpdateResourceRequest.Builder}. * @return A Java Future containing the result of the UpdateResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateResource */ default CompletableFuture updateResource(Consumer updateResourceRequest) { return updateResource(UpdateResourceRequest.builder().apply(updateResourceRequest).build()); } /** *

* Changes information about the specified API. *

* * @param updateRestApiRequest * Request to update an existing RestApi resource in your collection. * @return A Java Future containing the result of the UpdateRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateRestApi */ default CompletableFuture updateRestApi(UpdateRestApiRequest updateRestApiRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about the specified API. *

*
* This is a convenience which creates an instance of the {@link UpdateRestApiRequest.Builder} avoiding the need to * create one manually via {@link UpdateRestApiRequest#builder()} * * @param updateRestApiRequest * a {@link Consumer} that will call methods on {@link UpdateRestApiRequest.Builder}. * @return A Java Future containing the result of the UpdateRestApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateRestApi */ default CompletableFuture updateRestApi(Consumer updateRestApiRequest) { return updateRestApi(UpdateRestApiRequest.builder().apply(updateRestApiRequest).build()); } /** *

* Changes information about a Stage resource. *

* * @param updateStageRequest * Requests Amazon API Gateway to change information about a Stage resource. * @return A Java Future containing the result of the UpdateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateStage */ default CompletableFuture updateStage(UpdateStageRequest updateStageRequest) { throw new UnsupportedOperationException(); } /** *

* Changes information about a Stage resource. *

*
* This is a convenience which creates an instance of the {@link UpdateStageRequest.Builder} avoiding the need to * create one manually via {@link UpdateStageRequest#builder()} * * @param updateStageRequest * a {@link Consumer} that will call methods on {@link UpdateStageRequest.Builder}. * @return A Java Future containing the result of the UpdateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateStage */ default CompletableFuture updateStage(Consumer updateStageRequest) { return updateStage(UpdateStageRequest.builder().apply(updateStageRequest).build()); } /** *

* Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key. *

* * @param updateUsageRequest * The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a * specified API key. * @return A Java Future containing the result of the UpdateUsage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateUsage */ default CompletableFuture updateUsage(UpdateUsageRequest updateUsageRequest) { throw new UnsupportedOperationException(); } /** *

* Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key. *

*
* This is a convenience which creates an instance of the {@link UpdateUsageRequest.Builder} avoiding the need to * create one manually via {@link UpdateUsageRequest#builder()} * * @param updateUsageRequest * a {@link Consumer} that will call methods on {@link UpdateUsageRequest.Builder}. * @return A Java Future containing the result of the UpdateUsage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateUsage */ default CompletableFuture updateUsage(Consumer updateUsageRequest) { return updateUsage(UpdateUsageRequest.builder().apply(updateUsageRequest).build()); } /** *

* Updates a usage plan of a given plan Id. *

* * @param updateUsagePlanRequest * The PATCH request to update a usage plan of a given plan Id. * @return A Java Future containing the result of the UpdateUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateUsagePlan */ default CompletableFuture updateUsagePlan(UpdateUsagePlanRequest updateUsagePlanRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a usage plan of a given plan Id. *

*
* This is a convenience which creates an instance of the {@link UpdateUsagePlanRequest.Builder} avoiding the need * to create one manually via {@link UpdateUsagePlanRequest#builder()} * * @param updateUsagePlanRequest * a {@link Consumer} that will call methods on {@link UpdateUsagePlanRequest.Builder}. * @return A Java Future containing the result of the UpdateUsagePlan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • UnauthorizedException The request is denied because the caller has insufficient permissions.
  • *
  • TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.
  • *
  • BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.
  • *
  • NotFoundException The requested resource is not found. Make sure that the request URI is correct.
  • *
  • ConflictException The request configuration has conflicts. For details, see the accompanying error * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • APIGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample APIGatewayAsyncClient.UpdateUsagePlan */ default CompletableFuture updateUsagePlan( Consumer updateUsagePlanRequest) { return updateUsagePlan(UpdateUsagePlanRequest.builder().apply(updateUsagePlanRequest).build()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy