@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayV2Client extends AmazonWebServiceClient implements AmazonApiGatewayV2
Amazon API Gateway V2
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonApiGatewayV2ClientBuilder builder()
public CreateApiResult createApi(CreateApiRequest request)
Creates an Api resource.
createApi in interface AmazonApiGatewayV2createApiRequest - Creates a new Api resource to represent an API.NotFoundException - The 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.public CreateApiMappingResult createApiMapping(CreateApiMappingRequest request)
Creates an API mapping.
createApiMapping in interface AmazonApiGatewayV2createApiMappingRequest - Creates a new ApiMapping resource to represent an API mapping.NotFoundException - The 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.public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request)
Creates an Authorizer for an API.
createAuthorizer in interface AmazonApiGatewayV2createAuthorizerRequest - Creates a new Authorizer resource to represent an authorizer.NotFoundException - The 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.public CreateDeploymentResult createDeployment(CreateDeploymentRequest request)
Creates a Deployment for an API.
createDeployment in interface AmazonApiGatewayV2createDeploymentRequest - Creates a new Deployment resource to represent a deployment.NotFoundException - The 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.public CreateDomainNameResult createDomainName(CreateDomainNameRequest request)
Creates a domain name.
createDomainName in interface AmazonApiGatewayV2createDomainNameRequest - Creates a new DomainName resource to represent a domain name.NotFoundException - The 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 responsepublic CreateIntegrationResult createIntegration(CreateIntegrationRequest request)
Creates an Integration.
createIntegration in interface AmazonApiGatewayV2createIntegrationRequest - Creates a new Integration resource to represent an integration.NotFoundException - The 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.public CreateIntegrationResponseResult createIntegrationResponse(CreateIntegrationResponseRequest request)
Creates an IntegrationResponses.
createIntegrationResponse in interface AmazonApiGatewayV2createIntegrationResponseRequest - Creates a new IntegrationResponse resource to represent an integration response.NotFoundException - The 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.public CreateModelResult createModel(CreateModelRequest request)
Creates a Model for an API.
createModel in interface AmazonApiGatewayV2createModelRequest - Creates a new Model.NotFoundException - The 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.public CreateRouteResult createRoute(CreateRouteRequest request)
Creates a Route for an API.
createRoute in interface AmazonApiGatewayV2createRouteRequest - Creates a new Route resource to represent a route.NotFoundException - The 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.public CreateRouteResponseResult createRouteResponse(CreateRouteResponseRequest request)
Creates a RouteResponse for a Route.
createRouteResponse in interface AmazonApiGatewayV2createRouteResponseRequest - Creates a new RouteResponse resource to represent a route response.NotFoundException - The 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.public CreateStageResult createStage(CreateStageRequest request)
Creates a Stage for an API.
createStage in interface AmazonApiGatewayV2createStageRequest - Creates a new Stage resource to represent a stage.NotFoundException - The 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.public CreateVpcLinkResult createVpcLink(CreateVpcLinkRequest request)
Creates a VPC link.
createVpcLink in interface AmazonApiGatewayV2createVpcLinkRequest - Creates a VPC linkBadRequestException - 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.public DeleteAccessLogSettingsResult deleteAccessLogSettings(DeleteAccessLogSettingsRequest request)
Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
deleteAccessLogSettings in interface AmazonApiGatewayV2deleteAccessLogSettingsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteApiResult deleteApi(DeleteApiRequest request)
Deletes an Api resource.
deleteApi in interface AmazonApiGatewayV2deleteApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteApiMappingResult deleteApiMapping(DeleteApiMappingRequest request)
Deletes an API mapping.
deleteApiMapping in interface AmazonApiGatewayV2deleteApiMappingRequest - NotFoundException - The 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.public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request)
Deletes an Authorizer.
deleteAuthorizer in interface AmazonApiGatewayV2deleteAuthorizerRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteCorsConfigurationResult deleteCorsConfiguration(DeleteCorsConfigurationRequest request)
Deletes a CORS configuration.
deleteCorsConfiguration in interface AmazonApiGatewayV2deleteCorsConfigurationRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request)
Deletes a Deployment.
deleteDeployment in interface AmazonApiGatewayV2deleteDeploymentRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest request)
Deletes a domain name.
deleteDomainName in interface AmazonApiGatewayV2deleteDomainNameRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest request)
Deletes an Integration.
deleteIntegration in interface AmazonApiGatewayV2deleteIntegrationRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteIntegrationResponseResult deleteIntegrationResponse(DeleteIntegrationResponseRequest request)
Deletes an IntegrationResponses.
deleteIntegrationResponse in interface AmazonApiGatewayV2deleteIntegrationResponseRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteModelResult deleteModel(DeleteModelRequest request)
Deletes a Model.
deleteModel in interface AmazonApiGatewayV2deleteModelRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteRouteResult deleteRoute(DeleteRouteRequest request)
Deletes a Route.
deleteRoute in interface AmazonApiGatewayV2deleteRouteRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteRouteRequestParameterResult deleteRouteRequestParameter(DeleteRouteRequestParameterRequest request)
Deletes a route request parameter. Supported only for WebSocket APIs.
deleteRouteRequestParameter in interface AmazonApiGatewayV2deleteRouteRequestParameterRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteRouteResponseResult deleteRouteResponse(DeleteRouteResponseRequest request)
Deletes a RouteResponse.
deleteRouteResponse in interface AmazonApiGatewayV2deleteRouteResponseRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteRouteSettingsResult deleteRouteSettings(DeleteRouteSettingsRequest request)
Deletes the RouteSettings for a stage.
deleteRouteSettings in interface AmazonApiGatewayV2deleteRouteSettingsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteStageResult deleteStage(DeleteStageRequest request)
Deletes a Stage.
deleteStage in interface AmazonApiGatewayV2deleteStageRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public DeleteVpcLinkResult deleteVpcLink(DeleteVpcLinkRequest request)
Deletes a VPC link.
deleteVpcLink in interface AmazonApiGatewayV2deleteVpcLinkRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public ExportApiResult exportApi(ExportApiRequest request)
exportApi in interface AmazonApiGatewayV2exportApiRequest - NotFoundException - The 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.public GetApiResult getApi(GetApiRequest request)
Gets an Api resource.
getApi in interface AmazonApiGatewayV2getApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetApiMappingResult getApiMapping(GetApiMappingRequest request)
Gets an API mapping.
getApiMapping in interface AmazonApiGatewayV2getApiMappingRequest - NotFoundException - The 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.public GetApiMappingsResult getApiMappings(GetApiMappingsRequest request)
Gets API mappings.
getApiMappings in interface AmazonApiGatewayV2getApiMappingsRequest - NotFoundException - The 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.public GetApisResult getApis(GetApisRequest request)
Gets a collection of Api resources.
getApis in interface AmazonApiGatewayV2getApisRequest - NotFoundException - The 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.public GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request)
Gets an Authorizer.
getAuthorizer in interface AmazonApiGatewayV2getAuthorizerRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetAuthorizersResult getAuthorizers(GetAuthorizersRequest request)
Gets the Authorizers for an API.
getAuthorizers in interface AmazonApiGatewayV2getAuthorizersRequest - NotFoundException - The 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.public GetDeploymentResult getDeployment(GetDeploymentRequest request)
Gets a Deployment.
getDeployment in interface AmazonApiGatewayV2getDeploymentRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetDeploymentsResult getDeployments(GetDeploymentsRequest request)
Gets the Deployments for an API.
getDeployments in interface AmazonApiGatewayV2getDeploymentsRequest - NotFoundException - The 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.public GetDomainNameResult getDomainName(GetDomainNameRequest request)
Gets a domain name.
getDomainName in interface AmazonApiGatewayV2getDomainNameRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetDomainNamesResult getDomainNames(GetDomainNamesRequest request)
Gets the domain names for an AWS account.
getDomainNames in interface AmazonApiGatewayV2getDomainNamesRequest - NotFoundException - The 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.public GetIntegrationResult getIntegration(GetIntegrationRequest request)
Gets an Integration.
getIntegration in interface AmazonApiGatewayV2getIntegrationRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetIntegrationResponseResult getIntegrationResponse(GetIntegrationResponseRequest request)
Gets an IntegrationResponses.
getIntegrationResponse in interface AmazonApiGatewayV2getIntegrationResponseRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetIntegrationResponsesResult getIntegrationResponses(GetIntegrationResponsesRequest request)
Gets the IntegrationResponses for an Integration.
getIntegrationResponses in interface AmazonApiGatewayV2getIntegrationResponsesRequest - NotFoundException - The 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.public GetIntegrationsResult getIntegrations(GetIntegrationsRequest request)
Gets the Integrations for an API.
getIntegrations in interface AmazonApiGatewayV2getIntegrationsRequest - NotFoundException - The 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.public GetModelResult getModel(GetModelRequest request)
Gets a Model.
getModel in interface AmazonApiGatewayV2getModelRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetModelTemplateResult getModelTemplate(GetModelTemplateRequest request)
Gets a model template.
getModelTemplate in interface AmazonApiGatewayV2getModelTemplateRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetModelsResult getModels(GetModelsRequest request)
Gets the Models for an API.
getModels in interface AmazonApiGatewayV2getModelsRequest - NotFoundException - The 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.public GetRouteResult getRoute(GetRouteRequest request)
Gets a Route.
getRoute in interface AmazonApiGatewayV2getRouteRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetRouteResponseResult getRouteResponse(GetRouteResponseRequest request)
Gets a RouteResponse.
getRouteResponse in interface AmazonApiGatewayV2getRouteResponseRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetRouteResponsesResult getRouteResponses(GetRouteResponsesRequest request)
Gets the RouteResponses for a Route.
getRouteResponses in interface AmazonApiGatewayV2getRouteResponsesRequest - NotFoundException - The 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.public GetRoutesResult getRoutes(GetRoutesRequest request)
Gets the Routes for an API.
getRoutes in interface AmazonApiGatewayV2getRoutesRequest - NotFoundException - The 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.public GetStageResult getStage(GetStageRequest request)
Gets a Stage.
getStage in interface AmazonApiGatewayV2getStageRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetStagesResult getStages(GetStagesRequest request)
Gets the Stages for an API.
getStages in interface AmazonApiGatewayV2getStagesRequest - NotFoundException - The 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.public GetTagsResult getTags(GetTagsRequest request)
Gets a collection of Tag resources.
getTags in interface AmazonApiGatewayV2getTagsRequest - NotFoundException - The 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.public GetVpcLinkResult getVpcLink(GetVpcLinkRequest request)
Gets a VPC link.
getVpcLink in interface AmazonApiGatewayV2getVpcLinkRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public GetVpcLinksResult getVpcLinks(GetVpcLinksRequest request)
Gets a collection of VPC links.
getVpcLinks in interface AmazonApiGatewayV2getVpcLinksRequest - 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.public ImportApiResult importApi(ImportApiRequest request)
Imports an API.
importApi in interface AmazonApiGatewayV2importApiRequest - NotFoundException - The 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.public ReimportApiResult reimportApi(ReimportApiRequest request)
Puts an Api resource.
reimportApi in interface AmazonApiGatewayV2reimportApiRequest - NotFoundException - The 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.public ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest request)
Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
resetAuthorizersCache in interface AmazonApiGatewayV2resetAuthorizersCacheRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.public TagResourceResult tagResource(TagResourceRequest request)
Creates a new Tag resource to represent a tag.
tagResource in interface AmazonApiGatewayV2tagResourceRequest - Creates a new Tag resource to represent a tag.NotFoundException - The 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.public UntagResourceResult untagResource(UntagResourceRequest request)
Deletes a Tag.
untagResource in interface AmazonApiGatewayV2untagResourceRequest - NotFoundException - The 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.public UpdateApiResult updateApi(UpdateApiRequest request)
Updates an Api resource.
updateApi in interface AmazonApiGatewayV2updateApiRequest - Updates an Api.NotFoundException - The 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.public UpdateApiMappingResult updateApiMapping(UpdateApiMappingRequest request)
The API mapping.
updateApiMapping in interface AmazonApiGatewayV2updateApiMappingRequest - Updates an ApiMapping.NotFoundException - The 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.public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request)
Updates an Authorizer.
updateAuthorizer in interface AmazonApiGatewayV2updateAuthorizerRequest - Updates an Authorizer.NotFoundException - The 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.public UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request)
Updates a Deployment.
updateDeployment in interface AmazonApiGatewayV2updateDeploymentRequest - Updates a Deployment.NotFoundException - The 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.public UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest request)
Updates a domain name.
updateDomainName in interface AmazonApiGatewayV2updateDomainNameRequest - Updates a DomainName.NotFoundException - The 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.public UpdateIntegrationResult updateIntegration(UpdateIntegrationRequest request)
Updates an Integration.
updateIntegration in interface AmazonApiGatewayV2updateIntegrationRequest - Updates an Integration.NotFoundException - The 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.public UpdateIntegrationResponseResult updateIntegrationResponse(UpdateIntegrationResponseRequest request)
Updates an IntegrationResponses.
updateIntegrationResponse in interface AmazonApiGatewayV2updateIntegrationResponseRequest - Updates an IntegrationResponses.NotFoundException - The 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.public UpdateModelResult updateModel(UpdateModelRequest request)
Updates a Model.
updateModel in interface AmazonApiGatewayV2updateModelRequest - Updates a Model.NotFoundException - The 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.public UpdateRouteResult updateRoute(UpdateRouteRequest request)
Updates a Route.
updateRoute in interface AmazonApiGatewayV2updateRouteRequest - Updates a Route.NotFoundException - The 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.public UpdateRouteResponseResult updateRouteResponse(UpdateRouteResponseRequest request)
Updates a RouteResponse.
updateRouteResponse in interface AmazonApiGatewayV2updateRouteResponseRequest - Updates a RouteResponse.NotFoundException - The 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.public UpdateStageResult updateStage(UpdateStageRequest request)
Updates a Stage.
updateStage in interface AmazonApiGatewayV2updateStageRequest - Updates a Stage.NotFoundException - The 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.public UpdateVpcLinkResult updateVpcLink(UpdateVpcLinkRequest request)
Updates a VPC link.
updateVpcLink in interface AmazonApiGatewayV2updateVpcLinkRequest - Updates a VPC link.NotFoundException - The 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonApiGatewayV2request - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonApiGatewayV2shutdown in class AmazonWebServiceClient