/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.apigatewayv2; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.apigatewayv2.AmazonApiGatewayV2ClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.apigatewayv2.model.*; import com.amazonaws.services.apigatewayv2.model.transform.*; /** * Client for accessing AmazonApiGatewayV2. All service calls made using this client are blocking, and will not return * until the service call completes. *
*
* Amazon API Gateway V2 *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayV2Client extends AmazonWebServiceClient implements AmazonApiGatewayV2 { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AmazonApiGatewayV2.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "apigateway"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.1") .withSupportsCbor(false) .withSupportsIon(false) .withContentTypeOverride("application/json") .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("NotFoundException").withExceptionUnmarshaller( com.amazonaws.services.apigatewayv2.model.transform.NotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("AccessDeniedException").withExceptionUnmarshaller( com.amazonaws.services.apigatewayv2.model.transform.AccessDeniedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.apigatewayv2.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("TooManyRequestsException").withExceptionUnmarshaller( com.amazonaws.services.apigatewayv2.model.transform.TooManyRequestsExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("BadRequestException").withExceptionUnmarshaller( com.amazonaws.services.apigatewayv2.model.transform.BadRequestExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.apigatewayv2.model.AmazonApiGatewayV2Exception.class)); public static AmazonApiGatewayV2ClientBuilder builder() { return AmazonApiGatewayV2ClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on AmazonApiGatewayV2 using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AmazonApiGatewayV2Client(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on AmazonApiGatewayV2 using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AmazonApiGatewayV2Client(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("apigateway.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/apigatewayv2/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/apigatewayv2/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Creates an Api resource. *
* * @param createApiRequest * Creates a new Api resource to represent an API. * @return Result of the CreateApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateApi */ @Override public CreateApiResult createApi(CreateApiRequest request) { request = beforeClientExecution(request); return executeCreateApi(request); } @SdkInternalApi final CreateApiResult executeCreateApi(CreateApiRequest createApiRequest) { ExecutionContext executionContext = createExecutionContext(createApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an API mapping. *
* * @param createApiMappingRequest * Creates a new ApiMapping resource to represent an API mapping. * @return Result of the CreateApiMapping operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateApiMapping */ @Override public CreateApiMappingResult createApiMapping(CreateApiMappingRequest request) { request = beforeClientExecution(request); return executeCreateApiMapping(request); } @SdkInternalApi final CreateApiMappingResult executeCreateApiMapping(CreateApiMappingRequest createApiMappingRequest) { ExecutionContext executionContext = createExecutionContext(createApiMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an Authorizer for an API. *
* * @param createAuthorizerRequest * Creates a new Authorizer resource to represent an authorizer. * @return Result of the CreateAuthorizer operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateAuthorizer */ @Override public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request) { request = beforeClientExecution(request); return executeCreateAuthorizer(request); } @SdkInternalApi final CreateAuthorizerResult executeCreateAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) { ExecutionContext executionContext = createExecutionContext(createAuthorizerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Deployment for an API. *
* * @param createDeploymentRequest * Creates a new Deployment resource to represent a deployment. * @return Result of the CreateDeployment operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateDeployment */ @Override public CreateDeploymentResult createDeployment(CreateDeploymentRequest request) { request = beforeClientExecution(request); return executeCreateDeployment(request); } @SdkInternalApi final CreateDeploymentResult executeCreateDeployment(CreateDeploymentRequest createDeploymentRequest) { ExecutionContext executionContext = createExecutionContext(createDeploymentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a domain name. *
* * @param createDomainNameRequest * Creates a new DomainName resource to represent a domain name. * @return Result of the CreateDomainName operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @throws AccessDeniedException * 403 response * @sample AmazonApiGatewayV2.CreateDomainName */ @Override public CreateDomainNameResult createDomainName(CreateDomainNameRequest request) { request = beforeClientExecution(request); return executeCreateDomainName(request); } @SdkInternalApi final CreateDomainNameResult executeCreateDomainName(CreateDomainNameRequest createDomainNameRequest) { ExecutionContext executionContext = createExecutionContext(createDomainNameRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an Integration. *
* * @param createIntegrationRequest * Creates a new Integration resource to represent an integration. * @return Result of the CreateIntegration operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateIntegration */ @Override public CreateIntegrationResult createIntegration(CreateIntegrationRequest request) { request = beforeClientExecution(request); return executeCreateIntegration(request); } @SdkInternalApi final CreateIntegrationResult executeCreateIntegration(CreateIntegrationRequest createIntegrationRequest) { ExecutionContext executionContext = createExecutionContext(createIntegrationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an IntegrationResponses. *
* * @param createIntegrationResponseRequest * Creates a new IntegrationResponse resource to represent an integration response. * @return Result of the CreateIntegrationResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateIntegrationResponse */ @Override public CreateIntegrationResponseResult createIntegrationResponse(CreateIntegrationResponseRequest request) { request = beforeClientExecution(request); return executeCreateIntegrationResponse(request); } @SdkInternalApi final CreateIntegrationResponseResult executeCreateIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest) { ExecutionContext executionContext = createExecutionContext(createIntegrationResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Model for an API. *
* * @param createModelRequest * Creates a new Model. * @return Result of the CreateModel operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateModel */ @Override public CreateModelResult createModel(CreateModelRequest request) { request = beforeClientExecution(request); return executeCreateModel(request); } @SdkInternalApi final CreateModelResult executeCreateModel(CreateModelRequest createModelRequest) { ExecutionContext executionContext = createExecutionContext(createModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Route for an API. *
* * @param createRouteRequest * Creates a new Route resource to represent a route. * @return Result of the CreateRoute operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateRoute */ @Override public CreateRouteResult createRoute(CreateRouteRequest request) { request = beforeClientExecution(request); return executeCreateRoute(request); } @SdkInternalApi final CreateRouteResult executeCreateRoute(CreateRouteRequest createRouteRequest) { ExecutionContext executionContext = createExecutionContext(createRouteRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a RouteResponse for a Route. *
* * @param createRouteResponseRequest * Creates a new RouteResponse resource to represent a route response. * @return Result of the CreateRouteResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateRouteResponse */ @Override public CreateRouteResponseResult createRouteResponse(CreateRouteResponseRequest request) { request = beforeClientExecution(request); return executeCreateRouteResponse(request); } @SdkInternalApi final CreateRouteResponseResult executeCreateRouteResponse(CreateRouteResponseRequest createRouteResponseRequest) { ExecutionContext executionContext = createExecutionContext(createRouteResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Stage for an API. *
* * @param createStageRequest * Creates a new Stage resource to represent a stage. * @return Result of the CreateStage operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.CreateStage */ @Override public CreateStageResult createStage(CreateStageRequest request) { request = beforeClientExecution(request); return executeCreateStage(request); } @SdkInternalApi final CreateStageResult executeCreateStage(CreateStageRequest createStageRequest) { ExecutionContext executionContext = createExecutionContext(createStageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a VPC link. *
* * @param createVpcLinkRequest * Creates a VPC link * @return Result of the CreateVpcLink operation returned by the service. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.CreateVpcLink */ @Override public CreateVpcLinkResult createVpcLink(CreateVpcLinkRequest request) { request = beforeClientExecution(request); return executeCreateVpcLink(request); } @SdkInternalApi final CreateVpcLinkResult executeCreateVpcLink(CreateVpcLinkRequest createVpcLinkRequest) { ExecutionContext executionContext = createExecutionContext(createVpcLinkRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings. *
* * @param deleteAccessLogSettingsRequest * @return Result of the DeleteAccessLogSettings operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteAccessLogSettings */ @Override public DeleteAccessLogSettingsResult deleteAccessLogSettings(DeleteAccessLogSettingsRequest request) { request = beforeClientExecution(request); return executeDeleteAccessLogSettings(request); } @SdkInternalApi final DeleteAccessLogSettingsResult executeDeleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest) { ExecutionContext executionContext = createExecutionContext(deleteAccessLogSettingsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an Api resource. *
* * @param deleteApiRequest * @return Result of the DeleteApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteApi */ @Override public DeleteApiResult deleteApi(DeleteApiRequest request) { request = beforeClientExecution(request); return executeDeleteApi(request); } @SdkInternalApi final DeleteApiResult executeDeleteApi(DeleteApiRequest deleteApiRequest) { ExecutionContext executionContext = createExecutionContext(deleteApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an API mapping. *
* * @param deleteApiMappingRequest * @return Result of the DeleteApiMapping operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.DeleteApiMapping */ @Override public DeleteApiMappingResult deleteApiMapping(DeleteApiMappingRequest request) { request = beforeClientExecution(request); return executeDeleteApiMapping(request); } @SdkInternalApi final DeleteApiMappingResult executeDeleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) { ExecutionContext executionContext = createExecutionContext(deleteApiMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an Authorizer. *
* * @param deleteAuthorizerRequest * @return Result of the DeleteAuthorizer operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteAuthorizer */ @Override public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request) { request = beforeClientExecution(request); return executeDeleteAuthorizer(request); } @SdkInternalApi final DeleteAuthorizerResult executeDeleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) { ExecutionContext executionContext = createExecutionContext(deleteAuthorizerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a CORS configuration. *
* * @param deleteCorsConfigurationRequest * @return Result of the DeleteCorsConfiguration operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteCorsConfiguration */ @Override public DeleteCorsConfigurationResult deleteCorsConfiguration(DeleteCorsConfigurationRequest request) { request = beforeClientExecution(request); return executeDeleteCorsConfiguration(request); } @SdkInternalApi final DeleteCorsConfigurationResult executeDeleteCorsConfiguration(DeleteCorsConfigurationRequest deleteCorsConfigurationRequest) { ExecutionContext executionContext = createExecutionContext(deleteCorsConfigurationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Deployment. *
* * @param deleteDeploymentRequest * @return Result of the DeleteDeployment operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteDeployment */ @Override public DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request) { request = beforeClientExecution(request); return executeDeleteDeployment(request); } @SdkInternalApi final DeleteDeploymentResult executeDeleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) { ExecutionContext executionContext = createExecutionContext(deleteDeploymentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a domain name. *
* * @param deleteDomainNameRequest * @return Result of the DeleteDomainName operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteDomainName */ @Override public DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest request) { request = beforeClientExecution(request); return executeDeleteDomainName(request); } @SdkInternalApi final DeleteDomainNameResult executeDeleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) { ExecutionContext executionContext = createExecutionContext(deleteDomainNameRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an Integration. *
* * @param deleteIntegrationRequest * @return Result of the DeleteIntegration operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteIntegration */ @Override public DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest request) { request = beforeClientExecution(request); return executeDeleteIntegration(request); } @SdkInternalApi final DeleteIntegrationResult executeDeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) { ExecutionContext executionContext = createExecutionContext(deleteIntegrationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an IntegrationResponses. *
* * @param deleteIntegrationResponseRequest * @return Result of the DeleteIntegrationResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteIntegrationResponse */ @Override public DeleteIntegrationResponseResult deleteIntegrationResponse(DeleteIntegrationResponseRequest request) { request = beforeClientExecution(request); return executeDeleteIntegrationResponse(request); } @SdkInternalApi final DeleteIntegrationResponseResult executeDeleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) { ExecutionContext executionContext = createExecutionContext(deleteIntegrationResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Model. *
* * @param deleteModelRequest * @return Result of the DeleteModel operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteModel */ @Override public DeleteModelResult deleteModel(DeleteModelRequest request) { request = beforeClientExecution(request); return executeDeleteModel(request); } @SdkInternalApi final DeleteModelResult executeDeleteModel(DeleteModelRequest deleteModelRequest) { ExecutionContext executionContext = createExecutionContext(deleteModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Route. *
* * @param deleteRouteRequest * @return Result of the DeleteRoute operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteRoute */ @Override public DeleteRouteResult deleteRoute(DeleteRouteRequest request) { request = beforeClientExecution(request); return executeDeleteRoute(request); } @SdkInternalApi final DeleteRouteResult executeDeleteRoute(DeleteRouteRequest deleteRouteRequest) { ExecutionContext executionContext = createExecutionContext(deleteRouteRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a route request parameter. Supported only for WebSocket APIs. *
* * @param deleteRouteRequestParameterRequest * @return Result of the DeleteRouteRequestParameter operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteRouteRequestParameter */ @Override public DeleteRouteRequestParameterResult deleteRouteRequestParameter(DeleteRouteRequestParameterRequest request) { request = beforeClientExecution(request); return executeDeleteRouteRequestParameter(request); } @SdkInternalApi final DeleteRouteRequestParameterResult executeDeleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest) { ExecutionContext executionContext = createExecutionContext(deleteRouteRequestParameterRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a RouteResponse. *
* * @param deleteRouteResponseRequest * @return Result of the DeleteRouteResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteRouteResponse */ @Override public DeleteRouteResponseResult deleteRouteResponse(DeleteRouteResponseRequest request) { request = beforeClientExecution(request); return executeDeleteRouteResponse(request); } @SdkInternalApi final DeleteRouteResponseResult executeDeleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest) { ExecutionContext executionContext = createExecutionContext(deleteRouteResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the RouteSettings for a stage. *
* * @param deleteRouteSettingsRequest * @return Result of the DeleteRouteSettings operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteRouteSettings */ @Override public DeleteRouteSettingsResult deleteRouteSettings(DeleteRouteSettingsRequest request) { request = beforeClientExecution(request); return executeDeleteRouteSettings(request); } @SdkInternalApi final DeleteRouteSettingsResult executeDeleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest) { ExecutionContext executionContext = createExecutionContext(deleteRouteSettingsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Stage. *
* * @param deleteStageRequest * @return Result of the DeleteStage operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteStage */ @Override public DeleteStageResult deleteStage(DeleteStageRequest request) { request = beforeClientExecution(request); return executeDeleteStage(request); } @SdkInternalApi final DeleteStageResult executeDeleteStage(DeleteStageRequest deleteStageRequest) { ExecutionContext executionContext = createExecutionContext(deleteStageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a VPC link. *
* * @param deleteVpcLinkRequest * @return Result of the DeleteVpcLink operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.DeleteVpcLink */ @Override public DeleteVpcLinkResult deleteVpcLink(DeleteVpcLinkRequest request) { request = beforeClientExecution(request); return executeDeleteVpcLink(request); } @SdkInternalApi final DeleteVpcLinkResult executeDeleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest) { ExecutionContext executionContext = createExecutionContext(deleteVpcLinkRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an Api resource. *
* * @param getApiRequest * @return Result of the GetApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetApi */ @Override public GetApiResult getApi(GetApiRequest request) { request = beforeClientExecution(request); return executeGetApi(request); } @SdkInternalApi final GetApiResult executeGetApi(GetApiRequest getApiRequest) { ExecutionContext executionContext = createExecutionContext(getApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an API mapping. *
* * @param getApiMappingRequest * @return Result of the GetApiMapping operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetApiMapping */ @Override public GetApiMappingResult getApiMapping(GetApiMappingRequest request) { request = beforeClientExecution(request); return executeGetApiMapping(request); } @SdkInternalApi final GetApiMappingResult executeGetApiMapping(GetApiMappingRequest getApiMappingRequest) { ExecutionContext executionContext = createExecutionContext(getApiMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets API mappings. *
* * @param getApiMappingsRequest * @return Result of the GetApiMappings operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetApiMappings */ @Override public GetApiMappingsResult getApiMappings(GetApiMappingsRequest request) { request = beforeClientExecution(request); return executeGetApiMappings(request); } @SdkInternalApi final GetApiMappingsResult executeGetApiMappings(GetApiMappingsRequest getApiMappingsRequest) { ExecutionContext executionContext = createExecutionContext(getApiMappingsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a collection of Api resources. *
* * @param getApisRequest * @return Result of the GetApis operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetApis */ @Override public GetApisResult getApis(GetApisRequest request) { request = beforeClientExecution(request); return executeGetApis(request); } @SdkInternalApi final GetApisResult executeGetApis(GetApisRequest getApisRequest) { ExecutionContext executionContext = createExecutionContext(getApisRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an Authorizer. *
* * @param getAuthorizerRequest * @return Result of the GetAuthorizer operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetAuthorizer */ @Override public GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request) { request = beforeClientExecution(request); return executeGetAuthorizer(request); } @SdkInternalApi final GetAuthorizerResult executeGetAuthorizer(GetAuthorizerRequest getAuthorizerRequest) { ExecutionContext executionContext = createExecutionContext(getAuthorizerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Authorizers for an API. *
* * @param getAuthorizersRequest * @return Result of the GetAuthorizers operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetAuthorizers */ @Override public GetAuthorizersResult getAuthorizers(GetAuthorizersRequest request) { request = beforeClientExecution(request); return executeGetAuthorizers(request); } @SdkInternalApi final GetAuthorizersResult executeGetAuthorizers(GetAuthorizersRequest getAuthorizersRequest) { ExecutionContext executionContext = createExecutionContext(getAuthorizersRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a Deployment. *
* * @param getDeploymentRequest * @return Result of the GetDeployment operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetDeployment */ @Override public GetDeploymentResult getDeployment(GetDeploymentRequest request) { request = beforeClientExecution(request); return executeGetDeployment(request); } @SdkInternalApi final GetDeploymentResult executeGetDeployment(GetDeploymentRequest getDeploymentRequest) { ExecutionContext executionContext = createExecutionContext(getDeploymentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Deployments for an API. *
* * @param getDeploymentsRequest * @return Result of the GetDeployments operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetDeployments */ @Override public GetDeploymentsResult getDeployments(GetDeploymentsRequest request) { request = beforeClientExecution(request); return executeGetDeployments(request); } @SdkInternalApi final GetDeploymentsResult executeGetDeployments(GetDeploymentsRequest getDeploymentsRequest) { ExecutionContext executionContext = createExecutionContext(getDeploymentsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a domain name. *
* * @param getDomainNameRequest * @return Result of the GetDomainName operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetDomainName */ @Override public GetDomainNameResult getDomainName(GetDomainNameRequest request) { request = beforeClientExecution(request); return executeGetDomainName(request); } @SdkInternalApi final GetDomainNameResult executeGetDomainName(GetDomainNameRequest getDomainNameRequest) { ExecutionContext executionContext = createExecutionContext(getDomainNameRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the domain names for an AWS account. *
* * @param getDomainNamesRequest * @return Result of the GetDomainNames operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetDomainNames */ @Override public GetDomainNamesResult getDomainNames(GetDomainNamesRequest request) { request = beforeClientExecution(request); return executeGetDomainNames(request); } @SdkInternalApi final GetDomainNamesResult executeGetDomainNames(GetDomainNamesRequest getDomainNamesRequest) { ExecutionContext executionContext = createExecutionContext(getDomainNamesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an Integration. *
* * @param getIntegrationRequest * @return Result of the GetIntegration operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetIntegration */ @Override public GetIntegrationResult getIntegration(GetIntegrationRequest request) { request = beforeClientExecution(request); return executeGetIntegration(request); } @SdkInternalApi final GetIntegrationResult executeGetIntegration(GetIntegrationRequest getIntegrationRequest) { ExecutionContext executionContext = createExecutionContext(getIntegrationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an IntegrationResponses. *
* * @param getIntegrationResponseRequest * @return Result of the GetIntegrationResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetIntegrationResponse */ @Override public GetIntegrationResponseResult getIntegrationResponse(GetIntegrationResponseRequest request) { request = beforeClientExecution(request); return executeGetIntegrationResponse(request); } @SdkInternalApi final GetIntegrationResponseResult executeGetIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest) { ExecutionContext executionContext = createExecutionContext(getIntegrationResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the IntegrationResponses for an Integration. *
* * @param getIntegrationResponsesRequest * @return Result of the GetIntegrationResponses operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetIntegrationResponses */ @Override public GetIntegrationResponsesResult getIntegrationResponses(GetIntegrationResponsesRequest request) { request = beforeClientExecution(request); return executeGetIntegrationResponses(request); } @SdkInternalApi final GetIntegrationResponsesResult executeGetIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest) { ExecutionContext executionContext = createExecutionContext(getIntegrationResponsesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Integrations for an API. *
* * @param getIntegrationsRequest * @return Result of the GetIntegrations operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetIntegrations */ @Override public GetIntegrationsResult getIntegrations(GetIntegrationsRequest request) { request = beforeClientExecution(request); return executeGetIntegrations(request); } @SdkInternalApi final GetIntegrationsResult executeGetIntegrations(GetIntegrationsRequest getIntegrationsRequest) { ExecutionContext executionContext = createExecutionContext(getIntegrationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a Model. *
* * @param getModelRequest * @return Result of the GetModel operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetModel */ @Override public GetModelResult getModel(GetModelRequest request) { request = beforeClientExecution(request); return executeGetModel(request); } @SdkInternalApi final GetModelResult executeGetModel(GetModelRequest getModelRequest) { ExecutionContext executionContext = createExecutionContext(getModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a model template. *
* * @param getModelTemplateRequest * @return Result of the GetModelTemplate operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetModelTemplate */ @Override public GetModelTemplateResult getModelTemplate(GetModelTemplateRequest request) { request = beforeClientExecution(request); return executeGetModelTemplate(request); } @SdkInternalApi final GetModelTemplateResult executeGetModelTemplate(GetModelTemplateRequest getModelTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getModelTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Models for an API. *
* * @param getModelsRequest * @return Result of the GetModels operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetModels */ @Override public GetModelsResult getModels(GetModelsRequest request) { request = beforeClientExecution(request); return executeGetModels(request); } @SdkInternalApi final GetModelsResult executeGetModels(GetModelsRequest getModelsRequest) { ExecutionContext executionContext = createExecutionContext(getModelsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a Route. *
* * @param getRouteRequest * @return Result of the GetRoute operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetRoute */ @Override public GetRouteResult getRoute(GetRouteRequest request) { request = beforeClientExecution(request); return executeGetRoute(request); } @SdkInternalApi final GetRouteResult executeGetRoute(GetRouteRequest getRouteRequest) { ExecutionContext executionContext = createExecutionContext(getRouteRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a RouteResponse. *
* * @param getRouteResponseRequest * @return Result of the GetRouteResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetRouteResponse */ @Override public GetRouteResponseResult getRouteResponse(GetRouteResponseRequest request) { request = beforeClientExecution(request); return executeGetRouteResponse(request); } @SdkInternalApi final GetRouteResponseResult executeGetRouteResponse(GetRouteResponseRequest getRouteResponseRequest) { ExecutionContext executionContext = createExecutionContext(getRouteResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the RouteResponses for a Route. *
* * @param getRouteResponsesRequest * @return Result of the GetRouteResponses operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetRouteResponses */ @Override public GetRouteResponsesResult getRouteResponses(GetRouteResponsesRequest request) { request = beforeClientExecution(request); return executeGetRouteResponses(request); } @SdkInternalApi final GetRouteResponsesResult executeGetRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) { ExecutionContext executionContext = createExecutionContext(getRouteResponsesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Routes for an API. *
* * @param getRoutesRequest * @return Result of the GetRoutes operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetRoutes */ @Override public GetRoutesResult getRoutes(GetRoutesRequest request) { request = beforeClientExecution(request); return executeGetRoutes(request); } @SdkInternalApi final GetRoutesResult executeGetRoutes(GetRoutesRequest getRoutesRequest) { ExecutionContext executionContext = createExecutionContext(getRoutesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a Stage. *
* * @param getStageRequest * @return Result of the GetStage operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetStage */ @Override public GetStageResult getStage(GetStageRequest request) { request = beforeClientExecution(request); return executeGetStage(request); } @SdkInternalApi final GetStageResult executeGetStage(GetStageRequest getStageRequest) { ExecutionContext executionContext = createExecutionContext(getStageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the Stages for an API. *
* * @param getStagesRequest * @return Result of the GetStages operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.GetStages */ @Override public GetStagesResult getStages(GetStagesRequest request) { request = beforeClientExecution(request); return executeGetStages(request); } @SdkInternalApi final GetStagesResult executeGetStages(GetStagesRequest getStagesRequest) { ExecutionContext executionContext = createExecutionContext(getStagesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a collection of Tag resources. *
* * @param getTagsRequest * @return Result of the GetTags operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.GetTags */ @Override public GetTagsResult getTags(GetTagsRequest request) { request = beforeClientExecution(request); return executeGetTags(request); } @SdkInternalApi final GetTagsResult executeGetTags(GetTagsRequest getTagsRequest) { ExecutionContext executionContext = createExecutionContext(getTagsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a VPC link. *
* * @param getVpcLinkRequest * @return Result of the GetVpcLink operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetVpcLink */ @Override public GetVpcLinkResult getVpcLink(GetVpcLinkRequest request) { request = beforeClientExecution(request); return executeGetVpcLink(request); } @SdkInternalApi final GetVpcLinkResult executeGetVpcLink(GetVpcLinkRequest getVpcLinkRequest) { ExecutionContext executionContext = createExecutionContext(getVpcLinkRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a collection of VPC links. *
* * @param getVpcLinksRequest * @return Result of the GetVpcLinks operation returned by the service. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.GetVpcLinks */ @Override public GetVpcLinksResult getVpcLinks(GetVpcLinksRequest request) { request = beforeClientExecution(request); return executeGetVpcLinks(request); } @SdkInternalApi final GetVpcLinksResult executeGetVpcLinks(GetVpcLinksRequest getVpcLinksRequest) { ExecutionContext executionContext = createExecutionContext(getVpcLinksRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Imports an API. *
* * @param importApiRequest * @return Result of the ImportApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.ImportApi */ @Override public ImportApiResult importApi(ImportApiRequest request) { request = beforeClientExecution(request); return executeImportApi(request); } @SdkInternalApi final ImportApiResult executeImportApi(ImportApiRequest importApiRequest) { ExecutionContext executionContext = createExecutionContext(importApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Puts an Api resource. *
* * @param reimportApiRequest * @return Result of the ReimportApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.ReimportApi */ @Override public ReimportApiResult reimportApi(ReimportApiRequest request) { request = beforeClientExecution(request); return executeReimportApi(request); } @SdkInternalApi final ReimportApiResult executeReimportApi(ReimportApiRequest reimportApiRequest) { ExecutionContext executionContext = createExecutionContext(reimportApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs. *
* * @param resetAuthorizersCacheRequest * @return Result of the ResetAuthorizersCache operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @sample AmazonApiGatewayV2.ResetAuthorizersCache */ @Override public ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest request) { request = beforeClientExecution(request); return executeResetAuthorizersCache(request); } @SdkInternalApi final ResetAuthorizersCacheResult executeResetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) { ExecutionContext executionContext = createExecutionContext(resetAuthorizersCacheRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new Tag resource to represent a tag. *
* * @param tagResourceRequest * Creates a new Tag resource to represent a tag. * @return Result of the TagResource operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.TagResource */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Tag. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UntagResource */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); } @SdkInternalApi final UntagResourceResult executeUntagResource(UntagResourceRequest untagResourceRequest) { ExecutionContext executionContext = createExecutionContext(untagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an Api resource. *
* * @param updateApiRequest * Updates an Api. * @return Result of the UpdateApi operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateApi */ @Override public UpdateApiResult updateApi(UpdateApiRequest request) { request = beforeClientExecution(request); return executeUpdateApi(request); } @SdkInternalApi final UpdateApiResult executeUpdateApi(UpdateApiRequest updateApiRequest) { ExecutionContext executionContext = createExecutionContext(updateApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* The API mapping. *
* * @param updateApiMappingRequest * Updates an ApiMapping. * @return Result of the UpdateApiMapping operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateApiMapping */ @Override public UpdateApiMappingResult updateApiMapping(UpdateApiMappingRequest request) { request = beforeClientExecution(request); return executeUpdateApiMapping(request); } @SdkInternalApi final UpdateApiMappingResult executeUpdateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) { ExecutionContext executionContext = createExecutionContext(updateApiMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an Authorizer. *
* * @param updateAuthorizerRequest * Updates an Authorizer. * @return Result of the UpdateAuthorizer operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateAuthorizer */ @Override public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request) { request = beforeClientExecution(request); return executeUpdateAuthorizer(request); } @SdkInternalApi final UpdateAuthorizerResult executeUpdateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) { ExecutionContext executionContext = createExecutionContext(updateAuthorizerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a Deployment. *
* * @param updateDeploymentRequest * Updates a Deployment. * @return Result of the UpdateDeployment operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateDeployment */ @Override public UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request) { request = beforeClientExecution(request); return executeUpdateDeployment(request); } @SdkInternalApi final UpdateDeploymentResult executeUpdateDeployment(UpdateDeploymentRequest updateDeploymentRequest) { ExecutionContext executionContext = createExecutionContext(updateDeploymentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a domain name. *
* * @param updateDomainNameRequest * Updates a DomainName. * @return Result of the UpdateDomainName operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateDomainName */ @Override public UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest request) { request = beforeClientExecution(request); return executeUpdateDomainName(request); } @SdkInternalApi final UpdateDomainNameResult executeUpdateDomainName(UpdateDomainNameRequest updateDomainNameRequest) { ExecutionContext executionContext = createExecutionContext(updateDomainNameRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an Integration. *
* * @param updateIntegrationRequest * Updates an Integration. * @return Result of the UpdateIntegration operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateIntegration */ @Override public UpdateIntegrationResult updateIntegration(UpdateIntegrationRequest request) { request = beforeClientExecution(request); return executeUpdateIntegration(request); } @SdkInternalApi final UpdateIntegrationResult executeUpdateIntegration(UpdateIntegrationRequest updateIntegrationRequest) { ExecutionContext executionContext = createExecutionContext(updateIntegrationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an IntegrationResponses. *
* * @param updateIntegrationResponseRequest * Updates an IntegrationResponses. * @return Result of the UpdateIntegrationResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateIntegrationResponse */ @Override public UpdateIntegrationResponseResult updateIntegrationResponse(UpdateIntegrationResponseRequest request) { request = beforeClientExecution(request); return executeUpdateIntegrationResponse(request); } @SdkInternalApi final UpdateIntegrationResponseResult executeUpdateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest) { ExecutionContext executionContext = createExecutionContext(updateIntegrationResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a Model. *
* * @param updateModelRequest * Updates a Model. * @return Result of the UpdateModel operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateModel */ @Override public UpdateModelResult updateModel(UpdateModelRequest request) { request = beforeClientExecution(request); return executeUpdateModel(request); } @SdkInternalApi final UpdateModelResult executeUpdateModel(UpdateModelRequest updateModelRequest) { ExecutionContext executionContext = createExecutionContext(updateModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a Route. *
* * @param updateRouteRequest * Updates a Route. * @return Result of the UpdateRoute operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateRoute */ @Override public UpdateRouteResult updateRoute(UpdateRouteRequest request) { request = beforeClientExecution(request); return executeUpdateRoute(request); } @SdkInternalApi final UpdateRouteResult executeUpdateRoute(UpdateRouteRequest updateRouteRequest) { ExecutionContext executionContext = createExecutionContext(updateRouteRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a RouteResponse. *
* * @param updateRouteResponseRequest * Updates a RouteResponse. * @return Result of the UpdateRouteResponse operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateRouteResponse */ @Override public UpdateRouteResponseResult updateRouteResponse(UpdateRouteResponseRequest request) { request = beforeClientExecution(request); return executeUpdateRouteResponse(request); } @SdkInternalApi final UpdateRouteResponseResult executeUpdateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest) { ExecutionContext executionContext = createExecutionContext(updateRouteResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a Stage. *
* * @param updateStageRequest * Updates a Stage. * @return Result of the UpdateStage operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @throws ConflictException * The resource already exists. * @sample AmazonApiGatewayV2.UpdateStage */ @Override public UpdateStageResult updateStage(UpdateStageRequest request) { request = beforeClientExecution(request); return executeUpdateStage(request); } @SdkInternalApi final UpdateStageResult executeUpdateStage(UpdateStageRequest updateStageRequest) { ExecutionContext executionContext = createExecutionContext(updateStageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a VPC link. *
* * @param updateVpcLinkRequest * Updates a VPC link. * @return Result of the UpdateVpcLink operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws TooManyRequestsException * The client is sending more than the allowed number of requests per unit of time. * @throws BadRequestException * One of the parameters in the request is invalid. * @sample AmazonApiGatewayV2.UpdateVpcLink */ @Override public UpdateVpcLinkResult updateVpcLink(UpdateVpcLinkRequest request) { request = beforeClientExecution(request); return executeUpdateVpcLink(request); } @SdkInternalApi final UpdateVpcLinkResult executeUpdateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest) { ExecutionContext executionContext = createExecutionContext(updateVpcLinkRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); 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.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private