Interface ApiGatewayV2AsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon API Gateway V2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value 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 ApiGatewayV2AsyncClient
create()
Create aApiGatewayV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and 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
close
Methods 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateApiRequest.builder()
- Parameters:
createApiRequest
- AConsumer
that will call methods onCreateApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateApiMappingRequest.builder()
- Parameters:
createApiMappingRequest
- AConsumer
that will call methods onCreateApiMappingRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateAuthorizerRequest.builder()
- Parameters:
createAuthorizerRequest
- AConsumer
that will call methods onCreateAuthorizerRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateDeploymentRequest.builder()
- Parameters:
createDeploymentRequest
- AConsumer
that will call methods onCreateDeploymentRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateDomainNameRequest.builder()
- Parameters:
createDomainNameRequest
- AConsumer
that will call methods onCreateDomainNameRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateIntegrationRequest.builder()
- Parameters:
createIntegrationRequest
- AConsumer
that will call methods onCreateIntegrationRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateIntegrationResponseRequest.builder()
- Parameters:
createIntegrationResponseRequest
- AConsumer
that will call methods onCreateIntegrationResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateModelRequest.builder()
- Parameters:
createModelRequest
- AConsumer
that will call methods onCreateModelRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateRouteRequest.builder()
- Parameters:
createRouteRequest
- AConsumer
that will call methods onCreateRouteRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateRouteResponseRequest.builder()
- Parameters:
createRouteResponseRequest
- AConsumer
that will call methods onCreateRouteResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaCreateStageRequest.builder()
- Parameters:
createStageRequest
- AConsumer
that will call methods onCreateStageRequest.Builder
to 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.- NotFoundException The 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.- 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.Builder
avoiding the need to create one manually viaCreateVpcLinkRequest.builder()
- Parameters:
createVpcLinkRequest
- AConsumer
that will call methods onCreateVpcLinkRequest.Builder
to 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.- 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteAccessLogSettingsRequest.builder()
- Parameters:
deleteAccessLogSettingsRequest
- AConsumer
that will call methods onDeleteAccessLogSettingsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteApiRequest.builder()
- Parameters:
deleteApiRequest
- AConsumer
that will call methods onDeleteApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteApiMappingRequest.builder()
- Parameters:
deleteApiMappingRequest
- AConsumer
that will call methods onDeleteApiMappingRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteAuthorizerRequest.builder()
- Parameters:
deleteAuthorizerRequest
- AConsumer
that will call methods onDeleteAuthorizerRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteCorsConfigurationRequest.builder()
- Parameters:
deleteCorsConfigurationRequest
- AConsumer
that will call methods onDeleteCorsConfigurationRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteDeploymentRequest.builder()
- Parameters:
deleteDeploymentRequest
- AConsumer
that will call methods onDeleteDeploymentRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteDomainNameRequest.builder()
- Parameters:
deleteDomainNameRequest
- AConsumer
that will call methods onDeleteDomainNameRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteIntegrationRequest.builder()
- Parameters:
deleteIntegrationRequest
- AConsumer
that will call methods onDeleteIntegrationRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteIntegrationResponseRequest.builder()
- Parameters:
deleteIntegrationResponseRequest
- AConsumer
that will call methods onDeleteIntegrationResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteModelRequest.builder()
- Parameters:
deleteModelRequest
- AConsumer
that will call methods onDeleteModelRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteRouteRequest.builder()
- Parameters:
deleteRouteRequest
- AConsumer
that will call methods onDeleteRouteRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteRouteRequestParameterRequest.builder()
- Parameters:
deleteRouteRequestParameterRequest
- AConsumer
that will call methods onDeleteRouteRequestParameterRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteRouteResponseRequest.builder()
- Parameters:
deleteRouteResponseRequest
- AConsumer
that will call methods onDeleteRouteResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteRouteSettingsRequest.builder()
- Parameters:
deleteRouteSettingsRequest
- AConsumer
that will call methods onDeleteRouteSettingsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteStageRequest.builder()
- Parameters:
deleteStageRequest
- AConsumer
that will call methods onDeleteStageRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaDeleteVpcLinkRequest.builder()
- Parameters:
deleteVpcLinkRequest
- AConsumer
that will call methods onDeleteVpcLinkRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaExportApiRequest.builder()
- Parameters:
exportApiRequest
- AConsumer
that will call methods onExportApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetApiRequest.builder()
- Parameters:
getApiRequest
- AConsumer
that will call methods onGetApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetApiMappingRequest.builder()
- Parameters:
getApiMappingRequest
- AConsumer
that will call methods onGetApiMappingRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetApiMappingsRequest.builder()
- Parameters:
getApiMappingsRequest
- AConsumer
that will call methods onGetApiMappingsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetApisRequest.builder()
- Parameters:
getApisRequest
- AConsumer
that will call methods onGetApisRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetAuthorizerRequest.builder()
- Parameters:
getAuthorizerRequest
- AConsumer
that will call methods onGetAuthorizerRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetAuthorizersRequest.builder()
- Parameters:
getAuthorizersRequest
- AConsumer
that will call methods onGetAuthorizersRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetDeploymentRequest.builder()
- Parameters:
getDeploymentRequest
- AConsumer
that will call methods onGetDeploymentRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetDeploymentsRequest.builder()
- Parameters:
getDeploymentsRequest
- AConsumer
that will call methods onGetDeploymentsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetDomainNameRequest.builder()
- Parameters:
getDomainNameRequest
- AConsumer
that will call methods onGetDomainNameRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetDomainNamesRequest.builder()
- Parameters:
getDomainNamesRequest
- AConsumer
that will call methods onGetDomainNamesRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetIntegrationRequest.builder()
- Parameters:
getIntegrationRequest
- AConsumer
that will call methods onGetIntegrationRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetIntegrationResponseRequest.builder()
- Parameters:
getIntegrationResponseRequest
- AConsumer
that will call methods onGetIntegrationResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetIntegrationResponsesRequest.builder()
- Parameters:
getIntegrationResponsesRequest
- AConsumer
that will call methods onGetIntegrationResponsesRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetIntegrationsRequest.builder()
- Parameters:
getIntegrationsRequest
- AConsumer
that will call methods onGetIntegrationsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetModelRequest.builder()
- Parameters:
getModelRequest
- AConsumer
that will call methods onGetModelRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetModelTemplateRequest.builder()
- Parameters:
getModelTemplateRequest
- AConsumer
that will call methods onGetModelTemplateRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetModelsRequest.builder()
- Parameters:
getModelsRequest
- AConsumer
that will call methods onGetModelsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetRouteRequest.builder()
- Parameters:
getRouteRequest
- AConsumer
that will call methods onGetRouteRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetRouteResponseRequest.builder()
- Parameters:
getRouteResponseRequest
- AConsumer
that will call methods onGetRouteResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetRouteResponsesRequest.builder()
- Parameters:
getRouteResponsesRequest
- AConsumer
that will call methods onGetRouteResponsesRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetRoutesRequest.builder()
- Parameters:
getRoutesRequest
- AConsumer
that will call methods onGetRoutesRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetStageRequest.builder()
- Parameters:
getStageRequest
- AConsumer
that will call methods onGetStageRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetStagesRequest.builder()
- Parameters:
getStagesRequest
- AConsumer
that will call methods onGetStagesRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetTagsRequest.builder()
- Parameters:
getTagsRequest
- AConsumer
that will call methods onGetTagsRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaGetVpcLinkRequest.builder()
- Parameters:
getVpcLinkRequest
- AConsumer
that will call methods onGetVpcLinkRequest.Builder
to 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.- NotFoundException The 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.- 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.Builder
avoiding the need to create one manually viaGetVpcLinksRequest.builder()
- Parameters:
getVpcLinksRequest
- AConsumer
that will call methods onGetVpcLinksRequest.Builder
to 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.- 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaImportApiRequest.builder()
- Parameters:
importApiRequest
- AConsumer
that will call methods onImportApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaReimportApiRequest.builder()
- Parameters:
reimportApiRequest
- AConsumer
that will call methods onReimportApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaResetAuthorizersCacheRequest.builder()
- Parameters:
resetAuthorizersCacheRequest
- AConsumer
that will call methods onResetAuthorizersCacheRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateApiRequest.builder()
- Parameters:
updateApiRequest
- AConsumer
that will call methods onUpdateApiRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateApiMappingRequest.builder()
- Parameters:
updateApiMappingRequest
- AConsumer
that will call methods onUpdateApiMappingRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateAuthorizerRequest.builder()
- Parameters:
updateAuthorizerRequest
- AConsumer
that will call methods onUpdateAuthorizerRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateDeploymentRequest.builder()
- Parameters:
updateDeploymentRequest
- AConsumer
that will call methods onUpdateDeploymentRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateDomainNameRequest.builder()
- Parameters:
updateDomainNameRequest
- AConsumer
that will call methods onUpdateDomainNameRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateIntegrationRequest.builder()
- Parameters:
updateIntegrationRequest
- AConsumer
that will call methods onUpdateIntegrationRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateIntegrationResponseRequest.builder()
- Parameters:
updateIntegrationResponseRequest
- AConsumer
that will call methods onUpdateIntegrationResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateModelRequest.builder()
- Parameters:
updateModelRequest
- AConsumer
that will call methods onUpdateModelRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateRouteRequest.builder()
- Parameters:
updateRouteRequest
- AConsumer
that will call methods onUpdateRouteRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateRouteResponseRequest.builder()
- Parameters:
updateRouteResponseRequest
- AConsumer
that will call methods onUpdateRouteResponseRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateStageRequest.builder()
- Parameters:
updateStageRequest
- AConsumer
that will call methods onUpdateStageRequest.Builder
to 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.- NotFoundException The 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.- NotFoundException The 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.Builder
avoiding the need to create one manually viaUpdateVpcLinkRequest.builder()
- Parameters:
updateVpcLinkRequest
- AConsumer
that will call methods onUpdateVpcLinkRequest.Builder
to 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.- NotFoundException The 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:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aApiGatewayV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aApiGatewayV2AsyncClient
.
-