software.amazon.awssdk.services.apigatewayv2.ApiGatewayV2AsyncClient Maven / Gradle / Ivy
/*
* Copyright 2014-2019 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.apigatewayv2;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.apigatewayv2.model.CreateApiMappingRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateApiMappingResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateApiRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateApiResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateAuthorizerRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateAuthorizerResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateDeploymentRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateDeploymentResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateDomainNameRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateDomainNameResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateIntegrationRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateIntegrationResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateIntegrationResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateIntegrationResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateModelRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateModelResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateRouteRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateRouteResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateRouteResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateRouteResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.CreateStageRequest;
import software.amazon.awssdk.services.apigatewayv2.model.CreateStageResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteApiMappingRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteApiMappingResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteApiRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteApiResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteAuthorizerRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteAuthorizerResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteDeploymentRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteDeploymentResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteDomainNameRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteDomainNameResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteIntegrationRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteIntegrationResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteIntegrationResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteIntegrationResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteModelRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteModelResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteRouteRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteRouteResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteRouteResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteRouteResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteStageRequest;
import software.amazon.awssdk.services.apigatewayv2.model.DeleteStageResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiMappingRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiMappingResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiMappingsRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiMappingsResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetApiResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetApisRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetApisResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetAuthorizerRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetAuthorizerResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetAuthorizersRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetAuthorizersResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetDeploymentRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetDeploymentResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetDeploymentsRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetDeploymentsResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetDomainNameRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetDomainNameResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetDomainNamesRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetDomainNamesResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationResponsesRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationResponsesResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationsRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetIntegrationsResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelTemplateRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelTemplateResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelsRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetModelsResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteResponsesRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetRouteResponsesResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetRoutesRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetRoutesResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetStageRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetStageResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetStagesRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetStagesResponse;
import software.amazon.awssdk.services.apigatewayv2.model.GetTagsRequest;
import software.amazon.awssdk.services.apigatewayv2.model.GetTagsResponse;
import software.amazon.awssdk.services.apigatewayv2.model.TagResourceRequest;
import software.amazon.awssdk.services.apigatewayv2.model.TagResourceResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UntagResourceRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UntagResourceResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateApiMappingRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateApiMappingResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateApiRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateApiResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateAuthorizerRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateAuthorizerResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateDeploymentRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateDeploymentResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateDomainNameRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateDomainNameResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateIntegrationRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateIntegrationResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateIntegrationResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateIntegrationResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateModelRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateModelResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateRouteRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateRouteResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateRouteResponseRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateRouteResponseResponse;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateStageRequest;
import software.amazon.awssdk.services.apigatewayv2.model.UpdateStageResponse;
/**
* Service client for accessing AmazonApiGatewayV2 asynchronously. This can be created using the static
* {@link #builder()} method.
*
*
* Amazon API Gateway V2
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface ApiGatewayV2AsyncClient extends SdkClient {
String SERVICE_NAME = "apigateway";
/**
* Create a {@link ApiGatewayV2AsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static ApiGatewayV2AsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link ApiGatewayV2AsyncClient}.
*/
static ApiGatewayV2AsyncClientBuilder builder() {
return new DefaultApiGatewayV2AsyncClientBuilder();
}
/**
*
* Creates an Api resource.
*
*
* @param createApiRequest
* @return A Java Future containing the result of the CreateApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateApi
*/
default CompletableFuture createApi(CreateApiRequest createApiRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an Api resource.
*
*
*
* This is a convenience which creates an instance of the {@link CreateApiRequest.Builder} avoiding the need to
* create one manually via {@link CreateApiRequest#builder()}
*
*
* @param createApiRequest
* A {@link Consumer} that will call methods on {@link CreateApiRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateApi
*/
default CompletableFuture createApi(Consumer createApiRequest) {
return createApi(CreateApiRequest.builder().applyMutation(createApiRequest).build());
}
/**
*
* Creates an API mapping.
*
*
* @param createApiMappingRequest
* @return A Java Future containing the result of the CreateApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateApiMapping
*/
default CompletableFuture createApiMapping(CreateApiMappingRequest createApiMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an API mapping.
*
*
*
* This is a convenience which creates an instance of the {@link CreateApiMappingRequest.Builder} avoiding the need
* to create one manually via {@link CreateApiMappingRequest#builder()}
*
*
* @param createApiMappingRequest
* A {@link Consumer} that will call methods on {@link CreateApiMappingRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateApiMapping
*/
default CompletableFuture createApiMapping(
Consumer createApiMappingRequest) {
return createApiMapping(CreateApiMappingRequest.builder().applyMutation(createApiMappingRequest).build());
}
/**
*
* Creates an Authorizer for an API.
*
*
* @param createAuthorizerRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateAuthorizer
*/
default CompletableFuture createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an Authorizer for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateAuthorizer
*/
default CompletableFuture createAuthorizer(
Consumer createAuthorizerRequest) {
return createAuthorizer(CreateAuthorizerRequest.builder().applyMutation(createAuthorizerRequest).build());
}
/**
*
* Creates a Deployment for an API.
*
*
* @param createDeploymentRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateDeployment
*/
default CompletableFuture createDeployment(CreateDeploymentRequest createDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Deployment for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateDeployment
*/
default CompletableFuture createDeployment(
Consumer createDeploymentRequest) {
return createDeployment(CreateDeploymentRequest.builder().applyMutation(createDeploymentRequest).build());
}
/**
*
* Creates a domain name.
*
*
* @param createDomainNameRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateDomainName
*/
default CompletableFuture createDomainName(CreateDomainNameRequest createDomainNameRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateDomainName
*/
default CompletableFuture createDomainName(
Consumer createDomainNameRequest) {
return createDomainName(CreateDomainNameRequest.builder().applyMutation(createDomainNameRequest).build());
}
/**
*
* Creates an Integration.
*
*
* @param createIntegrationRequest
* @return A Java Future containing the result of the CreateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateIntegration
*/
default CompletableFuture createIntegration(CreateIntegrationRequest createIntegrationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an Integration.
*
*
*
* This is a convenience which creates an instance of the {@link CreateIntegrationRequest.Builder} avoiding the need
* to create one manually via {@link CreateIntegrationRequest#builder()}
*
*
* @param createIntegrationRequest
* A {@link Consumer} that will call methods on {@link CreateIntegrationRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateIntegration
*/
default CompletableFuture createIntegration(
Consumer createIntegrationRequest) {
return createIntegration(CreateIntegrationRequest.builder().applyMutation(createIntegrationRequest).build());
}
/**
*
* Creates an IntegrationResponses.
*
*
* @param createIntegrationResponseRequest
* @return A Java Future containing the result of the CreateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateIntegrationResponse
*/
default CompletableFuture createIntegrationResponse(
CreateIntegrationResponseRequest createIntegrationResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an IntegrationResponses.
*
*
*
* This is a convenience which creates an instance of the {@link CreateIntegrationResponseRequest.Builder} avoiding
* the need to create one manually via {@link CreateIntegrationResponseRequest#builder()}
*
*
* @param createIntegrationResponseRequest
* A {@link Consumer} that will call methods on {@link CreateIntegrationResponseRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateIntegrationResponse
*/
default CompletableFuture createIntegrationResponse(
Consumer createIntegrationResponseRequest) {
return createIntegrationResponse(CreateIntegrationResponseRequest.builder()
.applyMutation(createIntegrationResponseRequest).build());
}
/**
*
* Creates a Model for an API.
*
*
* @param createModelRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateModel
*/
default CompletableFuture createModel(CreateModelRequest createModelRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Model for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateModel
*/
default CompletableFuture createModel(Consumer createModelRequest) {
return createModel(CreateModelRequest.builder().applyMutation(createModelRequest).build());
}
/**
*
* Creates a Route for an API.
*
*
* @param createRouteRequest
* @return A Java Future containing the result of the CreateRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateRoute
*/
default CompletableFuture createRoute(CreateRouteRequest createRouteRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Route for an API.
*
*
*
* This is a convenience which creates an instance of the {@link CreateRouteRequest.Builder} avoiding the need to
* create one manually via {@link CreateRouteRequest#builder()}
*
*
* @param createRouteRequest
* A {@link Consumer} that will call methods on {@link CreateRouteRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateRoute
*/
default CompletableFuture createRoute(Consumer createRouteRequest) {
return createRoute(CreateRouteRequest.builder().applyMutation(createRouteRequest).build());
}
/**
*
* Creates a RouteResponse for a Route.
*
*
* @param createRouteResponseRequest
* @return A Java Future containing the result of the CreateRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateRouteResponse
*/
default CompletableFuture createRouteResponse(
CreateRouteResponseRequest createRouteResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a RouteResponse for a Route.
*
*
*
* This is a convenience which creates an instance of the {@link CreateRouteResponseRequest.Builder} avoiding the
* need to create one manually via {@link CreateRouteResponseRequest#builder()}
*
*
* @param createRouteResponseRequest
* A {@link Consumer} that will call methods on {@link CreateRouteResponseRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateRouteResponse
*/
default CompletableFuture createRouteResponse(
Consumer createRouteResponseRequest) {
return createRouteResponse(CreateRouteResponseRequest.builder().applyMutation(createRouteResponseRequest).build());
}
/**
*
* Creates a Stage for an API.
*
*
* @param createStageRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateStage
*/
default CompletableFuture createStage(CreateStageRequest createStageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Stage for an 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.CreateStage
*/
default CompletableFuture createStage(Consumer createStageRequest) {
return createStage(CreateStageRequest.builder().applyMutation(createStageRequest).build());
}
/**
*
* Deletes an Api resource.
*
*
* @param deleteApiRequest
* @return A Java Future containing the result of the DeleteApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteApi
*/
default CompletableFuture deleteApi(DeleteApiRequest deleteApiRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an Api resource.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApiRequest.Builder} avoiding the need to
* create one manually via {@link DeleteApiRequest#builder()}
*
*
* @param deleteApiRequest
* A {@link Consumer} that will call methods on {@link DeleteApiRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteApi
*/
default CompletableFuture deleteApi(Consumer deleteApiRequest) {
return deleteApi(DeleteApiRequest.builder().applyMutation(deleteApiRequest).build());
}
/**
*
* Deletes an API mapping.
*
*
* @param deleteApiMappingRequest
* @return A Java Future containing the result of the DeleteApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteApiMapping
*/
default CompletableFuture deleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an API mapping.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApiMappingRequest.Builder} avoiding the need
* to create one manually via {@link DeleteApiMappingRequest#builder()}
*
*
* @param deleteApiMappingRequest
* A {@link Consumer} that will call methods on {@link DeleteApiMappingRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteApiMapping
*/
default CompletableFuture deleteApiMapping(
Consumer deleteApiMappingRequest) {
return deleteApiMapping(DeleteApiMappingRequest.builder().applyMutation(deleteApiMappingRequest).build());
}
/**
*
* Deletes an Authorizer.
*
*
* @param deleteAuthorizerRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteAuthorizer
*/
default CompletableFuture deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an Authorizer.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteAuthorizer
*/
default CompletableFuture deleteAuthorizer(
Consumer deleteAuthorizerRequest) {
return deleteAuthorizer(DeleteAuthorizerRequest.builder().applyMutation(deleteAuthorizerRequest).build());
}
/**
*
* Deletes a Deployment.
*
*
* @param deleteDeploymentRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteDeployment
*/
default CompletableFuture deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a Deployment.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteDeployment
*/
default CompletableFuture deleteDeployment(
Consumer deleteDeploymentRequest) {
return deleteDeployment(DeleteDeploymentRequest.builder().applyMutation(deleteDeploymentRequest).build());
}
/**
*
* Deletes a domain name.
*
*
* @param deleteDomainNameRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteDomainName
*/
default CompletableFuture deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a domain name.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteDomainName
*/
default CompletableFuture deleteDomainName(
Consumer deleteDomainNameRequest) {
return deleteDomainName(DeleteDomainNameRequest.builder().applyMutation(deleteDomainNameRequest).build());
}
/**
*
* Deletes an Integration.
*
*
* @param deleteIntegrationRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteIntegration
*/
default CompletableFuture deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an 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} to create a 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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteIntegration
*/
default CompletableFuture deleteIntegration(
Consumer deleteIntegrationRequest) {
return deleteIntegration(DeleteIntegrationRequest.builder().applyMutation(deleteIntegrationRequest).build());
}
/**
*
* Deletes an IntegrationResponses.
*
*
* @param deleteIntegrationResponseRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteIntegrationResponse
*/
default CompletableFuture deleteIntegrationResponse(
DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an IntegrationResponses.
*
*
*
* 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} to create a
* 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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteIntegrationResponse
*/
default CompletableFuture deleteIntegrationResponse(
Consumer deleteIntegrationResponseRequest) {
return deleteIntegrationResponse(DeleteIntegrationResponseRequest.builder()
.applyMutation(deleteIntegrationResponseRequest).build());
}
/**
*
* Deletes a Model.
*
*
* @param deleteModelRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteModel
*/
default CompletableFuture deleteModel(Consumer deleteModelRequest) {
return deleteModel(DeleteModelRequest.builder().applyMutation(deleteModelRequest).build());
}
/**
*
* Deletes a Route.
*
*
* @param deleteRouteRequest
* @return A Java Future containing the result of the DeleteRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteRoute
*/
default CompletableFuture deleteRoute(DeleteRouteRequest deleteRouteRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a Route.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRouteRequest.Builder} avoiding the need to
* create one manually via {@link DeleteRouteRequest#builder()}
*
*
* @param deleteRouteRequest
* A {@link Consumer} that will call methods on {@link DeleteRouteRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteRoute
*/
default CompletableFuture deleteRoute(Consumer deleteRouteRequest) {
return deleteRoute(DeleteRouteRequest.builder().applyMutation(deleteRouteRequest).build());
}
/**
*
* Deletes a RouteResponse.
*
*
* @param deleteRouteResponseRequest
* @return A Java Future containing the result of the DeleteRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteRouteResponse
*/
default CompletableFuture deleteRouteResponse(
DeleteRouteResponseRequest deleteRouteResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a RouteResponse.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRouteResponseRequest.Builder} avoiding the
* need to create one manually via {@link DeleteRouteResponseRequest#builder()}
*
*
* @param deleteRouteResponseRequest
* A {@link Consumer} that will call methods on {@link DeleteRouteResponseRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteRouteResponse
*/
default CompletableFuture deleteRouteResponse(
Consumer deleteRouteResponseRequest) {
return deleteRouteResponse(DeleteRouteResponseRequest.builder().applyMutation(deleteRouteResponseRequest).build());
}
/**
*
* Deletes a Stage.
*
*
* @param deleteStageRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteStage
*/
default CompletableFuture deleteStage(DeleteStageRequest deleteStageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a Stage.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.DeleteStage
*/
default CompletableFuture deleteStage(Consumer deleteStageRequest) {
return deleteStage(DeleteStageRequest.builder().applyMutation(deleteStageRequest).build());
}
/**
*
* Gets an Api resource.
*
*
* @param getApiRequest
* @return A Java Future containing the result of the GetApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApi
*/
default CompletableFuture getApi(GetApiRequest getApiRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an Api resource.
*
*
*
* This is a convenience which creates an instance of the {@link GetApiRequest.Builder} avoiding the need to create
* one manually via {@link GetApiRequest#builder()}
*
*
* @param getApiRequest
* A {@link Consumer} that will call methods on {@link GetApiRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApi
*/
default CompletableFuture getApi(Consumer getApiRequest) {
return getApi(GetApiRequest.builder().applyMutation(getApiRequest).build());
}
/**
*
* The API mapping.
*
*
* @param getApiMappingRequest
* @return A Java Future containing the result of the GetApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApiMapping
*/
default CompletableFuture getApiMapping(GetApiMappingRequest getApiMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* The API mapping.
*
*
*
* This is a convenience which creates an instance of the {@link GetApiMappingRequest.Builder} avoiding the need to
* create one manually via {@link GetApiMappingRequest#builder()}
*
*
* @param getApiMappingRequest
* A {@link Consumer} that will call methods on {@link GetApiMappingRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApiMapping
*/
default CompletableFuture getApiMapping(Consumer getApiMappingRequest) {
return getApiMapping(GetApiMappingRequest.builder().applyMutation(getApiMappingRequest).build());
}
/**
*
* The API mappings.
*
*
* @param getApiMappingsRequest
* @return A Java Future containing the result of the GetApiMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApiMappings
*/
default CompletableFuture getApiMappings(GetApiMappingsRequest getApiMappingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* The API mappings.
*
*
*
* This is a convenience which creates an instance of the {@link GetApiMappingsRequest.Builder} avoiding the need to
* create one manually via {@link GetApiMappingsRequest#builder()}
*
*
* @param getApiMappingsRequest
* A {@link Consumer} that will call methods on {@link GetApiMappingsRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetApiMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApiMappings
*/
default CompletableFuture getApiMappings(Consumer getApiMappingsRequest) {
return getApiMappings(GetApiMappingsRequest.builder().applyMutation(getApiMappingsRequest).build());
}
/**
*
* Gets a collection of Api resources.
*
*
* @param getApisRequest
* @return A Java Future containing the result of the GetApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApis
*/
default CompletableFuture getApis(GetApisRequest getApisRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a collection of Api resources.
*
*
*
* This is a convenience which creates an instance of the {@link GetApisRequest.Builder} avoiding the need to create
* one manually via {@link GetApisRequest#builder()}
*
*
* @param getApisRequest
* A {@link Consumer} that will call methods on {@link GetApisRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApis
*/
default CompletableFuture getApis(Consumer getApisRequest) {
return getApis(GetApisRequest.builder().applyMutation(getApisRequest).build());
}
/**
*
* Gets a collection of Api resources.
*
*
* @return A Java Future containing the result of the GetApis operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetApis
*/
default CompletableFuture getApis() {
return getApis(GetApisRequest.builder().build());
}
/**
*
* Gets an Authorizer.
*
*
* @param getAuthorizerRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetAuthorizer
*/
default CompletableFuture getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an Authorizer.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetAuthorizer
*/
default CompletableFuture getAuthorizer(Consumer getAuthorizerRequest) {
return getAuthorizer(GetAuthorizerRequest.builder().applyMutation(getAuthorizerRequest).build());
}
/**
*
* Gets the Authorizers for an API.
*
*
* @param getAuthorizersRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetAuthorizers
*/
default CompletableFuture getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Authorizers for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetAuthorizers
*/
default CompletableFuture getAuthorizers(Consumer getAuthorizersRequest) {
return getAuthorizers(GetAuthorizersRequest.builder().applyMutation(getAuthorizersRequest).build());
}
/**
*
* Gets a Deployment.
*
*
* @param getDeploymentRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDeployment
*/
default CompletableFuture getDeployment(GetDeploymentRequest getDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a Deployment.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDeployment
*/
default CompletableFuture getDeployment(Consumer getDeploymentRequest) {
return getDeployment(GetDeploymentRequest.builder().applyMutation(getDeploymentRequest).build());
}
/**
*
* Gets the Deployments for an API.
*
*
* @param getDeploymentsRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDeployments
*/
default CompletableFuture getDeployments(GetDeploymentsRequest getDeploymentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Deployments for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDeployments
*/
default CompletableFuture getDeployments(Consumer getDeploymentsRequest) {
return getDeployments(GetDeploymentsRequest.builder().applyMutation(getDeploymentsRequest).build());
}
/**
*
* Gets a domain name.
*
*
* @param getDomainNameRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDomainName
*/
default CompletableFuture getDomainName(GetDomainNameRequest getDomainNameRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a domain name.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDomainName
*/
default CompletableFuture getDomainName(Consumer getDomainNameRequest) {
return getDomainName(GetDomainNameRequest.builder().applyMutation(getDomainNameRequest).build());
}
/**
*
* Gets the domain names for an AWS account.
*
*
* @param getDomainNamesRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDomainNames
*/
default CompletableFuture getDomainNames(GetDomainNamesRequest getDomainNamesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the domain names for an AWS account.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDomainNames
*/
default CompletableFuture getDomainNames(Consumer getDomainNamesRequest) {
return getDomainNames(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
}
/**
*
* Gets the domain names for an AWS account.
*
*
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetDomainNames
*/
default CompletableFuture getDomainNames() {
return getDomainNames(GetDomainNamesRequest.builder().build());
}
/**
*
* Gets an Integration.
*
*
* @param getIntegrationRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegration
*/
default CompletableFuture getIntegration(GetIntegrationRequest getIntegrationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an 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} to create a 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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegration
*/
default CompletableFuture getIntegration(Consumer getIntegrationRequest) {
return getIntegration(GetIntegrationRequest.builder().applyMutation(getIntegrationRequest).build());
}
/**
*
* Gets an IntegrationResponses.
*
*
* @param getIntegrationResponseRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrationResponse
*/
default CompletableFuture getIntegrationResponse(
GetIntegrationResponseRequest getIntegrationResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an IntegrationResponses.
*
*
*
* 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} to create a
* 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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrationResponse
*/
default CompletableFuture getIntegrationResponse(
Consumer getIntegrationResponseRequest) {
return getIntegrationResponse(GetIntegrationResponseRequest.builder().applyMutation(getIntegrationResponseRequest)
.build());
}
/**
*
* Gets the IntegrationResponses for an Integration.
*
*
* @param getIntegrationResponsesRequest
* @return A Java Future containing the result of the GetIntegrationResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrationResponses
*/
default CompletableFuture getIntegrationResponses(
GetIntegrationResponsesRequest getIntegrationResponsesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the IntegrationResponses for an Integration.
*
*
*
* This is a convenience which creates an instance of the {@link GetIntegrationResponsesRequest.Builder} avoiding
* the need to create one manually via {@link GetIntegrationResponsesRequest#builder()}
*
*
* @param getIntegrationResponsesRequest
* A {@link Consumer} that will call methods on {@link GetIntegrationResponsesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetIntegrationResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrationResponses
*/
default CompletableFuture getIntegrationResponses(
Consumer getIntegrationResponsesRequest) {
return getIntegrationResponses(GetIntegrationResponsesRequest.builder().applyMutation(getIntegrationResponsesRequest)
.build());
}
/**
*
* Gets the Integrations for an API.
*
*
* @param getIntegrationsRequest
* @return A Java Future containing the result of the GetIntegrations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrations
*/
default CompletableFuture getIntegrations(GetIntegrationsRequest getIntegrationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Integrations for an API.
*
*
*
* This is a convenience which creates an instance of the {@link GetIntegrationsRequest.Builder} avoiding the need
* to create one manually via {@link GetIntegrationsRequest#builder()}
*
*
* @param getIntegrationsRequest
* A {@link Consumer} that will call methods on {@link GetIntegrationsRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetIntegrations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetIntegrations
*/
default CompletableFuture getIntegrations(
Consumer getIntegrationsRequest) {
return getIntegrations(GetIntegrationsRequest.builder().applyMutation(getIntegrationsRequest).build());
}
/**
*
* Gets a Model.
*
*
* @param getModelRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModel
*/
default CompletableFuture getModel(GetModelRequest getModelRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a Model.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModel
*/
default CompletableFuture getModel(Consumer getModelRequest) {
return getModel(GetModelRequest.builder().applyMutation(getModelRequest).build());
}
/**
*
* Gets a model template.
*
*
* @param getModelTemplateRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModelTemplate
*/
default CompletableFuture getModelTemplate(GetModelTemplateRequest getModelTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a model template.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModelTemplate
*/
default CompletableFuture getModelTemplate(
Consumer getModelTemplateRequest) {
return getModelTemplate(GetModelTemplateRequest.builder().applyMutation(getModelTemplateRequest).build());
}
/**
*
* Gets the Models for an API.
*
*
* @param getModelsRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModels
*/
default CompletableFuture getModels(GetModelsRequest getModelsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Models for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetModels
*/
default CompletableFuture getModels(Consumer getModelsRequest) {
return getModels(GetModelsRequest.builder().applyMutation(getModelsRequest).build());
}
/**
*
* Gets a Route.
*
*
* @param getRouteRequest
* @return A Java Future containing the result of the GetRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRoute
*/
default CompletableFuture getRoute(GetRouteRequest getRouteRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a Route.
*
*
*
* This is a convenience which creates an instance of the {@link GetRouteRequest.Builder} avoiding the need to
* create one manually via {@link GetRouteRequest#builder()}
*
*
* @param getRouteRequest
* A {@link Consumer} that will call methods on {@link GetRouteRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRoute
*/
default CompletableFuture getRoute(Consumer getRouteRequest) {
return getRoute(GetRouteRequest.builder().applyMutation(getRouteRequest).build());
}
/**
*
* Gets a RouteResponse.
*
*
* @param getRouteResponseRequest
* @return A Java Future containing the result of the GetRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRouteResponse
*/
default CompletableFuture getRouteResponse(GetRouteResponseRequest getRouteResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a RouteResponse.
*
*
*
* This is a convenience which creates an instance of the {@link GetRouteResponseRequest.Builder} avoiding the need
* to create one manually via {@link GetRouteResponseRequest#builder()}
*
*
* @param getRouteResponseRequest
* A {@link Consumer} that will call methods on {@link GetRouteResponseRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRouteResponse
*/
default CompletableFuture getRouteResponse(
Consumer getRouteResponseRequest) {
return getRouteResponse(GetRouteResponseRequest.builder().applyMutation(getRouteResponseRequest).build());
}
/**
*
* Gets the RouteResponses for a Route.
*
*
* @param getRouteResponsesRequest
* @return A Java Future containing the result of the GetRouteResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRouteResponses
*/
default CompletableFuture getRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the RouteResponses for a Route.
*
*
*
* This is a convenience which creates an instance of the {@link GetRouteResponsesRequest.Builder} avoiding the need
* to create one manually via {@link GetRouteResponsesRequest#builder()}
*
*
* @param getRouteResponsesRequest
* A {@link Consumer} that will call methods on {@link GetRouteResponsesRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetRouteResponses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRouteResponses
*/
default CompletableFuture getRouteResponses(
Consumer getRouteResponsesRequest) {
return getRouteResponses(GetRouteResponsesRequest.builder().applyMutation(getRouteResponsesRequest).build());
}
/**
*
* Gets the Routes for an API.
*
*
* @param getRoutesRequest
* @return A Java Future containing the result of the GetRoutes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRoutes
*/
default CompletableFuture getRoutes(GetRoutesRequest getRoutesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Routes for an API.
*
*
*
* This is a convenience which creates an instance of the {@link GetRoutesRequest.Builder} avoiding the need to
* create one manually via {@link GetRoutesRequest#builder()}
*
*
* @param getRoutesRequest
* A {@link Consumer} that will call methods on {@link GetRoutesRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetRoutes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetRoutes
*/
default CompletableFuture getRoutes(Consumer getRoutesRequest) {
return getRoutes(GetRoutesRequest.builder().applyMutation(getRoutesRequest).build());
}
/**
*
* Gets a Stage.
*
*
* @param getStageRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetStage
*/
default CompletableFuture getStage(GetStageRequest getStageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a Stage.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetStage
*/
default CompletableFuture getStage(Consumer getStageRequest) {
return getStage(GetStageRequest.builder().applyMutation(getStageRequest).build());
}
/**
*
* Gets the Stages for an API.
*
*
* @param getStagesRequest
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetStages
*/
default CompletableFuture getStages(GetStagesRequest getStagesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Stages for an API.
*
*
*
* 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} to create a request.
* @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.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetStages
*/
default CompletableFuture getStages(Consumer getStagesRequest) {
return getStages(GetStagesRequest.builder().applyMutation(getStagesRequest).build());
}
/**
*
* Gets the Tags for an API.
*
*
* @param getTagsRequest
* @return A Java Future containing the result of the GetTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetTags
*/
default CompletableFuture getTags(GetTagsRequest getTagsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the Tags for an API.
*
*
*
* This is a convenience which creates an instance of the {@link GetTagsRequest.Builder} avoiding the need to create
* one manually via {@link GetTagsRequest#builder()}
*
*
* @param getTagsRequest
* A {@link Consumer} that will call methods on {@link GetTagsRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.GetTags
*/
default CompletableFuture getTags(Consumer getTagsRequest) {
return getTags(GetTagsRequest.builder().applyMutation(getTagsRequest).build());
}
/**
*
* Tag an APIGW resource
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.TagResource
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Tag an APIGW resource
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.TagResource
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Untag an APIGW resource
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UntagResource
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Untag an APIGW resource
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UntagResource
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates an Api resource.
*
*
* @param updateApiRequest
* @return A Java Future containing the result of the UpdateApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateApi
*/
default CompletableFuture updateApi(UpdateApiRequest updateApiRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Api resource.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApiRequest.Builder} avoiding the need to
* create one manually via {@link UpdateApiRequest#builder()}
*
*
* @param updateApiRequest
* A {@link Consumer} that will call methods on {@link UpdateApiRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateApi operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateApi
*/
default CompletableFuture updateApi(Consumer updateApiRequest) {
return updateApi(UpdateApiRequest.builder().applyMutation(updateApiRequest).build());
}
/**
*
* The API mapping.
*
*
* @param updateApiMappingRequest
* @return A Java Future containing the result of the UpdateApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateApiMapping
*/
default CompletableFuture updateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* The API mapping.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApiMappingRequest.Builder} avoiding the need
* to create one manually via {@link UpdateApiMappingRequest#builder()}
*
*
* @param updateApiMappingRequest
* A {@link Consumer} that will call methods on {@link UpdateApiMappingRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateApiMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateApiMapping
*/
default CompletableFuture updateApiMapping(
Consumer updateApiMappingRequest) {
return updateApiMapping(UpdateApiMappingRequest.builder().applyMutation(updateApiMappingRequest).build());
}
/**
*
* Updates an Authorizer.
*
*
* @param updateAuthorizerRequest
* @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateAuthorizer
*/
default CompletableFuture updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Authorizer.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAuthorizerRequest.Builder} avoiding the need
* to create one manually via {@link UpdateAuthorizerRequest#builder()}
*
*
* @param updateAuthorizerRequest
* A {@link Consumer} that will call methods on {@link UpdateAuthorizerRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateAuthorizer
*/
default CompletableFuture updateAuthorizer(
Consumer updateAuthorizerRequest) {
return updateAuthorizer(UpdateAuthorizerRequest.builder().applyMutation(updateAuthorizerRequest).build());
}
/**
*
* Updates a Deployment.
*
*
* @param updateDeploymentRequest
* @return A Java Future containing the result of the UpdateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateDeployment
*/
default CompletableFuture updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a Deployment.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDeploymentRequest.Builder} avoiding the need
* to create one manually via {@link UpdateDeploymentRequest#builder()}
*
*
* @param updateDeploymentRequest
* A {@link Consumer} that will call methods on {@link UpdateDeploymentRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateDeployment
*/
default CompletableFuture updateDeployment(
Consumer updateDeploymentRequest) {
return updateDeployment(UpdateDeploymentRequest.builder().applyMutation(updateDeploymentRequest).build());
}
/**
*
* Updates a domain name.
*
*
* @param updateDomainNameRequest
* @return A Java Future containing the result of the UpdateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateDomainName
*/
default CompletableFuture updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a domain name.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDomainNameRequest.Builder} avoiding the need
* to create one manually via {@link UpdateDomainNameRequest#builder()}
*
*
* @param updateDomainNameRequest
* A {@link Consumer} that will call methods on {@link UpdateDomainNameRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateDomainName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateDomainName
*/
default CompletableFuture updateDomainName(
Consumer updateDomainNameRequest) {
return updateDomainName(UpdateDomainNameRequest.builder().applyMutation(updateDomainNameRequest).build());
}
/**
*
* Updates an Integration.
*
*
* @param updateIntegrationRequest
* @return A Java Future containing the result of the UpdateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateIntegration
*/
default CompletableFuture updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Integration.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateIntegrationRequest.Builder} avoiding the need
* to create one manually via {@link UpdateIntegrationRequest#builder()}
*
*
* @param updateIntegrationRequest
* A {@link Consumer} that will call methods on {@link UpdateIntegrationRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateIntegration
*/
default CompletableFuture updateIntegration(
Consumer updateIntegrationRequest) {
return updateIntegration(UpdateIntegrationRequest.builder().applyMutation(updateIntegrationRequest).build());
}
/**
*
* Updates an IntegrationResponses.
*
*
* @param updateIntegrationResponseRequest
* @return A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateIntegrationResponse
*/
default CompletableFuture updateIntegrationResponse(
UpdateIntegrationResponseRequest updateIntegrationResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an IntegrationResponses.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateIntegrationResponseRequest.Builder} avoiding
* the need to create one manually via {@link UpdateIntegrationResponseRequest#builder()}
*
*
* @param updateIntegrationResponseRequest
* A {@link Consumer} that will call methods on {@link UpdateIntegrationResponseRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateIntegrationResponse
*/
default CompletableFuture updateIntegrationResponse(
Consumer updateIntegrationResponseRequest) {
return updateIntegrationResponse(UpdateIntegrationResponseRequest.builder()
.applyMutation(updateIntegrationResponseRequest).build());
}
/**
*
* Updates a Model.
*
*
* @param updateModelRequest
* @return A Java Future containing the result of the UpdateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateModel
*/
default CompletableFuture updateModel(UpdateModelRequest updateModelRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a Model.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateModelRequest.Builder} avoiding the need to
* create one manually via {@link UpdateModelRequest#builder()}
*
*
* @param updateModelRequest
* A {@link Consumer} that will call methods on {@link UpdateModelRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateModel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateModel
*/
default CompletableFuture updateModel(Consumer updateModelRequest) {
return updateModel(UpdateModelRequest.builder().applyMutation(updateModelRequest).build());
}
/**
*
* Updates a Route.
*
*
* @param updateRouteRequest
* @return A Java Future containing the result of the UpdateRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateRoute
*/
default CompletableFuture updateRoute(UpdateRouteRequest updateRouteRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a Route.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRouteRequest.Builder} avoiding the need to
* create one manually via {@link UpdateRouteRequest#builder()}
*
*
* @param updateRouteRequest
* A {@link Consumer} that will call methods on {@link UpdateRouteRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateRoute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateRoute
*/
default CompletableFuture updateRoute(Consumer updateRouteRequest) {
return updateRoute(UpdateRouteRequest.builder().applyMutation(updateRouteRequest).build());
}
/**
*
* Updates a RouteResponse.
*
*
* @param updateRouteResponseRequest
* @return A Java Future containing the result of the UpdateRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateRouteResponse
*/
default CompletableFuture updateRouteResponse(
UpdateRouteResponseRequest updateRouteResponseRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a RouteResponse.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRouteResponseRequest.Builder} avoiding the
* need to create one manually via {@link UpdateRouteResponseRequest#builder()}
*
*
* @param updateRouteResponseRequest
* A {@link Consumer} that will call methods on {@link UpdateRouteResponseRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateRouteResponse operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateRouteResponse
*/
default CompletableFuture updateRouteResponse(
Consumer updateRouteResponseRequest) {
return updateRouteResponse(UpdateRouteResponseRequest.builder().applyMutation(updateRouteResponseRequest).build());
}
/**
*
* Updates a Stage.
*
*
* @param updateStageRequest
* @return A Java Future containing the result of the UpdateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateStage
*/
default CompletableFuture updateStage(UpdateStageRequest updateStageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a Stage.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateStageRequest.Builder} avoiding the need to
* create one manually via {@link UpdateStageRequest#builder()}
*
*
* @param updateStageRequest
* A {@link Consumer} that will call methods on {@link UpdateStageRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateStage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - NotFoundException The resource specified in the request was not found.
* - TooManyRequestsException The client is sending more than the allowed number of requests per unit of
* time.
* - BadRequestException One of the parameters in the request is invalid.
* - ConflictException The resource already exists.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApiGatewayV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample ApiGatewayV2AsyncClient.UpdateStage
*/
default CompletableFuture updateStage(Consumer updateStageRequest) {
return updateStage(UpdateStageRequest.builder().applyMutation(updateStageRequest).build());
}
}