@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApiGatewayV2
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonApiGatewayV2
instead.
Amazon API Gateway V2
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
static final String ENDPOINT_PREFIX
CreateApiResult createApi(CreateApiRequest createApiRequest)
Creates an Api resource.
createApiRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateApiMappingResult createApiMapping(CreateApiMappingRequest createApiMappingRequest)
Creates an API mapping.
createApiMappingRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)
Creates an Authorizer for an API.
createAuthorizerRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateDeploymentResult createDeployment(CreateDeploymentRequest createDeploymentRequest)
Creates a Deployment for an API.
createDeploymentRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateDomainNameResult createDomainName(CreateDomainNameRequest createDomainNameRequest)
Creates a domain name.
createDomainNameRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateIntegrationResult createIntegration(CreateIntegrationRequest createIntegrationRequest)
Creates an Integration.
createIntegrationRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateIntegrationResponseResult createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest)
Creates an IntegrationResponses.
createIntegrationResponseRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateModelResult createModel(CreateModelRequest createModelRequest)
Creates a Model for an API.
createModelRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateRouteResult createRoute(CreateRouteRequest createRouteRequest)
Creates a Route for an API.
createRouteRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateRouteResponseResult createRouteResponse(CreateRouteResponseRequest createRouteResponseRequest)
Creates a RouteResponse for a Route.
createRouteResponseRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.CreateStageResult createStage(CreateStageRequest createStageRequest)
Creates a Stage for an API.
createStageRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.DeleteApiResult deleteApi(DeleteApiRequest deleteApiRequest)
Deletes an Api resource.
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.DeleteApiMappingResult deleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest)
Deletes an API mapping.
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.DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)
Deletes an Authorizer.
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.DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest)
Deletes a Deployment.
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.DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest)
Deletes a domain name.
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.DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest)
Deletes an Integration.
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.DeleteIntegrationResponseResult deleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest)
Deletes an IntegrationResponses.
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.DeleteModelResult deleteModel(DeleteModelRequest deleteModelRequest)
Deletes a Model.
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.DeleteRouteResult deleteRoute(DeleteRouteRequest deleteRouteRequest)
Deletes a Route.
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.DeleteRouteResponseResult deleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest)
Deletes a RouteResponse.
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.DeleteStageResult deleteStage(DeleteStageRequest deleteStageRequest)
Deletes a Stage.
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.GetApiResult getApi(GetApiRequest getApiRequest)
Gets an Api resource.
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.GetApiMappingResult getApiMapping(GetApiMappingRequest getApiMappingRequest)
The API mapping.
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.GetApiMappingsResult getApiMappings(GetApiMappingsRequest getApiMappingsRequest)
The API mappings.
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.GetApisResult getApis(GetApisRequest getApisRequest)
Gets a collection of Api resources.
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.GetAuthorizerResult getAuthorizer(GetAuthorizerRequest getAuthorizerRequest)
Gets an Authorizer.
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.GetAuthorizersResult getAuthorizers(GetAuthorizersRequest getAuthorizersRequest)
Gets the Authorizers for an API.
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.GetDeploymentResult getDeployment(GetDeploymentRequest getDeploymentRequest)
Gets a Deployment.
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.GetDeploymentsResult getDeployments(GetDeploymentsRequest getDeploymentsRequest)
Gets the Deployments for an API.
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.GetDomainNameResult getDomainName(GetDomainNameRequest getDomainNameRequest)
Gets a domain name.
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.GetDomainNamesResult getDomainNames(GetDomainNamesRequest getDomainNamesRequest)
Gets the domain names for an AWS account.
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.GetIntegrationResult getIntegration(GetIntegrationRequest getIntegrationRequest)
Gets an Integration.
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.GetIntegrationResponseResult getIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest)
Gets an IntegrationResponses.
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.GetIntegrationResponsesResult getIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest)
Gets the IntegrationResponses for an Integration.
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.GetIntegrationsResult getIntegrations(GetIntegrationsRequest getIntegrationsRequest)
Gets the Integrations for an API.
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.GetModelResult getModel(GetModelRequest getModelRequest)
Gets a Model.
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.GetModelTemplateResult getModelTemplate(GetModelTemplateRequest getModelTemplateRequest)
Gets a model template.
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.GetModelsResult getModels(GetModelsRequest getModelsRequest)
Gets the Models for an API.
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.GetRouteResult getRoute(GetRouteRequest getRouteRequest)
Gets a Route.
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.GetRouteResponseResult getRouteResponse(GetRouteResponseRequest getRouteResponseRequest)
Gets a RouteResponse.
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.GetRouteResponsesResult getRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest)
Gets the RouteResponses for a Route.
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.GetRoutesResult getRoutes(GetRoutesRequest getRoutesRequest)
Gets the Routes for an API.
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.GetStageResult getStage(GetStageRequest getStageRequest)
Gets a Stage.
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.GetStagesResult getStages(GetStagesRequest getStagesRequest)
Gets the Stages for an API.
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.UpdateApiResult updateApi(UpdateApiRequest updateApiRequest)
Updates an Api resource.
updateApiRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateApiMappingResult updateApiMapping(UpdateApiMappingRequest updateApiMappingRequest)
The API mapping.
updateApiMappingRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest)
Updates an Authorizer.
updateAuthorizerRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest updateDeploymentRequest)
Updates a Deployment.
updateDeploymentRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest updateDomainNameRequest)
Updates a domain name.
updateDomainNameRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateIntegrationResult updateIntegration(UpdateIntegrationRequest updateIntegrationRequest)
Updates an Integration.
updateIntegrationRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateIntegrationResponseResult updateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest)
Updates an IntegrationResponses.
updateIntegrationResponseRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateModelResult updateModel(UpdateModelRequest updateModelRequest)
Updates a Model.
updateModelRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateRouteResult updateRoute(UpdateRouteRequest updateRouteRequest)
Updates a Route.
updateRouteRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateRouteResponseResult updateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest)
Updates a RouteResponse.
updateRouteResponseRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.UpdateStageResult updateStage(UpdateStageRequest updateStageRequest)
Updates a Stage.
updateStageRequest
- NotFoundException
- The resource specified in the request was not found.TooManyRequestsException
- The 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.void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.