Interface ApiGatewayV2AsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon API Gateway V2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aApiGatewayV2AsyncClient.static ApiGatewayV2AsyncClientcreate()Create aApiGatewayV2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateApiResponse> createApi(Consumer<CreateApiRequest.Builder> createApiRequest) Creates an Api resource.default CompletableFuture<CreateApiResponse> createApi(CreateApiRequest createApiRequest) Creates an Api resource.createApiMapping(Consumer<CreateApiMappingRequest.Builder> createApiMappingRequest) Creates an API mapping.createApiMapping(CreateApiMappingRequest createApiMappingRequest) Creates an API mapping.createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) Creates an Authorizer for an API.createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) Creates an Authorizer for an API.createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a Deployment for an API.createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a Deployment for an API.createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) Creates a domain name.createDomainName(CreateDomainNameRequest createDomainNameRequest) Creates a domain name.createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates an Integration.createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates an Integration.createIntegrationResponse(Consumer<CreateIntegrationResponseRequest.Builder> createIntegrationResponseRequest) Creates an IntegrationResponses.createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest) Creates an IntegrationResponses.default CompletableFuture<CreateModelResponse> createModel(Consumer<CreateModelRequest.Builder> createModelRequest) Creates a Model for an API.default CompletableFuture<CreateModelResponse> createModel(CreateModelRequest createModelRequest) Creates a Model for an API.default CompletableFuture<CreateRouteResponse> createRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest) Creates a Route for an API.default CompletableFuture<CreateRouteResponse> createRoute(CreateRouteRequest createRouteRequest) Creates a Route for an API.createRouteResponse(Consumer<CreateRouteResponseRequest.Builder> createRouteResponseRequest) Creates a RouteResponse for a Route.createRouteResponse(CreateRouteResponseRequest createRouteResponseRequest) Creates a RouteResponse for a Route.default CompletableFuture<CreateStageResponse> createStage(Consumer<CreateStageRequest.Builder> createStageRequest) Creates a Stage for an API.default CompletableFuture<CreateStageResponse> createStage(CreateStageRequest createStageRequest) Creates a Stage for an API.default CompletableFuture<CreateVpcLinkResponse> createVpcLink(Consumer<CreateVpcLinkRequest.Builder> createVpcLinkRequest) Creates a VPC link.default CompletableFuture<CreateVpcLinkResponse> createVpcLink(CreateVpcLinkRequest createVpcLinkRequest) Creates a VPC link.deleteAccessLogSettings(Consumer<DeleteAccessLogSettingsRequest.Builder> deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage.deleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage.default CompletableFuture<DeleteApiResponse> deleteApi(Consumer<DeleteApiRequest.Builder> deleteApiRequest) Deletes an Api resource.default CompletableFuture<DeleteApiResponse> deleteApi(DeleteApiRequest deleteApiRequest) Deletes an Api resource.deleteApiMapping(Consumer<DeleteApiMappingRequest.Builder> deleteApiMappingRequest) Deletes an API mapping.deleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) Deletes an API mapping.deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) Deletes an Authorizer.deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) Deletes an Authorizer.deleteCorsConfiguration(Consumer<DeleteCorsConfigurationRequest.Builder> deleteCorsConfigurationRequest) Deletes a CORS configuration.deleteCorsConfiguration(DeleteCorsConfigurationRequest deleteCorsConfigurationRequest) Deletes a CORS configuration.deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a Deployment.deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a Deployment.deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) Deletes a domain name.deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) Deletes a domain name.deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an Integration.deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an Integration.deleteIntegrationResponse(Consumer<DeleteIntegrationResponseRequest.Builder> deleteIntegrationResponseRequest) Deletes an IntegrationResponses.deleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) Deletes an IntegrationResponses.default CompletableFuture<DeleteModelResponse> deleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest) Deletes a Model.default CompletableFuture<DeleteModelResponse> deleteModel(DeleteModelRequest deleteModelRequest) Deletes a Model.default CompletableFuture<DeleteRouteResponse> deleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest) Deletes a Route.default CompletableFuture<DeleteRouteResponse> deleteRoute(DeleteRouteRequest deleteRouteRequest) Deletes a Route.deleteRouteRequestParameter(Consumer<DeleteRouteRequestParameterRequest.Builder> deleteRouteRequestParameterRequest) Deletes a route request parameter.deleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest) Deletes a route request parameter.deleteRouteResponse(Consumer<DeleteRouteResponseRequest.Builder> deleteRouteResponseRequest) Deletes a RouteResponse.deleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest) Deletes a RouteResponse.deleteRouteSettings(Consumer<DeleteRouteSettingsRequest.Builder> deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.deleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.default CompletableFuture<DeleteStageResponse> deleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest) Deletes a Stage.default CompletableFuture<DeleteStageResponse> deleteStage(DeleteStageRequest deleteStageRequest) Deletes a Stage.default CompletableFuture<DeleteVpcLinkResponse> deleteVpcLink(Consumer<DeleteVpcLinkRequest.Builder> deleteVpcLinkRequest) Deletes a VPC link.default CompletableFuture<DeleteVpcLinkResponse> deleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest) Deletes a VPC link.default CompletableFuture<ExportApiResponse> exportApi(Consumer<ExportApiRequest.Builder> exportApiRequest) Invokes the ExportApi operation asynchronously.default CompletableFuture<ExportApiResponse> exportApi(ExportApiRequest exportApiRequest) Invokes the ExportApi operation asynchronously.default CompletableFuture<GetApiResponse> getApi(Consumer<GetApiRequest.Builder> getApiRequest) Gets an Api resource.default CompletableFuture<GetApiResponse> getApi(GetApiRequest getApiRequest) Gets an Api resource.default CompletableFuture<GetApiMappingResponse> getApiMapping(Consumer<GetApiMappingRequest.Builder> getApiMappingRequest) Gets an API mapping.default CompletableFuture<GetApiMappingResponse> getApiMapping(GetApiMappingRequest getApiMappingRequest) Gets an API mapping.default CompletableFuture<GetApiMappingsResponse> getApiMappings(Consumer<GetApiMappingsRequest.Builder> getApiMappingsRequest) Gets API mappings.default CompletableFuture<GetApiMappingsResponse> getApiMappings(GetApiMappingsRequest getApiMappingsRequest) Gets API mappings.default CompletableFuture<GetApisResponse> getApis()Gets a collection of Api resources.default CompletableFuture<GetApisResponse> getApis(Consumer<GetApisRequest.Builder> getApisRequest) Gets a collection of Api resources.default CompletableFuture<GetApisResponse> getApis(GetApisRequest getApisRequest) Gets a collection of Api resources.default CompletableFuture<GetAuthorizerResponse> getAuthorizer(Consumer<GetAuthorizerRequest.Builder> getAuthorizerRequest) Gets an Authorizer.default CompletableFuture<GetAuthorizerResponse> getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) Gets an Authorizer.default CompletableFuture<GetAuthorizersResponse> getAuthorizers(Consumer<GetAuthorizersRequest.Builder> getAuthorizersRequest) Gets the Authorizers for an API.default CompletableFuture<GetAuthorizersResponse> getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) Gets the Authorizers for an API.default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Gets a Deployment.default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Gets a Deployment.default CompletableFuture<GetDeploymentsResponse> getDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest) Gets the Deployments for an API.default CompletableFuture<GetDeploymentsResponse> getDeployments(GetDeploymentsRequest getDeploymentsRequest) Gets the Deployments for an API.default CompletableFuture<GetDomainNameResponse> getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) Gets a domain name.default CompletableFuture<GetDomainNameResponse> getDomainName(GetDomainNameRequest getDomainNameRequest) Gets a domain name.default CompletableFuture<GetDomainNamesResponse> Gets the domain names for an AWS account.default CompletableFuture<GetDomainNamesResponse> getDomainNames(Consumer<GetDomainNamesRequest.Builder> getDomainNamesRequest) Gets the domain names for an AWS account.default CompletableFuture<GetDomainNamesResponse> getDomainNames(GetDomainNamesRequest getDomainNamesRequest) Gets the domain names for an AWS account.default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Gets an Integration.default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Gets an Integration.getIntegrationResponse(Consumer<GetIntegrationResponseRequest.Builder> getIntegrationResponseRequest) Gets an IntegrationResponses.getIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest) Gets an IntegrationResponses.getIntegrationResponses(Consumer<GetIntegrationResponsesRequest.Builder> getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.getIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.default CompletableFuture<GetIntegrationsResponse> getIntegrations(Consumer<GetIntegrationsRequest.Builder> getIntegrationsRequest) Gets the Integrations for an API.default CompletableFuture<GetIntegrationsResponse> getIntegrations(GetIntegrationsRequest getIntegrationsRequest) Gets the Integrations for an API.default CompletableFuture<GetModelResponse> getModel(Consumer<GetModelRequest.Builder> getModelRequest) Gets a Model.default CompletableFuture<GetModelResponse> getModel(GetModelRequest getModelRequest) Gets a Model.default CompletableFuture<GetModelsResponse> getModels(Consumer<GetModelsRequest.Builder> getModelsRequest) Gets the Models for an API.default CompletableFuture<GetModelsResponse> getModels(GetModelsRequest getModelsRequest) Gets the Models for an API.getModelTemplate(Consumer<GetModelTemplateRequest.Builder> getModelTemplateRequest) Gets a model template.getModelTemplate(GetModelTemplateRequest getModelTemplateRequest) Gets a model template.default CompletableFuture<GetRouteResponse> getRoute(Consumer<GetRouteRequest.Builder> getRouteRequest) Gets a Route.default CompletableFuture<GetRouteResponse> getRoute(GetRouteRequest getRouteRequest) Gets a Route.getRouteResponse(Consumer<GetRouteResponseRequest.Builder> getRouteResponseRequest) Gets a RouteResponse.getRouteResponse(GetRouteResponseRequest getRouteResponseRequest) Gets a RouteResponse.getRouteResponses(Consumer<GetRouteResponsesRequest.Builder> getRouteResponsesRequest) Gets the RouteResponses for a Route.getRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) Gets the RouteResponses for a Route.default CompletableFuture<GetRoutesResponse> getRoutes(Consumer<GetRoutesRequest.Builder> getRoutesRequest) Gets the Routes for an API.default CompletableFuture<GetRoutesResponse> getRoutes(GetRoutesRequest getRoutesRequest) Gets the Routes for an API.default CompletableFuture<GetStageResponse> getStage(Consumer<GetStageRequest.Builder> getStageRequest) Gets a Stage.default CompletableFuture<GetStageResponse> getStage(GetStageRequest getStageRequest) Gets a Stage.default CompletableFuture<GetStagesResponse> getStages(Consumer<GetStagesRequest.Builder> getStagesRequest) Gets the Stages for an API.default CompletableFuture<GetStagesResponse> getStages(GetStagesRequest getStagesRequest) Gets the Stages for an API.default CompletableFuture<GetTagsResponse> getTags(Consumer<GetTagsRequest.Builder> getTagsRequest) Gets a collection of Tag resources.default CompletableFuture<GetTagsResponse> getTags(GetTagsRequest getTagsRequest) Gets a collection of Tag resources.default CompletableFuture<GetVpcLinkResponse> getVpcLink(Consumer<GetVpcLinkRequest.Builder> getVpcLinkRequest) Gets a VPC link.default CompletableFuture<GetVpcLinkResponse> getVpcLink(GetVpcLinkRequest getVpcLinkRequest) Gets a VPC link.default CompletableFuture<GetVpcLinksResponse> getVpcLinks(Consumer<GetVpcLinksRequest.Builder> getVpcLinksRequest) Gets a collection of VPC links.default CompletableFuture<GetVpcLinksResponse> getVpcLinks(GetVpcLinksRequest getVpcLinksRequest) Gets a collection of VPC links.default CompletableFuture<ImportApiResponse> importApi(Consumer<ImportApiRequest.Builder> importApiRequest) Imports an API.default CompletableFuture<ImportApiResponse> importApi(ImportApiRequest importApiRequest) Imports an API.default CompletableFuture<ReimportApiResponse> reimportApi(Consumer<ReimportApiRequest.Builder> reimportApiRequest) Puts an Api resource.default CompletableFuture<ReimportApiResponse> reimportApi(ReimportApiRequest reimportApiRequest) Puts an Api resource.resetAuthorizersCache(Consumer<ResetAuthorizersCacheRequest.Builder> resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage.resetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Creates a new Tag resource to represent a tag.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Creates a new Tag resource to represent a tag.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes a Tag.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes a Tag.default CompletableFuture<UpdateApiResponse> updateApi(Consumer<UpdateApiRequest.Builder> updateApiRequest) Updates an Api resource.default CompletableFuture<UpdateApiResponse> updateApi(UpdateApiRequest updateApiRequest) Updates an Api resource.updateApiMapping(Consumer<UpdateApiMappingRequest.Builder> updateApiMappingRequest) The API mapping.updateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) The API mapping.updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) Updates an Authorizer.updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) Updates an Authorizer.updateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) Updates a Deployment.updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) Updates a Deployment.updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) Updates a domain name.updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) Updates a domain name.updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Updates an Integration.updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Updates an Integration.updateIntegrationResponse(Consumer<UpdateIntegrationResponseRequest.Builder> updateIntegrationResponseRequest) Updates an IntegrationResponses.updateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest) Updates an IntegrationResponses.default CompletableFuture<UpdateModelResponse> updateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest) Updates a Model.default CompletableFuture<UpdateModelResponse> updateModel(UpdateModelRequest updateModelRequest) Updates a Model.default CompletableFuture<UpdateRouteResponse> updateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest) Updates a Route.default CompletableFuture<UpdateRouteResponse> updateRoute(UpdateRouteRequest updateRouteRequest) Updates a Route.updateRouteResponse(Consumer<UpdateRouteResponseRequest.Builder> updateRouteResponseRequest) Updates a RouteResponse.updateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest) Updates a RouteResponse.default CompletableFuture<UpdateStageResponse> updateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest) Updates a Stage.default CompletableFuture<UpdateStageResponse> updateStage(UpdateStageRequest updateStageRequest) Updates a Stage.default CompletableFuture<UpdateVpcLinkResponse> updateVpcLink(Consumer<UpdateVpcLinkRequest.Builder> updateVpcLinkRequest) Updates a VPC link.default CompletableFuture<UpdateVpcLinkResponse> updateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest) Updates a VPC link.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createApi
Creates an Api resource.
- Parameters:
createApiRequest- Creates a new Api resource to represent an API.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createApi
default CompletableFuture<CreateApiResponse> createApi(Consumer<CreateApiRequest.Builder> createApiRequest) Creates an Api resource.
This is a convenience which creates an instance of the
CreateApiRequest.Builderavoiding the need to create one manually viaCreateApiRequest.builder()- Parameters:
createApiRequest- AConsumerthat will call methods onCreateApiRequest.Builderto create a request. Creates a new Api resource to represent an API.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createApiMapping
default CompletableFuture<CreateApiMappingResponse> createApiMapping(CreateApiMappingRequest createApiMappingRequest) Creates an API mapping.
- Parameters:
createApiMappingRequest- Creates a new ApiMapping resource to represent an API mapping.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createApiMapping
default CompletableFuture<CreateApiMappingResponse> createApiMapping(Consumer<CreateApiMappingRequest.Builder> createApiMappingRequest) Creates an API mapping.
This is a convenience which creates an instance of the
CreateApiMappingRequest.Builderavoiding the need to create one manually viaCreateApiMappingRequest.builder()- Parameters:
createApiMappingRequest- AConsumerthat will call methods onCreateApiMappingRequest.Builderto create a request. Creates a new ApiMapping resource to represent an API mapping.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createAuthorizer
default CompletableFuture<CreateAuthorizerResponse> createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) Creates an Authorizer for an API.
- Parameters:
createAuthorizerRequest- Creates a new Authorizer resource to represent an authorizer.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createAuthorizer
default CompletableFuture<CreateAuthorizerResponse> createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) Creates an Authorizer for an API.
This is a convenience which creates an instance of the
CreateAuthorizerRequest.Builderavoiding the need to create one manually viaCreateAuthorizerRequest.builder()- Parameters:
createAuthorizerRequest- AConsumerthat will call methods onCreateAuthorizerRequest.Builderto create a request. Creates a new Authorizer resource to represent an authorizer.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a Deployment for an API.
- Parameters:
createDeploymentRequest- Creates a new Deployment resource to represent a deployment.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a Deployment for an API.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request. Creates a new Deployment resource to represent a deployment.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createDomainName
default CompletableFuture<CreateDomainNameResponse> createDomainName(CreateDomainNameRequest createDomainNameRequest) Creates a domain name.
- Parameters:
createDomainNameRequest- Creates a new DomainName resource to represent a domain name.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- AccessDeniedException 403 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
-
createDomainName
default CompletableFuture<CreateDomainNameResponse> createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) Creates a domain name.
This is a convenience which creates an instance of the
CreateDomainNameRequest.Builderavoiding the need to create one manually viaCreateDomainNameRequest.builder()- Parameters:
createDomainNameRequest- AConsumerthat will call methods onCreateDomainNameRequest.Builderto create a request. Creates a new DomainName resource to represent a domain name.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- AccessDeniedException 403 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates an Integration.
- Parameters:
createIntegrationRequest- Creates a new Integration resource to represent an integration.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates an Integration.
This is a convenience which creates an instance of the
CreateIntegrationRequest.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto create a request. Creates a new Integration resource to represent an integration.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createIntegrationResponse
default CompletableFuture<CreateIntegrationResponseResponse> createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest) Creates an IntegrationResponses.
- Parameters:
createIntegrationResponseRequest- Creates a new IntegrationResponse resource to represent an integration response.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createIntegrationResponse
default CompletableFuture<CreateIntegrationResponseResponse> createIntegrationResponse(Consumer<CreateIntegrationResponseRequest.Builder> createIntegrationResponseRequest) Creates an IntegrationResponses.
This is a convenience which creates an instance of the
CreateIntegrationResponseRequest.Builderavoiding the need to create one manually viaCreateIntegrationResponseRequest.builder()- Parameters:
createIntegrationResponseRequest- AConsumerthat will call methods onCreateIntegrationResponseRequest.Builderto create a request. Creates a new IntegrationResponse resource to represent an integration response.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createModel
Creates a Model for an API.
- Parameters:
createModelRequest- Creates a new Model.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createModel
default CompletableFuture<CreateModelResponse> createModel(Consumer<CreateModelRequest.Builder> createModelRequest) Creates a Model for an API.
This is a convenience which creates an instance of the
CreateModelRequest.Builderavoiding the need to create one manually viaCreateModelRequest.builder()- Parameters:
createModelRequest- AConsumerthat will call methods onCreateModelRequest.Builderto create a request. Creates a new Model.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createRoute
Creates a Route for an API.
- Parameters:
createRouteRequest- Creates a new Route resource to represent a route.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createRoute
default CompletableFuture<CreateRouteResponse> createRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest) Creates a Route for an API.
This is a convenience which creates an instance of the
CreateRouteRequest.Builderavoiding the need to create one manually viaCreateRouteRequest.builder()- Parameters:
createRouteRequest- AConsumerthat will call methods onCreateRouteRequest.Builderto create a request. Creates a new Route resource to represent a route.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createRouteResponse
default CompletableFuture<CreateRouteResponseResponse> createRouteResponse(CreateRouteResponseRequest createRouteResponseRequest) Creates a RouteResponse for a Route.
- Parameters:
createRouteResponseRequest- Creates a new RouteResponse resource to represent a route response.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createRouteResponse
default CompletableFuture<CreateRouteResponseResponse> createRouteResponse(Consumer<CreateRouteResponseRequest.Builder> createRouteResponseRequest) Creates a RouteResponse for a Route.
This is a convenience which creates an instance of the
CreateRouteResponseRequest.Builderavoiding the need to create one manually viaCreateRouteResponseRequest.builder()- Parameters:
createRouteResponseRequest- AConsumerthat will call methods onCreateRouteResponseRequest.Builderto create a request. Creates a new RouteResponse resource to represent a route response.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createStage
Creates a Stage for an API.
- Parameters:
createStageRequest- Creates a new Stage resource to represent a stage.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createStage
default CompletableFuture<CreateStageResponse> createStage(Consumer<CreateStageRequest.Builder> createStageRequest) Creates a Stage for an API.
This is a convenience which creates an instance of the
CreateStageRequest.Builderavoiding the need to create one manually viaCreateStageRequest.builder()- Parameters:
createStageRequest- AConsumerthat will call methods onCreateStageRequest.Builderto create a request. Creates a new Stage resource to represent a stage.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
createVpcLink
default CompletableFuture<CreateVpcLinkResponse> createVpcLink(CreateVpcLinkRequest createVpcLinkRequest) Creates a VPC link.
- Parameters:
createVpcLinkRequest- Creates a VPC link- Returns:
- A Java Future containing the result of the CreateVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException One of the parameters in the request is invalid.
- 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.
-
createVpcLink
default CompletableFuture<CreateVpcLinkResponse> createVpcLink(Consumer<CreateVpcLinkRequest.Builder> createVpcLinkRequest) Creates a VPC link.
This is a convenience which creates an instance of the
CreateVpcLinkRequest.Builderavoiding the need to create one manually viaCreateVpcLinkRequest.builder()- Parameters:
createVpcLinkRequest- AConsumerthat will call methods onCreateVpcLinkRequest.Builderto create a request. Creates a VPC link- Returns:
- A Java Future containing the result of the CreateVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException One of the parameters in the request is invalid.
- 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.
-
deleteAccessLogSettings
default CompletableFuture<DeleteAccessLogSettingsResponse> deleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
- Parameters:
deleteAccessLogSettingsRequest-- Returns:
- A Java Future containing the result of the DeleteAccessLogSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteAccessLogSettings
default CompletableFuture<DeleteAccessLogSettingsResponse> deleteAccessLogSettings(Consumer<DeleteAccessLogSettingsRequest.Builder> deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
This is a convenience which creates an instance of the
DeleteAccessLogSettingsRequest.Builderavoiding the need to create one manually viaDeleteAccessLogSettingsRequest.builder()- Parameters:
deleteAccessLogSettingsRequest- AConsumerthat will call methods onDeleteAccessLogSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAccessLogSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteApi
Deletes an Api resource.
- Parameters:
deleteApiRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteApi
default CompletableFuture<DeleteApiResponse> deleteApi(Consumer<DeleteApiRequest.Builder> deleteApiRequest) Deletes an Api resource.
This is a convenience which creates an instance of the
DeleteApiRequest.Builderavoiding the need to create one manually viaDeleteApiRequest.builder()- Parameters:
deleteApiRequest- AConsumerthat will call methods onDeleteApiRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteApiMapping
default CompletableFuture<DeleteApiMappingResponse> deleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) Deletes an API mapping.
- Parameters:
deleteApiMappingRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteApiMapping
default CompletableFuture<DeleteApiMappingResponse> deleteApiMapping(Consumer<DeleteApiMappingRequest.Builder> deleteApiMappingRequest) Deletes an API mapping.
This is a convenience which creates an instance of the
DeleteApiMappingRequest.Builderavoiding the need to create one manually viaDeleteApiMappingRequest.builder()- Parameters:
deleteApiMappingRequest- AConsumerthat will call methods onDeleteApiMappingRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteAuthorizer
default CompletableFuture<DeleteAuthorizerResponse> deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) Deletes an Authorizer.
- Parameters:
deleteAuthorizerRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteAuthorizer
default CompletableFuture<DeleteAuthorizerResponse> deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) Deletes an Authorizer.
This is a convenience which creates an instance of the
DeleteAuthorizerRequest.Builderavoiding the need to create one manually viaDeleteAuthorizerRequest.builder()- Parameters:
deleteAuthorizerRequest- AConsumerthat will call methods onDeleteAuthorizerRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteCorsConfiguration
default CompletableFuture<DeleteCorsConfigurationResponse> deleteCorsConfiguration(DeleteCorsConfigurationRequest deleteCorsConfigurationRequest) Deletes a CORS configuration.
- Parameters:
deleteCorsConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteCorsConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteCorsConfiguration
default CompletableFuture<DeleteCorsConfigurationResponse> deleteCorsConfiguration(Consumer<DeleteCorsConfigurationRequest.Builder> deleteCorsConfigurationRequest) Deletes a CORS configuration.
This is a convenience which creates an instance of the
DeleteCorsConfigurationRequest.Builderavoiding the need to create one manually viaDeleteCorsConfigurationRequest.builder()- Parameters:
deleteCorsConfigurationRequest- AConsumerthat will call methods onDeleteCorsConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteCorsConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a Deployment.
- Parameters:
deleteDeploymentRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a Deployment.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteDomainName
default CompletableFuture<DeleteDomainNameResponse> deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) Deletes a domain name.
- Parameters:
deleteDomainNameRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteDomainName
default CompletableFuture<DeleteDomainNameResponse> deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) Deletes a domain name.
This is a convenience which creates an instance of the
DeleteDomainNameRequest.Builderavoiding the need to create one manually viaDeleteDomainNameRequest.builder()- Parameters:
deleteDomainNameRequest- AConsumerthat will call methods onDeleteDomainNameRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an Integration.
- Parameters:
deleteIntegrationRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an Integration.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteIntegrationResponse
default CompletableFuture<DeleteIntegrationResponseResponse> deleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) Deletes an IntegrationResponses.
- Parameters:
deleteIntegrationResponseRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteIntegrationResponse
default CompletableFuture<DeleteIntegrationResponseResponse> deleteIntegrationResponse(Consumer<DeleteIntegrationResponseRequest.Builder> deleteIntegrationResponseRequest) Deletes an IntegrationResponses.
This is a convenience which creates an instance of the
DeleteIntegrationResponseRequest.Builderavoiding the need to create one manually viaDeleteIntegrationResponseRequest.builder()- Parameters:
deleteIntegrationResponseRequest- AConsumerthat will call methods onDeleteIntegrationResponseRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteModel
Deletes a Model.
- Parameters:
deleteModelRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteModel
default CompletableFuture<DeleteModelResponse> deleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest) Deletes a Model.
This is a convenience which creates an instance of the
DeleteModelRequest.Builderavoiding the need to create one manually viaDeleteModelRequest.builder()- Parameters:
deleteModelRequest- AConsumerthat will call methods onDeleteModelRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRoute
Deletes a Route.
- Parameters:
deleteRouteRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRoute
default CompletableFuture<DeleteRouteResponse> deleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest) Deletes a Route.
This is a convenience which creates an instance of the
DeleteRouteRequest.Builderavoiding the need to create one manually viaDeleteRouteRequest.builder()- Parameters:
deleteRouteRequest- AConsumerthat will call methods onDeleteRouteRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteRequestParameter
default CompletableFuture<DeleteRouteRequestParameterResponse> deleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest) Deletes a route request parameter. Supported only for WebSocket APIs.
- Parameters:
deleteRouteRequestParameterRequest-- Returns:
- A Java Future containing the result of the DeleteRouteRequestParameter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteRequestParameter
default CompletableFuture<DeleteRouteRequestParameterResponse> deleteRouteRequestParameter(Consumer<DeleteRouteRequestParameterRequest.Builder> deleteRouteRequestParameterRequest) Deletes a route request parameter. Supported only for WebSocket APIs.
This is a convenience which creates an instance of the
DeleteRouteRequestParameterRequest.Builderavoiding the need to create one manually viaDeleteRouteRequestParameterRequest.builder()- Parameters:
deleteRouteRequestParameterRequest- AConsumerthat will call methods onDeleteRouteRequestParameterRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRouteRequestParameter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteResponse
default CompletableFuture<DeleteRouteResponseResponse> deleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest) Deletes a RouteResponse.
- Parameters:
deleteRouteResponseRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteResponse
default CompletableFuture<DeleteRouteResponseResponse> deleteRouteResponse(Consumer<DeleteRouteResponseRequest.Builder> deleteRouteResponseRequest) Deletes a RouteResponse.
This is a convenience which creates an instance of the
DeleteRouteResponseRequest.Builderavoiding the need to create one manually viaDeleteRouteResponseRequest.builder()- Parameters:
deleteRouteResponseRequest- AConsumerthat will call methods onDeleteRouteResponseRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteSettings
default CompletableFuture<DeleteRouteSettingsResponse> deleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.
- Parameters:
deleteRouteSettingsRequest-- Returns:
- A Java Future containing the result of the DeleteRouteSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteRouteSettings
default CompletableFuture<DeleteRouteSettingsResponse> deleteRouteSettings(Consumer<DeleteRouteSettingsRequest.Builder> deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.
This is a convenience which creates an instance of the
DeleteRouteSettingsRequest.Builderavoiding the need to create one manually viaDeleteRouteSettingsRequest.builder()- Parameters:
deleteRouteSettingsRequest- AConsumerthat will call methods onDeleteRouteSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRouteSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteStage
Deletes a Stage.
- Parameters:
deleteStageRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteStage
default CompletableFuture<DeleteStageResponse> deleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest) Deletes a Stage.
This is a convenience which creates an instance of the
DeleteStageRequest.Builderavoiding the need to create one manually viaDeleteStageRequest.builder()- Parameters:
deleteStageRequest- AConsumerthat will call methods onDeleteStageRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteVpcLink
default CompletableFuture<DeleteVpcLinkResponse> deleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest) Deletes a VPC link.
- Parameters:
deleteVpcLinkRequest-- Returns:
- A Java Future containing the result of the DeleteVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
deleteVpcLink
default CompletableFuture<DeleteVpcLinkResponse> deleteVpcLink(Consumer<DeleteVpcLinkRequest.Builder> deleteVpcLinkRequest) Deletes a VPC link.
This is a convenience which creates an instance of the
DeleteVpcLinkRequest.Builderavoiding the need to create one manually viaDeleteVpcLinkRequest.builder()- Parameters:
deleteVpcLinkRequest- AConsumerthat will call methods onDeleteVpcLinkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
exportApi
Invokes the ExportApi operation asynchronously.- Parameters:
exportApiRequest-- Returns:
- A Java Future containing the result of the ExportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
exportApi
default CompletableFuture<ExportApiResponse> exportApi(Consumer<ExportApiRequest.Builder> exportApiRequest) Invokes the ExportApi operation asynchronously.
This is a convenience which creates an instance of the
ExportApiRequest.Builderavoiding the need to create one manually viaExportApiRequest.builder()- Parameters:
exportApiRequest- AConsumerthat will call methods onExportApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApi
Gets an Api resource.
- Parameters:
getApiRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApi
Gets an Api resource.
This is a convenience which creates an instance of the
GetApiRequest.Builderavoiding the need to create one manually viaGetApiRequest.builder()- Parameters:
getApiRequest- AConsumerthat will call methods onGetApiRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApiMapping
default CompletableFuture<GetApiMappingResponse> getApiMapping(GetApiMappingRequest getApiMappingRequest) Gets an API mapping.
- Parameters:
getApiMappingRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApiMapping
default CompletableFuture<GetApiMappingResponse> getApiMapping(Consumer<GetApiMappingRequest.Builder> getApiMappingRequest) Gets an API mapping.
This is a convenience which creates an instance of the
GetApiMappingRequest.Builderavoiding the need to create one manually viaGetApiMappingRequest.builder()- Parameters:
getApiMappingRequest- AConsumerthat will call methods onGetApiMappingRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApiMappings
default CompletableFuture<GetApiMappingsResponse> getApiMappings(GetApiMappingsRequest getApiMappingsRequest) Gets API mappings.
- Parameters:
getApiMappingsRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApiMappings
default CompletableFuture<GetApiMappingsResponse> getApiMappings(Consumer<GetApiMappingsRequest.Builder> getApiMappingsRequest) Gets API mappings.
This is a convenience which creates an instance of the
GetApiMappingsRequest.Builderavoiding the need to create one manually viaGetApiMappingsRequest.builder()- Parameters:
getApiMappingsRequest- AConsumerthat will call methods onGetApiMappingsRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApis
Gets a collection of Api resources.
- Parameters:
getApisRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApis
Gets a collection of Api resources.
This is a convenience which creates an instance of the
GetApisRequest.Builderavoiding the need to create one manually viaGetApisRequest.builder()- Parameters:
getApisRequest- AConsumerthat will call methods onGetApisRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getApis
Gets a collection of Api resources.
- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getAuthorizer
default CompletableFuture<GetAuthorizerResponse> getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) Gets an Authorizer.
- Parameters:
getAuthorizerRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getAuthorizer
default CompletableFuture<GetAuthorizerResponse> getAuthorizer(Consumer<GetAuthorizerRequest.Builder> getAuthorizerRequest) Gets an Authorizer.
This is a convenience which creates an instance of the
GetAuthorizerRequest.Builderavoiding the need to create one manually viaGetAuthorizerRequest.builder()- Parameters:
getAuthorizerRequest- AConsumerthat will call methods onGetAuthorizerRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getAuthorizers
default CompletableFuture<GetAuthorizersResponse> getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) Gets the Authorizers for an API.
- Parameters:
getAuthorizersRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getAuthorizers
default CompletableFuture<GetAuthorizersResponse> getAuthorizers(Consumer<GetAuthorizersRequest.Builder> getAuthorizersRequest) Gets the Authorizers for an API.
This is a convenience which creates an instance of the
GetAuthorizersRequest.Builderavoiding the need to create one manually viaGetAuthorizersRequest.builder()- Parameters:
getAuthorizersRequest- AConsumerthat will call methods onGetAuthorizersRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Gets a Deployment.
- Parameters:
getDeploymentRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Gets a Deployment.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDeployments
default CompletableFuture<GetDeploymentsResponse> getDeployments(GetDeploymentsRequest getDeploymentsRequest) Gets the Deployments for an API.
- Parameters:
getDeploymentsRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDeployments
default CompletableFuture<GetDeploymentsResponse> getDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest) Gets the Deployments for an API.
This is a convenience which creates an instance of the
GetDeploymentsRequest.Builderavoiding the need to create one manually viaGetDeploymentsRequest.builder()- Parameters:
getDeploymentsRequest- AConsumerthat will call methods onGetDeploymentsRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDomainName
default CompletableFuture<GetDomainNameResponse> getDomainName(GetDomainNameRequest getDomainNameRequest) Gets a domain name.
- Parameters:
getDomainNameRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDomainName
default CompletableFuture<GetDomainNameResponse> getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) Gets a domain name.
This is a convenience which creates an instance of the
GetDomainNameRequest.Builderavoiding the need to create one manually viaGetDomainNameRequest.builder()- Parameters:
getDomainNameRequest- AConsumerthat will call methods onGetDomainNameRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDomainNames
default CompletableFuture<GetDomainNamesResponse> getDomainNames(GetDomainNamesRequest getDomainNamesRequest) Gets the domain names for an AWS account.
- Parameters:
getDomainNamesRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDomainNames
default CompletableFuture<GetDomainNamesResponse> getDomainNames(Consumer<GetDomainNamesRequest.Builder> getDomainNamesRequest) Gets the domain names for an AWS account.
This is a convenience which creates an instance of the
GetDomainNamesRequest.Builderavoiding the need to create one manually viaGetDomainNamesRequest.builder()- Parameters:
getDomainNamesRequest- AConsumerthat will call methods onGetDomainNamesRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getDomainNames
Gets the domain names for an AWS account.
- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Gets an Integration.
- Parameters:
getIntegrationRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Gets an Integration.
This is a convenience which creates an instance of the
GetIntegrationRequest.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrationResponse
default CompletableFuture<GetIntegrationResponseResponse> getIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest) Gets an IntegrationResponses.
- Parameters:
getIntegrationResponseRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrationResponse
default CompletableFuture<GetIntegrationResponseResponse> getIntegrationResponse(Consumer<GetIntegrationResponseRequest.Builder> getIntegrationResponseRequest) Gets an IntegrationResponses.
This is a convenience which creates an instance of the
GetIntegrationResponseRequest.Builderavoiding the need to create one manually viaGetIntegrationResponseRequest.builder()- Parameters:
getIntegrationResponseRequest- AConsumerthat will call methods onGetIntegrationResponseRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrationResponses
default CompletableFuture<GetIntegrationResponsesResponse> getIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.
- Parameters:
getIntegrationResponsesRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrationResponses
default CompletableFuture<GetIntegrationResponsesResponse> getIntegrationResponses(Consumer<GetIntegrationResponsesRequest.Builder> getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.
This is a convenience which creates an instance of the
GetIntegrationResponsesRequest.Builderavoiding the need to create one manually viaGetIntegrationResponsesRequest.builder()- Parameters:
getIntegrationResponsesRequest- AConsumerthat will call methods onGetIntegrationResponsesRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrations
default CompletableFuture<GetIntegrationsResponse> getIntegrations(GetIntegrationsRequest getIntegrationsRequest) Gets the Integrations for an API.
- Parameters:
getIntegrationsRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getIntegrations
default CompletableFuture<GetIntegrationsResponse> getIntegrations(Consumer<GetIntegrationsRequest.Builder> getIntegrationsRequest) Gets the Integrations for an API.
This is a convenience which creates an instance of the
GetIntegrationsRequest.Builderavoiding the need to create one manually viaGetIntegrationsRequest.builder()- Parameters:
getIntegrationsRequest- AConsumerthat will call methods onGetIntegrationsRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModel
Gets a Model.
- Parameters:
getModelRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModel
default CompletableFuture<GetModelResponse> getModel(Consumer<GetModelRequest.Builder> getModelRequest) Gets a Model.
This is a convenience which creates an instance of the
GetModelRequest.Builderavoiding the need to create one manually viaGetModelRequest.builder()- Parameters:
getModelRequest- AConsumerthat will call methods onGetModelRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModelTemplate
default CompletableFuture<GetModelTemplateResponse> getModelTemplate(GetModelTemplateRequest getModelTemplateRequest) Gets a model template.
- Parameters:
getModelTemplateRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModelTemplate
default CompletableFuture<GetModelTemplateResponse> getModelTemplate(Consumer<GetModelTemplateRequest.Builder> getModelTemplateRequest) Gets a model template.
This is a convenience which creates an instance of the
GetModelTemplateRequest.Builderavoiding the need to create one manually viaGetModelTemplateRequest.builder()- Parameters:
getModelTemplateRequest- AConsumerthat will call methods onGetModelTemplateRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModels
Gets the Models for an API.
- Parameters:
getModelsRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getModels
default CompletableFuture<GetModelsResponse> getModels(Consumer<GetModelsRequest.Builder> getModelsRequest) Gets the Models for an API.
This is a convenience which creates an instance of the
GetModelsRequest.Builderavoiding the need to create one manually viaGetModelsRequest.builder()- Parameters:
getModelsRequest- AConsumerthat will call methods onGetModelsRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRoute
Gets a Route.
- Parameters:
getRouteRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRoute
default CompletableFuture<GetRouteResponse> getRoute(Consumer<GetRouteRequest.Builder> getRouteRequest) Gets a Route.
This is a convenience which creates an instance of the
GetRouteRequest.Builderavoiding the need to create one manually viaGetRouteRequest.builder()- Parameters:
getRouteRequest- AConsumerthat will call methods onGetRouteRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRouteResponse
default CompletableFuture<GetRouteResponseResponse> getRouteResponse(GetRouteResponseRequest getRouteResponseRequest) Gets a RouteResponse.
- Parameters:
getRouteResponseRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRouteResponse
default CompletableFuture<GetRouteResponseResponse> getRouteResponse(Consumer<GetRouteResponseRequest.Builder> getRouteResponseRequest) Gets a RouteResponse.
This is a convenience which creates an instance of the
GetRouteResponseRequest.Builderavoiding the need to create one manually viaGetRouteResponseRequest.builder()- Parameters:
getRouteResponseRequest- AConsumerthat will call methods onGetRouteResponseRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRouteResponses
default CompletableFuture<GetRouteResponsesResponse> getRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) Gets the RouteResponses for a Route.
- Parameters:
getRouteResponsesRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRouteResponses
default CompletableFuture<GetRouteResponsesResponse> getRouteResponses(Consumer<GetRouteResponsesRequest.Builder> getRouteResponsesRequest) Gets the RouteResponses for a Route.
This is a convenience which creates an instance of the
GetRouteResponsesRequest.Builderavoiding the need to create one manually viaGetRouteResponsesRequest.builder()- Parameters:
getRouteResponsesRequest- AConsumerthat will call methods onGetRouteResponsesRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRoutes
Gets the Routes for an API.
- Parameters:
getRoutesRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getRoutes
default CompletableFuture<GetRoutesResponse> getRoutes(Consumer<GetRoutesRequest.Builder> getRoutesRequest) Gets the Routes for an API.
This is a convenience which creates an instance of the
GetRoutesRequest.Builderavoiding the need to create one manually viaGetRoutesRequest.builder()- Parameters:
getRoutesRequest- AConsumerthat will call methods onGetRoutesRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getStage
Gets a Stage.
- Parameters:
getStageRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getStage
default CompletableFuture<GetStageResponse> getStage(Consumer<GetStageRequest.Builder> getStageRequest) Gets a Stage.
This is a convenience which creates an instance of the
GetStageRequest.Builderavoiding the need to create one manually viaGetStageRequest.builder()- Parameters:
getStageRequest- AConsumerthat will call methods onGetStageRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getStages
Gets the Stages for an API.
- Parameters:
getStagesRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getStages
default CompletableFuture<GetStagesResponse> getStages(Consumer<GetStagesRequest.Builder> getStagesRequest) Gets the Stages for an API.
This is a convenience which creates an instance of the
GetStagesRequest.Builderavoiding the need to create one manually viaGetStagesRequest.builder()- Parameters:
getStagesRequest- AConsumerthat will call methods onGetStagesRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getTags
Gets a collection of Tag resources.
- Parameters:
getTagsRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getTags
Gets a collection of Tag resources.
This is a convenience which creates an instance of the
GetTagsRequest.Builderavoiding the need to create one manually viaGetTagsRequest.builder()- Parameters:
getTagsRequest- AConsumerthat will call methods onGetTagsRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getVpcLink
Gets a VPC link.
- Parameters:
getVpcLinkRequest-- Returns:
- A Java Future containing the result of the GetVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getVpcLink
default CompletableFuture<GetVpcLinkResponse> getVpcLink(Consumer<GetVpcLinkRequest.Builder> getVpcLinkRequest) Gets a VPC link.
This is a convenience which creates an instance of the
GetVpcLinkRequest.Builderavoiding the need to create one manually viaGetVpcLinkRequest.builder()- Parameters:
getVpcLinkRequest- AConsumerthat will call methods onGetVpcLinkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
getVpcLinks
Gets a collection of VPC links.
- Parameters:
getVpcLinksRequest-- Returns:
- A Java Future containing the result of the GetVpcLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException One of the parameters in the request is invalid.
- 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.
-
getVpcLinks
default CompletableFuture<GetVpcLinksResponse> getVpcLinks(Consumer<GetVpcLinksRequest.Builder> getVpcLinksRequest) Gets a collection of VPC links.
This is a convenience which creates an instance of the
GetVpcLinksRequest.Builderavoiding the need to create one manually viaGetVpcLinksRequest.builder()- Parameters:
getVpcLinksRequest- AConsumerthat will call methods onGetVpcLinksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetVpcLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException One of the parameters in the request is invalid.
- 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.
-
importApi
Imports an API.
- Parameters:
importApiRequest-- Returns:
- A Java Future containing the result of the ImportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
importApi
default CompletableFuture<ImportApiResponse> importApi(Consumer<ImportApiRequest.Builder> importApiRequest) Imports an API.
This is a convenience which creates an instance of the
ImportApiRequest.Builderavoiding the need to create one manually viaImportApiRequest.builder()- Parameters:
importApiRequest- AConsumerthat will call methods onImportApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
reimportApi
Puts an Api resource.
- Parameters:
reimportApiRequest-- Returns:
- A Java Future containing the result of the ReimportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
reimportApi
default CompletableFuture<ReimportApiResponse> reimportApi(Consumer<ReimportApiRequest.Builder> reimportApiRequest) Puts an Api resource.
This is a convenience which creates an instance of the
ReimportApiRequest.Builderavoiding the need to create one manually viaReimportApiRequest.builder()- Parameters:
reimportApiRequest- AConsumerthat will call methods onReimportApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ReimportApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
resetAuthorizersCache
default CompletableFuture<ResetAuthorizersCacheResponse> resetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
- Parameters:
resetAuthorizersCacheRequest-- Returns:
- A Java Future containing the result of the ResetAuthorizersCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
resetAuthorizersCache
default CompletableFuture<ResetAuthorizersCacheResponse> resetAuthorizersCache(Consumer<ResetAuthorizersCacheRequest.Builder> resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
This is a convenience which creates an instance of the
ResetAuthorizersCacheRequest.Builderavoiding the need to create one manually viaResetAuthorizersCacheRequest.builder()- Parameters:
resetAuthorizersCacheRequest- AConsumerthat will call methods onResetAuthorizersCacheRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResetAuthorizersCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
tagResource
Creates a new Tag resource to represent a tag.
- Parameters:
tagResourceRequest- Creates a new Tag resource to represent a tag.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Creates a new Tag resource to represent a tag.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. Creates a new Tag resource to represent a tag.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes a Tag.
- Parameters:
untagResourceRequest-- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes a Tag.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateApi
Updates an Api resource.
- Parameters:
updateApiRequest- Updates an Api.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateApi
default CompletableFuture<UpdateApiResponse> updateApi(Consumer<UpdateApiRequest.Builder> updateApiRequest) Updates an Api resource.
This is a convenience which creates an instance of the
UpdateApiRequest.Builderavoiding the need to create one manually viaUpdateApiRequest.builder()- Parameters:
updateApiRequest- AConsumerthat will call methods onUpdateApiRequest.Builderto create a request. Updates an Api.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateApiMapping
default CompletableFuture<UpdateApiMappingResponse> updateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) The API mapping.
- Parameters:
updateApiMappingRequest- Updates an ApiMapping.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateApiMapping
default CompletableFuture<UpdateApiMappingResponse> updateApiMapping(Consumer<UpdateApiMappingRequest.Builder> updateApiMappingRequest) The API mapping.
This is a convenience which creates an instance of the
UpdateApiMappingRequest.Builderavoiding the need to create one manually viaUpdateApiMappingRequest.builder()- Parameters:
updateApiMappingRequest- AConsumerthat will call methods onUpdateApiMappingRequest.Builderto create a request. Updates an ApiMapping.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateAuthorizer
default CompletableFuture<UpdateAuthorizerResponse> updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) Updates an Authorizer.
- Parameters:
updateAuthorizerRequest- Updates an Authorizer.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateAuthorizer
default CompletableFuture<UpdateAuthorizerResponse> updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) Updates an Authorizer.
This is a convenience which creates an instance of the
UpdateAuthorizerRequest.Builderavoiding the need to create one manually viaUpdateAuthorizerRequest.builder()- Parameters:
updateAuthorizerRequest- AConsumerthat will call methods onUpdateAuthorizerRequest.Builderto create a request. Updates an Authorizer.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateDeployment
default CompletableFuture<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) Updates a Deployment.
- Parameters:
updateDeploymentRequest- Updates a Deployment.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateDeployment
default CompletableFuture<UpdateDeploymentResponse> updateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) Updates a Deployment.
This is a convenience which creates an instance of the
UpdateDeploymentRequest.Builderavoiding the need to create one manually viaUpdateDeploymentRequest.builder()- Parameters:
updateDeploymentRequest- AConsumerthat will call methods onUpdateDeploymentRequest.Builderto create a request. Updates a Deployment.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateDomainName
default CompletableFuture<UpdateDomainNameResponse> updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) Updates a domain name.
- Parameters:
updateDomainNameRequest- Updates a DomainName.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateDomainName
default CompletableFuture<UpdateDomainNameResponse> updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) Updates a domain name.
This is a convenience which creates an instance of the
UpdateDomainNameRequest.Builderavoiding the need to create one manually viaUpdateDomainNameRequest.builder()- Parameters:
updateDomainNameRequest- AConsumerthat will call methods onUpdateDomainNameRequest.Builderto create a request. Updates a DomainName.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateIntegration
default CompletableFuture<UpdateIntegrationResponse> updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Updates an Integration.
- Parameters:
updateIntegrationRequest- Updates an Integration.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateIntegration
default CompletableFuture<UpdateIntegrationResponse> updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Updates an Integration.
This is a convenience which creates an instance of the
UpdateIntegrationRequest.Builderavoiding the need to create one manually viaUpdateIntegrationRequest.builder()- Parameters:
updateIntegrationRequest- AConsumerthat will call methods onUpdateIntegrationRequest.Builderto create a request. Updates an Integration.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateIntegrationResponse
default CompletableFuture<UpdateIntegrationResponseResponse> updateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest) Updates an IntegrationResponses.
- Parameters:
updateIntegrationResponseRequest- Updates an IntegrationResponses.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateIntegrationResponse
default CompletableFuture<UpdateIntegrationResponseResponse> updateIntegrationResponse(Consumer<UpdateIntegrationResponseRequest.Builder> updateIntegrationResponseRequest) Updates an IntegrationResponses.
This is a convenience which creates an instance of the
UpdateIntegrationResponseRequest.Builderavoiding the need to create one manually viaUpdateIntegrationResponseRequest.builder()- Parameters:
updateIntegrationResponseRequest- AConsumerthat will call methods onUpdateIntegrationResponseRequest.Builderto create a request. Updates an IntegrationResponses.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateModel
Updates a Model.
- Parameters:
updateModelRequest- Updates a Model.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateModel
default CompletableFuture<UpdateModelResponse> updateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest) Updates a Model.
This is a convenience which creates an instance of the
UpdateModelRequest.Builderavoiding the need to create one manually viaUpdateModelRequest.builder()- Parameters:
updateModelRequest- AConsumerthat will call methods onUpdateModelRequest.Builderto create a request. Updates a Model.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateRoute
Updates a Route.
- Parameters:
updateRouteRequest- Updates a Route.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateRoute
default CompletableFuture<UpdateRouteResponse> updateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest) Updates a Route.
This is a convenience which creates an instance of the
UpdateRouteRequest.Builderavoiding the need to create one manually viaUpdateRouteRequest.builder()- Parameters:
updateRouteRequest- AConsumerthat will call methods onUpdateRouteRequest.Builderto create a request. Updates a Route.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateRouteResponse
default CompletableFuture<UpdateRouteResponseResponse> updateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest) Updates a RouteResponse.
- Parameters:
updateRouteResponseRequest- Updates a RouteResponse.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateRouteResponse
default CompletableFuture<UpdateRouteResponseResponse> updateRouteResponse(Consumer<UpdateRouteResponseRequest.Builder> updateRouteResponseRequest) Updates a RouteResponse.
This is a convenience which creates an instance of the
UpdateRouteResponseRequest.Builderavoiding the need to create one manually viaUpdateRouteResponseRequest.builder()- Parameters:
updateRouteResponseRequest- AConsumerthat will call methods onUpdateRouteResponseRequest.Builderto create a request. Updates a RouteResponse.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateStage
Updates a Stage.
- Parameters:
updateStageRequest- Updates a Stage.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateStage
default CompletableFuture<UpdateStageResponse> updateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest) Updates a Stage.
This is a convenience which creates an instance of the
UpdateStageRequest.Builderavoiding the need to create one manually viaUpdateStageRequest.builder()- Parameters:
updateStageRequest- AConsumerthat will call methods onUpdateStageRequest.Builderto create a request. Updates a Stage.- Returns:
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateVpcLink
default CompletableFuture<UpdateVpcLinkResponse> updateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest) Updates a VPC link.
- Parameters:
updateVpcLinkRequest- Updates a VPC link.- Returns:
- A Java Future containing the result of the UpdateVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
updateVpcLink
default CompletableFuture<UpdateVpcLinkResponse> updateVpcLink(Consumer<UpdateVpcLinkRequest.Builder> updateVpcLinkRequest) Updates a VPC link.
This is a convenience which creates an instance of the
UpdateVpcLinkRequest.Builderavoiding the need to create one manually viaUpdateVpcLinkRequest.builder()- Parameters:
updateVpcLinkRequest- AConsumerthat will call methods onUpdateVpcLinkRequest.Builderto create a request. Updates a VPC link.- Returns:
- A Java Future containing the result of the UpdateVpcLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aApiGatewayV2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aApiGatewayV2AsyncClient.
-