/* * 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.apigateway; 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.apigateway.AmazonApiGatewayClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.apigateway.model.*; import com.amazonaws.services.apigateway.model.transform.*; /** * Client for accessing Amazon API Gateway. All service calls made using this client are blocking, and will not return * until the service call completes. *
*
* Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API * Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, * or other publicly addressable web services that are hosted outside of AWS. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayClient extends AmazonWebServiceClient implements AmazonApiGateway { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AmazonApiGateway.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("LimitExceededException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.LimitExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("NotFoundException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.NotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("UnauthorizedException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.UnauthorizedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceUnavailableException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.ServiceUnavailableExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("TooManyRequestsException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.TooManyRequestsExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("BadRequestException").withExceptionUnmarshaller( com.amazonaws.services.apigateway.model.transform.BadRequestExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.apigateway.model.AmazonApiGatewayException.class)); /** * Constructs a new client to invoke service methods on Amazon API Gateway. A credentials provider chain will be * used that searches for credentials in this order: ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @see DefaultAWSCredentialsProviderChain * @deprecated use {@link AmazonApiGatewayClientBuilder#defaultClient()} */ @Deprecated public AmazonApiGatewayClient() { this(DefaultAWSCredentialsProviderChain.getInstance(), configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon API Gateway. A credentials provider chain will be * used that searches for credentials in this order: *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy * settings, retry counts, etc.). * * @see DefaultAWSCredentialsProviderChain * @deprecated use {@link AmazonApiGatewayClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonApiGatewayClient(ClientConfiguration clientConfiguration) { this(DefaultAWSCredentialsProviderChain.getInstance(), clientConfiguration); } /** * Constructs a new client to invoke service methods on Amazon API Gateway using the specified AWS account * credentials. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentials * The AWS credentials (access key ID and secret key) to use when authenticating with AWS services. * @deprecated use {@link AmazonApiGatewayClientBuilder#withCredentials(AWSCredentialsProvider)} for example: * {@code AmazonApiGatewayClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();} */ @Deprecated public AmazonApiGatewayClient(AWSCredentials awsCredentials) { this(awsCredentials, configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon API Gateway using the specified AWS account * credentials and client configuration options. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentials * The AWS credentials (access key ID and secret key) to use when authenticating with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy * settings, retry counts, etc.). * @deprecated use {@link AmazonApiGatewayClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonApiGatewayClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonApiGatewayClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) { super(clientConfiguration); this.awsCredentialsProvider = new StaticCredentialsProvider(awsCredentials); this.advancedConfig = AdvancedConfig.EMPTY; init(); } /** * Constructs a new client to invoke service methods on Amazon API Gateway using the specified AWS account * credentials provider. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @deprecated use {@link AmazonApiGatewayClientBuilder#withCredentials(AWSCredentialsProvider)} */ @Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider) { this(awsCredentialsProvider, configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon API Gateway using the specified AWS account * credentials provider and client configuration options. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy * settings, retry counts, etc.). * @deprecated use {@link AmazonApiGatewayClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonApiGatewayClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) { this(awsCredentialsProvider, clientConfiguration, null); } /** * Constructs a new client to invoke service methods on Amazon API Gateway using the specified AWS account * credentials provider, client configuration options, and request metric collector. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy * settings, retry counts, etc.). * @param requestMetricCollector * optional request metric collector * @deprecated use {@link AmazonApiGatewayClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonApiGatewayClientBuilder#withClientConfiguration(ClientConfiguration)} and * {@link AmazonApiGatewayClientBuilder#withMetricsCollector(RequestMetricCollector)} */ @Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector) { super(clientConfiguration, requestMetricCollector); this.awsCredentialsProvider = awsCredentialsProvider; this.advancedConfig = AdvancedConfig.EMPTY; init(); } public static AmazonApiGatewayClientBuilder builder() { return AmazonApiGatewayClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on Amazon API Gateway 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. */ AmazonApiGatewayClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on Amazon API Gateway 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. */ AmazonApiGatewayClient(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("https://apigateway.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/apigateway/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/apigateway/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Create an ApiKey resource. *
* * @param createApiKeyRequest * Request to create an ApiKey resource. * @return Result of the CreateApiKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateApiKey */ @Override public CreateApiKeyResult createApiKey(CreateApiKeyRequest request) { request = beforeClientExecution(request); return executeCreateApiKey(request); } @SdkInternalApi final CreateApiKeyResult executeCreateApiKey(CreateApiKeyRequest createApiKeyRequest) { ExecutionContext executionContext = createExecutionContext(createApiKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Adds a new Authorizer resource to an existing RestApi resource. *
* * @param createAuthorizerRequest * Request to add a new Authorizer to an existing RestApi resource. * @return Result of the CreateAuthorizer operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 new BasePathMapping resource. *
* * @param createBasePathMappingRequest * Requests API Gateway to create a new BasePathMapping resource. * @return Result of the CreateBasePathMapping operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateBasePathMapping */ @Override public CreateBasePathMappingResult createBasePathMapping(CreateBasePathMappingRequest request) { request = beforeClientExecution(request); return executeCreateBasePathMapping(request); } @SdkInternalApi final CreateBasePathMappingResult executeCreateBasePathMapping(CreateBasePathMappingRequest createBasePathMappingRequest) { ExecutionContext executionContext = createExecutionContext(createBasePathMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Deployment resource, which makes a specified RestApi callable over the internet. *
* * @param createDeploymentRequest * Requests API Gateway to create a Deployment resource. * @return Result of the CreateDeployment operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws ServiceUnavailableException * The requested service is not available. For details see the accompanying error message. Retry after the * specified time period. * @sample AmazonApiGateway.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 documentation part. *
* * @param createDocumentationPartRequest * Creates a new documentation part of a given API. * @return Result of the CreateDocumentationPart operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateDocumentationPart */ @Override public CreateDocumentationPartResult createDocumentationPart(CreateDocumentationPartRequest request) { request = beforeClientExecution(request); return executeCreateDocumentationPart(request); } @SdkInternalApi final CreateDocumentationPartResult executeCreateDocumentationPart(CreateDocumentationPartRequest createDocumentationPartRequest) { ExecutionContext executionContext = createExecutionContext(createDocumentationPartRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a documentation version *
* * @param createDocumentationVersionRequest * Creates a new documentation version of a given API. * @return Result of the CreateDocumentationVersion operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateDocumentationVersion */ @Override public CreateDocumentationVersionResult createDocumentationVersion(CreateDocumentationVersionRequest request) { request = beforeClientExecution(request); return executeCreateDocumentationVersion(request); } @SdkInternalApi final CreateDocumentationVersionResult executeCreateDocumentationVersion(CreateDocumentationVersionRequest createDocumentationVersionRequest) { ExecutionContext executionContext = createExecutionContext(createDocumentationVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new domain name. *
* * @param createDomainNameRequest * A request to create a new domain name. * @return Result of the CreateDomainName operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Adds a new Model resource to an existing RestApi resource. *
* * @param createModelRequest * Request to add a new Model to an existing RestApi resource. * @return Result of the CreateModel operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 RequestValidator of a given RestApi. *
* * @param createRequestValidatorRequest * Creates a RequestValidator of a given RestApi. * @return Result of the CreateRequestValidator operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateRequestValidator */ @Override public CreateRequestValidatorResult createRequestValidator(CreateRequestValidatorRequest request) { request = beforeClientExecution(request); return executeCreateRequestValidator(request); } @SdkInternalApi final CreateRequestValidatorResult executeCreateRequestValidator(CreateRequestValidatorRequest createRequestValidatorRequest) { ExecutionContext executionContext = createExecutionContext(createRequestValidatorRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a Resource resource. *
* * @param createResourceRequest * Requests API Gateway to create a Resource resource. * @return Result of the CreateResource operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateResource */ @Override public CreateResourceResult createResource(CreateResourceRequest request) { request = beforeClientExecution(request); return executeCreateResource(request); } @SdkInternalApi final CreateResourceResult executeCreateResource(CreateResourceRequest createResourceRequest) { ExecutionContext executionContext = createExecutionContext(createResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new RestApi resource. *
* * @param createRestApiRequest * The POST Request to add a new RestApi resource to your collection. * @return Result of the CreateRestApi operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateRestApi */ @Override public CreateRestApiResult createRestApi(CreateRestApiRequest request) { request = beforeClientExecution(request); return executeCreateRestApi(request); } @SdkInternalApi final CreateRestApiResult executeCreateRestApi(CreateRestApiRequest createRestApiRequest) { ExecutionContext executionContext = createExecutionContext(createRestApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new Stage resource that references a pre-existing Deployment for the API. *
* * @param createStageRequest * Requests API Gateway to create a Stage resource. * @return Result of the CreateStage operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 usage plan with the throttle and quota limits, as well as the associated API stages, specified in the * payload. *
* * @param createUsagePlanRequest * The POST request to create a usage plan with the name, description, throttle limits and quota limits, as * well as the associated API stages, specified in the payload. * @return Result of the CreateUsagePlan operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateUsagePlan */ @Override public CreateUsagePlanResult createUsagePlan(CreateUsagePlanRequest request) { request = beforeClientExecution(request); return executeCreateUsagePlan(request); } @SdkInternalApi final CreateUsagePlanResult executeCreateUsagePlan(CreateUsagePlanRequest createUsagePlanRequest) { ExecutionContext executionContext = createExecutionContext(createUsagePlanRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a usage plan key for adding an existing API key to a usage plan. *
* * @param createUsagePlanKeyRequest * The POST request to create a usage plan key for adding an existing API key to a usage plan. * @return Result of the CreateUsagePlanKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.CreateUsagePlanKey */ @Override public CreateUsagePlanKeyResult createUsagePlanKey(CreateUsagePlanKeyRequest request) { request = beforeClientExecution(request); return executeCreateUsagePlanKey(request); } @SdkInternalApi final CreateUsagePlanKeyResult executeCreateUsagePlanKey(CreateUsagePlanKeyRequest createUsagePlanKeyRequest) { ExecutionContext executionContext = createExecutionContext(createUsagePlanKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically * takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC * Endpoint services. *
* * @param createVpcLinkRequest * Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that * typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create * and update VPC Endpoint services. * @return Result of the CreateVpcLink operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 ApiKey resource. *
* * @param deleteApiKeyRequest * A request to delete the ApiKey resource. * @return Result of the DeleteApiKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteApiKey */ @Override public DeleteApiKeyResult deleteApiKey(DeleteApiKeyRequest request) { request = beforeClientExecution(request); return executeDeleteApiKey(request); } @SdkInternalApi final DeleteApiKeyResult executeDeleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) { ExecutionContext executionContext = createExecutionContext(deleteApiKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an existing Authorizer resource. *
* * @param deleteAuthorizerRequest * Request to delete an existing Authorizer resource. * @return Result of the DeleteAuthorizer operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 the BasePathMapping resource. *
* * @param deleteBasePathMappingRequest * A request to delete the BasePathMapping resource. * @return Result of the DeleteBasePathMapping operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteBasePathMapping */ @Override public DeleteBasePathMappingResult deleteBasePathMapping(DeleteBasePathMappingRequest request) { request = beforeClientExecution(request); return executeDeleteBasePathMapping(request); } @SdkInternalApi final DeleteBasePathMappingResult executeDeleteBasePathMapping(DeleteBasePathMappingRequest deleteBasePathMappingRequest) { ExecutionContext executionContext = createExecutionContext(deleteBasePathMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the ClientCertificate resource. *
* * @param deleteClientCertificateRequest * A request to delete the ClientCertificate resource. * @return Result of the DeleteClientCertificate operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteClientCertificate */ @Override public DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request) { request = beforeClientExecution(request); return executeDeleteClientCertificate(request); } @SdkInternalApi final DeleteClientCertificateResult executeDeleteClientCertificate(DeleteClientCertificateRequest deleteClientCertificateRequest) { ExecutionContext executionContext = createExecutionContext(deleteClientCertificateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated * with it. *
* * @param deleteDeploymentRequest * Requests API Gateway to delete a Deployment resource. * @return Result of the DeleteDeployment operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 documentation part *
* * @param deleteDocumentationPartRequest * Deletes an existing documentation part of an API. * @return Result of the DeleteDocumentationPart operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteDocumentationPart */ @Override public DeleteDocumentationPartResult deleteDocumentationPart(DeleteDocumentationPartRequest request) { request = beforeClientExecution(request); return executeDeleteDocumentationPart(request); } @SdkInternalApi final DeleteDocumentationPartResult executeDeleteDocumentationPart(DeleteDocumentationPartRequest deleteDocumentationPartRequest) { ExecutionContext executionContext = createExecutionContext(deleteDocumentationPartRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a documentation version. *
* * @param deleteDocumentationVersionRequest * Deletes an existing documentation version of an API. * @return Result of the DeleteDocumentationVersion operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteDocumentationVersion */ @Override public DeleteDocumentationVersionResult deleteDocumentationVersion(DeleteDocumentationVersionRequest request) { request = beforeClientExecution(request); return executeDeleteDocumentationVersion(request); } @SdkInternalApi final DeleteDocumentationVersionResult executeDeleteDocumentationVersion(DeleteDocumentationVersionRequest deleteDocumentationVersionRequest) { ExecutionContext executionContext = createExecutionContext(deleteDocumentationVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the DomainName resource. *
* * @param deleteDomainNameRequest * A request to delete the DomainName resource. * @return Result of the DeleteDomainName operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it * with the default settings. *
* * @param deleteGatewayResponseRequest * Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets * it with the default settings. * @return Result of the DeleteGatewayResponse operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteGatewayResponse */ @Override public DeleteGatewayResponseResult deleteGatewayResponse(DeleteGatewayResponseRequest request) { request = beforeClientExecution(request); return executeDeleteGatewayResponse(request); } @SdkInternalApi final DeleteGatewayResponseResult executeDeleteGatewayResponse(DeleteGatewayResponseRequest deleteGatewayResponseRequest) { ExecutionContext executionContext = createExecutionContext(deleteGatewayResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Represents a delete integration. *
* * @param deleteIntegrationRequest * Represents a delete integration request. * @return Result of the DeleteIntegration operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Represents a delete integration response. *
* * @param deleteIntegrationResponseRequest * Represents a delete integration response request. * @return Result of the DeleteIntegrationResponse operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 an existing Method resource. *
* * @param deleteMethodRequest * Request to delete an existing Method resource. * @return Result of the DeleteMethod operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @sample AmazonApiGateway.DeleteMethod */ @Override public DeleteMethodResult deleteMethod(DeleteMethodRequest request) { request = beforeClientExecution(request); return executeDeleteMethod(request); } @SdkInternalApi final DeleteMethodResult executeDeleteMethod(DeleteMethodRequest deleteMethodRequest) { ExecutionContext executionContext = createExecutionContext(deleteMethodRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an existing MethodResponse resource. *
* * @param deleteMethodResponseRequest * A request to delete an existing MethodResponse resource. * @return Result of the DeleteMethodResponse operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @sample AmazonApiGateway.DeleteMethodResponse */ @Override public DeleteMethodResponseResult deleteMethodResponse(DeleteMethodResponseRequest request) { request = beforeClientExecution(request); return executeDeleteMethodResponse(request); } @SdkInternalApi final DeleteMethodResponseResult executeDeleteMethodResponse(DeleteMethodResponseRequest deleteMethodResponseRequest) { ExecutionContext executionContext = createExecutionContext(deleteMethodResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a model. *
* * @param deleteModelRequest * Request to delete an existing model in an existing RestApi resource. * @return Result of the DeleteModel operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 RequestValidator of a given RestApi. *
* * @param deleteRequestValidatorRequest * Deletes a specified RequestValidator of a given RestApi. * @return Result of the DeleteRequestValidator operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteRequestValidator */ @Override public DeleteRequestValidatorResult deleteRequestValidator(DeleteRequestValidatorRequest request) { request = beforeClientExecution(request); return executeDeleteRequestValidator(request); } @SdkInternalApi final DeleteRequestValidatorResult executeDeleteRequestValidator(DeleteRequestValidatorRequest deleteRequestValidatorRequest) { ExecutionContext executionContext = createExecutionContext(deleteRequestValidatorRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Resource resource. *
* * @param deleteResourceRequest * Request to delete a Resource. * @return Result of the DeleteResource operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteResource */ @Override public DeleteResourceResult deleteResource(DeleteResourceRequest request) { request = beforeClientExecution(request); return executeDeleteResource(request); } @SdkInternalApi final DeleteResourceResult executeDeleteResource(DeleteResourceRequest deleteResourceRequest) { ExecutionContext executionContext = createExecutionContext(deleteResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the specified API. *
* * @param deleteRestApiRequest * Request to delete the specified API from your collection. * @return Result of the DeleteRestApi operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteRestApi */ @Override public DeleteRestApiResult deleteRestApi(DeleteRestApiRequest request) { request = beforeClientExecution(request); return executeDeleteRestApi(request); } @SdkInternalApi final DeleteRestApiResult executeDeleteRestApi(DeleteRestApiRequest deleteRestApiRequest) { ExecutionContext executionContext = createExecutionContext(deleteRestApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a Stage resource. *
* * @param deleteStageRequest * Requests API Gateway to delete a Stage resource. * @return Result of the DeleteStage operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 usage plan of a given plan Id. *
* * @param deleteUsagePlanRequest * The DELETE request to delete a usage plan of a given plan Id. * @return Result of the DeleteUsagePlan operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteUsagePlan */ @Override public DeleteUsagePlanResult deleteUsagePlan(DeleteUsagePlanRequest request) { request = beforeClientExecution(request); return executeDeleteUsagePlan(request); } @SdkInternalApi final DeleteUsagePlanResult executeDeleteUsagePlan(DeleteUsagePlanRequest deleteUsagePlanRequest) { ExecutionContext executionContext = createExecutionContext(deleteUsagePlanRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a usage plan key and remove the underlying API key from the associated usage plan. *
* * @param deleteUsagePlanKeyRequest * The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage * plan. * @return Result of the DeleteUsagePlanKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.DeleteUsagePlanKey */ @Override public DeleteUsagePlanKeyResult deleteUsagePlanKey(DeleteUsagePlanKeyRequest request) { request = beforeClientExecution(request); return executeDeleteUsagePlanKey(request); } @SdkInternalApi final DeleteUsagePlanKeyResult executeDeleteUsagePlanKey(DeleteUsagePlanKeyRequest deleteUsagePlanKeyRequest) { ExecutionContext executionContext = createExecutionContext(deleteUsagePlanKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an existing VpcLink of a specified identifier. *
* * @param deleteVpcLinkRequest * Deletes an existing VpcLink of a specified identifier. * @return Result of the DeleteVpcLink operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Flushes all authorizer cache entries on a stage. *
* * @param flushStageAuthorizersCacheRequest * Request to flush authorizer cache entries on a specified stage. * @return Result of the FlushStageAuthorizersCache operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.FlushStageAuthorizersCache */ @Override public FlushStageAuthorizersCacheResult flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request) { request = beforeClientExecution(request); return executeFlushStageAuthorizersCache(request); } @SdkInternalApi final FlushStageAuthorizersCacheResult executeFlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest flushStageAuthorizersCacheRequest) { ExecutionContext executionContext = createExecutionContext(flushStageAuthorizersCacheRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Flushes a stage's cache. *
* * @param flushStageCacheRequest * Requests API Gateway to flush a stage's cache. * @return Result of the FlushStageCache operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.FlushStageCache */ @Override public FlushStageCacheResult flushStageCache(FlushStageCacheRequest request) { request = beforeClientExecution(request); return executeFlushStageCache(request); } @SdkInternalApi final FlushStageCacheResult executeFlushStageCache(FlushStageCacheRequest flushStageCacheRequest) { ExecutionContext executionContext = createExecutionContext(flushStageCacheRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Generates a ClientCertificate resource. *
* * @param generateClientCertificateRequest * A request to generate a ClientCertificate resource. * @return Result of the GenerateClientCertificate operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GenerateClientCertificate */ @Override public GenerateClientCertificateResult generateClientCertificate(GenerateClientCertificateRequest request) { request = beforeClientExecution(request); return executeGenerateClientCertificate(request); } @SdkInternalApi final GenerateClientCertificateResult executeGenerateClientCertificate(GenerateClientCertificateRequest generateClientCertificateRequest) { ExecutionContext executionContext = createExecutionContext(generateClientCertificateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about the current Account resource. *
* * @param getAccountRequest * Requests API Gateway to get information about the current Account resource. * @return Result of the GetAccount operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetAccount */ @Override public GetAccountResult getAccount(GetAccountRequest request) { request = beforeClientExecution(request); return executeGetAccount(request); } @SdkInternalApi final GetAccountResult executeGetAccount(GetAccountRequest getAccountRequest) { ExecutionContext executionContext = createExecutionContext(getAccountRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about the current ApiKey resource. *
* * @param getApiKeyRequest * A request to get information about the current ApiKey resource. * @return Result of the GetApiKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetApiKey */ @Override public GetApiKeyResult getApiKey(GetApiKeyRequest request) { request = beforeClientExecution(request); return executeGetApiKey(request); } @SdkInternalApi final GetApiKeyResult executeGetApiKey(GetApiKeyRequest getApiKeyRequest) { ExecutionContext executionContext = createExecutionContext(getApiKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about the current ApiKeys resource. *
* * @param getApiKeysRequest * A request to get information about the current ApiKeys resource. * @return Result of the GetApiKeys operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetApiKeys */ @Override public GetApiKeysResult getApiKeys(GetApiKeysRequest request) { request = beforeClientExecution(request); return executeGetApiKeys(request); } @SdkInternalApi final GetApiKeysResult executeGetApiKeys(GetApiKeysRequest getApiKeysRequest) { ExecutionContext executionContext = createExecutionContext(getApiKeysRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describe an existing Authorizer resource. *
* * @param getAuthorizerRequest * Request to describe an existing Authorizer resource. * @return Result of the GetAuthorizer operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Describe an existing Authorizers resource. *
* * @param getAuthorizersRequest * Request to describe an existing Authorizers resource. * @return Result of the GetAuthorizers operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Describe a BasePathMapping resource. *
* * @param getBasePathMappingRequest * Request to describe a BasePathMapping resource. * @return Result of the GetBasePathMapping operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetBasePathMapping */ @Override public GetBasePathMappingResult getBasePathMapping(GetBasePathMappingRequest request) { request = beforeClientExecution(request); return executeGetBasePathMapping(request); } @SdkInternalApi final GetBasePathMappingResult executeGetBasePathMapping(GetBasePathMappingRequest getBasePathMappingRequest) { ExecutionContext executionContext = createExecutionContext(getBasePathMappingRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Represents a collection of BasePathMapping resources. *
* * @param getBasePathMappingsRequest * A request to get information about a collection of BasePathMapping resources. * @return Result of the GetBasePathMappings operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetBasePathMappings */ @Override public GetBasePathMappingsResult getBasePathMappings(GetBasePathMappingsRequest request) { request = beforeClientExecution(request); return executeGetBasePathMappings(request); } @SdkInternalApi final GetBasePathMappingsResult executeGetBasePathMappings(GetBasePathMappingsRequest getBasePathMappingsRequest) { ExecutionContext executionContext = createExecutionContext(getBasePathMappingsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about the current ClientCertificate resource. *
* * @param getClientCertificateRequest * A request to get information about the current ClientCertificate resource. * @return Result of the GetClientCertificate operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetClientCertificate */ @Override public GetClientCertificateResult getClientCertificate(GetClientCertificateRequest request) { request = beforeClientExecution(request); return executeGetClientCertificate(request); } @SdkInternalApi final GetClientCertificateResult executeGetClientCertificate(GetClientCertificateRequest getClientCertificateRequest) { ExecutionContext executionContext = createExecutionContext(getClientCertificateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a collection of ClientCertificate resources. *
* * @param getClientCertificatesRequest * A request to get information about a collection of ClientCertificate resources. * @return Result of the GetClientCertificates operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetClientCertificates */ @Override public GetClientCertificatesResult getClientCertificates(GetClientCertificatesRequest request) { request = beforeClientExecution(request); return executeGetClientCertificates(request); } @SdkInternalApi final GetClientCertificatesResult executeGetClientCertificates(GetClientCertificatesRequest getClientCertificatesRequest) { ExecutionContext executionContext = createExecutionContext(getClientCertificatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about a Deployment resource. *
* * @param getDeploymentRequest * Requests API Gateway to get information about a Deployment resource. * @return Result of the GetDeployment operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws ServiceUnavailableException * The requested service is not available. For details see the accompanying error message. Retry after the * specified time period. * @sample AmazonApiGateway.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 information about a Deployments collection. *
* * @param getDeploymentsRequest * Requests API Gateway to get information about a Deployments collection. * @return Result of the GetDeployments operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws ServiceUnavailableException * The requested service is not available. For details see the accompanying error message. Retry after the * specified time period. * @sample AmazonApiGateway.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 documentation part. *
* * @param getDocumentationPartRequest * Gets a specified documentation part of a given API. * @return Result of the GetDocumentationPart operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetDocumentationPart */ @Override public GetDocumentationPartResult getDocumentationPart(GetDocumentationPartRequest request) { request = beforeClientExecution(request); return executeGetDocumentationPart(request); } @SdkInternalApi final GetDocumentationPartResult executeGetDocumentationPart(GetDocumentationPartRequest getDocumentationPartRequest) { ExecutionContext executionContext = createExecutionContext(getDocumentationPartRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets documentation parts. *
* * @param getDocumentationPartsRequest * Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API * entities (targets). * @return Result of the GetDocumentationParts operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetDocumentationParts */ @Override public GetDocumentationPartsResult getDocumentationParts(GetDocumentationPartsRequest request) { request = beforeClientExecution(request); return executeGetDocumentationParts(request); } @SdkInternalApi final GetDocumentationPartsResult executeGetDocumentationParts(GetDocumentationPartsRequest getDocumentationPartsRequest) { ExecutionContext executionContext = createExecutionContext(getDocumentationPartsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a documentation version. *
* * @param getDocumentationVersionRequest * Gets a documentation snapshot of an API. * @return Result of the GetDocumentationVersion operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetDocumentationVersion */ @Override public GetDocumentationVersionResult getDocumentationVersion(GetDocumentationVersionRequest request) { request = beforeClientExecution(request); return executeGetDocumentationVersion(request); } @SdkInternalApi final GetDocumentationVersionResult executeGetDocumentationVersion(GetDocumentationVersionRequest getDocumentationVersionRequest) { ExecutionContext executionContext = createExecutionContext(getDocumentationVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets documentation versions. *
* * @param getDocumentationVersionsRequest * Gets the documentation versions of an API. * @return Result of the GetDocumentationVersions operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetDocumentationVersions */ @Override public GetDocumentationVersionsResult getDocumentationVersions(GetDocumentationVersionsRequest request) { request = beforeClientExecution(request); return executeGetDocumentationVersions(request); } @SdkInternalApi final GetDocumentationVersionsResult executeGetDocumentationVersions(GetDocumentationVersionsRequest getDocumentationVersionsRequest) { ExecutionContext executionContext = createExecutionContext(getDocumentationVersionsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Represents a domain name that is contained in a simpler, more intuitive URL that can be called. *
* * @param getDomainNameRequest * Request to get the name of a DomainName resource. * @return Result of the GetDomainName operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Represents a collection of DomainName resources. *
* * @param getDomainNamesRequest * Request to describe a collection of DomainName resources. * @return Result of the GetDomainNames operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Exports a deployed version of a RestApi in a specified format. *
* * @param getExportRequest * Request a new export of a RestApi for a particular Stage. * @return Result of the GetExport operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetExport */ @Override public GetExportResult getExport(GetExportRequest request) { request = beforeClientExecution(request); return executeGetExport(request); } @SdkInternalApi final GetExportResult executeGetExport(GetExportRequest getExportRequest) { ExecutionContext executionContext = createExecutionContext(getExportRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a GatewayResponse of a specified response type on the given RestApi. *
* * @param getGatewayResponseRequest * Gets a GatewayResponse of a specified response type on the given RestApi. * @return Result of the GetGatewayResponse operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetGatewayResponse */ @Override public GetGatewayResponseResult getGatewayResponse(GetGatewayResponseRequest request) { request = beforeClientExecution(request); return executeGetGatewayResponse(request); } @SdkInternalApi final GetGatewayResponseResult executeGetGatewayResponse(GetGatewayResponseRequest getGatewayResponseRequest) { ExecutionContext executionContext = createExecutionContext(getGatewayResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for * gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the * supported response types. *
* * @param getGatewayResponsesRequest * Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any * definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses * collection for the supported response types. * @return Result of the GetGatewayResponses operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetGatewayResponses */ @Override public GetGatewayResponsesResult getGatewayResponses(GetGatewayResponsesRequest request) { request = beforeClientExecution(request); return executeGetGatewayResponses(request); } @SdkInternalApi final GetGatewayResponsesResult executeGetGatewayResponses(GetGatewayResponsesRequest getGatewayResponsesRequest) { ExecutionContext executionContext = createExecutionContext(getGatewayResponsesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Get the integration settings. *
* * @param getIntegrationRequest * Represents a request to get the integration configuration. * @return Result of the GetIntegration operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Represents a get integration response. *
* * @param getIntegrationResponseRequest * Represents a get integration response request. * @return Result of the GetIntegrationResponse operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Describe an existing Method resource. *
* * @param getMethodRequest * Request to describe an existing Method resource. * @return Result of the GetMethod operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetMethod */ @Override public GetMethodResult getMethod(GetMethodRequest request) { request = beforeClientExecution(request); return executeGetMethod(request); } @SdkInternalApi final GetMethodResult executeGetMethod(GetMethodRequest getMethodRequest) { ExecutionContext executionContext = createExecutionContext(getMethodRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a MethodResponse resource. *
* * @param getMethodResponseRequest * Request to describe a MethodResponse resource. * @return Result of the GetMethodResponse operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetMethodResponse */ @Override public GetMethodResponseResult getMethodResponse(GetMethodResponseRequest request) { request = beforeClientExecution(request); return executeGetMethodResponse(request); } @SdkInternalApi final GetMethodResponseResult executeGetMethodResponse(GetMethodResponseRequest getMethodResponseRequest) { ExecutionContext executionContext = createExecutionContext(getMethodResponseRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes an existing model defined for a RestApi resource. *
* * @param getModelRequest * Request to list information about a model in an existing RestApi resource. * @return Result of the GetModel operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Generates a sample mapping template that can be used to transform a payload into the structure of a model. *
* * @param getModelTemplateRequest * Request to generate a sample mapping template used to transform the payload. * @return Result of the GetModelTemplate operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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* Describes existing Models defined for a RestApi resource. *
* * @param getModelsRequest * Request to list existing Models defined for a RestApi resource. * @return Result of the GetModels operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 RequestValidator of a given RestApi. *
* * @param getRequestValidatorRequest * Gets a RequestValidator of a given RestApi. * @return Result of the GetRequestValidator operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetRequestValidator */ @Override public GetRequestValidatorResult getRequestValidator(GetRequestValidatorRequest request) { request = beforeClientExecution(request); return executeGetRequestValidator(request); } @SdkInternalApi final GetRequestValidatorResult executeGetRequestValidator(GetRequestValidatorRequest getRequestValidatorRequest) { ExecutionContext executionContext = createExecutionContext(getRequestValidatorRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the RequestValidators collection of a given RestApi. *
* * @param getRequestValidatorsRequest * Gets the RequestValidators collection of a given RestApi. * @return Result of the GetRequestValidators operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetRequestValidators */ @Override public GetRequestValidatorsResult getRequestValidators(GetRequestValidatorsRequest request) { request = beforeClientExecution(request); return executeGetRequestValidators(request); } @SdkInternalApi final GetRequestValidatorsResult executeGetRequestValidators(GetRequestValidatorsRequest getRequestValidatorsRequest) { ExecutionContext executionContext = createExecutionContext(getRequestValidatorsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists information about a resource. *
* * @param getResourceRequest * Request to list information about a resource. * @return Result of the GetResource operation returned by the service. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetResource */ @Override public GetResourceResult getResource(GetResourceRequest request) { request = beforeClientExecution(request); return executeGetResource(request); } @SdkInternalApi final GetResourceResult executeGetResource(GetResourceRequest getResourceRequest) { ExecutionContext executionContext = createExecutionContext(getResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists information about a collection of Resource resources. *
* * @param getResourcesRequest * Request to list information about a collection of resources. * @return Result of the GetResources operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetResources */ @Override public GetResourcesResult getResources(GetResourcesRequest request) { request = beforeClientExecution(request); return executeGetResources(request); } @SdkInternalApi final GetResourcesResult executeGetResources(GetResourcesRequest getResourcesRequest) { ExecutionContext executionContext = createExecutionContext(getResourcesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists the RestApi resource in the collection. *
* * @param getRestApiRequest * The GET request to list an existing RestApi defined for your collection. * @return Result of the GetRestApi operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetRestApi */ @Override public GetRestApiResult getRestApi(GetRestApiRequest request) { request = beforeClientExecution(request); return executeGetRestApi(request); } @SdkInternalApi final GetRestApiResult executeGetRestApi(GetRestApiRequest getRestApiRequest) { ExecutionContext executionContext = createExecutionContext(getRestApiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists the RestApis resources for your collection. *
* * @param getRestApisRequest * The GET request to list existing RestApis defined for your collection. * @return Result of the GetRestApis operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetRestApis */ @Override public GetRestApisResult getRestApis(GetRestApisRequest request) { request = beforeClientExecution(request); return executeGetRestApis(request); } @SdkInternalApi final GetRestApisResult executeGetRestApis(GetRestApisRequest getRestApisRequest) { ExecutionContext executionContext = createExecutionContext(getRestApisRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Generates a client SDK for a RestApi and Stage. *
* * @param getSdkRequest * Request a new generated client SDK for a RestApi and Stage. * @return Result of the GetSdk operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetSdk */ @Override public GetSdkResult getSdk(GetSdkRequest request) { request = beforeClientExecution(request); return executeGetSdk(request); } @SdkInternalApi final GetSdkResult executeGetSdk(GetSdkRequest getSdkRequest) { ExecutionContext executionContext = createExecutionContext(getSdkRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets an SDK type. *
* * @param getSdkTypeRequest * Get an SdkType instance. * @return Result of the GetSdkType operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetSdkType */ @Override public GetSdkTypeResult getSdkType(GetSdkTypeRequest request) { request = beforeClientExecution(request); return executeGetSdkType(request); } @SdkInternalApi final GetSdkTypeResult executeGetSdkType(GetSdkTypeRequest getSdkTypeRequest) { ExecutionContext executionContext = createExecutionContext(getSdkTypeRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets SDK types *
* * @param getSdkTypesRequest * Get the SdkTypes collection. * @return Result of the GetSdkTypes operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetSdkTypes */ @Override public GetSdkTypesResult getSdkTypes(GetSdkTypesRequest request) { request = beforeClientExecution(request); return executeGetSdkTypes(request); } @SdkInternalApi final GetSdkTypesResult executeGetSdkTypes(GetSdkTypesRequest getSdkTypesRequest) { ExecutionContext executionContext = createExecutionContext(getSdkTypesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets information about a Stage resource. *
* * @param getStageRequest * Requests API Gateway to get information about a Stage resource. * @return Result of the GetStage operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 information about one or more Stage resources. *
* * @param getStagesRequest * Requests API Gateway to get information about one or more Stage resources. * @return Result of the GetStages operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws ConflictException * The request configuration has conflicts. For details, see the accompanying error message. * @throws LimitExceededException * The request exceeded the rate limit. Retry after the specified time period. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 the Tags collection for a given resource. *
* * @param getTagsRequest * Gets the Tags collection for a given resource. * @return Result of the GetTags operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 the usage data of a usage plan in a specified time interval. *
* * @param getUsageRequest * The GET request to get the usage data of a usage plan in a specified time interval. * @return Result of the GetUsage operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetUsage */ @Override public GetUsageResult getUsage(GetUsageRequest request) { request = beforeClientExecution(request); return executeGetUsage(request); } @SdkInternalApi final GetUsageResult executeGetUsage(GetUsageRequest getUsageRequest) { ExecutionContext executionContext = createExecutionContext(getUsageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a usage plan of a given plan identifier. *
* * @param getUsagePlanRequest * The GET request to get a usage plan of a given plan identifier. * @return Result of the GetUsagePlan operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetUsagePlan */ @Override public GetUsagePlanResult getUsagePlan(GetUsagePlanRequest request) { request = beforeClientExecution(request); return executeGetUsagePlan(request); } @SdkInternalApi final GetUsagePlanResult executeGetUsagePlan(GetUsagePlanRequest getUsagePlanRequest) { ExecutionContext executionContext = createExecutionContext(getUsagePlanRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a usage plan key of a given key identifier. *
* * @param getUsagePlanKeyRequest * The GET request to get a usage plan key of a given key identifier. * @return Result of the GetUsagePlanKey operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetUsagePlanKey */ @Override public GetUsagePlanKeyResult getUsagePlanKey(GetUsagePlanKeyRequest request) { request = beforeClientExecution(request); return executeGetUsagePlanKey(request); } @SdkInternalApi final GetUsagePlanKeyResult executeGetUsagePlanKey(GetUsagePlanKeyRequest getUsagePlanKeyRequest) { ExecutionContext executionContext = createExecutionContext(getUsagePlanKeyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets all the usage plan keys representing the API keys added to a specified usage plan. *
* * @param getUsagePlanKeysRequest * The GET request to get all the usage plan keys representing the API keys added to a specified usage plan. * @return Result of the GetUsagePlanKeys operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetUsagePlanKeys */ @Override public GetUsagePlanKeysResult getUsagePlanKeys(GetUsagePlanKeysRequest request) { request = beforeClientExecution(request); return executeGetUsagePlanKeys(request); } @SdkInternalApi final GetUsagePlanKeysResult executeGetUsagePlanKeys(GetUsagePlanKeysRequest getUsagePlanKeysRequest) { ExecutionContext executionContext = createExecutionContext(getUsagePlanKeysRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets all the usage plans of the caller's account. *
* * @param getUsagePlansRequest * The GET request to get all the usage plans of the caller's account. * @return Result of the GetUsagePlans operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.GetUsagePlans */ @Override public GetUsagePlansResult getUsagePlans(GetUsagePlansRequest request) { request = beforeClientExecution(request); return executeGetUsagePlans(request); } @SdkInternalApi final GetUsagePlansResult executeGetUsagePlans(GetUsagePlansRequest getUsagePlansRequest) { ExecutionContext executionContext = createExecutionContext(getUsagePlansRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a specified VPC link under the caller's account in a region. *
* * @param getVpcLinkRequest * Gets a specified VPC link under the caller's account in a region. * @return Result of the GetVpcLink operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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 the VpcLinks collection under the caller's account in a selected region. *
* * @param getVpcLinksRequest * Gets the VpcLinks collection under the caller's account in a selected region. * @return Result of the GetVpcLinks operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws NotFoundException * The requested resource is not found. Make sure that the request URI is correct. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @sample AmazonApiGateway.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