@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayV2Client extends AmazonWebServiceClient implements AmazonApiGatewayV2
Amazon API Gateway V2
LOGGING_AWS_REQUEST_METRIC ENDPOINT_PREFIX addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset public static AmazonApiGatewayV2ClientBuilder builder()
public CreateApiResult createApi(CreateApiRequest request)
Creates an Api resource.
createApi in interface AmazonApiGatewayV2 createApiRequest - 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 AmazonApiGatewayV2 createApiMappingRequest - 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 AmazonApiGatewayV2 createAuthorizerRequest - 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 AmazonApiGatewayV2 createDeploymentRequest - 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 AmazonApiGatewayV2 createDomainNameRequest - 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 AmazonApiGatewayV2 createIntegrationRequest - 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 AmazonApiGatewayV2 createIntegrationResponseRequest - 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 AmazonApiGatewayV2 createModelRequest - 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 AmazonApiGatewayV2 createRouteRequest - 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 AmazonApiGatewayV2 createRouteResponseRequest - 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 AmazonApiGatewayV2 createStageRequest - 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 AmazonApiGatewayV2 createVpcLinkRequest - 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 AmazonApiGatewayV2 deleteAccessLogSettingsRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteApiRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteApiMappingRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 deleteAuthorizerRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteCorsConfigurationRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteDeploymentRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteDomainNameRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteIntegrationRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteIntegrationResponseRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteModelRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteRouteRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteRouteRequestParameterRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteRouteResponseRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteRouteSettingsRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteStageRequest - NotFoundException - The 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 AmazonApiGatewayV2 deleteVpcLinkRequest - NotFoundException - The 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 AmazonApiGatewayV2 exportApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getApiRequest - NotFoundException - The 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 AmazonApiGatewayV2 getApiMappingRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getApiMappingsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getApisRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getAuthorizerRequest - NotFoundException - The 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 AmazonApiGatewayV2 getAuthorizersRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getDeploymentRequest - NotFoundException - The 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 AmazonApiGatewayV2 getDeploymentsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getDomainNameRequest - NotFoundException - The 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 AmazonApiGatewayV2 getDomainNamesRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getIntegrationRequest - NotFoundException - The 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 AmazonApiGatewayV2 getIntegrationResponseRequest - NotFoundException - The 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 AmazonApiGatewayV2 getIntegrationResponsesRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getIntegrationsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getModelRequest - NotFoundException - The 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 AmazonApiGatewayV2 getModelTemplateRequest - NotFoundException - The 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 AmazonApiGatewayV2 getModelsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getRouteRequest - NotFoundException - The 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 AmazonApiGatewayV2 getRouteResponseRequest - NotFoundException - The 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 AmazonApiGatewayV2 getRouteResponsesRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getRoutesRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getStageRequest - NotFoundException - The 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 AmazonApiGatewayV2 getStagesRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getTagsRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 getVpcLinkRequest - NotFoundException - The 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 AmazonApiGatewayV2 getVpcLinksRequest - 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 AmazonApiGatewayV2 importApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 reimportApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 resetAuthorizersCacheRequest - NotFoundException - The 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 AmazonApiGatewayV2 tagResourceRequest - 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 AmazonApiGatewayV2 untagResourceRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 AmazonApiGatewayV2 updateApiRequest - 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 AmazonApiGatewayV2 updateApiMappingRequest - 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 AmazonApiGatewayV2 updateAuthorizerRequest - 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 AmazonApiGatewayV2 updateDeploymentRequest - 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 AmazonApiGatewayV2 updateDomainNameRequest - 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 AmazonApiGatewayV2 updateIntegrationRequest - 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 AmazonApiGatewayV2 updateIntegrationResponseRequest - 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 AmazonApiGatewayV2 updateModelRequest - 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 AmazonApiGatewayV2 updateRouteRequest - 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 AmazonApiGatewayV2 updateRouteResponseRequest - 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 AmazonApiGatewayV2 updateStageRequest - 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 AmazonApiGatewayV2 updateVpcLinkRequest - 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 AmazonApiGatewayV2 request - The originally executed requestpublic void shutdown()
AmazonWebServiceClient shutdown in interface AmazonApiGatewayV2 shutdown in class AmazonWebServiceClient