@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, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownpublic static AmazonApiGatewayV2ClientBuilder builder()
public CreateApiResult createApi(CreateApiRequest request)
Creates an Api resource.
createApi in interface AmazonApiGatewayV2createApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 CreateIntegrationResult createIntegration(CreateIntegrationRequest request)
Creates an Integration.
createIntegration in interface AmazonApiGatewayV2createIntegrationRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 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 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 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 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 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)
The 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)
The 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 UpdateApiResult updateApi(UpdateApiRequest request)
Updates an Api resource.
updateApi in interface AmazonApiGatewayV2updateApiRequest - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 - NotFoundException - The resource specified in the request was not found.TooManyRequestsException - The 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 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 requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.