@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, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AmazonApiGatewayV2ClientBuilder builder()
public CreateApiResult createApi(CreateApiRequest request)
Creates an Api resource.
createApi
in interface AmazonApiGatewayV2
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.public CreateApiMappingResult createApiMapping(CreateApiMappingRequest request)
Creates an API mapping.
createApiMapping
in interface AmazonApiGatewayV2
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.public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request)
Creates an Authorizer for an API.
createAuthorizer
in interface AmazonApiGatewayV2
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.public CreateDeploymentResult createDeployment(CreateDeploymentRequest request)
Creates a Deployment for an API.
createDeployment
in interface AmazonApiGatewayV2
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.public CreateDomainNameResult createDomainName(CreateDomainNameRequest request)
Creates a domain name.
createDomainName
in interface AmazonApiGatewayV2
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.public CreateIntegrationResult createIntegration(CreateIntegrationRequest request)
Creates an Integration.
createIntegration
in interface AmazonApiGatewayV2
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.public CreateIntegrationResponseResult createIntegrationResponse(CreateIntegrationResponseRequest request)
Creates an IntegrationResponses.
createIntegrationResponse
in interface AmazonApiGatewayV2
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.public CreateModelResult createModel(CreateModelRequest request)
Creates a Model for an API.
createModel
in interface AmazonApiGatewayV2
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.public CreateRouteResult createRoute(CreateRouteRequest request)
Creates a Route for an API.
createRoute
in interface AmazonApiGatewayV2
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.public CreateRouteResponseResult createRouteResponse(CreateRouteResponseRequest request)
Creates a RouteResponse for a Route.
createRouteResponse
in interface AmazonApiGatewayV2
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.public CreateStageResult createStage(CreateStageRequest request)
Creates a Stage for an API.
createStage
in interface AmazonApiGatewayV2
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.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 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 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 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 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)
The 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)
The 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 the Tags for an API.
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 TagResourceResult tagResource(TagResourceRequest request)
Tag an APIGW resource
tagResource
in interface AmazonApiGatewayV2
tagResourceRequest
- NotFoundException
- The 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)
Untag an APIGW resource
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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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
- NotFoundException
- The 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 AmazonApiGatewayV2
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.