software.amazon.awssdk.services.apigateway.APIGatewayAsyncClient Maven / Gradle / Ivy
Show all versions of api-gateway Show documentation
/*
* 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.
*
*